@budibase/types 2.32.12 → 2.32.14
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/api/account/accounts.d.ts +0 -1
- package/dist/documents/account/account.d.ts +0 -2
- package/dist/documents/app/view.d.ts +4 -1
- package/dist/documents/global/user.d.ts +0 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +3 -3
- package/dist/index.js.meta.json +1 -1
- package/dist/sdk/db.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -66,8 +66,6 @@ export interface AccountSSO {
|
|
|
66
66
|
provider: AccountSSOProvider;
|
|
67
67
|
providerType: AccountSSOProviderType;
|
|
68
68
|
oauth2?: OAuthTokens;
|
|
69
|
-
pictureUrl?: string;
|
|
70
|
-
thirdPartyProfile: any;
|
|
71
69
|
}
|
|
72
70
|
export type SSOAccount = (Account | CloudAccount) & AccountSSO;
|
|
73
71
|
export declare enum AuthType {
|
|
@@ -56,10 +56,14 @@ export declare enum CalculationType {
|
|
|
56
56
|
MIN = "min",
|
|
57
57
|
MAX = "max"
|
|
58
58
|
}
|
|
59
|
+
export declare enum ViewV2Type {
|
|
60
|
+
CALCULATION = "calculation"
|
|
61
|
+
}
|
|
59
62
|
export interface ViewV2 {
|
|
60
63
|
version: 2;
|
|
61
64
|
id: string;
|
|
62
65
|
name: string;
|
|
66
|
+
type?: ViewV2Type;
|
|
63
67
|
primaryDisplay?: string;
|
|
64
68
|
tableId: string;
|
|
65
69
|
query?: LegacyFilter[] | SearchFilters;
|
|
@@ -70,7 +74,6 @@ export interface ViewV2 {
|
|
|
70
74
|
type?: SortType;
|
|
71
75
|
};
|
|
72
76
|
schema?: ViewV2Schema;
|
|
73
|
-
uiMetadata?: Record<string, any>;
|
|
74
77
|
}
|
|
75
78
|
export type ViewV2Schema = Record<string, ViewFieldMetadata>;
|
|
76
79
|
export type ViewSchema = ViewCountOrSumSchema | ViewStatisticsSchema;
|
|
@@ -15,7 +15,6 @@ export interface UserSSO {
|
|
|
15
15
|
provider: string;
|
|
16
16
|
providerType: SSOProviderType;
|
|
17
17
|
oauth2?: OAuth2;
|
|
18
|
-
thirdPartyProfile?: SSOProfileJson;
|
|
19
18
|
profile?: {
|
|
20
19
|
displayName?: string;
|
|
21
20
|
name?: {
|
|
@@ -32,7 +31,6 @@ export interface User extends Document {
|
|
|
32
31
|
userId?: string;
|
|
33
32
|
firstName?: string;
|
|
34
33
|
lastName?: string;
|
|
35
|
-
pictureUrl?: string;
|
|
36
34
|
forceResetPassword?: boolean;
|
|
37
35
|
roles: UserRoles;
|
|
38
36
|
builder?: {
|
package/dist/index.js
CHANGED
|
@@ -129,6 +129,7 @@ __export(src_exports, {
|
|
|
129
129
|
UserGroupSyncEvents: () => UserGroupSyncEvents,
|
|
130
130
|
UserStatus: () => UserStatus,
|
|
131
131
|
ViewCalculation: () => ViewCalculation,
|
|
132
|
+
ViewV2Type: () => ViewV2Type,
|
|
132
133
|
VirtualDocumentType: () => VirtualDocumentType,
|
|
133
134
|
WebhookActionType: () => WebhookActionType,
|
|
134
135
|
isAIConfig: () => isAIConfig,
|
|
@@ -1126,6 +1127,10 @@ var CalculationType = /* @__PURE__ */ ((CalculationType2) => {
|
|
|
1126
1127
|
CalculationType2["MAX"] = "max";
|
|
1127
1128
|
return CalculationType2;
|
|
1128
1129
|
})(CalculationType || {});
|
|
1130
|
+
var ViewV2Type = /* @__PURE__ */ ((ViewV2Type2) => {
|
|
1131
|
+
ViewV2Type2["CALCULATION"] = "calculation";
|
|
1132
|
+
return ViewV2Type2;
|
|
1133
|
+
})(ViewV2Type || {});
|
|
1129
1134
|
var ViewCalculation = /* @__PURE__ */ ((ViewCalculation2) => {
|
|
1130
1135
|
ViewCalculation2["SUM"] = "sum";
|
|
1131
1136
|
ViewCalculation2["COUNT"] = "count";
|
|
@@ -1479,6 +1484,7 @@ var MaintenanceType = /* @__PURE__ */ ((MaintenanceType2) => {
|
|
|
1479
1484
|
UserGroupSyncEvents,
|
|
1480
1485
|
UserStatus,
|
|
1481
1486
|
ViewCalculation,
|
|
1487
|
+
ViewV2Type,
|
|
1482
1488
|
VirtualDocumentType,
|
|
1483
1489
|
WebhookActionType,
|
|
1484
1490
|
isAIConfig,
|