@appsemble/types
Advanced tools
Comparing version 0.19.13 to 0.19.14
@@ -385,2 +385,8 @@ import { Action, BaseMessage, HTTPMethods, LogAction, Theme } from '@appsemble/sdk/src/types'; | ||
} | ||
export interface ResourceHistoryDefinition { | ||
/** | ||
* If set to `false`, edits are still tracked, but exactly what changed is lost. | ||
*/ | ||
data: boolean; | ||
} | ||
export interface ResourceDefinition { | ||
@@ -392,2 +398,6 @@ /** | ||
/** | ||
* A definition of how versioning should happen for instances of this resource. | ||
*/ | ||
history?: ResourceHistoryDefinition | boolean; | ||
/** | ||
* The definition for the `resource.create` action. | ||
@@ -394,0 +404,0 @@ */ |
@@ -43,1 +43,6 @@ export interface Resource { | ||
} | ||
export interface ResourceVersion { | ||
created: string; | ||
data: Record<string, unknown>; | ||
author: ResourceAuthor; | ||
} |
{ | ||
"name": "@appsemble/types", | ||
"version": "0.19.13", | ||
"version": "0.19.14", | ||
"description": "TypeScript definitions reused within Appsemble internally", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@appsemble/sdk": "0.19.13", | ||
"@appsemble/sdk": "0.19.14", | ||
"@fortawesome/fontawesome-common-types": "^0.2.0", | ||
@@ -36,0 +36,0 @@ "jsonschema": "^1.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49177
1695
+ Added@appsemble/sdk@0.19.14(transitive)
- Removed@appsemble/sdk@0.19.13(transitive)
Updated@appsemble/sdk@0.19.14