@budibase/types 3.12.14 → 3.12.16
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.
|
@@ -42,7 +42,19 @@ export interface FetchAppPackageResponse {
|
|
|
42
42
|
export interface AddAppSampleDataResponse {
|
|
43
43
|
message: string;
|
|
44
44
|
}
|
|
45
|
-
export type FetchAppsResponse = App
|
|
45
|
+
export type FetchAppsResponse = (App & {
|
|
46
|
+
defaultWorkspaceAppUrl: string;
|
|
47
|
+
})[];
|
|
48
|
+
export interface PublishedAppData {
|
|
49
|
+
name: string;
|
|
50
|
+
appId: string;
|
|
51
|
+
url: string;
|
|
52
|
+
prodId: string;
|
|
53
|
+
updatedAt?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface FetchPublishedAppsResponse {
|
|
56
|
+
apps: PublishedAppData[];
|
|
57
|
+
}
|
|
46
58
|
export interface UpdateAppRequest extends Partial<App> {
|
|
47
59
|
}
|
|
48
60
|
export interface UpdateAppResponse extends App {
|
|
@@ -8,6 +8,7 @@ export interface OAuth2ConfigResponse {
|
|
|
8
8
|
clientSecret: string;
|
|
9
9
|
method: OAuth2CredentialsMethod;
|
|
10
10
|
grantType: OAuth2GrantType;
|
|
11
|
+
scope?: string;
|
|
11
12
|
}
|
|
12
13
|
export interface FetchOAuth2ConfigsResponse {
|
|
13
14
|
configs: (OAuth2ConfigResponse & {
|
|
@@ -21,6 +22,7 @@ export interface InsertOAuth2ConfigRequest {
|
|
|
21
22
|
clientSecret: string;
|
|
22
23
|
method: OAuth2CredentialsMethod;
|
|
23
24
|
grantType: OAuth2GrantType;
|
|
25
|
+
scope?: string;
|
|
24
26
|
}
|
|
25
27
|
export interface InsertOAuth2ConfigResponse {
|
|
26
28
|
config: OAuth2ConfigResponse;
|
|
@@ -34,6 +36,7 @@ export interface UpdateOAuth2ConfigRequest {
|
|
|
34
36
|
clientSecret: string;
|
|
35
37
|
method: OAuth2CredentialsMethod;
|
|
36
38
|
grantType: OAuth2GrantType;
|
|
39
|
+
scope?: string;
|
|
37
40
|
}
|
|
38
41
|
export interface UpdateOAuth2ConfigResponse {
|
|
39
42
|
config: OAuth2ConfigResponse;
|
|
@@ -45,6 +48,7 @@ export interface ValidateConfigRequest {
|
|
|
45
48
|
clientSecret: string;
|
|
46
49
|
method: OAuth2CredentialsMethod;
|
|
47
50
|
grantType: OAuth2GrantType;
|
|
51
|
+
scope?: string;
|
|
48
52
|
}
|
|
49
53
|
export interface ValidateConfigResponse {
|
|
50
54
|
valid: boolean;
|