@metabase/client 0.0.0-stage → 0.1.1
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/CHANGELOG.md +28 -0
- package/LICENSE +661 -0
- package/README.md +490 -2
- package/dist/api-key-DJeN1-7G.d.ts +46 -0
- package/dist/auth/credential.d.ts +2 -0
- package/dist/auth/credential.js +61 -0
- package/dist/auth/oauth-login.d.ts +2 -0
- package/dist/auth/oauth-login.js +2 -0
- package/dist/auth/oauth-session.d.ts +2 -0
- package/dist/auth/oauth-session.js +31 -0
- package/dist/card-BxBzr5Uj.d.ts +1392 -0
- package/dist/card-DN0sLkCG.d.ts +33 -0
- package/dist/client-DdXLlH1B.d.ts +3380 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +99 -0
- package/dist/collection-DGnTvD6R.d.ts +294 -0
- package/dist/collection-fFahL-ub.d.ts +53 -0
- package/dist/content-translation-zfUkE_OG.d.ts +8 -0
- package/dist/credential-6aOEGqMH.d.ts +30 -0
- package/dist/cron-DThzerR6.d.ts +9 -0
- package/dist/csv-upload--K35QedP.d.ts +8 -0
- package/dist/dashboard-CM7RmNeE.d.ts +38 -0
- package/dist/dashboard-DtLXVgtf.d.ts +978 -0
- package/dist/data-action-CkXVrOUH.d.ts +97 -0
- package/dist/data-app-CqP5_fpB.d.ts +76 -0
- package/dist/database-B0JNZjDN.d.ts +27 -0
- package/dist/database-BxqDmfcj.d.ts +997 -0
- package/dist/dataset-BBNGPVec.d.ts +4144 -0
- package/dist/dataset-BUirJ1rO.d.ts +23 -0
- package/dist/dependency-CzpXmeu7.d.ts +299 -0
- package/dist/dependency-arB8Cr2H.d.ts +879 -0
- package/dist/document-tLd6pYWe.d.ts +115 -0
- package/dist/domain/api-key.d.ts +2 -0
- package/dist/domain/api-key.js +31 -0
- package/dist/domain/card.d.ts +2 -0
- package/dist/domain/card.js +140 -0
- package/dist/domain/collection.d.ts +2 -0
- package/dist/domain/collection.js +137 -0
- package/dist/domain/content-translation.d.ts +2 -0
- package/dist/domain/content-translation.js +5 -0
- package/dist/domain/cron.d.ts +2 -0
- package/dist/domain/cron.js +5 -0
- package/dist/domain/dashboard.d.ts +2 -0
- package/dist/domain/dashboard.js +211 -0
- package/dist/domain/data-action.d.ts +2 -0
- package/dist/domain/data-action.js +91 -0
- package/dist/domain/data-app.d.ts +2 -0
- package/dist/domain/data-app.js +52 -0
- package/dist/domain/database.d.ts +2 -0
- package/dist/domain/database.js +56 -0
- package/dist/domain/dataset.d.ts +2 -0
- package/dist/domain/dataset.js +56 -0
- package/dist/domain/dependency.d.ts +2 -0
- package/dist/domain/dependency.js +168 -0
- package/dist/domain/document.d.ts +2 -0
- package/dist/domain/document.js +94 -0
- package/dist/domain/eid-translation.d.ts +2 -0
- package/dist/domain/eid-translation.js +36 -0
- package/dist/domain/embedding.d.ts +2 -0
- package/dist/domain/embedding.js +9 -0
- package/dist/domain/erd.d.ts +2 -0
- package/dist/domain/erd.js +45 -0
- package/dist/domain/field.d.ts +2 -0
- package/dist/domain/field.js +274 -0
- package/dist/domain/git-sync.d.ts +2 -0
- package/dist/domain/git-sync.js +147 -0
- package/dist/domain/glossary.d.ts +2 -0
- package/dist/domain/glossary.js +30 -0
- package/dist/domain/library.d.ts +2 -0
- package/dist/domain/library.js +89 -0
- package/dist/domain/measure.d.ts +2 -0
- package/dist/domain/measure.js +43 -0
- package/dist/domain/metric.d.ts +2 -0
- package/dist/domain/metric.js +139 -0
- package/dist/domain/moderation-review.d.ts +2 -0
- package/dist/domain/moderation-review.js +31 -0
- package/dist/domain/notification.d.ts +2 -0
- package/dist/domain/notification.js +143 -0
- package/dist/domain/parameter.d.ts +2 -0
- package/dist/domain/parameter.js +109 -0
- package/dist/domain/permission.d.ts +2 -0
- package/dist/domain/permission.js +36 -0
- package/dist/domain/pulse.d.ts +2 -0
- package/dist/domain/pulse.js +140 -0
- package/dist/domain/query.d.ts +2 -0
- package/dist/domain/query.js +13 -0
- package/dist/domain/replacement.d.ts +2 -0
- package/dist/domain/replacement.js +93 -0
- package/dist/domain/revision.d.ts +2 -0
- package/dist/domain/revision.js +90 -0
- package/dist/domain/search.d.ts +2 -0
- package/dist/domain/search.js +63 -0
- package/dist/domain/segment.d.ts +2 -0
- package/dist/domain/segment.js +46 -0
- package/dist/domain/session-properties.d.ts +2 -0
- package/dist/domain/session-properties.js +14 -0
- package/dist/domain/setting.d.ts +2 -0
- package/dist/domain/setting.js +22 -0
- package/dist/domain/setup.d.ts +2 -0
- package/dist/domain/setup.js +21 -0
- package/dist/domain/snippet.d.ts +2 -0
- package/dist/domain/snippet.js +38 -0
- package/dist/domain/table.d.ts +2 -0
- package/dist/domain/table.js +187 -0
- package/dist/domain/text.d.ts +5 -0
- package/dist/domain/text.js +6 -0
- package/dist/domain/timeline.d.ts +2 -0
- package/dist/domain/timeline.js +97 -0
- package/dist/domain/transform-dag-run.d.ts +2 -0
- package/dist/domain/transform-dag-run.js +19 -0
- package/dist/domain/transform-inspector.d.ts +2 -0
- package/dist/domain/transform-inspector.js +142 -0
- package/dist/domain/transform-job.d.ts +2 -0
- package/dist/domain/transform-job.js +115 -0
- package/dist/domain/transform-python.d.ts +2 -0
- package/dist/domain/transform-python.js +51 -0
- package/dist/domain/transform-tag.d.ts +2 -0
- package/dist/domain/transform-tag.js +17 -0
- package/dist/domain/transform-test.d.ts +2 -0
- package/dist/domain/transform-test.js +176 -0
- package/dist/domain/transform.d.ts +2 -0
- package/dist/domain/transform.js +304 -0
- package/dist/domain/upload.d.ts +2 -0
- package/dist/domain/upload.js +13 -0
- package/dist/domain/user.d.ts +2 -0
- package/dist/domain/user.js +16 -0
- package/dist/eid-translation-CH6NPWd-.d.ts +143 -0
- package/dist/embedding-oU3gqfgX.d.ts +10 -0
- package/dist/erd-BdeFEeSy.d.ts +842 -0
- package/dist/erd-CbV7xvAc.d.ts +51 -0
- package/dist/errors-DdMlaXqq.js +330 -0
- package/dist/errors.d.ts +2 -0
- package/dist/errors.js +189 -0
- package/dist/features-SMSfJhB6.d.ts +295 -0
- package/dist/field-D1Pfk-0S.d.ts +50 -0
- package/dist/field-p9Rme2zB.d.ts +2549 -0
- package/dist/git-sync-BTf1aYHr.d.ts +205 -0
- package/dist/git-sync-C99SVdJ9.d.ts +258 -0
- package/dist/glossary-CHK3elPj.d.ts +35 -0
- package/dist/glossary-DFvnz-E5.d.ts +15 -0
- package/dist/http/errors.d.ts +2 -0
- package/dist/http/errors.js +2 -0
- package/dist/http/oauth.d.ts +2 -0
- package/dist/http/oauth.js +201 -0
- package/dist/http/retry.d.ts +19 -0
- package/dist/http/retry.js +33 -0
- package/dist/http/transport.d.ts +2 -0
- package/dist/http/transport.js +2 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.js +64 -0
- package/dist/input-gate-registry-Dai7SfXb.js +14 -0
- package/dist/input-gates-DwKoTJVQ.d.ts +28 -0
- package/dist/json-BksZpXDC.d.ts +19 -0
- package/dist/json-pointer.d.ts +5 -0
- package/dist/json-pointer.js +10 -0
- package/dist/json.d.ts +2 -0
- package/dist/json.js +44 -0
- package/dist/known-range-DTOBgTEC.d.ts +7 -0
- package/dist/library-B9pEq7qP.d.ts +230 -0
- package/dist/list-BT_bBm9Z.d.ts +7 -0
- package/dist/list.d.ts +2 -0
- package/dist/list.js +1 -0
- package/dist/measure-CgH14YQZ.d.ts +44 -0
- package/dist/measure-lPz8qnwz.d.ts +108 -0
- package/dist/metric-DcYloqOQ.d.ts +2655 -0
- package/dist/moderation-review-B4RUTZ6_.d.ts +56 -0
- package/dist/network-error-5g4U1iul.js +62 -0
- package/dist/notification-Cp5GJErS.d.ts +22 -0
- package/dist/notification-D1MThyKE.d.ts +443 -0
- package/dist/oauth-C4ordeoJ.d.ts +59 -0
- package/dist/oauth-login-CJsT_3EE.d.ts +19 -0
- package/dist/oauth-login-D734Jvbq.js +179 -0
- package/dist/oauth-session-BlIlcd8Q.d.ts +6 -0
- package/dist/paginate-COuL0Gzl.d.ts +24 -0
- package/dist/paginate.d.ts +2 -0
- package/dist/paginate.js +49 -0
- package/dist/parameter-ak-J-IOj.d.ts +190 -0
- package/dist/permission-BnCQw5Kp.d.ts +149 -0
- package/dist/poll-CIwnee7h.d.ts +15 -0
- package/dist/poll.d.ts +2 -0
- package/dist/poll.js +47 -0
- package/dist/predicates.d.ts +10 -0
- package/dist/predicates.js +18 -0
- package/dist/pulse-0LG3K6qO.d.ts +598 -0
- package/dist/pulse-BzKmz3Yn.d.ts +18 -0
- package/dist/query-Xsin530u.d.ts +23 -0
- package/dist/refusal-B9aeHMc9.js +130 -0
- package/dist/replacement-BGyggp-G.d.ts +2467 -0
- package/dist/replacement-CVebCuNp.d.ts +128 -0
- package/dist/requirement-check-glU7wqhQ.d.ts +17 -0
- package/dist/requirements-Dx_ZVzl7.d.ts +227 -0
- package/dist/resources/api-key.d.ts +11 -0
- package/dist/resources/api-key.js +35 -0
- package/dist/resources/card.d.ts +2 -0
- package/dist/resources/card.js +103 -0
- package/dist/resources/collection.d.ts +2 -0
- package/dist/resources/collection.js +134 -0
- package/dist/resources/content-translation.d.ts +11 -0
- package/dist/resources/content-translation.js +27 -0
- package/dist/resources/csv-upload.d.ts +2 -0
- package/dist/resources/csv-upload.js +9 -0
- package/dist/resources/dashboard.d.ts +2 -0
- package/dist/resources/dashboard.js +221 -0
- package/dist/resources/data-action.d.ts +60 -0
- package/dist/resources/data-action.js +79 -0
- package/dist/resources/data-app.d.ts +112 -0
- package/dist/resources/data-app.js +75 -0
- package/dist/resources/database.d.ts +2 -0
- package/dist/resources/database.js +103 -0
- package/dist/resources/dataset.d.ts +2 -0
- package/dist/resources/dataset.js +81 -0
- package/dist/resources/dependency.d.ts +2 -0
- package/dist/resources/dependency.js +156 -0
- package/dist/resources/document.d.ts +55 -0
- package/dist/resources/document.js +60 -0
- package/dist/resources/eid-translation.d.ts +8 -0
- package/dist/resources/eid-translation.js +19 -0
- package/dist/resources/erd.d.ts +2 -0
- package/dist/resources/erd.js +26 -0
- package/dist/resources/field.d.ts +2 -0
- package/dist/resources/field.js +99 -0
- package/dist/resources/git-sync.d.ts +2 -0
- package/dist/resources/git-sync.js +362 -0
- package/dist/resources/glossary.d.ts +2 -0
- package/dist/resources/glossary.js +51 -0
- package/dist/resources/library.d.ts +85 -0
- package/dist/resources/library.js +90 -0
- package/dist/resources/measure.d.ts +2 -0
- package/dist/resources/measure.js +57 -0
- package/dist/resources/metric.d.ts +2 -0
- package/dist/resources/metric.js +50 -0
- package/dist/resources/moderation-review.d.ts +23 -0
- package/dist/resources/moderation-review.js +24 -0
- package/dist/resources/notification.d.ts +2 -0
- package/dist/resources/notification.js +93 -0
- package/dist/resources/optional-parsed.d.ts +7 -0
- package/dist/resources/optional-parsed.js +14 -0
- package/dist/resources/permission.d.ts +10 -0
- package/dist/resources/permission.js +31 -0
- package/dist/resources/pivot-export.d.ts +10 -0
- package/dist/resources/pivot-export.js +16 -0
- package/dist/resources/pulse.d.ts +2 -0
- package/dist/resources/pulse.js +76 -0
- package/dist/resources/replacement.d.ts +2 -0
- package/dist/resources/replacement.js +82 -0
- package/dist/resources/request-body.d.ts +9 -0
- package/dist/resources/request-body.js +13 -0
- package/dist/resources/revision.d.ts +70 -0
- package/dist/resources/revision.js +46 -0
- package/dist/resources/search.d.ts +2 -0
- package/dist/resources/search.js +78 -0
- package/dist/resources/segment.d.ts +2 -0
- package/dist/resources/segment.js +55 -0
- package/dist/resources/setting.d.ts +11 -0
- package/dist/resources/setting.js +43 -0
- package/dist/resources/setup.d.ts +8 -0
- package/dist/resources/setup.js +18 -0
- package/dist/resources/snippet.d.ts +2 -0
- package/dist/resources/snippet.js +52 -0
- package/dist/resources/table.d.ts +2 -0
- package/dist/resources/table.js +274 -0
- package/dist/resources/timeline-event.d.ts +12 -0
- package/dist/resources/timeline-event.js +51 -0
- package/dist/resources/timeline.d.ts +2 -0
- package/dist/resources/timeline.js +82 -0
- package/dist/resources/transform-dag-run.d.ts +22 -0
- package/dist/resources/transform-dag-run.js +32 -0
- package/dist/resources/transform-inspector.d.ts +214 -0
- package/dist/resources/transform-inspector.js +47 -0
- package/dist/resources/transform-job.d.ts +2 -0
- package/dist/resources/transform-job.js +90 -0
- package/dist/resources/transform-python.d.ts +59 -0
- package/dist/resources/transform-python.js +57 -0
- package/dist/resources/transform-tag.d.ts +35 -0
- package/dist/resources/transform-tag.js +47 -0
- package/dist/resources/transform-test.d.ts +2 -0
- package/dist/resources/transform-test.js +75 -0
- package/dist/resources/transform.d.ts +2 -0
- package/dist/resources/transform.js +227 -0
- package/dist/resources/upload.d.ts +2 -0
- package/dist/resources/upload.js +48 -0
- package/dist/resources/user.d.ts +8 -0
- package/dist/resources/user.js +11 -0
- package/dist/revision-Dyl-8p7d.d.ts +106 -0
- package/dist/search-Cm5IxKss.d.ts +92 -0
- package/dist/search-Cten2h0I.d.ts +26 -0
- package/dist/segment-CbAgVO-5.d.ts +47 -0
- package/dist/segment-DQLX6r1E.d.ts +16 -0
- package/dist/session-properties-COtlxAcK.d.ts +15 -0
- package/dist/setting-DXuQGXGF.d.ts +25 -0
- package/dist/setup-JqcJ2unJ.d.ts +26 -0
- package/dist/signal.d.ts +8 -0
- package/dist/signal.js +25 -0
- package/dist/snippet-C_Ilx7tR.d.ts +41 -0
- package/dist/snippet-Djn0rL21.d.ts +16 -0
- package/dist/table-CDZbLNow.d.ts +176 -0
- package/dist/table-Od6uvDVW.d.ts +3234 -0
- package/dist/tag-qzjGGci8.d.ts +48 -0
- package/dist/timeline-BK45hy-h.d.ts +218 -0
- package/dist/timeline-BTs6fuRp.d.ts +21 -0
- package/dist/transform-C5thnJwW.d.ts +559 -0
- package/dist/transform-WASQAXeA.d.ts +652 -0
- package/dist/transform-dag-run-BgZwv1yx.d.ts +49 -0
- package/dist/transform-inspector-CMCh8WKV.d.ts +374 -0
- package/dist/transform-job-D8jTQtdX.d.ts +98 -0
- package/dist/transform-job-DmTwKxhc.d.ts +237 -0
- package/dist/transform-python-DtL3xxMj.d.ts +101 -0
- package/dist/transform-tag-C6j5EUkX.d.ts +25 -0
- package/dist/transform-test-CR_i54IV.d.ts +412 -0
- package/dist/transform-test-CeMzDpUC.d.ts +346 -0
- package/dist/transport-BsXqRujn.d.ts +476 -0
- package/dist/transport-HP7cyo9N.js +397 -0
- package/dist/upload-B5YjVkSW.d.ts +12 -0
- package/dist/upload-UPfZFdbH.d.ts +22 -0
- package/dist/url-CI0pxHOc.d.ts +7 -0
- package/dist/url.d.ts +2 -0
- package/dist/url.js +34 -0
- package/dist/user-Sqqv7rqh.d.ts +18 -0
- package/dist/version/capability-error.d.ts +2 -0
- package/dist/version/capability-error.js +42 -0
- package/dist/version/features.d.ts +2 -0
- package/dist/version/features.js +171 -0
- package/dist/version/input-gates.d.ts +2 -0
- package/dist/version/input-gates.js +13 -0
- package/dist/version/known-range.d.ts +2 -0
- package/dist/version/known-range.js +7 -0
- package/dist/version/probe.d.ts +2 -0
- package/dist/version/probe.js +30 -0
- package/dist/version/profile.d.ts +2 -0
- package/dist/version/profile.js +64 -0
- package/dist/version/requirement-check.d.ts +2 -0
- package/dist/version/requirement-check.js +62 -0
- package/dist/version/requirements.d.ts +2 -0
- package/dist/version/requirements.js +229 -0
- package/dist/version/tag.d.ts +2 -0
- package/dist/version/tag.js +52 -0
- package/package.json +66 -4
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { n as TokenFeatures } from "./session-properties-COtlxAcK.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/version/features.d.ts
|
|
4
|
+
interface FeatureRule {
|
|
5
|
+
readonly since: number;
|
|
6
|
+
readonly until?: number;
|
|
7
|
+
readonly tokenFeature?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const FEATURE_RULES: {
|
|
10
|
+
dataActionCollections: {
|
|
11
|
+
since: number;
|
|
12
|
+
};
|
|
13
|
+
dataActionsWithoutModel: {
|
|
14
|
+
since: number;
|
|
15
|
+
};
|
|
16
|
+
dataApps: {
|
|
17
|
+
since: number;
|
|
18
|
+
tokenFeature: string;
|
|
19
|
+
};
|
|
20
|
+
transforms: {
|
|
21
|
+
since: number;
|
|
22
|
+
};
|
|
23
|
+
transformJobActivation: {
|
|
24
|
+
since: number;
|
|
25
|
+
};
|
|
26
|
+
measures: {
|
|
27
|
+
since: number;
|
|
28
|
+
};
|
|
29
|
+
collectionItemMeasures: {
|
|
30
|
+
since: number;
|
|
31
|
+
};
|
|
32
|
+
explorations: {
|
|
33
|
+
since: number;
|
|
34
|
+
};
|
|
35
|
+
tableFromDefinition: {
|
|
36
|
+
since: number;
|
|
37
|
+
};
|
|
38
|
+
library: {
|
|
39
|
+
since: number;
|
|
40
|
+
tokenFeature: string;
|
|
41
|
+
};
|
|
42
|
+
libraryDashboards: {
|
|
43
|
+
since: number;
|
|
44
|
+
};
|
|
45
|
+
tablePublishTargetCollection: {
|
|
46
|
+
since: number;
|
|
47
|
+
};
|
|
48
|
+
remoteSync: {
|
|
49
|
+
since: number;
|
|
50
|
+
tokenFeature: string;
|
|
51
|
+
};
|
|
52
|
+
remoteSyncRemoteChanges: {
|
|
53
|
+
since: number;
|
|
54
|
+
tokenFeature: string;
|
|
55
|
+
};
|
|
56
|
+
remoteSyncCollectionsOnlyUpdate: {
|
|
57
|
+
since: number;
|
|
58
|
+
};
|
|
59
|
+
remoteSyncExportPreflight: {
|
|
60
|
+
since: number;
|
|
61
|
+
tokenFeature: string;
|
|
62
|
+
};
|
|
63
|
+
remoteSyncBranchGuard: {
|
|
64
|
+
since: number;
|
|
65
|
+
};
|
|
66
|
+
remoteSyncMerge: {
|
|
67
|
+
since: number;
|
|
68
|
+
tokenFeature: string;
|
|
69
|
+
};
|
|
70
|
+
contentTranslation: {
|
|
71
|
+
since: number;
|
|
72
|
+
tokenFeature: string;
|
|
73
|
+
};
|
|
74
|
+
contentVerification: {
|
|
75
|
+
since: number;
|
|
76
|
+
tokenFeature: string;
|
|
77
|
+
};
|
|
78
|
+
transformTargetTableId: {
|
|
79
|
+
since: number;
|
|
80
|
+
};
|
|
81
|
+
transformSourceTablesAsList: {
|
|
82
|
+
since: number;
|
|
83
|
+
};
|
|
84
|
+
transformTargetTableLinkedOnCreate: {
|
|
85
|
+
since: number;
|
|
86
|
+
until: number;
|
|
87
|
+
};
|
|
88
|
+
transformJobRunIdIsNumeric: {
|
|
89
|
+
since: number;
|
|
90
|
+
};
|
|
91
|
+
transformCheckpointReset: {
|
|
92
|
+
since: number;
|
|
93
|
+
};
|
|
94
|
+
fieldDataSensitivity: {
|
|
95
|
+
since: number;
|
|
96
|
+
};
|
|
97
|
+
fieldRemappingAppendsDisplayColumns: {
|
|
98
|
+
since: number;
|
|
99
|
+
until: number;
|
|
100
|
+
};
|
|
101
|
+
transformDagRuns: {
|
|
102
|
+
since: number;
|
|
103
|
+
};
|
|
104
|
+
unifiedTransformRuns: {
|
|
105
|
+
since: number;
|
|
106
|
+
};
|
|
107
|
+
transformTests: {
|
|
108
|
+
since: number;
|
|
109
|
+
tokenFeature: string;
|
|
110
|
+
};
|
|
111
|
+
libraryChildrenCarryType: {
|
|
112
|
+
since: number;
|
|
113
|
+
};
|
|
114
|
+
collectionItemsTotalOnEmptyPage: {
|
|
115
|
+
since: number;
|
|
116
|
+
};
|
|
117
|
+
invalidMbqlIsBadRequest: {
|
|
118
|
+
since: number;
|
|
119
|
+
};
|
|
120
|
+
boxplotDisplay: {
|
|
121
|
+
since: number;
|
|
122
|
+
};
|
|
123
|
+
nativeTableTemplateTag: {
|
|
124
|
+
since: number;
|
|
125
|
+
};
|
|
126
|
+
smartLinkMeasureModel: {
|
|
127
|
+
since: number;
|
|
128
|
+
};
|
|
129
|
+
dashboardSubscriptionFilters: {
|
|
130
|
+
since: number;
|
|
131
|
+
tokenFeature: string;
|
|
132
|
+
};
|
|
133
|
+
dependencyGraph: {
|
|
134
|
+
since: number;
|
|
135
|
+
tokenFeature: string;
|
|
136
|
+
};
|
|
137
|
+
dependencyItemListings: {
|
|
138
|
+
since: number;
|
|
139
|
+
tokenFeature: string;
|
|
140
|
+
};
|
|
141
|
+
dependencyAsyncBackfill: {
|
|
142
|
+
since: number;
|
|
143
|
+
tokenFeature: string;
|
|
144
|
+
};
|
|
145
|
+
measureDependencyGraph: {
|
|
146
|
+
since: number;
|
|
147
|
+
};
|
|
148
|
+
actionDependencyGraph: {
|
|
149
|
+
since: number;
|
|
150
|
+
};
|
|
151
|
+
tableListAccessFilters: {
|
|
152
|
+
since: number;
|
|
153
|
+
};
|
|
154
|
+
tableListTransformTargets: {
|
|
155
|
+
since: number;
|
|
156
|
+
};
|
|
157
|
+
tableListPublishedFilter: {
|
|
158
|
+
since: number;
|
|
159
|
+
};
|
|
160
|
+
tableUnusedFilter: {
|
|
161
|
+
since: number;
|
|
162
|
+
tokenFeature: string;
|
|
163
|
+
};
|
|
164
|
+
tableDataLayerTiers: {
|
|
165
|
+
since: number;
|
|
166
|
+
};
|
|
167
|
+
bulkTableEdit: {
|
|
168
|
+
since: number;
|
|
169
|
+
};
|
|
170
|
+
tableUserValueWithdrawal: {
|
|
171
|
+
since: number;
|
|
172
|
+
};
|
|
173
|
+
bulkTableSync: {
|
|
174
|
+
since: number;
|
|
175
|
+
};
|
|
176
|
+
erd: {
|
|
177
|
+
since: number;
|
|
178
|
+
tokenFeature: string;
|
|
179
|
+
};
|
|
180
|
+
documentCopy: {
|
|
181
|
+
since: number;
|
|
182
|
+
};
|
|
183
|
+
transformInspector: {
|
|
184
|
+
since: number;
|
|
185
|
+
tokenFeature: string;
|
|
186
|
+
};
|
|
187
|
+
pythonLibrary: {
|
|
188
|
+
since: number;
|
|
189
|
+
tokenFeature: string;
|
|
190
|
+
};
|
|
191
|
+
pythonTestRun: {
|
|
192
|
+
since: number;
|
|
193
|
+
tokenFeature: string;
|
|
194
|
+
};
|
|
195
|
+
sourceReplacement: {
|
|
196
|
+
since: number;
|
|
197
|
+
tokenFeature: string;
|
|
198
|
+
};
|
|
199
|
+
metricDefinitionQuery: {
|
|
200
|
+
since: number;
|
|
201
|
+
};
|
|
202
|
+
metricDimensionListing: {
|
|
203
|
+
since: number;
|
|
204
|
+
};
|
|
205
|
+
oauthFullAccessScopeUnadvertised: {
|
|
206
|
+
since: number;
|
|
207
|
+
};
|
|
208
|
+
exportCsvByteOrderMark: {
|
|
209
|
+
since: number;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
type FeatureName = keyof typeof FEATURE_RULES;
|
|
213
|
+
declare function isFeatureName(name: string): name is FeatureName;
|
|
214
|
+
declare const FEATURE_NAMES: ReadonlyArray<FeatureName>;
|
|
215
|
+
declare const Features: z.ZodRecord<z.ZodEnum<{
|
|
216
|
+
dataActionCollections: "dataActionCollections";
|
|
217
|
+
dataActionsWithoutModel: "dataActionsWithoutModel";
|
|
218
|
+
dataApps: "dataApps";
|
|
219
|
+
transforms: "transforms";
|
|
220
|
+
transformJobActivation: "transformJobActivation";
|
|
221
|
+
measures: "measures";
|
|
222
|
+
collectionItemMeasures: "collectionItemMeasures";
|
|
223
|
+
explorations: "explorations";
|
|
224
|
+
tableFromDefinition: "tableFromDefinition";
|
|
225
|
+
library: "library";
|
|
226
|
+
libraryDashboards: "libraryDashboards";
|
|
227
|
+
tablePublishTargetCollection: "tablePublishTargetCollection";
|
|
228
|
+
remoteSync: "remoteSync";
|
|
229
|
+
remoteSyncRemoteChanges: "remoteSyncRemoteChanges";
|
|
230
|
+
remoteSyncCollectionsOnlyUpdate: "remoteSyncCollectionsOnlyUpdate";
|
|
231
|
+
remoteSyncExportPreflight: "remoteSyncExportPreflight";
|
|
232
|
+
remoteSyncBranchGuard: "remoteSyncBranchGuard";
|
|
233
|
+
remoteSyncMerge: "remoteSyncMerge";
|
|
234
|
+
contentTranslation: "contentTranslation";
|
|
235
|
+
contentVerification: "contentVerification";
|
|
236
|
+
transformTargetTableId: "transformTargetTableId";
|
|
237
|
+
transformSourceTablesAsList: "transformSourceTablesAsList";
|
|
238
|
+
transformTargetTableLinkedOnCreate: "transformTargetTableLinkedOnCreate";
|
|
239
|
+
transformJobRunIdIsNumeric: "transformJobRunIdIsNumeric";
|
|
240
|
+
transformCheckpointReset: "transformCheckpointReset";
|
|
241
|
+
fieldDataSensitivity: "fieldDataSensitivity";
|
|
242
|
+
fieldRemappingAppendsDisplayColumns: "fieldRemappingAppendsDisplayColumns";
|
|
243
|
+
transformDagRuns: "transformDagRuns";
|
|
244
|
+
unifiedTransformRuns: "unifiedTransformRuns";
|
|
245
|
+
transformTests: "transformTests";
|
|
246
|
+
libraryChildrenCarryType: "libraryChildrenCarryType";
|
|
247
|
+
collectionItemsTotalOnEmptyPage: "collectionItemsTotalOnEmptyPage";
|
|
248
|
+
invalidMbqlIsBadRequest: "invalidMbqlIsBadRequest";
|
|
249
|
+
boxplotDisplay: "boxplotDisplay";
|
|
250
|
+
nativeTableTemplateTag: "nativeTableTemplateTag";
|
|
251
|
+
smartLinkMeasureModel: "smartLinkMeasureModel";
|
|
252
|
+
dashboardSubscriptionFilters: "dashboardSubscriptionFilters";
|
|
253
|
+
dependencyGraph: "dependencyGraph";
|
|
254
|
+
dependencyItemListings: "dependencyItemListings";
|
|
255
|
+
dependencyAsyncBackfill: "dependencyAsyncBackfill";
|
|
256
|
+
measureDependencyGraph: "measureDependencyGraph";
|
|
257
|
+
actionDependencyGraph: "actionDependencyGraph";
|
|
258
|
+
tableListAccessFilters: "tableListAccessFilters";
|
|
259
|
+
tableListTransformTargets: "tableListTransformTargets";
|
|
260
|
+
tableListPublishedFilter: "tableListPublishedFilter";
|
|
261
|
+
tableUnusedFilter: "tableUnusedFilter";
|
|
262
|
+
tableDataLayerTiers: "tableDataLayerTiers";
|
|
263
|
+
bulkTableEdit: "bulkTableEdit";
|
|
264
|
+
tableUserValueWithdrawal: "tableUserValueWithdrawal";
|
|
265
|
+
bulkTableSync: "bulkTableSync";
|
|
266
|
+
erd: "erd";
|
|
267
|
+
documentCopy: "documentCopy";
|
|
268
|
+
transformInspector: "transformInspector";
|
|
269
|
+
pythonLibrary: "pythonLibrary";
|
|
270
|
+
pythonTestRun: "pythonTestRun";
|
|
271
|
+
sourceReplacement: "sourceReplacement";
|
|
272
|
+
metricDefinitionQuery: "metricDefinitionQuery";
|
|
273
|
+
metricDimensionListing: "metricDimensionListing";
|
|
274
|
+
oauthFullAccessScopeUnadvertised: "oauthFullAccessScopeUnadvertised";
|
|
275
|
+
exportCsvByteOrderMark: "exportCsvByteOrderMark";
|
|
276
|
+
}>, z.ZodBoolean>;
|
|
277
|
+
type Features = z.infer<typeof Features>;
|
|
278
|
+
/**
|
|
279
|
+
* Which servers hold `feature`, as a reader says it: the majors its rule spans and the token
|
|
280
|
+
* feature it needs, each left out where every supported server meets it.
|
|
281
|
+
*/
|
|
282
|
+
declare function featureAvailability(feature: FeatureName): string;
|
|
283
|
+
type RuleMajor = number | "development";
|
|
284
|
+
declare function evaluateFeatures(major: RuleMajor, tokenFeatures: Readonly<TokenFeatures> | null): Features;
|
|
285
|
+
interface VersionGap {
|
|
286
|
+
readonly kind: "version";
|
|
287
|
+
}
|
|
288
|
+
interface TokenGap {
|
|
289
|
+
readonly kind: "token";
|
|
290
|
+
readonly tokenFeature: string;
|
|
291
|
+
}
|
|
292
|
+
type FeatureGap = VersionGap | TokenGap;
|
|
293
|
+
declare function ruleGap(rule: FeatureRule, major: RuleMajor, tokenFeatures: Readonly<TokenFeatures> | null): FeatureGap | null;
|
|
294
|
+
//#endregion
|
|
295
|
+
export { FeatureRule as a, TokenGap as c, featureAvailability as d, isFeatureName as f, FeatureName as i, VersionGap as l, FEATURE_RULES as n, Features as o, ruleGap as p, FeatureGap as r, RuleMajor as s, FEATURE_NAMES as t, evaluateFeatures as u };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
|
|
2
|
+
import { c as FieldRemappedValue, d as FieldSummary, f as FieldUpdateInput, l as FieldSearchMatches, o as FieldDataSensitivity, p as FieldValues, s as FieldDetail } from "./field-p9Rme2zB.js";
|
|
3
|
+
//#region src/resources/field.d.ts
|
|
4
|
+
interface FieldSearchByValue {
|
|
5
|
+
value: string;
|
|
6
|
+
limit?: number | undefined;
|
|
7
|
+
}
|
|
8
|
+
interface FieldSearchBounded {
|
|
9
|
+
value?: undefined;
|
|
10
|
+
limit: number;
|
|
11
|
+
}
|
|
12
|
+
type FieldSearchParams = FieldSearchByValue | FieldSearchBounded;
|
|
13
|
+
interface FieldRemappingParams {
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
interface FieldSetDataSensitivityParams {
|
|
17
|
+
data_sensitivity: FieldDataSensitivity | null;
|
|
18
|
+
}
|
|
19
|
+
declare function fieldResource(transport: Transport): {
|
|
20
|
+
get: (id: number, options?: RequestOptions) => Promise<FieldDetail>;
|
|
21
|
+
update: (id: number, params: FieldUpdateInput, options?: RequestOptions) => Promise<FieldDetail>;
|
|
22
|
+
setDataSensitivity: (id: number, params: FieldSetDataSensitivityParams, options?: RequestOptions | undefined) => Promise<{
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
id: number;
|
|
25
|
+
table_id: number;
|
|
26
|
+
name: string;
|
|
27
|
+
display_name: string;
|
|
28
|
+
description: string | null;
|
|
29
|
+
base_type: "type/*" | "type/field-values-unsupported" | "type/fingerprint-unsupported" | "type/Large" | "type/Number" | "type/Integer" | "type/BigInteger" | "type/Float" | "type/Double" | "type/Decimal" | "type/Text" | "type/UUID" | "type/OracleCLOB" | "type/Temporal" | "type/HasDate" | "type/HasTime" | "type/Date" | "type/Time" | "type/TimeWithTZ" | "type/TimeWithLocalTZ" | "type/TimeWithZoneOffset" | "type/DateTime" | "type/DateTimeWithTZ" | "type/DateTimeWithLocalTZ" | "type/DateTimeWithZoneOffset" | "type/DateTimeWithZoneID" | "type/Instant" | "type/Interval" | "type/Boolean" | "type/DruidHyperUnique" | "type/SnowflakeVariant" | "type/TextLike" | "type/MongoBSONID" | "type/MongoBinData" | "type/MySQLEnum" | "type/PostgresEnum" | "type/PostgresBitString" | "type/IPAddress" | "type/Collection" | "type/Dictionary" | "type/Array" | "type/Structured" | "type/JSON" | "type/DruidJSON" | "type/XML" | "type/AvatarURL" | "type/Birthdate" | "type/CancelationDate" | "type/CancelationTime" | "type/CancelationTimestamp" | "type/City" | "type/Comment" | "type/Coordinate" | "type/Cost" | "type/Country" | "type/CreationDate" | "type/CreationTime" | "type/CreationTimestamp" | "type/Currency" | "type/DeletionDate" | "type/DeletionTime" | "type/DeletionTimestamp" | "type/Description" | "type/Discount" | "type/Duration" | "type/Email" | "type/GrossMargin" | "type/ImageURL" | "type/Income" | "type/JoinDate" | "type/JoinTime" | "type/JoinTimestamp" | "type/Latitude" | "type/Longitude" | "type/Name" | "type/Percentage" | "type/Price" | "type/Quantity" | "type/Score" | "type/SerializedJSON" | "type/Share" | "type/State" | "type/Title" | "type/URL" | "type/UpdatedDate" | "type/UpdatedTime" | "type/UpdatedTimestamp" | "type/ZipCode";
|
|
30
|
+
effective_type: "type/*" | "type/field-values-unsupported" | "type/fingerprint-unsupported" | "type/Large" | "type/Number" | "type/Integer" | "type/BigInteger" | "type/Float" | "type/Double" | "type/Decimal" | "type/Text" | "type/UUID" | "type/OracleCLOB" | "type/Temporal" | "type/HasDate" | "type/HasTime" | "type/Date" | "type/Time" | "type/TimeWithTZ" | "type/TimeWithLocalTZ" | "type/TimeWithZoneOffset" | "type/DateTime" | "type/DateTimeWithTZ" | "type/DateTimeWithLocalTZ" | "type/DateTimeWithZoneOffset" | "type/DateTimeWithZoneID" | "type/Instant" | "type/Interval" | "type/Boolean" | "type/DruidHyperUnique" | "type/SnowflakeVariant" | "type/TextLike" | "type/MongoBSONID" | "type/MongoBinData" | "type/MySQLEnum" | "type/PostgresEnum" | "type/PostgresBitString" | "type/IPAddress" | "type/Collection" | "type/Dictionary" | "type/Array" | "type/Structured" | "type/JSON" | "type/DruidJSON" | "type/XML" | "type/AvatarURL" | "type/Birthdate" | "type/CancelationDate" | "type/CancelationTime" | "type/CancelationTimestamp" | "type/City" | "type/Comment" | "type/Coordinate" | "type/Cost" | "type/Country" | "type/CreationDate" | "type/CreationTime" | "type/CreationTimestamp" | "type/Currency" | "type/DeletionDate" | "type/DeletionTime" | "type/DeletionTimestamp" | "type/Description" | "type/Discount" | "type/Duration" | "type/Email" | "type/GrossMargin" | "type/ImageURL" | "type/Income" | "type/JoinDate" | "type/JoinTime" | "type/JoinTimestamp" | "type/Latitude" | "type/Longitude" | "type/Name" | "type/Percentage" | "type/Price" | "type/Quantity" | "type/Score" | "type/SerializedJSON" | "type/Share" | "type/State" | "type/Title" | "type/URL" | "type/UpdatedDate" | "type/UpdatedTime" | "type/UpdatedTimestamp" | "type/ZipCode" | null;
|
|
31
|
+
coercion_strategy: "Coercion/String->Temporal" | "Coercion/ISO8601->Temporal" | "Coercion/ISO8601->DateTime" | "Coercion/ISO8601->Time" | "Coercion/ISO8601->Date" | "Coercion/YYYYMMDDHHMMSSString->Temporal" | "Coercion/Bytes->Temporal" | "Coercion/YYYYMMDDHHMMSSBytes->Temporal" | "Coercion/ISO8601Bytes->Temporal" | "Coercion/Number->Temporal" | "Coercion/UNIXTime->Temporal" | "Coercion/UNIXSeconds->DateTime" | "Coercion/UNIXMilliSeconds->DateTime" | "Coercion/UNIXMicroSeconds->DateTime" | "Coercion/UNIXNanoSeconds->DateTime" | "Coercion/Temporal->Temporal" | "Coercion/DateTime->Date" | "Coercion/String->Number" | "Coercion/String->Float" | "Coercion/String->Integer" | "Coercion/Float->Integer" | null;
|
|
32
|
+
semantic_type: "type/IPAddress" | "type/Structured" | "type/JSON" | "type/DruidJSON" | "type/XML" | "type/AvatarURL" | "type/Birthdate" | "type/CancelationDate" | "type/CancelationTime" | "type/CancelationTimestamp" | "type/City" | "type/Comment" | "type/Coordinate" | "type/Cost" | "type/Country" | "type/CreationDate" | "type/CreationTime" | "type/CreationTimestamp" | "type/Currency" | "type/DeletionDate" | "type/DeletionTime" | "type/DeletionTimestamp" | "type/Description" | "type/Discount" | "type/Duration" | "type/Email" | "type/GrossMargin" | "type/ImageURL" | "type/Income" | "type/JoinDate" | "type/JoinTime" | "type/JoinTimestamp" | "type/Latitude" | "type/Longitude" | "type/Name" | "type/Percentage" | "type/Price" | "type/Quantity" | "type/Score" | "type/SerializedJSON" | "type/Share" | "type/State" | "type/Title" | "type/URL" | "type/UpdatedDate" | "type/UpdatedTime" | "type/UpdatedTimestamp" | "type/ZipCode" | "Semantic/*" | "Relation/*" | "type/Location" | "type/Address" | "type/Category" | "type/Enum" | "type/Product" | "type/Company" | "type/Subscription" | "type/Source" | "type/CreationTemporal" | "type/JoinTemporal" | "type/CancelationTemporal" | "type/DeletionTemporal" | "type/UpdatedTemporal" | "type/User" | "type/Author" | "type/Owner" | "type/FK" | "type/PK" | null;
|
|
33
|
+
fk_target_field_id: number | null;
|
|
34
|
+
database_is_pk: boolean | null;
|
|
35
|
+
parent_id: number | null;
|
|
36
|
+
nfc_path: string[] | null;
|
|
37
|
+
data_sensitivity: "SEC_KEY" | "SYS_TELEMETRY" | "PHI" | "BIO_GEN" | "PCI_FIN" | "SENS_PERS" | "PII" | "CORP_IP" | "BIZ_CONF" | "PUBLIC" | null;
|
|
38
|
+
database_type?: string | null | undefined;
|
|
39
|
+
has_field_values?: "list" | "search" | "none" | "auto-list" | null | undefined;
|
|
40
|
+
visibility_type?: "hidden" | "details-only" | "normal" | "retired" | "sensitive" | null | undefined;
|
|
41
|
+
active?: boolean | undefined;
|
|
42
|
+
position?: number | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
search: (id: number, searchId: number, params: FieldSearchParams, options?: RequestOptions) => Promise<FieldSearchMatches>;
|
|
45
|
+
remapping: (id: number, remappedId: number, params: FieldRemappingParams, options?: RequestOptions) => Promise<FieldRemappedValue | null>;
|
|
46
|
+
summary: (id: number, options?: RequestOptions) => Promise<FieldSummary>;
|
|
47
|
+
values: (id: number, options?: RequestOptions) => Promise<FieldValues>;
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
export { FieldSetDataSensitivityParams as a, FieldSearchParams as i, FieldSearchBounded as n, fieldResource as o, FieldSearchByValue as r, FieldRemappingParams as t };
|