@budibase/types 3.14.0 → 3.15.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.
@@ -15,6 +15,7 @@ export interface CreateAppRequest {
15
15
  file?: {
16
16
  path: string;
17
17
  };
18
+ isOnboarding?: string;
18
19
  }
19
20
  export interface CreateAppResponse extends App {
20
21
  }
@@ -11,6 +11,7 @@ export interface TemplateMetadata {
11
11
  type: TemplateType;
12
12
  key: string;
13
13
  image: string;
14
+ new: boolean;
14
15
  }
15
16
  export type FetchTemplateResponse = TemplateMetadata[];
16
17
  export interface DownloadTemplateResponse {
@@ -25,6 +25,19 @@ export interface UserSSO {
25
25
  };
26
26
  }
27
27
  export type SSOUser = User & UserSSO;
28
+ export type OIDCUser = User & {
29
+ provider: string | undefined;
30
+ providerType: SSOProviderType | undefined;
31
+ oauth2?: OAuth2 | undefined;
32
+ profile?: {
33
+ displayName?: string;
34
+ name?: {
35
+ givenName?: string;
36
+ familyName?: string;
37
+ };
38
+ } | undefined;
39
+ thirdPartyProfile?: object | undefined;
40
+ };
28
41
  export declare function isSSOUser(user: User | ContextUser): user is SSOUser;
29
42
  export interface UserIdentifier {
30
43
  userId: string;