@hostlink/light 3.0.4 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/createClient.d.ts +0 -4
- package/dist/index.d.ts +2 -2
- package/dist/light.js +416 -515
- package/dist/light.umd.cjs +1 -1
- package/dist/model.d.ts +1 -1
- package/dist/models.d.ts +205 -88
- package/package.json +1 -1
package/dist/createClient.d.ts
CHANGED
|
@@ -4,8 +4,6 @@ import { AxiosInstance } from 'axios';
|
|
|
4
4
|
import { Fields } from '.';
|
|
5
5
|
import { getConfig } from './config';
|
|
6
6
|
import { default as mail } from './mail';
|
|
7
|
-
import { ModelManager } from './models';
|
|
8
|
-
import { default as model } from './model';
|
|
9
7
|
import { default as roles } from './role';
|
|
10
8
|
import { default as createCollection } from './createCollection';
|
|
11
9
|
import { default as createList } from './createList';
|
|
@@ -19,8 +17,6 @@ export interface LightClient {
|
|
|
19
17
|
config: typeof getConfig;
|
|
20
18
|
mail: typeof mail;
|
|
21
19
|
users: ReturnType<typeof users>;
|
|
22
|
-
models: ModelManager;
|
|
23
|
-
model(name: string): ReturnType<typeof model>;
|
|
24
20
|
roles: ReturnType<typeof roles>;
|
|
25
21
|
collect(name: string, fields: Record<string, any>): ReturnType<typeof createCollection>;
|
|
26
22
|
drive(index: number): ReturnType<typeof getDrive>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as createList } from './createList';
|
|
2
|
-
export
|
|
3
|
-
export type { ModelManager } from './models';
|
|
2
|
+
export * from './models';
|
|
4
3
|
export * from './permission';
|
|
5
4
|
export * as webAuthn from './webauthn';
|
|
6
5
|
export * from './auth';
|
|
@@ -13,6 +12,7 @@ export * from './role';
|
|
|
13
12
|
export * from './model';
|
|
14
13
|
export * from './file';
|
|
15
14
|
export * from './mail';
|
|
15
|
+
export * from './fileUtils';
|
|
16
16
|
export { default as query } from './query';
|
|
17
17
|
export { default as mutation } from './mutation';
|
|
18
18
|
export { default as toQuery } from './toQuery';
|