@appsemble/types 0.19.7 → 0.19.8
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/dist/app.d.ts +11 -0
- package/dist/app.js +2 -0
- package/dist/app.js.map +1 -0
- package/dist/index.d.ts +16 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/template.d.ts +3 -2
- package/package.json +2 -2
package/dist/app.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The app visibility of the app in the Appsemble app store.
|
|
3
|
+
*
|
|
4
|
+
* This doesn’t affect whether or not the app can be accessed on its own domain.
|
|
5
|
+
*
|
|
6
|
+
* - **public**: The app is publicly listed in the Appsemble app store.
|
|
7
|
+
* - **unlisted**: The app store page can be accessed, but the app isn’t listed publicly in the
|
|
8
|
+
* Appsemble app store.
|
|
9
|
+
* - **private**: The app is only visible to people who are part of the organization.
|
|
10
|
+
*/
|
|
11
|
+
export declare type AppVisibility = 'private' | 'public' | 'unlisted';
|
package/dist/app.js
ADDED
package/dist/app.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { IconName } from '@fortawesome/fontawesome-common-types';
|
|
|
3
3
|
import { Schema } from 'jsonschema';
|
|
4
4
|
import { OpenAPIV3 } from 'openapi-types';
|
|
5
5
|
import { JsonObject, RequireExactlyOne } from 'type-fest';
|
|
6
|
+
import { AppVisibility } from './app';
|
|
7
|
+
export * from './app';
|
|
6
8
|
export * from './appMember';
|
|
7
9
|
export * from './asset';
|
|
8
10
|
export * from './authentication';
|
|
@@ -998,9 +1000,13 @@ export interface App {
|
|
|
998
1000
|
*/
|
|
999
1001
|
path: string;
|
|
1000
1002
|
/**
|
|
1001
|
-
*
|
|
1003
|
+
* Visibility of the app in the public app store.
|
|
1002
1004
|
*/
|
|
1003
|
-
|
|
1005
|
+
visibility: AppVisibility;
|
|
1006
|
+
/**
|
|
1007
|
+
* Whether or not the app definition is exposed for display in Appsemble Studio.
|
|
1008
|
+
*/
|
|
1009
|
+
showAppDefinition: boolean;
|
|
1004
1010
|
/**
|
|
1005
1011
|
* The Google analytics ID of the app.
|
|
1006
1012
|
*/
|
|
@@ -1017,6 +1023,14 @@ export interface App {
|
|
|
1017
1023
|
* Whether the Appsemble OAuth2 login method should be shown.
|
|
1018
1024
|
*/
|
|
1019
1025
|
showAppsembleOAuth2Login: boolean;
|
|
1026
|
+
/**
|
|
1027
|
+
* The Sentry DSN of the app.
|
|
1028
|
+
*/
|
|
1029
|
+
sentryDsn: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* The Sentry environment associated with the Sentry DSN.
|
|
1032
|
+
*/
|
|
1033
|
+
sentryEnvironment: string;
|
|
1020
1034
|
/**
|
|
1021
1035
|
* The app definition.
|
|
1022
1036
|
*/
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC"}
|
package/dist/template.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AppVisibility } from './app';
|
|
1
2
|
export interface Template {
|
|
2
3
|
/**
|
|
3
4
|
* The id of the app to clone.
|
|
@@ -16,9 +17,9 @@ export interface Template {
|
|
|
16
17
|
*/
|
|
17
18
|
organizationId: string;
|
|
18
19
|
/**
|
|
19
|
-
* Whether or not the cloned app
|
|
20
|
+
* Whether or not the cloned app may be listed in the app store.
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
+
visibility: AppVisibility;
|
|
22
23
|
/**
|
|
23
24
|
* Whether or not clonable resources should be cloned from the template app.
|
|
24
25
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/types",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.8",
|
|
4
4
|
"description": "TypeScript definitions reused within Appsemble internally",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "jest"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@appsemble/sdk": "0.19.
|
|
33
|
+
"@appsemble/sdk": "0.19.8",
|
|
34
34
|
"@fortawesome/fontawesome-common-types": "^0.2.0",
|
|
35
35
|
"jsonschema": "^1.0.0",
|
|
36
36
|
"openapi-types": "^9.0.0",
|