Skip to content

Commit d0ea555

Browse files
committed
chore: core
1 parent b51d3a9 commit d0ea555

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/cortex.ts renamed to src/core/cortex.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import {APP_LESS_PARAM, STREAM_PARSERS} from './constants';
2-
import {CortexError} from './errors';
3-
import {createAPIFetchClient, readSSE} from './fetch';
4-
import {APIMethodRequest, APIMethods, createAPI} from './openapi';
5-
import {HttpStream} from './stream';
6-
import {APIFetchClient, ClientOptions} from './types';
7-
import {getObjectProperty} from './utils';
1+
import {APP_LESS_PARAM, STREAM_PARSERS} from '../constants';
2+
import {CortexError} from '../errors';
3+
import {createAPIFetchClient, readSSE} from '../fetch';
4+
import {APIMethodRequest, APIMethods, createAPI} from '../openapi';
5+
import {HttpStream} from '../stream';
6+
import {APIFetchClient, ClientOptions} from '../types';
7+
import {getObjectProperty} from '../utils';
88

99
/**
1010
* Cortex API client

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {Components} from './openapi';
22

3-
export {Cortex} from './cortex';
3+
export {Cortex} from './core/cortex';
44

55
export * from './types';
66

0 commit comments

Comments
 (0)