@stoker-platform/types 0.5.36 → 0.5.38
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/package.json +1 -1
- package/src/types/schema.ts +5 -1
package/package.json
CHANGED
package/src/types/schema.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface StokerRelationObject {
|
|
|
21
21
|
}
|
|
22
22
|
export type StokerRelationArray = string[]
|
|
23
23
|
|
|
24
|
-
export interface
|
|
24
|
+
export interface SystemFields {
|
|
25
25
|
Collection_Path: string[]
|
|
26
26
|
Last_Write_At: Timestamp | FieldValue
|
|
27
27
|
Last_Save_At: Timestamp | FieldValue
|
|
@@ -32,6 +32,9 @@ export interface StokerRecord {
|
|
|
32
32
|
Created_At: Timestamp | FieldValue
|
|
33
33
|
Saved_At: Timestamp | FieldValue
|
|
34
34
|
Created_By: string
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface StokerRecord extends SystemFields {
|
|
35
38
|
[key: string]: any
|
|
36
39
|
}
|
|
37
40
|
/* eslint-enable @typescript-eslint/no-explicit-any */
|
|
@@ -1064,6 +1067,7 @@ export interface RelationList {
|
|
|
1064
1067
|
roles?: StokerRole[]
|
|
1065
1068
|
constraints?: [string, "==" | "in", unknown][]
|
|
1066
1069
|
loadAll?: boolean
|
|
1070
|
+
showMetrics?: boolean
|
|
1067
1071
|
}
|
|
1068
1072
|
|
|
1069
1073
|
export interface CollectionSchema {
|