@budibase/types 2.23.7 → 2.23.10
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/web/user.d.ts +2 -0
- package/dist/documents/app/datasource.d.ts +1 -3
- package/dist/documents/app/table/schema.d.ts +1 -0
- package/dist/documents/global/user.d.ts +7 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/dist/sdk/datasources.d.ts +1 -0
- package/dist/sdk/search.d.ts +4 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/api/web/user.d.ts
CHANGED
|
@@ -11,9 +11,7 @@ export interface Datasource extends Document {
|
|
|
11
11
|
config?: Record<string, any>;
|
|
12
12
|
plus?: boolean;
|
|
13
13
|
isSQL?: boolean;
|
|
14
|
-
entities?:
|
|
15
|
-
[key: string]: Table;
|
|
16
|
-
};
|
|
14
|
+
entities?: Record<string, Table>;
|
|
17
15
|
}
|
|
18
16
|
export declare enum RestAuthType {
|
|
19
17
|
BASIC = "basic",
|
|
@@ -60,6 +60,7 @@ export interface DateFieldMetadata extends Omit<BaseFieldSchema, "subtype"> {
|
|
|
60
60
|
type: FieldType.DATETIME;
|
|
61
61
|
ignoreTimezones?: boolean;
|
|
62
62
|
timeOnly?: boolean;
|
|
63
|
+
dateOnly?: boolean;
|
|
63
64
|
subtype?: AutoFieldSubType.CREATED_AT | AutoFieldSubType.UPDATED_AT;
|
|
64
65
|
}
|
|
65
66
|
export interface LongFormFieldMetadata extends BaseFieldSchema {
|
|
@@ -16,6 +16,13 @@ export interface UserSSO {
|
|
|
16
16
|
providerType: SSOProviderType;
|
|
17
17
|
oauth2?: OAuth2;
|
|
18
18
|
thirdPartyProfile?: SSOProfileJson;
|
|
19
|
+
profile?: {
|
|
20
|
+
displayName?: string;
|
|
21
|
+
name?: {
|
|
22
|
+
givenName?: string;
|
|
23
|
+
familyName?: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
19
26
|
}
|
|
20
27
|
export type SSOUser = User & UserSSO;
|
|
21
28
|
export declare function isSSOUser(user: User): user is SSOUser;
|
package/dist/index.js
CHANGED
|
@@ -95,6 +95,7 @@ __export(src_exports, {
|
|
|
95
95
|
QuotaUsageType: () => QuotaUsageType,
|
|
96
96
|
RelationshipType: () => RelationshipType,
|
|
97
97
|
RestAuthType: () => RestAuthType,
|
|
98
|
+
RowOperations: () => RowOperations,
|
|
98
99
|
SEPARATOR: () => SEPARATOR,
|
|
99
100
|
SQLiteType: () => SQLiteType,
|
|
100
101
|
SSOProviderType: () => SSOProviderType,
|
|
@@ -577,6 +578,13 @@ var Operation = /* @__PURE__ */ ((Operation2) => {
|
|
|
577
578
|
Operation2["DELETE_TABLE"] = "DELETE_TABLE";
|
|
578
579
|
return Operation2;
|
|
579
580
|
})(Operation || {});
|
|
581
|
+
var RowOperations = [
|
|
582
|
+
"CREATE" /* CREATE */,
|
|
583
|
+
"READ" /* READ */,
|
|
584
|
+
"UPDATE" /* UPDATE */,
|
|
585
|
+
"DELETE" /* DELETE */,
|
|
586
|
+
"BULK_CREATE" /* BULK_CREATE */
|
|
587
|
+
];
|
|
580
588
|
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
581
589
|
SortDirection2["ASCENDING"] = "ASCENDING";
|
|
582
590
|
SortDirection2["DESCENDING"] = "DESCENDING";
|
|
@@ -1322,6 +1330,7 @@ var MaintenanceType = /* @__PURE__ */ ((MaintenanceType2) => {
|
|
|
1322
1330
|
QuotaUsageType,
|
|
1323
1331
|
RelationshipType,
|
|
1324
1332
|
RestAuthType,
|
|
1333
|
+
RowOperations,
|
|
1325
1334
|
SEPARATOR,
|
|
1326
1335
|
SQLiteType,
|
|
1327
1336
|
SSOProviderType,
|