@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,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,218 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/domain/timeline.d.ts
|
|
3
|
+
declare const TimelineIcon: z.ZodEnum<{
|
|
4
|
+
star: "star";
|
|
5
|
+
cake: "cake";
|
|
6
|
+
mail: "mail";
|
|
7
|
+
mail_at: "mail_at";
|
|
8
|
+
warning: "warning";
|
|
9
|
+
bell: "bell";
|
|
10
|
+
cloud: "cloud";
|
|
11
|
+
info: "info";
|
|
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
|
+
star: "star";
|
|
25
|
+
cake: "cake";
|
|
26
|
+
mail: "mail";
|
|
27
|
+
mail_at: "mail_at";
|
|
28
|
+
warning: "warning";
|
|
29
|
+
bell: "bell";
|
|
30
|
+
cloud: "cloud";
|
|
31
|
+
info: "info";
|
|
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
|
+
icon: z.ZodEnum<{
|
|
44
|
+
star: "star";
|
|
45
|
+
cake: "cake";
|
|
46
|
+
mail: "mail";
|
|
47
|
+
mail_at: "mail_at";
|
|
48
|
+
warning: "warning";
|
|
49
|
+
bell: "bell";
|
|
50
|
+
cloud: "cloud";
|
|
51
|
+
info: "info";
|
|
52
|
+
note: "note";
|
|
53
|
+
event: "event";
|
|
54
|
+
}>;
|
|
55
|
+
id: z.ZodNumber;
|
|
56
|
+
name: z.ZodString;
|
|
57
|
+
description: z.ZodNullable<z.ZodString>;
|
|
58
|
+
timestamp: z.ZodString;
|
|
59
|
+
timeline_id: z.ZodNumber;
|
|
60
|
+
archived: z.ZodBoolean;
|
|
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
|
+
star: "star";
|
|
69
|
+
cake: "cake";
|
|
70
|
+
mail: "mail";
|
|
71
|
+
mail_at: "mail_at";
|
|
72
|
+
warning: "warning";
|
|
73
|
+
bell: "bell";
|
|
74
|
+
cloud: "cloud";
|
|
75
|
+
info: "info";
|
|
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
|
+
star: "star";
|
|
95
|
+
cake: "cake";
|
|
96
|
+
mail: "mail";
|
|
97
|
+
mail_at: "mail_at";
|
|
98
|
+
warning: "warning";
|
|
99
|
+
bell: "bell";
|
|
100
|
+
cloud: "cloud";
|
|
101
|
+
info: "info";
|
|
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
|
+
icon: z.ZodEnum<{
|
|
115
|
+
star: "star";
|
|
116
|
+
cake: "cake";
|
|
117
|
+
mail: "mail";
|
|
118
|
+
mail_at: "mail_at";
|
|
119
|
+
warning: "warning";
|
|
120
|
+
bell: "bell";
|
|
121
|
+
cloud: "cloud";
|
|
122
|
+
info: "info";
|
|
123
|
+
note: "note";
|
|
124
|
+
event: "event";
|
|
125
|
+
}>;
|
|
126
|
+
id: z.ZodNumber;
|
|
127
|
+
name: z.ZodString;
|
|
128
|
+
description: z.ZodNullable<z.ZodString>;
|
|
129
|
+
archived: z.ZodBoolean;
|
|
130
|
+
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
131
|
+
default: z.ZodBoolean;
|
|
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
|
+
star: "star";
|
|
139
|
+
cake: "cake";
|
|
140
|
+
mail: "mail";
|
|
141
|
+
mail_at: "mail_at";
|
|
142
|
+
warning: "warning";
|
|
143
|
+
bell: "bell";
|
|
144
|
+
cloud: "cloud";
|
|
145
|
+
info: "info";
|
|
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
|
+
star: "star";
|
|
158
|
+
cake: "cake";
|
|
159
|
+
mail: "mail";
|
|
160
|
+
mail_at: "mail_at";
|
|
161
|
+
warning: "warning";
|
|
162
|
+
bell: "bell";
|
|
163
|
+
cloud: "cloud";
|
|
164
|
+
info: "info";
|
|
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
|
+
star: "star";
|
|
182
|
+
cake: "cake";
|
|
183
|
+
mail: "mail";
|
|
184
|
+
mail_at: "mail_at";
|
|
185
|
+
warning: "warning";
|
|
186
|
+
bell: "bell";
|
|
187
|
+
cloud: "cloud";
|
|
188
|
+
info: "info";
|
|
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
|
+
star: "star";
|
|
203
|
+
cake: "cake";
|
|
204
|
+
mail: "mail";
|
|
205
|
+
mail_at: "mail_at";
|
|
206
|
+
warning: "warning";
|
|
207
|
+
bell: "bell";
|
|
208
|
+
cloud: "cloud";
|
|
209
|
+
info: "info";
|
|
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 };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.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-BK45hy-h.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 };
|