@appsemble/types 0.19.12 → 0.19.13
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/resource.d.ts +30 -0
- package/package.json +2 -2
package/dist/resource.d.ts
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
export interface Resource {
|
|
2
|
+
/**
|
|
3
|
+
* The unique ID of the resource
|
|
4
|
+
*/
|
|
2
5
|
id: number;
|
|
6
|
+
/**
|
|
7
|
+
* A boolean indicating whether or not the resource will be cloned with the app.
|
|
8
|
+
*
|
|
9
|
+
* This only applies to template apps.
|
|
10
|
+
*/
|
|
3
11
|
$clonable: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* When the resource was first created as an ISO 8601 formatted string.
|
|
14
|
+
*/
|
|
4
15
|
$created: string;
|
|
16
|
+
/**
|
|
17
|
+
* When the resource was last updated as an ISO 8601 formatted string.
|
|
18
|
+
*/
|
|
5
19
|
$updated: string;
|
|
20
|
+
/**
|
|
21
|
+
* The user who initially created the resource.
|
|
22
|
+
*/
|
|
6
23
|
$author?: ResourceAuthor;
|
|
24
|
+
/**
|
|
25
|
+
* The user who last updated the resource.
|
|
26
|
+
*/
|
|
27
|
+
$editor?: ResourceAuthor;
|
|
28
|
+
/**
|
|
29
|
+
* Any non-reserved properties are allowed on the resource as defined in the app definition.
|
|
30
|
+
*/
|
|
7
31
|
[key: string]: unknown;
|
|
8
32
|
}
|
|
9
33
|
export interface ResourceAuthor {
|
|
34
|
+
/**
|
|
35
|
+
* The user ID of the author.
|
|
36
|
+
*/
|
|
10
37
|
id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The display name of the user.
|
|
40
|
+
*/
|
|
11
41
|
name: string;
|
|
12
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/types",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.13",
|
|
4
4
|
"description": "TypeScript definitions reused within Appsemble internally",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "jest"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@appsemble/sdk": "0.19.
|
|
33
|
+
"@appsemble/sdk": "0.19.13",
|
|
34
34
|
"@fortawesome/fontawesome-common-types": "^0.2.0",
|
|
35
35
|
"jsonschema": "^1.0.0",
|
|
36
36
|
"openapi-types": "^10.0.0",
|