@fusebase/fusebase-gate-sdk 2.5.0 → 2.5.1-sdk.2
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/apis/IsolatedStoresApi.d.ts +14 -1
- package/dist/apis/IsolatedStoresApi.js +15 -0
- package/dist/apis/PortalsApi.d.ts +159 -5
- package/dist/apis/PortalsApi.js +182 -4
- package/dist/types/isolated-store/isolated-store.d.ts +69 -0
- package/dist/types/isolated-store/isolated-store.js +11 -1
- package/dist/types/portals/portals.d.ts +1080 -207
- package/dist/types/portals/portals.js +58 -1
- package/dist/types/shared/enums.d.ts +1 -1
- package/dist/types/shared/enums.js +1 -1
- package/package.json +1 -1
- package/release-notes/2.5.1-sdk.2.md +9 -0
- package/release-notes/latest.md +3 -3
- package/release-notes/2.3.34-sdk.10.md +0 -1054
- package/release-notes/2.5.0.md +0 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PortalCountdownAppearanceContract = exports.PortalCardDestinationContract = exports.PortalCardAppearanceContract = exports.PortalCardViewContract = exports.PortalCardBackgroundContract = exports.PortalFlexibleTextAppearanceContract = exports.PortalTextBackgroundContract = exports.PortalDatabaseBlockAppearanceContract = exports.PortalBackgroundContract = exports.PortalDatabaseBlockTargetContract = void 0;
|
|
3
|
+
exports.PortalTimelineAppearanceContract = exports.PortalTimelineViewContract = exports.PortalCustomWidgetAppearanceContract = exports.PortalCustomWidgetBrickContract = exports.PortalCustomWidgetDestinationContract = exports.PortalInfoDestinationContract = exports.PortalInfoImageContract = exports.PortalCardGroupAppearanceContract = exports.PortalCardGroupImageContract = exports.PortalFormFieldWidthContract = exports.PortalFormFieldTypeContract = exports.PortalFormAppearanceContract = exports.PortalCountdownAppearanceContract = exports.PortalCardDestinationContract = exports.PortalCardAppearanceContract = exports.PortalCardViewContract = exports.PortalCardBackgroundContract = exports.PortalFlexibleTextAppearanceContract = exports.PortalTextBackgroundContract = exports.PortalDatabaseBlockAppearanceContract = exports.PortalBackgroundContract = exports.PortalDatabaseBlockTargetContract = void 0;
|
|
4
4
|
exports.PortalDatabaseBlockTargetContract = {
|
|
5
5
|
Database: "database"
|
|
6
6
|
};
|
|
@@ -42,3 +42,60 @@ exports.PortalCountdownAppearanceContract = {
|
|
|
42
42
|
Blank: "blank",
|
|
43
43
|
Custom: "custom"
|
|
44
44
|
};
|
|
45
|
+
exports.PortalFormAppearanceContract = {
|
|
46
|
+
None: "none",
|
|
47
|
+
Blank: "blank",
|
|
48
|
+
Custom: "custom"
|
|
49
|
+
};
|
|
50
|
+
exports.PortalFormFieldTypeContract = {
|
|
51
|
+
Text: "text",
|
|
52
|
+
Textarea: "textarea",
|
|
53
|
+
Number: "number",
|
|
54
|
+
Phone: "phone",
|
|
55
|
+
Email: "email",
|
|
56
|
+
Checkbox: "checkbox",
|
|
57
|
+
Select: "select",
|
|
58
|
+
File: "file",
|
|
59
|
+
Date: "date"
|
|
60
|
+
};
|
|
61
|
+
exports.PortalFormFieldWidthContract = {
|
|
62
|
+
Half: "half",
|
|
63
|
+
Full: "full"
|
|
64
|
+
};
|
|
65
|
+
exports.PortalCardGroupImageContract = {
|
|
66
|
+
Calendar: "calendar",
|
|
67
|
+
Book: "book",
|
|
68
|
+
Pen: "pen",
|
|
69
|
+
Briefcase: "briefcase"
|
|
70
|
+
};
|
|
71
|
+
exports.PortalCardGroupAppearanceContract = {
|
|
72
|
+
None: "none",
|
|
73
|
+
Blank: "blank",
|
|
74
|
+
Custom: "custom"
|
|
75
|
+
};
|
|
76
|
+
exports.PortalInfoImageContract = {
|
|
77
|
+
Emoji: "emoji"
|
|
78
|
+
};
|
|
79
|
+
exports.PortalInfoDestinationContract = {
|
|
80
|
+
Portalpage: "portalPage"
|
|
81
|
+
};
|
|
82
|
+
exports.PortalCustomWidgetDestinationContract = {
|
|
83
|
+
Portalpage: "portalPage"
|
|
84
|
+
};
|
|
85
|
+
exports.PortalCustomWidgetBrickContract = {
|
|
86
|
+
Heading: "heading"
|
|
87
|
+
};
|
|
88
|
+
exports.PortalCustomWidgetAppearanceContract = {
|
|
89
|
+
None: "none",
|
|
90
|
+
Blank: "blank",
|
|
91
|
+
Custom: "custom"
|
|
92
|
+
};
|
|
93
|
+
exports.PortalTimelineViewContract = {
|
|
94
|
+
Horizontal: "horizontal",
|
|
95
|
+
Vertical: "vertical"
|
|
96
|
+
};
|
|
97
|
+
exports.PortalTimelineAppearanceContract = {
|
|
98
|
+
None: "none",
|
|
99
|
+
Blank: "blank",
|
|
100
|
+
Custom: "custom"
|
|
101
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type OrgRoleContract = "owner" | "manager" | "member" | "client" | "guest" | "visitor";
|
|
2
2
|
export type PermissionContract = string & {
|
|
3
|
-
__pattern: "^[
|
|
3
|
+
__pattern: "^[a-z][a-z0-9_]*(\\.[a-z0-9_]+)*\\.(read|write|delete|execute|send|create|manage|bypass|delegate)$";
|
|
4
4
|
};
|
|
5
5
|
export type RootEntityContract = "custom" | "portal" | "workspace" | "org" | "user" | "client" | "form" | "form-response" | "tracker" | "tracker-result" | "meeting";
|
|
6
6
|
export type ScopeTypeContract = "org" | "workspace" | "portal" | "user" | "client" | "block" | "tracker" | "parent_row" | "parent_table";
|
|
@@ -37,7 +37,7 @@ exports.ScopeTypeContract = {
|
|
|
37
37
|
exports.ScopeTypeOrgContract = {
|
|
38
38
|
Org: "org"
|
|
39
39
|
};
|
|
40
|
-
const PERMISSION_RE = /^[
|
|
40
|
+
const PERMISSION_RE = /^[a-z][a-z0-9_]*(\.[a-z0-9_]+)*\.(read|write|delete|execute|send|create|manage|bypass|delegate)$/;
|
|
41
41
|
function asPermission(value) {
|
|
42
42
|
if (!PERMISSION_RE.test(value)) {
|
|
43
43
|
throw new Error(`Invalid permission: ${value}`);
|
package/package.json
CHANGED
package/release-notes/latest.md
CHANGED