@appsemble/types 0.34.1-test.3 → 0.34.4
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 +3 -3
- package/cli.d.ts +0 -16
- package/e2e.d.ts +42 -0
- package/e2e.js +2 -0
- package/index.d.ts +9 -16
- package/index.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#  Appsemble Types
|
|
2
2
|
|
|
3
3
|
> Reusable TypeScript types
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/types)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.34.4)
|
|
7
7
|
[](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.34.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.34.4/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
package/cli.d.ts
CHANGED
|
@@ -137,22 +137,6 @@ export interface AppsembleContext {
|
|
|
137
137
|
* line.
|
|
138
138
|
*/
|
|
139
139
|
assetsClonable?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* The name of the external app database.
|
|
142
|
-
*/
|
|
143
|
-
dbName?: string;
|
|
144
|
-
/**
|
|
145
|
-
* The host of the external app database.
|
|
146
|
-
*/
|
|
147
|
-
dbHost?: string;
|
|
148
|
-
/**
|
|
149
|
-
* The port of the external app database.
|
|
150
|
-
*/
|
|
151
|
-
dbPort?: string;
|
|
152
|
-
/**
|
|
153
|
-
* The user of the external app database.
|
|
154
|
-
*/
|
|
155
|
-
dbUser?: string;
|
|
156
140
|
}
|
|
157
141
|
export interface AppsembleRC {
|
|
158
142
|
/**
|
package/e2e.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type AppVisibility, type ProjectImplementations } from './index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Options for the `createApp` fixture
|
|
4
|
+
*/
|
|
5
|
+
export interface CreateAppOptions {
|
|
6
|
+
controllerCode?: string;
|
|
7
|
+
controllerImplementations?: ProjectImplementations;
|
|
8
|
+
coreStyle?: string;
|
|
9
|
+
demoMode?: boolean;
|
|
10
|
+
domain?: string;
|
|
11
|
+
googleAnalyticsID?: string;
|
|
12
|
+
icon?: string;
|
|
13
|
+
iconBackground?: string;
|
|
14
|
+
maskableIcon?: string;
|
|
15
|
+
screenshots?: string;
|
|
16
|
+
sentryDsn?: string;
|
|
17
|
+
sentryEnvironment?: string;
|
|
18
|
+
sharedStyle?: string;
|
|
19
|
+
showAppDefinition?: boolean;
|
|
20
|
+
template?: boolean;
|
|
21
|
+
visibility?: AppVisibility;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Options for the `patchApp` fixture
|
|
25
|
+
*/
|
|
26
|
+
export interface PatchAppOptions extends CreateAppOptions {
|
|
27
|
+
displayAppMemberName?: boolean;
|
|
28
|
+
displayInstallationPrompt?: boolean;
|
|
29
|
+
emailHost?: string;
|
|
30
|
+
emailName?: string;
|
|
31
|
+
emailPassword?: string;
|
|
32
|
+
emailPort?: number;
|
|
33
|
+
emailSecure?: boolean;
|
|
34
|
+
emailUser?: string;
|
|
35
|
+
enableSelfRegistration?: boolean;
|
|
36
|
+
enableUnsecuredServiceSecrets?: boolean;
|
|
37
|
+
path?: string;
|
|
38
|
+
showAppsembleOAuth2Login?: boolean;
|
|
39
|
+
showAppsembleLogin?: boolean;
|
|
40
|
+
skipGroupInvites?: boolean;
|
|
41
|
+
yaml?: string;
|
|
42
|
+
}
|
package/e2e.js
ADDED
package/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './author.js';
|
|
|
9
9
|
export * from './bulma.js';
|
|
10
10
|
export * from './appCollection.js';
|
|
11
11
|
export * from './cli.js';
|
|
12
|
+
export * from './e2e.js';
|
|
12
13
|
export * from './snapshot.js';
|
|
13
14
|
export * from './resource.js';
|
|
14
15
|
export * from './saml.js';
|
|
@@ -241,6 +242,14 @@ export interface App {
|
|
|
241
242
|
*/
|
|
242
243
|
average: number;
|
|
243
244
|
};
|
|
245
|
+
/**
|
|
246
|
+
* Whether the app has clonable resources.
|
|
247
|
+
*/
|
|
248
|
+
hasClonableResources?: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Whether the app has clonable assets.
|
|
251
|
+
*/
|
|
252
|
+
hasClonableAssets?: boolean;
|
|
244
253
|
/**
|
|
245
254
|
* A list of URLs to app screenshots
|
|
246
255
|
*/
|
|
@@ -303,22 +312,6 @@ export interface App {
|
|
|
303
312
|
* If set to true, group members are added directly to the group.
|
|
304
313
|
*/
|
|
305
314
|
skipGroupInvites?: boolean;
|
|
306
|
-
/**
|
|
307
|
-
* The name of the app database.
|
|
308
|
-
*/
|
|
309
|
-
dbName: string;
|
|
310
|
-
/**
|
|
311
|
-
* The host of the app database.
|
|
312
|
-
*/
|
|
313
|
-
dbHost: string;
|
|
314
|
-
/**
|
|
315
|
-
* The port of the app database.
|
|
316
|
-
*/
|
|
317
|
-
dbPort: number;
|
|
318
|
-
/**
|
|
319
|
-
* The user of the app database.
|
|
320
|
-
*/
|
|
321
|
-
dbUser: string;
|
|
322
315
|
/**
|
|
323
316
|
* The version of the app.
|
|
324
317
|
*/
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/types",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.4",
|
|
4
4
|
"description": "TypeScript definitions reused within Appsemble internally",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test": "vitest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@appsemble/lang-sdk": "0.34.
|
|
43
|
+
"@appsemble/lang-sdk": "0.34.4",
|
|
44
44
|
"@fortawesome/fontawesome-common-types": "^6.0.0",
|
|
45
45
|
"jsonschema": "~1.4.1",
|
|
46
46
|
"openapi-types": "^12.0.0",
|