@redonvn/redai-backend-api-sdk 0.1.17 → 0.1.20
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/core/auth.d.ts +19 -0
- package/dist/core/auth.js +47 -0
- package/dist/core/http-client.d.ts +9 -0
- package/dist/core/http-client.js +41 -0
- package/dist/core/types.d.ts +19 -0
- package/dist/core/types.js +2 -0
- package/{src/generated/dynamic-table/index.ts → dist/generated/dynamic-table/index.d.ts} +0 -1
- package/dist/generated/dynamic-table/index.js +19 -0
- package/dist/generated/dynamic-table/services/api-docs.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/api-docs.service.js +36 -0
- package/dist/generated/dynamic-table/services/api-tokens.service.d.ts +10 -0
- package/dist/generated/dynamic-table/services/api-tokens.service.js +45 -0
- package/dist/generated/dynamic-table/services/attachments-secure.service.d.ts +8 -0
- package/dist/generated/dynamic-table/services/attachments-secure.service.js +27 -0
- package/dist/generated/dynamic-table/services/attachments.service.d.ts +10 -0
- package/dist/generated/dynamic-table/services/attachments.service.js +45 -0
- package/dist/generated/dynamic-table/services/base-members.service.d.ts +10 -0
- package/dist/generated/dynamic-table/services/base-members.service.js +45 -0
- package/dist/generated/dynamic-table/services/bases.service.d.ts +11 -0
- package/dist/generated/dynamic-table/services/bases.service.js +54 -0
- package/dist/generated/dynamic-table/services/caches.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/caches.service.js +36 -0
- package/dist/generated/dynamic-table/services/calendar-data.service.d.ts +14 -0
- package/dist/generated/dynamic-table/services/calendar-data.service.js +36 -0
- package/dist/generated/dynamic-table/services/calendars.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/calendars.service.js +36 -0
- package/dist/generated/dynamic-table/services/columns.service.d.ts +17 -0
- package/dist/generated/dynamic-table/services/columns.service.js +81 -0
- package/dist/generated/dynamic-table/services/command-palette.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/command-palette.service.js +36 -0
- package/dist/generated/dynamic-table/services/comments.service.d.ts +13 -0
- package/dist/generated/dynamic-table/services/comments.service.js +72 -0
- package/dist/generated/dynamic-table/services/data-imports.service.d.ts +15 -0
- package/dist/generated/dynamic-table/services/data-imports.service.js +63 -0
- package/dist/generated/dynamic-table/services/data-table.service.d.ts +33 -0
- package/dist/generated/dynamic-table/services/data-table.service.js +162 -0
- package/dist/generated/dynamic-table/services/dynamic-table-auth.service.d.ts +7 -0
- package/dist/generated/dynamic-table/services/dynamic-table-auth.service.js +18 -0
- package/dist/generated/dynamic-table/services/filters.service.d.ts +12 -0
- package/dist/generated/dynamic-table/services/filters.service.js +63 -0
- package/dist/generated/dynamic-table/services/forms.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/forms.service.js +36 -0
- package/dist/generated/dynamic-table/services/galleries.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/galleries.service.js +36 -0
- package/dist/generated/dynamic-table/services/grids.service.d.ts +8 -0
- package/dist/generated/dynamic-table/services/grids.service.js +27 -0
- package/dist/generated/dynamic-table/services/hooks.service.d.ts +18 -0
- package/dist/generated/dynamic-table/services/hooks.service.js +117 -0
- package/{src/generated/dynamic-table/services/index.ts → dist/generated/dynamic-table/services/index.d.ts} +4 -1
- package/dist/generated/dynamic-table/services/index.js +84 -0
- package/dist/generated/dynamic-table/services/internal.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/internal.service.js +36 -0
- package/dist/generated/dynamic-table/services/jobs-meta.service.d.ts +16 -0
- package/dist/generated/dynamic-table/services/jobs-meta.service.js +45 -0
- package/dist/generated/dynamic-table/services/jobs.service.d.ts +7 -0
- package/dist/generated/dynamic-table/services/jobs.service.js +18 -0
- package/dist/generated/dynamic-table/services/kanban-data.service.d.ts +7 -0
- package/dist/generated/dynamic-table/services/kanban-data.service.js +18 -0
- package/dist/generated/dynamic-table/services/kanbans.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/kanbans.service.js +36 -0
- package/dist/generated/dynamic-table/services/maps.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/maps.service.js +36 -0
- package/dist/generated/dynamic-table/services/row-color.service.d.ts +12 -0
- package/dist/generated/dynamic-table/services/row-color.service.js +63 -0
- package/dist/generated/dynamic-table/services/sorts.service.d.ts +12 -0
- package/dist/generated/dynamic-table/services/sorts.service.js +63 -0
- package/dist/generated/dynamic-table/services/sources.service.d.ts +11 -0
- package/dist/generated/dynamic-table/services/sources.service.js +54 -0
- package/dist/generated/dynamic-table/services/tables.service.d.ts +12 -0
- package/dist/generated/dynamic-table/services/tables.service.js +63 -0
- package/dist/generated/dynamic-table/services/user-ui-preferences.service.d.ts +8 -0
- package/dist/generated/dynamic-table/services/user-ui-preferences.service.js +27 -0
- package/dist/generated/dynamic-table/services/utils.service.d.ts +10 -0
- package/dist/generated/dynamic-table/services/utils.service.js +45 -0
- package/dist/generated/dynamic-table/services/view-columns.service.d.ts +13 -0
- package/dist/generated/dynamic-table/services/view-columns.service.js +72 -0
- package/dist/generated/dynamic-table/services/views.service.d.ts +15 -0
- package/dist/generated/dynamic-table/services/views.service.js +90 -0
- package/dist/generated/dynamic-table/services/workspace-invite-link-settings.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/workspace-invite-link-settings.service.js +36 -0
- package/dist/generated/dynamic-table/services/workspace-invite-links.service.d.ts +10 -0
- package/dist/generated/dynamic-table/services/workspace-invite-links.service.js +45 -0
- package/dist/generated/dynamic-table/services/workspace-invites.service.d.ts +7 -0
- package/dist/generated/dynamic-table/services/workspace-invites.service.js +18 -0
- package/dist/generated/dynamic-table/services/workspace-join-requests.service.d.ts +9 -0
- package/dist/generated/dynamic-table/services/workspace-join-requests.service.js +36 -0
- package/dist/generated/dynamic-table/services/workspace-members.service.d.ts +10 -0
- package/dist/generated/dynamic-table/services/workspace-members.service.js +45 -0
- package/dist/generated/dynamic-table/services/workspaces.service.d.ts +12 -0
- package/dist/generated/dynamic-table/services/workspaces.service.js +63 -0
- package/dist/generated/dynamic-table/types.d.ts +2539 -0
- package/dist/generated/dynamic-table/types.js +488 -0
- package/{src/generated/index.ts → dist/generated/index.d.ts} +0 -1
- package/dist/generated/index.js +43 -0
- package/{src/generated/services/index.ts → dist/generated/services/index.d.ts} +0 -1
- package/dist/generated/services/index.js +18 -0
- package/{src/generated/types.ts → dist/generated/types.d.ts} +0 -1
- package/dist/generated/types.js +18 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.js +98 -0
- package/package.json +19 -13
- package/.npm-cache/_cacache/content-v2/sha512/86/70/40787d3ad4c6bb74f182be681858c7e22dc44bd5679779bfe4f3aa562f18810e6b8e80144a539402fe397be24c37e2555f351176e49d8bd1ddff114d5e04 +0 -0
- package/.npm-cache/_cacache/tmp/6303939d +0 -0
- package/.npm-cache/_update-notifier-last-checked +0 -0
- package/src/core/auth.ts +0 -62
- package/src/core/http-client.ts +0 -41
- package/src/core/types.ts +0 -23
- package/src/generated/dynamic-table/services/api-docs.service.ts +0 -42
- package/src/generated/dynamic-table/services/api-tokens.service.ts +0 -53
- package/src/generated/dynamic-table/services/attachments-secure.service.ts +0 -31
- package/src/generated/dynamic-table/services/attachments.service.ts +0 -53
- package/src/generated/dynamic-table/services/base-members.service.ts +0 -55
- package/src/generated/dynamic-table/services/bases.service.ts +0 -66
- package/src/generated/dynamic-table/services/caches.service.ts +0 -42
- package/src/generated/dynamic-table/services/calendar-data.service.ts +0 -44
- package/src/generated/dynamic-table/services/calendars.service.ts +0 -45
- package/src/generated/dynamic-table/services/columns.service.ts +0 -98
- package/src/generated/dynamic-table/services/command-palette.service.ts +0 -42
- package/src/generated/dynamic-table/services/data-table.service.ts +0 -199
- package/src/generated/dynamic-table/services/dynamic-table-auth.service.ts +0 -21
- package/src/generated/dynamic-table/services/filters.service.ts +0 -76
- package/src/generated/dynamic-table/services/forms.service.ts +0 -45
- package/src/generated/dynamic-table/services/galleries.service.ts +0 -45
- package/src/generated/dynamic-table/services/grids.service.ts +0 -33
- package/src/generated/dynamic-table/services/hooks.service.ts +0 -145
- package/src/generated/dynamic-table/services/internal.service.ts +0 -42
- package/src/generated/dynamic-table/services/kanban-data.service.ts +0 -21
- package/src/generated/dynamic-table/services/kanbans.service.ts +0 -45
- package/src/generated/dynamic-table/services/maps.service.ts +0 -45
- package/src/generated/dynamic-table/services/row-color.service.ts +0 -77
- package/src/generated/dynamic-table/services/sorts.service.ts +0 -76
- package/src/generated/dynamic-table/services/sources.service.ts +0 -66
- package/src/generated/dynamic-table/services/tables.service.ts +0 -77
- package/src/generated/dynamic-table/services/user-ui-preferences.service.ts +0 -32
- package/src/generated/dynamic-table/services/utils.service.ts +0 -53
- package/src/generated/dynamic-table/services/view-columns.service.ts +0 -87
- package/src/generated/dynamic-table/services/views.service.ts +0 -109
- package/src/generated/dynamic-table/services/workspace-invite-link-settings.service.ts +0 -43
- package/src/generated/dynamic-table/services/workspace-invite-links.service.ts +0 -55
- package/src/generated/dynamic-table/services/workspace-invites.service.ts +0 -21
- package/src/generated/dynamic-table/services/workspace-join-requests.service.ts +0 -45
- package/src/generated/dynamic-table/services/workspace-members.service.ts +0 -56
- package/src/generated/dynamic-table/services/workspaces.service.ts +0 -77
- package/src/generated/dynamic-table/types.ts +0 -2326
- package/src/index.ts +0 -79
- package/tools/.reports/dynamic-table-sdk-report.json +0 -9
- package/tools/generate-dynamic-table-sdk.ts +0 -31
- package/tools/generate-sdk.ts +0 -13
- package/tools/generator/openapi-resolver.ts +0 -77
- package/tools/generator/shared.ts +0 -162
- package/tools/generator/ts-resolver.ts +0 -439
- package/tools/verify-generated.ts +0 -23
- package/tsconfig.json +0 -19
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceMemberRole = exports.WorkspaceJoinRequestStatus = exports.WorkspaceInviteStatus = exports.WorkspaceInviteLinkStatus = exports.ViewType = exports.ViewSortDirection = exports.ViewLockType = exports.StorageMode = exports.SourceType = exports.RowColoringMode = exports.RollupFunction = exports.RelationType = exports.ReferentialAction = exports.ModelType = exports.MembershipScope = exports.MapProviderType = exports.JobStatus = exports.ImportMode = exports.ImportFileFormat = exports.HookVersion = exports.HookType = exports.HookOperation = exports.HookLogStatus = exports.HookEnvironment = exports.GridRowHeight = exports.FilterLogicalOp = exports.FilterComparisonSubOp = exports.FilterComparisonOp = exports.FieldType = exports.ExternalDataType = exports.BaseStatus = exports.AppEvents = void 0;
|
|
4
|
+
var AppEvents;
|
|
5
|
+
(function (AppEvents) {
|
|
6
|
+
AppEvents["PROJECT_CREATE"] = "base.create";
|
|
7
|
+
AppEvents["PROJECT_INVITE"] = "base.invite";
|
|
8
|
+
AppEvents["PROJECT_USER_UPDATE"] = "base.user.update";
|
|
9
|
+
AppEvents["PROJECT_USER_RESEND_INVITE"] = "base.user.resend.invite";
|
|
10
|
+
AppEvents["PROJECT_DELETE"] = "base.delete";
|
|
11
|
+
AppEvents["PROJECT_UPDATE"] = "base.update";
|
|
12
|
+
AppEvents["PROJECT_CLONE"] = "base.clone";
|
|
13
|
+
AppEvents["WELCOME"] = "app.welcome";
|
|
14
|
+
AppEvents["WORKSPACE_USER_INVITE"] = "workspace.invite";
|
|
15
|
+
AppEvents["WORKSPACE_USER_UPDATE"] = "workspace.user.update";
|
|
16
|
+
AppEvents["WORKSPACE_USER_DELETE"] = "workspace.user.delete";
|
|
17
|
+
AppEvents["WORKSPACE_CREATE"] = "workspace.create";
|
|
18
|
+
AppEvents["WORKSPACE_DELETE"] = "workspace.delete";
|
|
19
|
+
AppEvents["WORKSPACE_UPDATE"] = "workspace.update";
|
|
20
|
+
AppEvents["WORKSPACE_UPGRADE_REQUEST"] = "workspace.upgrade.request";
|
|
21
|
+
AppEvents["USER_SIGNUP"] = "user.signup";
|
|
22
|
+
AppEvents["USER_SIGNIN"] = "user.signin";
|
|
23
|
+
AppEvents["USER_INVITE"] = "user.invite";
|
|
24
|
+
AppEvents["USER_UPDATE"] = "user.update";
|
|
25
|
+
AppEvents["USER_PASSWORD_RESET"] = "user.password.reset";
|
|
26
|
+
AppEvents["USER_PASSWORD_CHANGE"] = "user.password.change";
|
|
27
|
+
AppEvents["USER_PASSWORD_FORGOT"] = "user.password.forgot";
|
|
28
|
+
AppEvents["USER_DELETE"] = "user.delete";
|
|
29
|
+
AppEvents["USER_EMAIL_VERIFICATION"] = "user.email.verification";
|
|
30
|
+
AppEvents["TABLE_CREATE"] = "table.create";
|
|
31
|
+
AppEvents["TABLE_DELETE"] = "table.delete";
|
|
32
|
+
AppEvents["TABLE_UPDATE"] = "table.update";
|
|
33
|
+
AppEvents["VIEW_CREATE"] = "view.create";
|
|
34
|
+
AppEvents["VIEW_DELETE"] = "view.delete";
|
|
35
|
+
AppEvents["VIEW_UPDATE"] = "view.update";
|
|
36
|
+
AppEvents["SHARED_VIEW_CREATE"] = "shared.view.create";
|
|
37
|
+
AppEvents["SHARED_VIEW_DELETE"] = "shared.view.delete";
|
|
38
|
+
AppEvents["SHARED_VIEW_UPDATE"] = "shared.view.update";
|
|
39
|
+
AppEvents["FILTER_CREATE"] = "filter.create";
|
|
40
|
+
AppEvents["FILTER_DELETE"] = "filter.delete";
|
|
41
|
+
AppEvents["FILTER_UPDATE"] = "filter.update";
|
|
42
|
+
AppEvents["SORT_CREATE"] = "sort.create";
|
|
43
|
+
AppEvents["SORT_DELETE"] = "sort.delete";
|
|
44
|
+
AppEvents["SORT_UPDATE"] = "sort.update";
|
|
45
|
+
AppEvents["COLUMN_CREATE"] = "column.create";
|
|
46
|
+
AppEvents["COLUMN_DELETE"] = "column.delete";
|
|
47
|
+
AppEvents["COLUMN_UPDATE"] = "column.update";
|
|
48
|
+
AppEvents["DATA_CREATE"] = "data.create";
|
|
49
|
+
AppEvents["DATA_DELETE"] = "data.delete";
|
|
50
|
+
AppEvents["DATA_UPDATE"] = "data.update";
|
|
51
|
+
AppEvents["ORG_USER_INVITE"] = "org.user.invite";
|
|
52
|
+
AppEvents["ORG_USER_RESEND_INVITE"] = "org.user.resend.invite";
|
|
53
|
+
AppEvents["VIEW_COLUMN_CREATE"] = "view.column.create";
|
|
54
|
+
AppEvents["VIEW_COLUMN_UPDATE"] = "view.column.update";
|
|
55
|
+
AppEvents["API_TOKEN_CREATE"] = "api.token.create";
|
|
56
|
+
AppEvents["API_TOKEN_DELETE"] = "api.token.delete";
|
|
57
|
+
AppEvents["API_TOKEN_UPDATE"] = "api.token.update";
|
|
58
|
+
AppEvents["IMAGE_UPLOAD"] = "image.upload";
|
|
59
|
+
AppEvents["FORM_COLUMN_UPDATE"] = "form.column.update";
|
|
60
|
+
AppEvents["FORM_CREATE"] = "form.create";
|
|
61
|
+
AppEvents["FORM_UPDATE"] = "form.update";
|
|
62
|
+
AppEvents["GALLERY_CREATE"] = "gallery.create";
|
|
63
|
+
AppEvents["GALLERY_UPDATE"] = "gallery.update";
|
|
64
|
+
AppEvents["MAP_CREATE"] = "map.create";
|
|
65
|
+
AppEvents["MAP_UPDATE"] = "map.update";
|
|
66
|
+
AppEvents["MAP_DELETE"] = "map.delete";
|
|
67
|
+
AppEvents["KANBAN_CREATE"] = "kanban.create";
|
|
68
|
+
AppEvents["KANBAN_UPDATE"] = "kanban.update";
|
|
69
|
+
AppEvents["META_DIFF_SYNC"] = "meta.diff.sync";
|
|
70
|
+
AppEvents["GRID_CREATE"] = "grid.create";
|
|
71
|
+
AppEvents["GRID_UPDATE"] = "grid.update";
|
|
72
|
+
AppEvents["GRID_COLUMN_UPDATE"] = "grid.column.update";
|
|
73
|
+
AppEvents["WEBHOOK_CREATE"] = "webhook.create";
|
|
74
|
+
AppEvents["WEBHOOK_UPDATE"] = "webhook.update";
|
|
75
|
+
AppEvents["WEBHOOK_DELETE"] = "webhook.delete";
|
|
76
|
+
AppEvents["WEBHOOK_TEST"] = "webhook.test";
|
|
77
|
+
AppEvents["WEBHOOK_TRIGGER"] = "webhook.trigger";
|
|
78
|
+
AppEvents["UI_ACL_UPDATE"] = "ui.acl.update";
|
|
79
|
+
AppEvents["ORG_API_TOKEN_CREATE"] = "org.api.token.create";
|
|
80
|
+
AppEvents["ORG_API_TOKEN_DELETE"] = "org.api.token.delete";
|
|
81
|
+
AppEvents["ORG_API_TOKEN_UPDATE"] = "org.api.token.update";
|
|
82
|
+
AppEvents["PLUGIN_TEST"] = "plugin.test";
|
|
83
|
+
AppEvents["PLUGIN_INSTALL"] = "plugin.install";
|
|
84
|
+
AppEvents["PLUGIN_UNINSTALL"] = "plugin.uninstall";
|
|
85
|
+
AppEvents["SYNC_SOURCE_CREATE"] = "sync.source.create";
|
|
86
|
+
AppEvents["SYNC_SOURCE_UPDATE"] = "sync.source.update";
|
|
87
|
+
AppEvents["SYNC_SOURCE_DELETE"] = "sync.source.delete";
|
|
88
|
+
AppEvents["RELATION_DELETE"] = "relation.delete";
|
|
89
|
+
AppEvents["RELATION_CREATE"] = "relation.create";
|
|
90
|
+
AppEvents["SHARED_BASE_GENERATE_LINK"] = "shared.base.generate.link";
|
|
91
|
+
AppEvents["SHARED_BASE_DELETE_LINK"] = "shared.base.delete.link";
|
|
92
|
+
AppEvents["ATTACHMENT_UPLOAD"] = "attachment.upload";
|
|
93
|
+
AppEvents["APIS_CREATED"] = "apis.created";
|
|
94
|
+
AppEvents["EXTENSION_CREATE"] = "extension.create";
|
|
95
|
+
AppEvents["EXTENSION_UPDATE"] = "extension.update";
|
|
96
|
+
AppEvents["EXTENSION_DELETE"] = "extension.delete";
|
|
97
|
+
AppEvents["COMMENT_CREATE"] = "comment.create";
|
|
98
|
+
AppEvents["COMMENT_DELETE"] = "comment.delete";
|
|
99
|
+
AppEvents["COMMENT_UPDATE"] = "comment.update";
|
|
100
|
+
AppEvents["INTEGRATION_DELETE"] = "integration.delete";
|
|
101
|
+
AppEvents["INTEGRATION_CREATE"] = "integration.create";
|
|
102
|
+
AppEvents["INTEGRATION_UPDATE"] = "integration.update";
|
|
103
|
+
AppEvents["ROW_USER_MENTION"] = "row.user.mention";
|
|
104
|
+
AppEvents["CALENDAR_CREATE"] = "calendar.create";
|
|
105
|
+
AppEvents["FORM_DUPLICATE"] = "form.duplicate";
|
|
106
|
+
AppEvents["CALENDAR_UPDATE"] = "calendar.update";
|
|
107
|
+
AppEvents["CALENDAR_DELETE"] = "calendar.delete";
|
|
108
|
+
AppEvents["FORM_DELETE"] = "form.delete";
|
|
109
|
+
AppEvents["SOURCE_CREATE"] = "source.create";
|
|
110
|
+
AppEvents["SOURCE_UPDATE"] = "source.update";
|
|
111
|
+
AppEvents["SOURCE_DELETE"] = "source.delete";
|
|
112
|
+
AppEvents["SHARED_BASE_REVOKE_LINK"] = "shared.base.revoke.link";
|
|
113
|
+
AppEvents["GRID_DELETE"] = "grid.delete";
|
|
114
|
+
AppEvents["GRID_DUPLICATE"] = "grid.duplicate";
|
|
115
|
+
AppEvents["KANBAN_DELETE"] = "kanban.delete";
|
|
116
|
+
AppEvents["KANBAN_DUPLICATE"] = "kanban.duplicate";
|
|
117
|
+
AppEvents["GALLERY_DELETE"] = "gallery.delete";
|
|
118
|
+
AppEvents["GALLERY_DUPLICATE"] = "gallery.duplicate";
|
|
119
|
+
AppEvents["BASE_DUPLICATE_START"] = "base.duplicate.start";
|
|
120
|
+
AppEvents["BASE_DUPLICATE_COMPLETE"] = "base.duplicate.complete";
|
|
121
|
+
AppEvents["BASE_DUPLICATE_FAIL"] = "base.duplicate.fail";
|
|
122
|
+
AppEvents["TABLE_DUPLICATE_START"] = "table.duplicate.start";
|
|
123
|
+
AppEvents["TABLE_DUPLICATE_COMPLETE"] = "table.duplicate.complete";
|
|
124
|
+
AppEvents["TABLE_DUPLICATE_FAIL"] = "table.duplicate.fail";
|
|
125
|
+
AppEvents["COLUMN_DUPLICATE_START"] = "column.duplicate.start";
|
|
126
|
+
AppEvents["COLUMN_DUPLICATE_COMPLETE"] = "column.duplicate.complete";
|
|
127
|
+
AppEvents["COLUMN_DUPLICATE_FAIL"] = "column.duplicate.fail";
|
|
128
|
+
AppEvents["VIEW_DUPLICATE_START"] = "view.duplicate.start";
|
|
129
|
+
AppEvents["VIEW_DUPLICATE_COMPLETE"] = "view.duplicate.complete";
|
|
130
|
+
AppEvents["VIEW_DUPLICATE_FAIL"] = "view.duplicate.fail";
|
|
131
|
+
AppEvents["USER_SIGNOUT"] = "user.signout";
|
|
132
|
+
AppEvents["PROJECT_USER_DELETE"] = "base.user.delete";
|
|
133
|
+
AppEvents["UI_ACL"] = "model.role.ui.acl";
|
|
134
|
+
AppEvents["SNAPSHOT_CREATE"] = "snapshot.create";
|
|
135
|
+
AppEvents["SNAPSHOT_DELETE"] = "snapshot.delete";
|
|
136
|
+
AppEvents["SNAPSHOT_RESTORE"] = "snapshot.restore";
|
|
137
|
+
AppEvents["DATA_EXPORT"] = "data.export";
|
|
138
|
+
AppEvents["DATA_IMPORT"] = "data.import";
|
|
139
|
+
AppEvents["USER_PROFILE_UPDATE"] = "user.profile.update";
|
|
140
|
+
AppEvents["SCRIPT_CREATE"] = "script.create";
|
|
141
|
+
AppEvents["SCRIPT_DELETE"] = "script.delete";
|
|
142
|
+
AppEvents["SCRIPT_UPDATE"] = "script.update";
|
|
143
|
+
AppEvents["SCRIPT_DUPLICATE"] = "script.duplicate";
|
|
144
|
+
AppEvents["DASHBOARD_CREATE"] = "dashboard.create";
|
|
145
|
+
AppEvents["DASHBOARD_UPDATE"] = "dashboard.update";
|
|
146
|
+
AppEvents["DASHBOARD_DELETE"] = "dashboard.delete";
|
|
147
|
+
AppEvents["SHARED_DASHBOARD_GENERATE_LINK"] = "shared.dashboard.generate.link";
|
|
148
|
+
AppEvents["SHARED_DASHBOARD_UPDATE_LINK"] = "shared.dashboard.update.link";
|
|
149
|
+
AppEvents["SHARED_DASHBOARD_DELETE_LINK"] = "shared.dashboard.delete.link";
|
|
150
|
+
AppEvents["DASHBOARD_DUPLICATE_START"] = "dashboard.duplicate.start";
|
|
151
|
+
AppEvents["DASHBOARD_DUPLICATE_COMPLETE"] = "dashboard.duplicate.complete";
|
|
152
|
+
AppEvents["DASHBOARD_DUPLICATE_FAIL"] = "dashboard.duplicate.fail";
|
|
153
|
+
AppEvents["WIDGET_CREATE"] = "widget.create";
|
|
154
|
+
AppEvents["WIDGET_UPDATE"] = "widget.update";
|
|
155
|
+
AppEvents["WIDGET_DELETE"] = "widget.delete";
|
|
156
|
+
AppEvents["WIDGET_DUPLICATE"] = "widget.duplicate";
|
|
157
|
+
AppEvents["PERMISSION_CREATE"] = "permission.create";
|
|
158
|
+
AppEvents["PERMISSION_UPDATE"] = "permission.update";
|
|
159
|
+
AppEvents["PERMISSION_DELETE"] = "permission.delete";
|
|
160
|
+
})(AppEvents || (exports.AppEvents = AppEvents = {}));
|
|
161
|
+
var BaseStatus;
|
|
162
|
+
(function (BaseStatus) {
|
|
163
|
+
BaseStatus["ACTIVE"] = "active";
|
|
164
|
+
BaseStatus["ARCHIVED"] = "archived";
|
|
165
|
+
})(BaseStatus || (exports.BaseStatus = BaseStatus = {}));
|
|
166
|
+
var ExternalDataType;
|
|
167
|
+
(function (ExternalDataType) {
|
|
168
|
+
ExternalDataType["VARCHAR"] = "VARCHAR";
|
|
169
|
+
ExternalDataType["CHAR"] = "CHAR";
|
|
170
|
+
ExternalDataType["TEXT"] = "TEXT";
|
|
171
|
+
ExternalDataType["NVARCHAR"] = "NVARCHAR";
|
|
172
|
+
ExternalDataType["NCHAR"] = "NCHAR";
|
|
173
|
+
ExternalDataType["LONGTEXT"] = "LONGTEXT";
|
|
174
|
+
ExternalDataType["MEDIUMTEXT"] = "MEDIUMTEXT";
|
|
175
|
+
ExternalDataType["TINYTEXT"] = "TINYTEXT";
|
|
176
|
+
ExternalDataType["INTEGER"] = "INTEGER";
|
|
177
|
+
ExternalDataType["INT"] = "INT";
|
|
178
|
+
ExternalDataType["SMALLINT"] = "SMALLINT";
|
|
179
|
+
ExternalDataType["BIGINT"] = "BIGINT";
|
|
180
|
+
ExternalDataType["TINYINT"] = "TINYINT";
|
|
181
|
+
ExternalDataType["MEDIUMINT"] = "MEDIUMINT";
|
|
182
|
+
ExternalDataType["SERIAL"] = "SERIAL";
|
|
183
|
+
ExternalDataType["BIGSERIAL"] = "BIGSERIAL";
|
|
184
|
+
ExternalDataType["DECIMAL"] = "DECIMAL";
|
|
185
|
+
ExternalDataType["NUMERIC"] = "NUMERIC";
|
|
186
|
+
ExternalDataType["FLOAT"] = "FLOAT";
|
|
187
|
+
ExternalDataType["DOUBLE"] = "DOUBLE";
|
|
188
|
+
ExternalDataType["REAL"] = "REAL";
|
|
189
|
+
ExternalDataType["MONEY"] = "MONEY";
|
|
190
|
+
ExternalDataType["SMALLMONEY"] = "SMALLMONEY";
|
|
191
|
+
ExternalDataType["BOOLEAN"] = "BOOLEAN";
|
|
192
|
+
ExternalDataType["BIT"] = "BIT";
|
|
193
|
+
ExternalDataType["DATE"] = "DATE";
|
|
194
|
+
ExternalDataType["TIME"] = "TIME";
|
|
195
|
+
ExternalDataType["DATETIME"] = "DATETIME";
|
|
196
|
+
ExternalDataType["DATETIME2"] = "DATETIME2";
|
|
197
|
+
ExternalDataType["SMALLDATETIME"] = "SMALLDATETIME";
|
|
198
|
+
ExternalDataType["TIMESTAMP"] = "TIMESTAMP";
|
|
199
|
+
ExternalDataType["TIMESTAMPTZ"] = "TIMESTAMPTZ";
|
|
200
|
+
ExternalDataType["YEAR"] = "YEAR";
|
|
201
|
+
ExternalDataType["BINARY"] = "BINARY";
|
|
202
|
+
ExternalDataType["VARBINARY"] = "VARBINARY";
|
|
203
|
+
ExternalDataType["BLOB"] = "BLOB";
|
|
204
|
+
ExternalDataType["BYTEA"] = "BYTEA";
|
|
205
|
+
ExternalDataType["IMAGE"] = "IMAGE";
|
|
206
|
+
ExternalDataType["JSON"] = "JSON";
|
|
207
|
+
ExternalDataType["JSONB"] = "JSONB";
|
|
208
|
+
ExternalDataType["ARRAY"] = "ARRAY";
|
|
209
|
+
ExternalDataType["UUID"] = "UUID";
|
|
210
|
+
ExternalDataType["UNIQUEIDENTIFIER"] = "UNIQUEIDENTIFIER";
|
|
211
|
+
ExternalDataType["GEOMETRY"] = "GEOMETRY";
|
|
212
|
+
ExternalDataType["GEOGRAPHY"] = "GEOGRAPHY";
|
|
213
|
+
ExternalDataType["POINT"] = "POINT";
|
|
214
|
+
ExternalDataType["XML"] = "XML";
|
|
215
|
+
ExternalDataType["ENUM"] = "ENUM";
|
|
216
|
+
ExternalDataType["SET"] = "SET";
|
|
217
|
+
ExternalDataType["OBJECT_ID"] = "OBJECT_ID";
|
|
218
|
+
ExternalDataType["DOCUMENT"] = "DOCUMENT";
|
|
219
|
+
ExternalDataType["INTERVAL"] = "INTERVAL";
|
|
220
|
+
ExternalDataType["CIDR"] = "CIDR";
|
|
221
|
+
ExternalDataType["INET"] = "INET";
|
|
222
|
+
ExternalDataType["MACADDR"] = "MACADDR";
|
|
223
|
+
ExternalDataType["HSTORE"] = "HSTORE";
|
|
224
|
+
ExternalDataType["CUSTOM"] = "CUSTOM";
|
|
225
|
+
})(ExternalDataType || (exports.ExternalDataType = ExternalDataType = {}));
|
|
226
|
+
var FieldType;
|
|
227
|
+
(function (FieldType) {
|
|
228
|
+
FieldType["TEXT"] = "text";
|
|
229
|
+
FieldType["LONG_TEXT"] = "long_text";
|
|
230
|
+
FieldType["EMAIL"] = "email";
|
|
231
|
+
FieldType["PHONE"] = "phone";
|
|
232
|
+
FieldType["URL"] = "url";
|
|
233
|
+
FieldType["NUMBER"] = "number";
|
|
234
|
+
FieldType["CURRENCY"] = "currency";
|
|
235
|
+
FieldType["PERCENT"] = "percent";
|
|
236
|
+
FieldType["RATING"] = "rating";
|
|
237
|
+
FieldType["AUTONUMBER"] = "autonumber";
|
|
238
|
+
FieldType["SELECT"] = "select";
|
|
239
|
+
FieldType["MULTI_SELECT"] = "multi_select";
|
|
240
|
+
FieldType["BOOLEAN"] = "boolean";
|
|
241
|
+
FieldType["DATE"] = "date";
|
|
242
|
+
FieldType["DATETIME"] = "datetime";
|
|
243
|
+
FieldType["DURATION"] = "duration";
|
|
244
|
+
FieldType["RELATION"] = "relation";
|
|
245
|
+
FieldType["LINK_TO_ANOTHER_RECORD"] = "link_to_another_record";
|
|
246
|
+
FieldType["LINKS"] = "links";
|
|
247
|
+
FieldType["LOOKUP"] = "lookup";
|
|
248
|
+
FieldType["ROLLUP"] = "rollup";
|
|
249
|
+
FieldType["FORMULA"] = "formula";
|
|
250
|
+
FieldType["CREATED_TIME"] = "created_time";
|
|
251
|
+
FieldType["MODIFIED_TIME"] = "modified_time";
|
|
252
|
+
FieldType["CREATED_BY"] = "created_by";
|
|
253
|
+
FieldType["MODIFIED_BY"] = "modified_by";
|
|
254
|
+
FieldType["ATTACHMENT"] = "attachment";
|
|
255
|
+
FieldType["QR_CODE"] = "qrcode";
|
|
256
|
+
FieldType["BARCODE"] = "barcode";
|
|
257
|
+
FieldType["BUTTON"] = "button";
|
|
258
|
+
FieldType["USER"] = "user";
|
|
259
|
+
FieldType["AI"] = "ai";
|
|
260
|
+
})(FieldType || (exports.FieldType = FieldType = {}));
|
|
261
|
+
var FilterComparisonOp;
|
|
262
|
+
(function (FilterComparisonOp) {
|
|
263
|
+
FilterComparisonOp["EQ"] = "eq";
|
|
264
|
+
FilterComparisonOp["NEQ"] = "neq";
|
|
265
|
+
FilterComparisonOp["LIKE"] = "like";
|
|
266
|
+
FilterComparisonOp["NLIKE"] = "nlike";
|
|
267
|
+
FilterComparisonOp["GT"] = "gt";
|
|
268
|
+
FilterComparisonOp["GTE"] = "gte";
|
|
269
|
+
FilterComparisonOp["LT"] = "lt";
|
|
270
|
+
FilterComparisonOp["LTE"] = "lte";
|
|
271
|
+
FilterComparisonOp["EMPTY"] = "empty";
|
|
272
|
+
FilterComparisonOp["NOT_EMPTY"] = "notempty";
|
|
273
|
+
FilterComparisonOp["NULL"] = "null";
|
|
274
|
+
FilterComparisonOp["NOT_NULL"] = "notnull";
|
|
275
|
+
FilterComparisonOp["BLANK"] = "blank";
|
|
276
|
+
FilterComparisonOp["NOT_BLANK"] = "notblank";
|
|
277
|
+
FilterComparisonOp["ALL_OF"] = "allof";
|
|
278
|
+
FilterComparisonOp["ANY_OF"] = "anyof";
|
|
279
|
+
FilterComparisonOp["NOT_ALL_OF"] = "nallof";
|
|
280
|
+
FilterComparisonOp["NOT_ANY_OF"] = "nanyof";
|
|
281
|
+
FilterComparisonOp["CHECKED"] = "checked";
|
|
282
|
+
FilterComparisonOp["NOT_CHECKED"] = "notchecked";
|
|
283
|
+
FilterComparisonOp["IS_WITHIN"] = "isWithin";
|
|
284
|
+
FilterComparisonOp["IS"] = "is";
|
|
285
|
+
FilterComparisonOp["IS_NOT"] = "isnot";
|
|
286
|
+
FilterComparisonOp["BETWEEN"] = "btw";
|
|
287
|
+
FilterComparisonOp["NOT_BETWEEN"] = "nbtw";
|
|
288
|
+
FilterComparisonOp["GROUP_BY_EQ"] = "gbEq";
|
|
289
|
+
FilterComparisonOp["GROUP_BY_NULL"] = "gbNull";
|
|
290
|
+
})(FilterComparisonOp || (exports.FilterComparisonOp = FilterComparisonOp = {}));
|
|
291
|
+
var FilterComparisonSubOp;
|
|
292
|
+
(function (FilterComparisonSubOp) {
|
|
293
|
+
FilterComparisonSubOp["TODAY"] = "today";
|
|
294
|
+
FilterComparisonSubOp["TOMORROW"] = "tomorrow";
|
|
295
|
+
FilterComparisonSubOp["YESTERDAY"] = "yesterday";
|
|
296
|
+
FilterComparisonSubOp["ONE_WEEK_AGO"] = "oneWeekAgo";
|
|
297
|
+
FilterComparisonSubOp["ONE_WEEK_FROM_NOW"] = "oneWeekFromNow";
|
|
298
|
+
FilterComparisonSubOp["ONE_MONTH_AGO"] = "oneMonthAgo";
|
|
299
|
+
FilterComparisonSubOp["ONE_MONTH_FROM_NOW"] = "oneMonthFromNow";
|
|
300
|
+
FilterComparisonSubOp["DAYS_AGO"] = "daysAgo";
|
|
301
|
+
FilterComparisonSubOp["DAYS_FROM_NOW"] = "daysFromNow";
|
|
302
|
+
FilterComparisonSubOp["EXACT_DATE"] = "exactDate";
|
|
303
|
+
FilterComparisonSubOp["PAST_WEEK"] = "pastWeek";
|
|
304
|
+
FilterComparisonSubOp["PAST_MONTH"] = "pastMonth";
|
|
305
|
+
FilterComparisonSubOp["PAST_YEAR"] = "pastYear";
|
|
306
|
+
FilterComparisonSubOp["NEXT_WEEK"] = "nextWeek";
|
|
307
|
+
FilterComparisonSubOp["NEXT_MONTH"] = "nextMonth";
|
|
308
|
+
FilterComparisonSubOp["NEXT_YEAR"] = "nextYear";
|
|
309
|
+
FilterComparisonSubOp["PAST_NUMBER_OF_DAYS"] = "pastNumberOfDays";
|
|
310
|
+
FilterComparisonSubOp["NEXT_NUMBER_OF_DAYS"] = "nextNumberOfDays";
|
|
311
|
+
})(FilterComparisonSubOp || (exports.FilterComparisonSubOp = FilterComparisonSubOp = {}));
|
|
312
|
+
var FilterLogicalOp;
|
|
313
|
+
(function (FilterLogicalOp) {
|
|
314
|
+
FilterLogicalOp["AND"] = "and";
|
|
315
|
+
FilterLogicalOp["OR"] = "or";
|
|
316
|
+
FilterLogicalOp["NOT"] = "not";
|
|
317
|
+
})(FilterLogicalOp || (exports.FilterLogicalOp = FilterLogicalOp = {}));
|
|
318
|
+
var GridRowHeight;
|
|
319
|
+
(function (GridRowHeight) {
|
|
320
|
+
GridRowHeight["SHORT"] = "short";
|
|
321
|
+
GridRowHeight["MEDIUM"] = "medium";
|
|
322
|
+
GridRowHeight["TALL"] = "tall";
|
|
323
|
+
GridRowHeight["EXTRA"] = "extra";
|
|
324
|
+
})(GridRowHeight || (exports.GridRowHeight = GridRowHeight = {}));
|
|
325
|
+
var HookEnvironment;
|
|
326
|
+
(function (HookEnvironment) {
|
|
327
|
+
HookEnvironment["DEV"] = "dev";
|
|
328
|
+
HookEnvironment["STAGING"] = "staging";
|
|
329
|
+
HookEnvironment["PROD"] = "prod";
|
|
330
|
+
HookEnvironment["TEST"] = "test";
|
|
331
|
+
})(HookEnvironment || (exports.HookEnvironment = HookEnvironment = {}));
|
|
332
|
+
var HookLogStatus;
|
|
333
|
+
(function (HookLogStatus) {
|
|
334
|
+
HookLogStatus["PENDING"] = "pending";
|
|
335
|
+
HookLogStatus["RUNNING"] = "running";
|
|
336
|
+
HookLogStatus["SUCCESS"] = "success";
|
|
337
|
+
HookLogStatus["FAILED"] = "failed";
|
|
338
|
+
})(HookLogStatus || (exports.HookLogStatus = HookLogStatus = {}));
|
|
339
|
+
var HookOperation;
|
|
340
|
+
(function (HookOperation) {
|
|
341
|
+
HookOperation["CREATE"] = "create";
|
|
342
|
+
HookOperation["UPDATE"] = "update";
|
|
343
|
+
HookOperation["DELETE"] = "delete";
|
|
344
|
+
HookOperation["READ"] = "read";
|
|
345
|
+
})(HookOperation || (exports.HookOperation = HookOperation = {}));
|
|
346
|
+
var HookType;
|
|
347
|
+
(function (HookType) {
|
|
348
|
+
HookType["WEBHOOK"] = "webhook";
|
|
349
|
+
HookType["SCRIPT"] = "script";
|
|
350
|
+
})(HookType || (exports.HookType = HookType = {}));
|
|
351
|
+
var HookVersion;
|
|
352
|
+
(function (HookVersion) {
|
|
353
|
+
HookVersion["V1"] = "v1";
|
|
354
|
+
HookVersion["V2"] = "v2";
|
|
355
|
+
HookVersion["V3"] = "v3";
|
|
356
|
+
})(HookVersion || (exports.HookVersion = HookVersion = {}));
|
|
357
|
+
var ImportFileFormat;
|
|
358
|
+
(function (ImportFileFormat) {
|
|
359
|
+
ImportFileFormat["CSV"] = "csv";
|
|
360
|
+
ImportFileFormat["XLSX"] = "xlsx";
|
|
361
|
+
ImportFileFormat["JSON"] = "json";
|
|
362
|
+
})(ImportFileFormat || (exports.ImportFileFormat = ImportFileFormat = {}));
|
|
363
|
+
var ImportMode;
|
|
364
|
+
(function (ImportMode) {
|
|
365
|
+
ImportMode["APPEND"] = "append";
|
|
366
|
+
})(ImportMode || (exports.ImportMode = ImportMode = {}));
|
|
367
|
+
var JobStatus;
|
|
368
|
+
(function (JobStatus) {
|
|
369
|
+
JobStatus["PENDING"] = "pending";
|
|
370
|
+
JobStatus["RUNNING"] = "running";
|
|
371
|
+
JobStatus["COMPLETED"] = "completed";
|
|
372
|
+
JobStatus["FAILED"] = "failed";
|
|
373
|
+
JobStatus["CANCELED"] = "canceled";
|
|
374
|
+
})(JobStatus || (exports.JobStatus = JobStatus = {}));
|
|
375
|
+
var MapProviderType;
|
|
376
|
+
(function (MapProviderType) {
|
|
377
|
+
MapProviderType["OSM"] = "osm";
|
|
378
|
+
MapProviderType["GOOGLE"] = "google";
|
|
379
|
+
MapProviderType["MAPBOX"] = "mapbox";
|
|
380
|
+
})(MapProviderType || (exports.MapProviderType = MapProviderType = {}));
|
|
381
|
+
var MembershipScope;
|
|
382
|
+
(function (MembershipScope) {
|
|
383
|
+
MembershipScope["WORKSPACE"] = "workspace";
|
|
384
|
+
MembershipScope["BASE"] = "base";
|
|
385
|
+
MembershipScope["TEAM"] = "team";
|
|
386
|
+
})(MembershipScope || (exports.MembershipScope = MembershipScope = {}));
|
|
387
|
+
var ModelType;
|
|
388
|
+
(function (ModelType) {
|
|
389
|
+
ModelType["TABLE"] = "table";
|
|
390
|
+
ModelType["VIEW"] = "view";
|
|
391
|
+
ModelType["DASHBOARD"] = "dashboard";
|
|
392
|
+
})(ModelType || (exports.ModelType = ModelType = {}));
|
|
393
|
+
var ReferentialAction;
|
|
394
|
+
(function (ReferentialAction) {
|
|
395
|
+
ReferentialAction["NO_ACTION"] = "NO ACTION";
|
|
396
|
+
ReferentialAction["CASCADE"] = "CASCADE";
|
|
397
|
+
ReferentialAction["RESTRICT"] = "RESTRICT";
|
|
398
|
+
ReferentialAction["SET_NULL"] = "SET NULL";
|
|
399
|
+
ReferentialAction["SET_DEFAULT"] = "SET DEFAULT";
|
|
400
|
+
})(ReferentialAction || (exports.ReferentialAction = ReferentialAction = {}));
|
|
401
|
+
var RelationType;
|
|
402
|
+
(function (RelationType) {
|
|
403
|
+
RelationType["HAS_MANY"] = "hm";
|
|
404
|
+
RelationType["BELONGS_TO"] = "bt";
|
|
405
|
+
RelationType["MANY_TO_MANY"] = "mm";
|
|
406
|
+
RelationType["ONE_TO_ONE"] = "oo";
|
|
407
|
+
})(RelationType || (exports.RelationType = RelationType = {}));
|
|
408
|
+
var RollupFunction;
|
|
409
|
+
(function (RollupFunction) {
|
|
410
|
+
RollupFunction["COUNT"] = "count";
|
|
411
|
+
RollupFunction["SUM"] = "sum";
|
|
412
|
+
RollupFunction["AVG"] = "avg";
|
|
413
|
+
RollupFunction["MIN"] = "min";
|
|
414
|
+
RollupFunction["MAX"] = "max";
|
|
415
|
+
RollupFunction["COUNT_DISTINCT"] = "countDistinct";
|
|
416
|
+
RollupFunction["SUM_DISTINCT"] = "sumDistinct";
|
|
417
|
+
RollupFunction["AVG_DISTINCT"] = "avgDistinct";
|
|
418
|
+
})(RollupFunction || (exports.RollupFunction = RollupFunction = {}));
|
|
419
|
+
var RowColoringMode;
|
|
420
|
+
(function (RowColoringMode) {
|
|
421
|
+
RowColoringMode["FILTER"] = "filter";
|
|
422
|
+
RowColoringMode["SELECT"] = "select";
|
|
423
|
+
})(RowColoringMode || (exports.RowColoringMode = RowColoringMode = {}));
|
|
424
|
+
var SourceType;
|
|
425
|
+
(function (SourceType) {
|
|
426
|
+
SourceType["POSTGRESQL"] = "POSTGRESQL";
|
|
427
|
+
SourceType["MYSQL"] = "MYSQL";
|
|
428
|
+
SourceType["MSSQL"] = "MSSQL";
|
|
429
|
+
SourceType["MONGODB"] = "MONGODB";
|
|
430
|
+
SourceType["ORACLE"] = "ORACLE";
|
|
431
|
+
SourceType["MARIADB"] = "MARIADB";
|
|
432
|
+
SourceType["SQLITE"] = "SQLITE";
|
|
433
|
+
})(SourceType || (exports.SourceType = SourceType = {}));
|
|
434
|
+
var StorageMode;
|
|
435
|
+
(function (StorageMode) {
|
|
436
|
+
StorageMode["JSONB"] = "JSONB";
|
|
437
|
+
StorageMode["EAV"] = "EAV";
|
|
438
|
+
StorageMode["PHYSICAL"] = "PHYSICAL";
|
|
439
|
+
})(StorageMode || (exports.StorageMode = StorageMode = {}));
|
|
440
|
+
var ViewLockType;
|
|
441
|
+
(function (ViewLockType) {
|
|
442
|
+
ViewLockType["COLLABORATIVE"] = "collaborative";
|
|
443
|
+
ViewLockType["LOCKED"] = "locked";
|
|
444
|
+
ViewLockType["PERSONAL"] = "personal";
|
|
445
|
+
})(ViewLockType || (exports.ViewLockType = ViewLockType = {}));
|
|
446
|
+
var ViewSortDirection;
|
|
447
|
+
(function (ViewSortDirection) {
|
|
448
|
+
ViewSortDirection["ASC"] = "asc";
|
|
449
|
+
ViewSortDirection["DESC"] = "desc";
|
|
450
|
+
ViewSortDirection["COUNT_ASC"] = "count-asc";
|
|
451
|
+
ViewSortDirection["COUNT_DESC"] = "count-desc";
|
|
452
|
+
})(ViewSortDirection || (exports.ViewSortDirection = ViewSortDirection = {}));
|
|
453
|
+
var ViewType;
|
|
454
|
+
(function (ViewType) {
|
|
455
|
+
ViewType["FORM"] = "form";
|
|
456
|
+
ViewType["GALLERY"] = "gallery";
|
|
457
|
+
ViewType["GRID"] = "grid";
|
|
458
|
+
ViewType["KANBAN"] = "kanban";
|
|
459
|
+
ViewType["CALENDAR"] = "calendar";
|
|
460
|
+
ViewType["MAP"] = "map";
|
|
461
|
+
})(ViewType || (exports.ViewType = ViewType = {}));
|
|
462
|
+
var WorkspaceInviteLinkStatus;
|
|
463
|
+
(function (WorkspaceInviteLinkStatus) {
|
|
464
|
+
WorkspaceInviteLinkStatus["ACTIVE"] = "ACTIVE";
|
|
465
|
+
WorkspaceInviteLinkStatus["EXPIRED"] = "EXPIRED";
|
|
466
|
+
WorkspaceInviteLinkStatus["DISABLED"] = "DISABLED";
|
|
467
|
+
})(WorkspaceInviteLinkStatus || (exports.WorkspaceInviteLinkStatus = WorkspaceInviteLinkStatus = {}));
|
|
468
|
+
var WorkspaceInviteStatus;
|
|
469
|
+
(function (WorkspaceInviteStatus) {
|
|
470
|
+
WorkspaceInviteStatus["PENDING"] = "PENDING";
|
|
471
|
+
WorkspaceInviteStatus["ACCEPTED"] = "ACCEPTED";
|
|
472
|
+
WorkspaceInviteStatus["EXPIRED"] = "EXPIRED";
|
|
473
|
+
WorkspaceInviteStatus["REVOKED"] = "REVOKED";
|
|
474
|
+
})(WorkspaceInviteStatus || (exports.WorkspaceInviteStatus = WorkspaceInviteStatus = {}));
|
|
475
|
+
var WorkspaceJoinRequestStatus;
|
|
476
|
+
(function (WorkspaceJoinRequestStatus) {
|
|
477
|
+
WorkspaceJoinRequestStatus["PENDING"] = "PENDING";
|
|
478
|
+
WorkspaceJoinRequestStatus["APPROVED"] = "APPROVED";
|
|
479
|
+
WorkspaceJoinRequestStatus["REJECTED"] = "REJECTED";
|
|
480
|
+
})(WorkspaceJoinRequestStatus || (exports.WorkspaceJoinRequestStatus = WorkspaceJoinRequestStatus = {}));
|
|
481
|
+
var WorkspaceMemberRole;
|
|
482
|
+
(function (WorkspaceMemberRole) {
|
|
483
|
+
WorkspaceMemberRole["OWNER"] = "owner";
|
|
484
|
+
WorkspaceMemberRole["ADMIN"] = "admin";
|
|
485
|
+
WorkspaceMemberRole["EDITOR"] = "editor";
|
|
486
|
+
WorkspaceMemberRole["COMMENTER"] = "commenter";
|
|
487
|
+
WorkspaceMemberRole["VIEWER"] = "viewer";
|
|
488
|
+
})(WorkspaceMemberRole || (exports.WorkspaceMemberRole = WorkspaceMemberRole = {}));
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.dynamicTable = void 0;
|
|
40
|
+
/* eslint-disable */
|
|
41
|
+
__exportStar(require("./types"), exports);
|
|
42
|
+
__exportStar(require("./services"), exports);
|
|
43
|
+
exports.dynamicTable = __importStar(require("./dynamic-table"));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
__exportStar(require("../dynamic-table/services"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
__exportStar(require("./dynamic-table/types"), exports);
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DynamicTableAuth } from './core/auth';
|
|
2
|
+
import { DynamicTableSdkConfig } from './core/types';
|
|
3
|
+
import { ApiDocsService, ApiTokensService, AttachmentsSecureService, AttachmentsService, BaseMembersService, BasesService, CachesService, CalendarDataService, CalendarsService, ColumnsService, CommandPaletteService, CommentsService, DataImportsService, DataTableService, DynamicTableAuthService, FiltersService, FormsService, GalleriesService, GridsService, HooksService, InternalService, JobsMetaService, JobsService, KanbanDataService, KanbansService, MapsService, RowColorService, SortsService, SourcesService, TablesService, UserUiPreferencesService, UtilsService, ViewColumnsService, ViewsService, WorkspaceInviteLinkSettingsService, WorkspaceInviteLinksService, WorkspaceInvitesService, WorkspaceJoinRequestsService, WorkspaceMembersService, WorkspacesService } from './generated/services';
|
|
4
|
+
export type { ApiResponseDto, DynamicTableSdkConfig, DynamicTableTokenProvider } from './core/types';
|
|
5
|
+
export * from './generated';
|
|
6
|
+
export declare const createFrontendAxiosTokenProvider: (options?: {
|
|
7
|
+
authStorageKey?: string;
|
|
8
|
+
dtApiToken?: string | null;
|
|
9
|
+
getDtApiToken?: () => string | null | undefined;
|
|
10
|
+
}) => {
|
|
11
|
+
readonly getBearerToken: () => string | null;
|
|
12
|
+
readonly getDtApiToken: () => string | null;
|
|
13
|
+
};
|
|
14
|
+
export declare const createDynamicTableSdk: (config: DynamicTableSdkConfig) => {
|
|
15
|
+
auth: DynamicTableAuth;
|
|
16
|
+
apiDocs: ApiDocsService;
|
|
17
|
+
apiTokens: ApiTokensService;
|
|
18
|
+
attachmentsSecure: AttachmentsSecureService;
|
|
19
|
+
attachments: AttachmentsService;
|
|
20
|
+
baseMembers: BaseMembersService;
|
|
21
|
+
bases: BasesService;
|
|
22
|
+
caches: CachesService;
|
|
23
|
+
calendarData: CalendarDataService;
|
|
24
|
+
calendars: CalendarsService;
|
|
25
|
+
columns: ColumnsService;
|
|
26
|
+
commandPalette: CommandPaletteService;
|
|
27
|
+
comments: CommentsService;
|
|
28
|
+
dataImports: DataImportsService;
|
|
29
|
+
dataTable: DataTableService;
|
|
30
|
+
authService: DynamicTableAuthService;
|
|
31
|
+
filters: FiltersService;
|
|
32
|
+
forms: FormsService;
|
|
33
|
+
galleries: GalleriesService;
|
|
34
|
+
grids: GridsService;
|
|
35
|
+
hooks: HooksService;
|
|
36
|
+
internal: InternalService;
|
|
37
|
+
jobsMeta: JobsMetaService;
|
|
38
|
+
jobs: JobsService;
|
|
39
|
+
kanbanData: KanbanDataService;
|
|
40
|
+
kanbans: KanbansService;
|
|
41
|
+
maps: MapsService;
|
|
42
|
+
rowColor: RowColorService;
|
|
43
|
+
sorts: SortsService;
|
|
44
|
+
sources: SourcesService;
|
|
45
|
+
tables: TablesService;
|
|
46
|
+
userUiPreferences: UserUiPreferencesService;
|
|
47
|
+
utils: UtilsService;
|
|
48
|
+
views: ViewsService;
|
|
49
|
+
workspaceInviteLinkSettings: WorkspaceInviteLinkSettingsService;
|
|
50
|
+
workspaceInviteLinks: WorkspaceInviteLinksService;
|
|
51
|
+
workspaceInvites: WorkspaceInvitesService;
|
|
52
|
+
workspaceJoinRequests: WorkspaceJoinRequestsService;
|
|
53
|
+
workspaceMembers: WorkspaceMembersService;
|
|
54
|
+
workspaces: WorkspacesService;
|
|
55
|
+
formColumns: ViewColumnsService;
|
|
56
|
+
gridColumns: ViewColumnsService;
|
|
57
|
+
viewColumns: ViewColumnsService;
|
|
58
|
+
};
|