@appsemble/types 0.30.12 → 0.30.14-test.0

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/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.30.12/config/assets/logo.svg) Appsemble Types
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.30.14-test.0/config/assets/logo.svg) Appsemble Types
2
2
 
3
3
  > Reusable TypeScript types
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/types)](https://www.npmjs.com/package/@appsemble/types)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.30.12/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.30.12)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.30.14-test.0/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.30.14-test.0)
7
7
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
8
8
 
9
9
  ## Table of Contents
@@ -26,5 +26,5 @@ not guaranteed.
26
26
 
27
27
  ## License
28
28
 
29
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.30.12/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.30.14-test.0/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
package/index.d.ts CHANGED
@@ -644,6 +644,8 @@ export interface SubscriptionResponseResource {
644
644
  }>;
645
645
  }
646
646
  export type SubscriptionResponse = Record<string, SubscriptionResponseResource>;
647
+ export declare const resourceSubscribableAction: readonly ["create", "update", "delete"];
648
+ export type ResourceSubscribableAction = (typeof resourceSubscribableAction)[number];
647
649
  export type ResourceViewAction = 'get' | 'query';
648
650
  export type OwnResourceAction = ResourceViewAction | 'delete' | 'patch' | 'update';
649
651
  export type ResourceAction = ResourceViewAction | 'create' | 'delete' | 'history.get' | 'patch' | 'update';
package/index.js CHANGED
@@ -17,4 +17,5 @@ export * from './oauth2.js';
17
17
  export * from './quota.js';
18
18
  export * from './permissions.js';
19
19
  export * from './roles.js';
20
+ export const resourceSubscribableAction = ['create', 'update', 'delete'];
20
21
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/types",
3
- "version": "0.30.12",
3
+ "version": "0.30.14-test.0",
4
4
  "description": "TypeScript definitions reused within Appsemble internally",
5
5
  "keywords": [
6
6
  "app",