@metabase/client 0.0.0-stage → 0.1.0
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 +7 -0
- package/LICENSE +661 -0
- package/README.md +488 -2
- 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-B6merEUN.d.ts +1392 -0
- package/dist/card-BZx4NSr-.d.ts +33 -0
- package/dist/client-DNRvXFRm.d.ts +3276 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +95 -0
- package/dist/collection-Bib61WiV.d.ts +294 -0
- package/dist/collection-CqtGPi4W.d.ts +39 -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-XTe46250.d.ts +38 -0
- package/dist/dashboard-z9i1VUZC.d.ts +970 -0
- package/dist/data-action-rS27f2Ji.d.ts +95 -0
- package/dist/database-BLUMlywE.d.ts +997 -0
- package/dist/database-DqTespfa.d.ts +27 -0
- package/dist/dataset-C6lX1-cr.d.ts +4144 -0
- package/dist/dataset-Cj3XuKLe.d.ts +23 -0
- package/dist/dependency-D8Qs5Xdx.d.ts +827 -0
- package/dist/dependency-fN5_7a22.d.ts +299 -0
- package/dist/document-oZNDbDfx.d.ts +115 -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 +194 -0
- package/dist/domain/data-action.d.ts +2 -0
- package/dist/domain/data-action.js +85 -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 +165 -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 +268 -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 +83 -0
- package/dist/domain/measure.d.ts +2 -0
- package/dist/domain/measure.js +41 -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 +138 -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 +133 -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 +63 -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 +44 -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 +156 -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 +109 -0
- package/dist/domain/transform-python.d.ts +2 -0
- package/dist/domain/transform-python.js +39 -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 +235 -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-nuhr8St2.d.ts +143 -0
- package/dist/embedding-Cz3RUJYf.d.ts +10 -0
- package/dist/erd-BdeFEeSy.d.ts +842 -0
- package/dist/erd-BujD227Y.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-CnFkUCj2.d.ts +261 -0
- package/dist/field-BCRO19mk.d.ts +2547 -0
- package/dist/field-Bqn10Fq_.d.ts +50 -0
- package/dist/git-sync-DNXrNVCW.d.ts +258 -0
- package/dist/git-sync-gAMKsZgN.d.ts +205 -0
- package/dist/glossary-CHK3elPj.d.ts +35 -0
- package/dist/glossary-CqFlzW33.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 +60 -0
- package/dist/index.js +62 -0
- package/dist/json-CZvjc3--.d.ts +19 -0
- package/dist/json-pointer.d.ts +4 -0
- package/dist/json-pointer.js +7 -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-Cx9h_RkU.d.ts +228 -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-CuMqPbQX.d.ts +108 -0
- package/dist/measure-KuXdjZYJ.d.ts +44 -0
- package/dist/metric-yvehaVCS.d.ts +2655 -0
- package/dist/moderation-review-B4RUTZ6_.d.ts +56 -0
- package/dist/network-error-5g4U1iul.js +62 -0
- package/dist/notification-BT2TDAd_.d.ts +379 -0
- package/dist/notification-BiegPoSD.d.ts +22 -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-DZWvWvbm.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-CMc1Rwdj.d.ts +596 -0
- package/dist/pulse-dylocLd9.d.ts +18 -0
- package/dist/query-Xsin530u.d.ts +23 -0
- package/dist/refusal-B9aeHMc9.js +130 -0
- package/dist/replacement-CyvtbxGg.d.ts +2467 -0
- package/dist/replacement-S9U3gApY.d.ts +128 -0
- package/dist/requirement-check-CIA5IHC1.d.ts +17 -0
- package/dist/requirements-C0txASN8.d.ts +217 -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 +110 -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 +218 -0
- package/dist/resources/data-action.d.ts +105 -0
- package/dist/resources/data-action.js +79 -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 +150 -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 +98 -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 +75 -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 +51 -0
- package/dist/resources/search.d.ts +2 -0
- package/dist/resources/search.js +57 -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 +275 -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 +52 -0
- package/dist/resources/transform-python.js +56 -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 +217 -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-CQBPhohA.d.ts +104 -0
- package/dist/search-BxJipLN6.d.ts +26 -0
- package/dist/search-NZR6iRBs.d.ts +92 -0
- package/dist/segment-D2i34X9l.d.ts +16 -0
- package/dist/segment-pj3wklGe.d.ts +47 -0
- package/dist/session-properties-COtlxAcK.d.ts +15 -0
- package/dist/setting-DXuQGXGF.d.ts +25 -0
- package/dist/setup-Ez_U7GmM.d.ts +26 -0
- package/dist/signal.d.ts +8 -0
- package/dist/signal.js +25 -0
- package/dist/snippet-RnnWa4TL.d.ts +16 -0
- package/dist/snippet-hEV429Pv.d.ts +41 -0
- package/dist/table-B3-UaPHa.d.ts +3229 -0
- package/dist/table-B_lfuaHc.d.ts +176 -0
- package/dist/tag-qzjGGci8.d.ts +48 -0
- package/dist/timeline-C2IEcRlP.d.ts +21 -0
- package/dist/timeline-folD3mQ_.d.ts +218 -0
- package/dist/transform-CDurgE1D.d.ts +443 -0
- package/dist/transform-CXOT5kFe.d.ts +638 -0
- package/dist/transform-dag-run-BgZwv1yx.d.ts +49 -0
- package/dist/transform-inspector-BUYBt6--.d.ts +374 -0
- package/dist/transform-job-29P6BULe.d.ts +237 -0
- package/dist/transform-job-CTJImaOd.d.ts +96 -0
- package/dist/transform-python-DdDnW6yK.d.ts +56 -0
- package/dist/transform-tag-DVUIZTEM.d.ts +25 -0
- package/dist/transform-test-A-CJYT6B.d.ts +412 -0
- package/dist/transform-test-BwuyrHpT.d.ts +346 -0
- package/dist/transport-E0ZaPNWJ.d.ts +462 -0
- package/dist/transport-HP7cyo9N.js +397 -0
- package/dist/upload-B7PG3ePk.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-2r0OBoO6.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 +143 -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 +219 -0
- package/dist/version/tag.d.ts +2 -0
- package/dist/version/tag.js +52 -0
- package/package.json +65 -4
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-E0ZaPNWJ.js";
|
|
2
|
+
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
|
+
import { d as TableFieldValuesResult, f as TableForeignKey, h as TableQueryMetadata, l as TableDataSource, o as TableDataLayer, t as Table, v as TableSchemaSyncResult } from "./table-B3-UaPHa.js";
|
|
4
|
+
import { r as UploadUpdateResult } from "./upload-UPfZFdbH.js";
|
|
5
|
+
import { t as CsvFile } from "./csv-upload--K35QedP.js";
|
|
6
|
+
//#region src/resources/table.d.ts
|
|
7
|
+
interface TableListParams {
|
|
8
|
+
term?: string | undefined;
|
|
9
|
+
"visibility-type"?: string | undefined;
|
|
10
|
+
"data-layer"?: TableDataLayer | undefined;
|
|
11
|
+
"data-source"?: TableDataSource | undefined;
|
|
12
|
+
"owner-user-id"?: number | undefined;
|
|
13
|
+
"owner-email"?: string | undefined;
|
|
14
|
+
"orphan-only"?: boolean | undefined;
|
|
15
|
+
"unused-only"?: boolean | undefined;
|
|
16
|
+
"published-only"?: boolean | undefined;
|
|
17
|
+
"can-query"?: boolean | undefined;
|
|
18
|
+
"can-write"?: boolean | undefined;
|
|
19
|
+
"include-transform-targets"?: boolean | undefined;
|
|
20
|
+
}
|
|
21
|
+
declare function tableResource(transport: Transport): {
|
|
22
|
+
list: (params?: TableListParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
id: number;
|
|
25
|
+
name: string;
|
|
26
|
+
display_name: string;
|
|
27
|
+
description: string | null;
|
|
28
|
+
caveats: string | null;
|
|
29
|
+
db_id: number;
|
|
30
|
+
schema: string | null;
|
|
31
|
+
entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
|
|
32
|
+
data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
|
|
33
|
+
estimated_row_count: number | null;
|
|
34
|
+
active: boolean;
|
|
35
|
+
visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
|
|
36
|
+
is_published?: boolean | undefined;
|
|
37
|
+
collection_id?: number | null | undefined;
|
|
38
|
+
fields?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
id: number;
|
|
41
|
+
table_id: number;
|
|
42
|
+
name: string;
|
|
43
|
+
display_name: string;
|
|
44
|
+
description: string | null;
|
|
45
|
+
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";
|
|
46
|
+
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;
|
|
47
|
+
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;
|
|
48
|
+
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;
|
|
49
|
+
fk_target_field_id: number | null;
|
|
50
|
+
database_is_pk: boolean | null;
|
|
51
|
+
parent_id: number | null;
|
|
52
|
+
nfc_path: string[] | null;
|
|
53
|
+
database_type?: string | null | undefined;
|
|
54
|
+
has_field_values?: "list" | "search" | "none" | "auto-list" | null | undefined;
|
|
55
|
+
visibility_type?: "hidden" | "details-only" | "normal" | "retired" | "sensitive" | null | undefined;
|
|
56
|
+
active?: boolean | undefined;
|
|
57
|
+
position?: number | undefined;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
}>>;
|
|
60
|
+
get: (id: number, options?: RequestOptions) => Promise<Table>;
|
|
61
|
+
update: (id: number, params: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
display_name?: string | undefined;
|
|
64
|
+
entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | undefined;
|
|
65
|
+
visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
|
|
66
|
+
description?: string | null | undefined;
|
|
67
|
+
caveats?: string | null | undefined;
|
|
68
|
+
points_of_interest?: string | null | undefined;
|
|
69
|
+
show_in_getting_started?: boolean | undefined;
|
|
70
|
+
field_order?: "database" | "custom" | "alphabetical" | "smart" | undefined;
|
|
71
|
+
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
72
|
+
data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
73
|
+
data_layer?: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null | undefined;
|
|
74
|
+
owner_email?: string | null | undefined;
|
|
75
|
+
owner_user_id?: number | null | undefined;
|
|
76
|
+
collection_id?: number | undefined;
|
|
77
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
id: number;
|
|
80
|
+
name: string;
|
|
81
|
+
display_name: string;
|
|
82
|
+
description: string | null;
|
|
83
|
+
caveats: string | null;
|
|
84
|
+
db_id: number;
|
|
85
|
+
schema: string | null;
|
|
86
|
+
entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
|
|
87
|
+
data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
|
|
88
|
+
estimated_row_count: number | null;
|
|
89
|
+
active: boolean;
|
|
90
|
+
visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
|
|
91
|
+
is_published?: boolean | undefined;
|
|
92
|
+
collection_id?: number | null | undefined;
|
|
93
|
+
fields?: {
|
|
94
|
+
[x: string]: unknown;
|
|
95
|
+
id: number;
|
|
96
|
+
table_id: number;
|
|
97
|
+
name: string;
|
|
98
|
+
display_name: string;
|
|
99
|
+
description: string | null;
|
|
100
|
+
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";
|
|
101
|
+
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;
|
|
102
|
+
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;
|
|
103
|
+
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;
|
|
104
|
+
fk_target_field_id: number | null;
|
|
105
|
+
database_is_pk: boolean | null;
|
|
106
|
+
parent_id: number | null;
|
|
107
|
+
nfc_path: string[] | null;
|
|
108
|
+
database_type?: string | null | undefined;
|
|
109
|
+
has_field_values?: "list" | "search" | "none" | "auto-list" | null | undefined;
|
|
110
|
+
visibility_type?: "hidden" | "details-only" | "normal" | "retired" | "sensitive" | null | undefined;
|
|
111
|
+
active?: boolean | undefined;
|
|
112
|
+
position?: number | undefined;
|
|
113
|
+
}[] | undefined;
|
|
114
|
+
}>;
|
|
115
|
+
queryMetadata: (id: number, options?: RequestOptions) => Promise<TableQueryMetadata>;
|
|
116
|
+
fks: (id: number, options?: RequestOptions) => Promise<ListResult<TableForeignKey>>;
|
|
117
|
+
syncSchema: (id: number, options?: RequestOptions) => Promise<TableSchemaSyncResult>;
|
|
118
|
+
rescanValues: (id: number, options?: RequestOptions) => Promise<TableFieldValuesResult>;
|
|
119
|
+
discardValues: (id: number, options?: RequestOptions) => Promise<TableFieldValuesResult>;
|
|
120
|
+
bulkEdit: (params: {
|
|
121
|
+
database_ids?: number[] | undefined;
|
|
122
|
+
schema_ids?: string[] | undefined;
|
|
123
|
+
table_ids?: number[] | undefined;
|
|
124
|
+
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
125
|
+
data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
126
|
+
data_layer?: "internal" | "hidden" | "final" | null | undefined;
|
|
127
|
+
entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
|
|
128
|
+
owner_email?: string | null | undefined;
|
|
129
|
+
owner_user_id?: number | null | undefined;
|
|
130
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
131
|
+
accepted: true;
|
|
132
|
+
database_ids?: number[] | undefined;
|
|
133
|
+
schema_ids?: string[] | undefined;
|
|
134
|
+
table_ids?: number[] | undefined;
|
|
135
|
+
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
136
|
+
data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
137
|
+
data_layer?: "internal" | "hidden" | "final" | null | undefined;
|
|
138
|
+
entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
|
|
139
|
+
owner_email?: string | null | undefined;
|
|
140
|
+
owner_user_id?: number | null | undefined;
|
|
141
|
+
}>;
|
|
142
|
+
bulkSyncSchema: (selectors: {
|
|
143
|
+
database_ids?: number[] | undefined;
|
|
144
|
+
schema_ids?: string[] | undefined;
|
|
145
|
+
table_ids?: number[] | undefined;
|
|
146
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
147
|
+
accepted: true;
|
|
148
|
+
database_ids?: number[] | undefined;
|
|
149
|
+
schema_ids?: string[] | undefined;
|
|
150
|
+
table_ids?: number[] | undefined;
|
|
151
|
+
}>;
|
|
152
|
+
bulkRescanValues: (selectors: {
|
|
153
|
+
database_ids?: number[] | undefined;
|
|
154
|
+
schema_ids?: string[] | undefined;
|
|
155
|
+
table_ids?: number[] | undefined;
|
|
156
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
157
|
+
accepted: true;
|
|
158
|
+
database_ids?: number[] | undefined;
|
|
159
|
+
schema_ids?: string[] | undefined;
|
|
160
|
+
table_ids?: number[] | undefined;
|
|
161
|
+
}>;
|
|
162
|
+
bulkDiscardValues: (selectors: {
|
|
163
|
+
database_ids?: number[] | undefined;
|
|
164
|
+
schema_ids?: string[] | undefined;
|
|
165
|
+
table_ids?: number[] | undefined;
|
|
166
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
167
|
+
accepted: true;
|
|
168
|
+
database_ids?: number[] | undefined;
|
|
169
|
+
schema_ids?: string[] | undefined;
|
|
170
|
+
table_ids?: number[] | undefined;
|
|
171
|
+
}>;
|
|
172
|
+
appendCsv: (id: number, file: CsvFile, options?: RequestOptions) => Promise<UploadUpdateResult>;
|
|
173
|
+
replaceCsv: (id: number, file: CsvFile, options?: RequestOptions) => Promise<UploadUpdateResult>;
|
|
174
|
+
};
|
|
175
|
+
//#endregion
|
|
176
|
+
export { tableResource as n, TableListParams as t };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/version/tag.d.ts
|
|
3
|
+
declare const ReleaseVersion: z.ZodObject<{
|
|
4
|
+
kind: z.ZodLiteral<"release">;
|
|
5
|
+
tag: z.ZodString;
|
|
6
|
+
major: z.ZodNumber;
|
|
7
|
+
patch: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
type ReleaseVersion = z.infer<typeof ReleaseVersion>;
|
|
10
|
+
declare const DevelopmentBuild: z.ZodObject<{
|
|
11
|
+
kind: z.ZodLiteral<"development">;
|
|
12
|
+
tag: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
type DevelopmentBuild = z.infer<typeof DevelopmentBuild>;
|
|
15
|
+
declare const ServerVersion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16
|
+
kind: z.ZodLiteral<"release">;
|
|
17
|
+
tag: z.ZodString;
|
|
18
|
+
major: z.ZodNumber;
|
|
19
|
+
patch: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
kind: z.ZodLiteral<"development">;
|
|
22
|
+
tag: z.ZodString;
|
|
23
|
+
}, z.core.$strip>], "kind">;
|
|
24
|
+
type ServerVersion = z.infer<typeof ServerVersion>;
|
|
25
|
+
declare const Edition: z.ZodEnum<{
|
|
26
|
+
oss: "oss";
|
|
27
|
+
ee: "ee";
|
|
28
|
+
}>;
|
|
29
|
+
type Edition = z.infer<typeof Edition>;
|
|
30
|
+
declare function parseTag(tag: string): ServerVersion;
|
|
31
|
+
declare function editionFromTag(tag: string): Edition | null;
|
|
32
|
+
declare function describeVersion(version: ServerVersion): string;
|
|
33
|
+
declare const StoredServerVersion: z.ZodPipe<z.ZodObject<{
|
|
34
|
+
tag: z.ZodString;
|
|
35
|
+
}, z.core.$loose>, z.ZodTransform<{
|
|
36
|
+
kind: "release";
|
|
37
|
+
tag: string;
|
|
38
|
+
major: number;
|
|
39
|
+
patch: number;
|
|
40
|
+
} | {
|
|
41
|
+
kind: "development";
|
|
42
|
+
tag: string;
|
|
43
|
+
}, {
|
|
44
|
+
[x: string]: unknown;
|
|
45
|
+
tag: string;
|
|
46
|
+
}>>;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { StoredServerVersion as a, parseTag as c, ServerVersion as i, Edition as n, describeVersion as o, ReleaseVersion as r, editionFromTag as s, DevelopmentBuild as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-E0ZaPNWJ.js";
|
|
2
|
+
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
|
+
import { i as TimelineEvent, l as TimelineUpdateInput, r as TimelineCreateInput, t as Timeline } from "./timeline-folD3mQ_.js";
|
|
4
|
+
//#region src/resources/timeline.d.ts
|
|
5
|
+
interface TimelineListParams {
|
|
6
|
+
archived?: boolean | undefined;
|
|
7
|
+
}
|
|
8
|
+
interface TimelineEventsParams {
|
|
9
|
+
archived?: boolean | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare function timelineResource(transport: Transport): {
|
|
12
|
+
list: (params?: TimelineListParams, options?: RequestOptions) => Promise<ListResult<Timeline>>;
|
|
13
|
+
get: (id: number, options?: RequestOptions) => Promise<Timeline>;
|
|
14
|
+
events: (id: number, params?: TimelineEventsParams, options?: RequestOptions) => Promise<ListResult<TimelineEvent>>;
|
|
15
|
+
create: (params: TimelineCreateInput, options?: RequestOptions) => Promise<Timeline>;
|
|
16
|
+
update: (id: number, params: TimelineUpdateInput, options?: RequestOptions) => Promise<Timeline>;
|
|
17
|
+
archive: (id: number, options?: RequestOptions) => Promise<Timeline>;
|
|
18
|
+
delete: (id: number, options?: RequestOptions) => Promise<void>;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { TimelineListParams as n, timelineResource as r, TimelineEventsParams as t };
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/domain/timeline.d.ts
|
|
3
|
+
declare const TimelineIcon: z.ZodEnum<{
|
|
4
|
+
info: "info";
|
|
5
|
+
warning: "warning";
|
|
6
|
+
star: "star";
|
|
7
|
+
cake: "cake";
|
|
8
|
+
mail: "mail";
|
|
9
|
+
mail_at: "mail_at";
|
|
10
|
+
bell: "bell";
|
|
11
|
+
cloud: "cloud";
|
|
12
|
+
note: "note";
|
|
13
|
+
event: "event";
|
|
14
|
+
}>;
|
|
15
|
+
type TimelineIcon = z.infer<typeof TimelineIcon>;
|
|
16
|
+
declare const TimelineEvent: z.ZodObject<{
|
|
17
|
+
id: z.ZodNumber;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
description: z.ZodNullable<z.ZodString>;
|
|
20
|
+
timestamp: z.ZodString;
|
|
21
|
+
timezone: z.ZodString;
|
|
22
|
+
time_matters: z.ZodBoolean;
|
|
23
|
+
icon: z.ZodEnum<{
|
|
24
|
+
info: "info";
|
|
25
|
+
warning: "warning";
|
|
26
|
+
star: "star";
|
|
27
|
+
cake: "cake";
|
|
28
|
+
mail: "mail";
|
|
29
|
+
mail_at: "mail_at";
|
|
30
|
+
bell: "bell";
|
|
31
|
+
cloud: "cloud";
|
|
32
|
+
note: "note";
|
|
33
|
+
event: "event";
|
|
34
|
+
}>;
|
|
35
|
+
timeline_id: z.ZodNumber;
|
|
36
|
+
archived: z.ZodBoolean;
|
|
37
|
+
creator_id: z.ZodNumber;
|
|
38
|
+
created_at: z.ZodString;
|
|
39
|
+
updated_at: z.ZodString;
|
|
40
|
+
}, z.core.$loose>;
|
|
41
|
+
type TimelineEvent = z.infer<typeof TimelineEvent>;
|
|
42
|
+
declare const TimelineEventCompact: z.ZodObject<{
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
id: z.ZodNumber;
|
|
45
|
+
description: z.ZodNullable<z.ZodString>;
|
|
46
|
+
archived: z.ZodBoolean;
|
|
47
|
+
timestamp: z.ZodString;
|
|
48
|
+
icon: z.ZodEnum<{
|
|
49
|
+
info: "info";
|
|
50
|
+
warning: "warning";
|
|
51
|
+
star: "star";
|
|
52
|
+
cake: "cake";
|
|
53
|
+
mail: "mail";
|
|
54
|
+
mail_at: "mail_at";
|
|
55
|
+
bell: "bell";
|
|
56
|
+
cloud: "cloud";
|
|
57
|
+
note: "note";
|
|
58
|
+
event: "event";
|
|
59
|
+
}>;
|
|
60
|
+
timeline_id: z.ZodNumber;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
type TimelineEventCompact = z.infer<typeof TimelineEventCompact>;
|
|
63
|
+
declare const Timeline: z.ZodObject<{
|
|
64
|
+
id: z.ZodNumber;
|
|
65
|
+
name: z.ZodString;
|
|
66
|
+
description: z.ZodNullable<z.ZodString>;
|
|
67
|
+
icon: z.ZodEnum<{
|
|
68
|
+
info: "info";
|
|
69
|
+
warning: "warning";
|
|
70
|
+
star: "star";
|
|
71
|
+
cake: "cake";
|
|
72
|
+
mail: "mail";
|
|
73
|
+
mail_at: "mail_at";
|
|
74
|
+
bell: "bell";
|
|
75
|
+
cloud: "cloud";
|
|
76
|
+
note: "note";
|
|
77
|
+
event: "event";
|
|
78
|
+
}>;
|
|
79
|
+
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
80
|
+
archived: z.ZodBoolean;
|
|
81
|
+
default: z.ZodBoolean;
|
|
82
|
+
creator_id: z.ZodNumber;
|
|
83
|
+
entity_id: z.ZodString;
|
|
84
|
+
created_at: z.ZodString;
|
|
85
|
+
updated_at: z.ZodString;
|
|
86
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
|
+
id: z.ZodNumber;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
description: z.ZodNullable<z.ZodString>;
|
|
90
|
+
timestamp: z.ZodString;
|
|
91
|
+
timezone: z.ZodString;
|
|
92
|
+
time_matters: z.ZodBoolean;
|
|
93
|
+
icon: z.ZodEnum<{
|
|
94
|
+
info: "info";
|
|
95
|
+
warning: "warning";
|
|
96
|
+
star: "star";
|
|
97
|
+
cake: "cake";
|
|
98
|
+
mail: "mail";
|
|
99
|
+
mail_at: "mail_at";
|
|
100
|
+
bell: "bell";
|
|
101
|
+
cloud: "cloud";
|
|
102
|
+
note: "note";
|
|
103
|
+
event: "event";
|
|
104
|
+
}>;
|
|
105
|
+
timeline_id: z.ZodNumber;
|
|
106
|
+
archived: z.ZodBoolean;
|
|
107
|
+
creator_id: z.ZodNumber;
|
|
108
|
+
created_at: z.ZodString;
|
|
109
|
+
updated_at: z.ZodString;
|
|
110
|
+
}, z.core.$loose>>>;
|
|
111
|
+
}, z.core.$loose>;
|
|
112
|
+
type Timeline = z.infer<typeof Timeline>;
|
|
113
|
+
declare const TimelineCompact: z.ZodObject<{
|
|
114
|
+
name: z.ZodString;
|
|
115
|
+
id: z.ZodNumber;
|
|
116
|
+
default: z.ZodBoolean;
|
|
117
|
+
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
118
|
+
description: z.ZodNullable<z.ZodString>;
|
|
119
|
+
archived: z.ZodBoolean;
|
|
120
|
+
icon: z.ZodEnum<{
|
|
121
|
+
info: "info";
|
|
122
|
+
warning: "warning";
|
|
123
|
+
star: "star";
|
|
124
|
+
cake: "cake";
|
|
125
|
+
mail: "mail";
|
|
126
|
+
mail_at: "mail_at";
|
|
127
|
+
bell: "bell";
|
|
128
|
+
cloud: "cloud";
|
|
129
|
+
note: "note";
|
|
130
|
+
event: "event";
|
|
131
|
+
}>;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
type TimelineCompact = z.infer<typeof TimelineCompact>;
|
|
134
|
+
declare const TimelineCreateInput: z.ZodObject<{
|
|
135
|
+
name: z.ZodString;
|
|
136
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
138
|
+
info: "info";
|
|
139
|
+
warning: "warning";
|
|
140
|
+
star: "star";
|
|
141
|
+
cake: "cake";
|
|
142
|
+
mail: "mail";
|
|
143
|
+
mail_at: "mail_at";
|
|
144
|
+
bell: "bell";
|
|
145
|
+
cloud: "cloud";
|
|
146
|
+
note: "note";
|
|
147
|
+
event: "event";
|
|
148
|
+
}>>>;
|
|
149
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
150
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
151
|
+
}, z.core.$loose>;
|
|
152
|
+
type TimelineCreateInput = z.infer<typeof TimelineCreateInput>;
|
|
153
|
+
declare const TimelineUpdateInput: z.ZodObject<{
|
|
154
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
157
|
+
info: "info";
|
|
158
|
+
warning: "warning";
|
|
159
|
+
star: "star";
|
|
160
|
+
cake: "cake";
|
|
161
|
+
mail: "mail";
|
|
162
|
+
mail_at: "mail_at";
|
|
163
|
+
bell: "bell";
|
|
164
|
+
cloud: "cloud";
|
|
165
|
+
note: "note";
|
|
166
|
+
event: "event";
|
|
167
|
+
}>>>;
|
|
168
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
169
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
170
|
+
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
171
|
+
}, z.core.$loose>;
|
|
172
|
+
type TimelineUpdateInput = z.infer<typeof TimelineUpdateInput>;
|
|
173
|
+
declare const TimelineEventCreateInput: z.ZodObject<{
|
|
174
|
+
name: z.ZodString;
|
|
175
|
+
timestamp: z.ZodString;
|
|
176
|
+
timezone: z.ZodString;
|
|
177
|
+
time_matters: z.ZodBoolean;
|
|
178
|
+
timeline_id: z.ZodNumber;
|
|
179
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
181
|
+
info: "info";
|
|
182
|
+
warning: "warning";
|
|
183
|
+
star: "star";
|
|
184
|
+
cake: "cake";
|
|
185
|
+
mail: "mail";
|
|
186
|
+
mail_at: "mail_at";
|
|
187
|
+
bell: "bell";
|
|
188
|
+
cloud: "cloud";
|
|
189
|
+
note: "note";
|
|
190
|
+
event: "event";
|
|
191
|
+
}>>>;
|
|
192
|
+
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
193
|
+
}, z.core.$loose>;
|
|
194
|
+
type TimelineEventCreateInput = z.infer<typeof TimelineEventCreateInput>;
|
|
195
|
+
declare const TimelineEventUpdateInput: z.ZodObject<{
|
|
196
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
time_matters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
201
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
202
|
+
info: "info";
|
|
203
|
+
warning: "warning";
|
|
204
|
+
star: "star";
|
|
205
|
+
cake: "cake";
|
|
206
|
+
mail: "mail";
|
|
207
|
+
mail_at: "mail_at";
|
|
208
|
+
bell: "bell";
|
|
209
|
+
cloud: "cloud";
|
|
210
|
+
note: "note";
|
|
211
|
+
event: "event";
|
|
212
|
+
}>>>;
|
|
213
|
+
timeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
214
|
+
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
215
|
+
}, z.core.$loose>;
|
|
216
|
+
type TimelineEventUpdateInput = z.infer<typeof TimelineEventUpdateInput>;
|
|
217
|
+
//#endregion
|
|
218
|
+
export { TimelineEventCompact as a, TimelineIcon as c, TimelineEvent as i, TimelineUpdateInput as l, TimelineCompact as n, TimelineEventCreateInput as o, TimelineCreateInput as r, TimelineEventUpdateInput as s, Timeline as t };
|