ec.fdk 0.6.2 → 0.6.4
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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/types.d.ts +108 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export type AssetFile = {
|
|
2
|
+
url: string;
|
|
3
|
+
size: number;
|
|
4
|
+
resolution: Record<string, any>;
|
|
5
|
+
};
|
|
6
|
+
export type AssetResource = {
|
|
7
|
+
assetID: string;
|
|
8
|
+
created: Date;
|
|
9
|
+
files: any[];
|
|
10
|
+
tags: (string | any)[];
|
|
11
|
+
title: string;
|
|
12
|
+
type: string;
|
|
13
|
+
mimetype: string;
|
|
14
|
+
duplicates: number;
|
|
15
|
+
file: AssetFile;
|
|
16
|
+
};
|
|
17
|
+
export type EntryResource = Record<string, any> & {
|
|
18
|
+
id: string;
|
|
19
|
+
_created: Date;
|
|
20
|
+
_creator: string;
|
|
21
|
+
_embedded: any;
|
|
22
|
+
_links: any;
|
|
23
|
+
_modelTitle: string;
|
|
24
|
+
_modelTitleField: string;
|
|
25
|
+
_modified: Date;
|
|
26
|
+
created: Date;
|
|
27
|
+
modified: Date;
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
export type EntryFieldSchema = {
|
|
31
|
+
default: any;
|
|
32
|
+
description: string;
|
|
33
|
+
readOnly: boolean;
|
|
34
|
+
required: boolean;
|
|
35
|
+
type: string;
|
|
36
|
+
resource: string | null;
|
|
37
|
+
};
|
|
38
|
+
export type EntrySchema = Record<string, EntryFieldSchema>;
|
|
39
|
+
export type EntryList = {
|
|
40
|
+
count: number;
|
|
41
|
+
total: number;
|
|
42
|
+
items: EntryResource[];
|
|
43
|
+
};
|
|
44
|
+
export type DatamanagerResource = {
|
|
45
|
+
created: string;
|
|
46
|
+
dataManagerID: string;
|
|
47
|
+
defaultLocale: string;
|
|
48
|
+
description: string;
|
|
49
|
+
config: any;
|
|
50
|
+
hexColor: string;
|
|
51
|
+
locales: string[];
|
|
52
|
+
rights: string[];
|
|
53
|
+
publicAssetRights: string[];
|
|
54
|
+
shortID: string;
|
|
55
|
+
title: string;
|
|
56
|
+
_links: any;
|
|
57
|
+
};
|
|
58
|
+
export type DatamanagerList = {
|
|
59
|
+
count: number;
|
|
60
|
+
total: number;
|
|
61
|
+
items: DatamanagerResource[];
|
|
62
|
+
};
|
|
63
|
+
export type AssetList = {
|
|
64
|
+
count: number;
|
|
65
|
+
total: number;
|
|
66
|
+
items: AssetResource[];
|
|
67
|
+
};
|
|
68
|
+
export type ResourceList = {
|
|
69
|
+
count: number;
|
|
70
|
+
total: number;
|
|
71
|
+
items: any[];
|
|
72
|
+
};
|
|
73
|
+
export type ModelFieldConfig = {
|
|
74
|
+
default: any;
|
|
75
|
+
description: string;
|
|
76
|
+
localizable: boolean;
|
|
77
|
+
mutable: boolean;
|
|
78
|
+
readOnly: boolean;
|
|
79
|
+
required: boolean;
|
|
80
|
+
unique: boolean;
|
|
81
|
+
title: string;
|
|
82
|
+
type: string;
|
|
83
|
+
validation: string | null;
|
|
84
|
+
};
|
|
85
|
+
export type ModelResource = {
|
|
86
|
+
config: any;
|
|
87
|
+
created: string;
|
|
88
|
+
description: string;
|
|
89
|
+
fields: ModelFieldConfig[];
|
|
90
|
+
hasEntries: boolean;
|
|
91
|
+
hexColor: string;
|
|
92
|
+
hooks: any[];
|
|
93
|
+
lastSyncs: any[];
|
|
94
|
+
locales: string[];
|
|
95
|
+
modelID: string;
|
|
96
|
+
modified: string;
|
|
97
|
+
policies: any[];
|
|
98
|
+
sync: any;
|
|
99
|
+
title: string;
|
|
100
|
+
titleField: string;
|
|
101
|
+
_links: any;
|
|
102
|
+
};
|
|
103
|
+
export type ModelList = {
|
|
104
|
+
count: number;
|
|
105
|
+
total: number;
|
|
106
|
+
items: ModelResource[];
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,IAAI,EAAE,CAAC,MAAM,GAAG,GAAG,CAAC,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,IAAI,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,GAAG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