@appsemble/types 0.24.10 → 0.24.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/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.24.10/config/assets/logo.svg) Appsemble Types
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.24.13/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.24.10/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.10)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.24.13/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.13)
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.24.10/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.24.13/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
package/cli.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { type AppVisibility } from './app.js';
2
+ import { type AppLock } from './index.js';
2
3
  export interface AppsembleContext {
3
4
  /**
4
5
  * If `remote` is specified, this will override `--remote` passed by the command line.
@@ -41,6 +42,10 @@ export interface AppsembleContext {
41
42
  * If `demoMode` is specified, this will override `--demo-mode` passed on the command line.
42
43
  */
43
44
  demoMode?: boolean;
45
+ /**
46
+ * Set the value of AppLock for your app.
47
+ */
48
+ appLock?: AppLock;
44
49
  }
45
50
  export interface AppsembleRC {
46
51
  /**
package/index.d.ts CHANGED
@@ -195,6 +195,10 @@ export interface TokenResponse {
195
195
  refresh_token?: string;
196
196
  token_type: 'bearer';
197
197
  }
198
+ /**
199
+ * A type to represent the app lock.
200
+ */
201
+ export type AppLock = 'fullLock' | 'studioLock' | 'unlocked';
198
202
  interface BaseICSRemapper {
199
203
  /**
200
204
  * The start of the icalendar event.
@@ -1578,7 +1582,7 @@ export interface App {
1578
1582
  /**
1579
1583
  * Whether the app is currently locked.
1580
1584
  */
1581
- locked: boolean;
1585
+ locked: AppLock;
1582
1586
  /**
1583
1587
  * Whether the Appsemble password login method should be shown.
1584
1588
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/types",
3
- "version": "0.24.10",
3
+ "version": "0.24.13",
4
4
  "description": "TypeScript definitions reused within Appsemble internally",
5
5
  "keywords": [
6
6
  "app",