@ossy/sdk 0.7.1 → 0.7.3
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/build/public.index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from '@ossy/types';
|
|
2
|
+
|
|
1
3
|
declare namespace Jobs {
|
|
2
4
|
let VisualContentDescriptors: string;
|
|
3
5
|
let ResizeCommonWeb: string;
|
|
@@ -9,48 +11,6 @@ declare namespace JobStatus {
|
|
|
9
11
|
let Failed: string;
|
|
10
12
|
}
|
|
11
13
|
|
|
12
|
-
interface Field {
|
|
13
|
-
label: string;
|
|
14
|
-
name: string;
|
|
15
|
-
type: string;
|
|
16
|
-
description: string;
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
required: boolean;
|
|
19
|
-
options?: string[];
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface Resource<T = any> {
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
location: string;
|
|
26
|
-
belongsTo: string;
|
|
27
|
-
type: string;
|
|
28
|
-
createdBy: string;
|
|
29
|
-
created: string;
|
|
30
|
-
lastUpdated: string;
|
|
31
|
-
content: T;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
interface ResourceTemplate {
|
|
35
|
-
id: string;
|
|
36
|
-
name: string;
|
|
37
|
-
description: string;
|
|
38
|
-
categoryName: string;
|
|
39
|
-
icon: string;
|
|
40
|
-
fields: Field[];
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface Workspace {
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
createdBy: string;
|
|
47
|
-
created: string;
|
|
48
|
-
users: string[];
|
|
49
|
-
invitations: any[];
|
|
50
|
-
resourceTemplates: ResourceTemplate[];
|
|
51
|
-
services: Record<string, boolean>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
14
|
interface SDKConfig {
|
|
55
15
|
apiUrl?: string;
|
|
56
16
|
workspaceId?: string;
|
|
@@ -194,4 +154,3 @@ declare class SDK {
|
|
|
194
154
|
}
|
|
195
155
|
|
|
196
156
|
export { JobStatus, Jobs, SDK };
|
|
197
|
-
export type { Field, Resource, ResourceTemplate, Workspace };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/sdk",
|
|
3
3
|
"description": "Sofware Development Kit for interacting with our services",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.3",
|
|
5
5
|
"url": "git://github.com/ossy-se/packages/sdk",
|
|
6
6
|
"source": "src/public.index.ts",
|
|
7
7
|
"module": "build/public.index.js",
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"url": "git+https://github.com/ossy-se/packages.git"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@ossy/types": "^0.0.2"
|
|
18
|
+
},
|
|
16
19
|
"scripts": {
|
|
17
20
|
"start": "",
|
|
18
21
|
"build": "rollup -c rollup.config.js",
|
|
@@ -26,5 +29,5 @@
|
|
|
26
29
|
"/build",
|
|
27
30
|
"README.md"
|
|
28
31
|
],
|
|
29
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "231b2c04bfdf00e2c3c3c485e4ebb31a2c4da3ac"
|
|
30
33
|
}
|
package/build/types/Field.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ResourceTemplate } from "./ResourceTemplate";
|
|
2
|
-
export interface Workspace {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
createdBy: string;
|
|
6
|
-
created: string;
|
|
7
|
-
users: string[];
|
|
8
|
-
invitations: any[];
|
|
9
|
-
resourceTemplates: ResourceTemplate[];
|
|
10
|
-
services: Record<string, boolean>;
|
|
11
|
-
}
|