studiocms 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/client/apiClient.d.ts +621 -621
- package/dist/consts.js +8 -0
- package/dist/handlers/storage-manager/core/api-core.d.ts +3 -3
- package/dist/handlers/storage-manager/core/astro-context.d.ts +1 -1
- package/dist/handlers/storage-manager/core/database.d.ts +1 -1
- package/dist/handlers/storage-manager/core/effectify-astro-context.d.ts +1 -1
- package/dist/handlers/storage-manager/core/url-mapping.d.ts +1 -1
- package/frontend/pages/studiocms_api/_handlers/sdk.ts +14 -1
- package/package.json +5 -5
|
@@ -14,7 +14,7 @@ export declare const authClient: Effect.Effect<{
|
|
|
14
14
|
readonly message: string;
|
|
15
15
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
16
16
|
readonly message: string;
|
|
17
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
17
|
+
}, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
18
18
|
readonly login: <WithResponse extends boolean = false>(request: {
|
|
19
19
|
readonly payload: {
|
|
20
20
|
readonly username: string;
|
|
@@ -25,10 +25,10 @@ export declare const authClient: Effect.Effect<{
|
|
|
25
25
|
readonly ok: boolean;
|
|
26
26
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
27
27
|
readonly ok: boolean;
|
|
28
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
28
|
+
}, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
29
29
|
readonly logout: <WithResponse extends boolean = false>(request: void | {
|
|
30
30
|
readonly withResponse?: WithResponse | undefined;
|
|
31
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
31
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
32
32
|
readonly register: <WithResponse extends boolean = false>(request: {
|
|
33
33
|
readonly payload: {
|
|
34
34
|
readonly email: string;
|
|
@@ -41,7 +41,7 @@ export declare const authClient: Effect.Effect<{
|
|
|
41
41
|
readonly ok: boolean;
|
|
42
42
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
43
43
|
readonly ok: boolean;
|
|
44
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
44
|
+
}, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
45
45
|
};
|
|
46
46
|
readonly oauth: {
|
|
47
47
|
readonly oAuthInit: <WithResponse extends boolean = false>(request: {
|
|
@@ -49,13 +49,13 @@ export declare const authClient: Effect.Effect<{
|
|
|
49
49
|
readonly provider: string;
|
|
50
50
|
};
|
|
51
51
|
readonly withResponse?: WithResponse | undefined;
|
|
52
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
52
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
53
53
|
readonly oAuthCallback: <WithResponse extends boolean = false>(request: {
|
|
54
54
|
readonly path: {
|
|
55
55
|
readonly provider: string;
|
|
56
56
|
};
|
|
57
57
|
readonly withResponse?: WithResponse | undefined;
|
|
58
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
58
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
59
59
|
};
|
|
60
60
|
}, never, never>;
|
|
61
61
|
/**
|
|
@@ -120,16 +120,16 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
120
120
|
readonly createPage: <WithResponse extends boolean = false>(request: {
|
|
121
121
|
readonly payload: {
|
|
122
122
|
readonly description?: string | undefined;
|
|
123
|
-
readonly slug?: string | undefined;
|
|
124
|
-
readonly tags?: readonly string[] | undefined;
|
|
125
|
-
readonly categories?: readonly string[] | undefined;
|
|
126
|
-
readonly title?: string | undefined;
|
|
127
123
|
readonly updatedAt?: Date | undefined;
|
|
124
|
+
readonly title?: string | undefined;
|
|
128
125
|
readonly package?: string | undefined;
|
|
129
126
|
readonly showOnNav?: boolean | undefined;
|
|
130
127
|
readonly publishedAt?: Date | undefined;
|
|
128
|
+
readonly slug?: string | undefined;
|
|
131
129
|
readonly contentLang?: string | undefined;
|
|
132
130
|
readonly heroImage?: string | null | undefined;
|
|
131
|
+
readonly categories?: readonly string[] | undefined;
|
|
132
|
+
readonly tags?: readonly string[] | undefined;
|
|
133
133
|
readonly authorId?: string | undefined;
|
|
134
134
|
readonly contributorIds?: readonly string[] | undefined;
|
|
135
135
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -148,17 +148,17 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
148
148
|
readonly payload: {
|
|
149
149
|
readonly description?: string | undefined;
|
|
150
150
|
readonly id: string;
|
|
151
|
-
readonly slug?: string | undefined;
|
|
152
|
-
readonly tags?: readonly string[] | undefined;
|
|
153
|
-
readonly categories?: readonly string[] | undefined;
|
|
154
|
-
readonly title?: string | undefined;
|
|
155
151
|
readonly updatedAt?: Date | undefined;
|
|
152
|
+
readonly title?: string | undefined;
|
|
156
153
|
readonly content: string;
|
|
157
154
|
readonly package?: string | undefined;
|
|
158
155
|
readonly showOnNav?: boolean | undefined;
|
|
159
156
|
readonly publishedAt?: Date | undefined;
|
|
157
|
+
readonly slug?: string | undefined;
|
|
160
158
|
readonly contentLang?: string | undefined;
|
|
161
159
|
readonly heroImage?: string | null | undefined;
|
|
160
|
+
readonly categories?: readonly string[] | undefined;
|
|
161
|
+
readonly tags?: readonly string[] | undefined;
|
|
162
162
|
readonly authorId?: string | undefined;
|
|
163
163
|
readonly contributorIds?: readonly string[] | undefined;
|
|
164
164
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -289,19 +289,19 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
289
289
|
readonly withResponse?: WithResponse | undefined;
|
|
290
290
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
291
291
|
readonly id: string;
|
|
292
|
-
readonly userId: string;
|
|
293
292
|
readonly token: string;
|
|
293
|
+
readonly userId: string;
|
|
294
294
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
295
295
|
readonly id: string;
|
|
296
|
-
readonly userId: string;
|
|
297
296
|
readonly token: string;
|
|
297
|
+
readonly userId: string;
|
|
298
298
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
299
299
|
readonly createUserInvite: <WithResponse extends boolean = false>(request: {
|
|
300
300
|
readonly payload: {
|
|
301
301
|
readonly email: string;
|
|
302
302
|
readonly username: string;
|
|
303
|
-
readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
304
303
|
readonly displayname: string;
|
|
304
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
305
305
|
readonly originalUrl: string;
|
|
306
306
|
};
|
|
307
307
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -315,8 +315,8 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
315
315
|
readonly email: string;
|
|
316
316
|
readonly username: string;
|
|
317
317
|
readonly password?: string | undefined;
|
|
318
|
-
readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
319
318
|
readonly displayname: string;
|
|
319
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
320
320
|
readonly originalUrl: string;
|
|
321
321
|
};
|
|
322
322
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -361,8 +361,8 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
361
361
|
readonly payload: {
|
|
362
362
|
readonly mode: "basic";
|
|
363
363
|
readonly data: {
|
|
364
|
-
readonly name: string;
|
|
365
364
|
readonly url?: string | null | undefined;
|
|
365
|
+
readonly name: string;
|
|
366
366
|
readonly email?: string | null | undefined;
|
|
367
367
|
readonly avatar?: string | null | undefined;
|
|
368
368
|
readonly username: string;
|
|
@@ -436,10 +436,10 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
436
436
|
readonly id: number;
|
|
437
437
|
readonly name: string;
|
|
438
438
|
readonly slug: string;
|
|
439
|
+
readonly type: "tags";
|
|
439
440
|
readonly meta: {
|
|
440
441
|
readonly [x: string]: unknown;
|
|
441
442
|
};
|
|
442
|
-
readonly type: "tags";
|
|
443
443
|
};
|
|
444
444
|
readonly withResponse?: WithResponse | undefined;
|
|
445
445
|
} | {
|
|
@@ -449,10 +449,10 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
449
449
|
readonly id: number;
|
|
450
450
|
readonly name: string;
|
|
451
451
|
readonly slug: string;
|
|
452
|
+
readonly type: "categories";
|
|
452
453
|
readonly meta: {
|
|
453
454
|
readonly [x: string]: unknown;
|
|
454
455
|
};
|
|
455
|
-
readonly type: "categories";
|
|
456
456
|
readonly parent?: number | null | undefined;
|
|
457
457
|
};
|
|
458
458
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -464,7 +464,7 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
464
464
|
readonly taxonomyDelete: <WithResponse extends boolean = false>(request: {
|
|
465
465
|
readonly payload: {
|
|
466
466
|
readonly id: number;
|
|
467
|
-
readonly type: "
|
|
467
|
+
readonly type: "categories" | "tags";
|
|
468
468
|
};
|
|
469
469
|
readonly withResponse?: WithResponse | undefined;
|
|
470
470
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -479,10 +479,10 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
479
479
|
readonly id: number;
|
|
480
480
|
readonly name: string;
|
|
481
481
|
readonly slug: string;
|
|
482
|
+
readonly type: "tag" | "category";
|
|
482
483
|
readonly meta: {
|
|
483
484
|
readonly [x: string]: unknown;
|
|
484
485
|
};
|
|
485
|
-
readonly type: "tag" | "category";
|
|
486
486
|
readonly parent: number | null | undefined;
|
|
487
487
|
readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
|
|
488
488
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
@@ -490,10 +490,10 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
490
490
|
readonly id: number;
|
|
491
491
|
readonly name: string;
|
|
492
492
|
readonly slug: string;
|
|
493
|
+
readonly type: "tag" | "category";
|
|
493
494
|
readonly meta: {
|
|
494
495
|
readonly [x: string]: unknown;
|
|
495
496
|
};
|
|
496
|
-
readonly type: "tag" | "category";
|
|
497
497
|
readonly parent: number | null | undefined;
|
|
498
498
|
readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
|
|
499
499
|
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
@@ -526,7 +526,7 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
526
526
|
readonly payload: {
|
|
527
527
|
readonly id: string;
|
|
528
528
|
readonly emailVerified: boolean;
|
|
529
|
-
readonly rank: "
|
|
529
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
530
530
|
};
|
|
531
531
|
readonly withResponse?: WithResponse | undefined;
|
|
532
532
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -548,6 +548,13 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
548
548
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
549
549
|
};
|
|
550
550
|
readonly verifyEndpoints: {
|
|
551
|
+
readonly verifyEmail: <WithResponse extends boolean = false>(request: {
|
|
552
|
+
readonly urlParams: {
|
|
553
|
+
readonly token: string;
|
|
554
|
+
readonly userId: string;
|
|
555
|
+
};
|
|
556
|
+
readonly withResponse?: WithResponse | undefined;
|
|
557
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
551
558
|
readonly resendVerifyEmail: <WithResponse extends boolean = false>(request: {
|
|
552
559
|
readonly payload: {
|
|
553
560
|
readonly userId: string;
|
|
@@ -558,13 +565,6 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
558
565
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
559
566
|
readonly message: string;
|
|
560
567
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
561
|
-
readonly verifyEmail: <WithResponse extends boolean = false>(request: {
|
|
562
|
-
readonly urlParams: {
|
|
563
|
-
readonly userId: string;
|
|
564
|
-
readonly token: string;
|
|
565
|
-
};
|
|
566
|
-
readonly withResponse?: WithResponse | undefined;
|
|
567
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
568
568
|
readonly verifySession: <WithResponse extends boolean = false>(request: {
|
|
569
569
|
readonly payload: {
|
|
570
570
|
readonly originPathname: string;
|
|
@@ -572,7 +572,6 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
572
572
|
readonly withResponse?: WithResponse | undefined;
|
|
573
573
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
574
574
|
readonly isLoggedIn: boolean;
|
|
575
|
-
readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
576
575
|
readonly user: {
|
|
577
576
|
readonly id: string;
|
|
578
577
|
readonly name: string;
|
|
@@ -580,6 +579,7 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
580
579
|
readonly avatar: string | null;
|
|
581
580
|
readonly username: string;
|
|
582
581
|
} | null;
|
|
582
|
+
readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
583
583
|
readonly routes: {
|
|
584
584
|
readonly logout: string;
|
|
585
585
|
readonly userProfile: string;
|
|
@@ -588,7 +588,6 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
588
588
|
};
|
|
589
589
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
590
590
|
readonly isLoggedIn: boolean;
|
|
591
|
-
readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
592
591
|
readonly user: {
|
|
593
592
|
readonly id: string;
|
|
594
593
|
readonly name: string;
|
|
@@ -596,6 +595,7 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
596
595
|
readonly avatar: string | null;
|
|
597
596
|
readonly username: string;
|
|
598
597
|
} | null;
|
|
598
|
+
readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
599
599
|
readonly routes: {
|
|
600
600
|
readonly logout: string;
|
|
601
601
|
readonly userProfile: string;
|
|
@@ -626,7 +626,6 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
626
626
|
readonly withResponse?: WithResponse | undefined;
|
|
627
627
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
628
628
|
readonly id: number;
|
|
629
|
-
readonly type: "query";
|
|
630
629
|
readonly data: {
|
|
631
630
|
readonly rows: readonly {
|
|
632
631
|
readonly [x: string]: unknown;
|
|
@@ -645,9 +644,9 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
645
644
|
};
|
|
646
645
|
readonly lastInsertRowid?: number | undefined;
|
|
647
646
|
};
|
|
647
|
+
readonly type: "query";
|
|
648
648
|
} | {
|
|
649
649
|
readonly id: number;
|
|
650
|
-
readonly type: "transaction";
|
|
651
650
|
readonly data: readonly {
|
|
652
651
|
readonly rows: readonly {
|
|
653
652
|
readonly [x: string]: unknown;
|
|
@@ -666,13 +665,13 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
666
665
|
};
|
|
667
666
|
readonly lastInsertRowid?: number | undefined;
|
|
668
667
|
}[];
|
|
668
|
+
readonly type: "transaction";
|
|
669
669
|
} | {
|
|
670
|
+
readonly error: string;
|
|
670
671
|
readonly id: number;
|
|
671
672
|
readonly type: "query" | "transaction";
|
|
672
|
-
readonly error: string;
|
|
673
673
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
674
674
|
readonly id: number;
|
|
675
|
-
readonly type: "query";
|
|
676
675
|
readonly data: {
|
|
677
676
|
readonly rows: readonly {
|
|
678
677
|
readonly [x: string]: unknown;
|
|
@@ -691,9 +690,9 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
691
690
|
};
|
|
692
691
|
readonly lastInsertRowid?: number | undefined;
|
|
693
692
|
};
|
|
693
|
+
readonly type: "query";
|
|
694
694
|
} | {
|
|
695
695
|
readonly id: number;
|
|
696
|
-
readonly type: "transaction";
|
|
697
696
|
readonly data: readonly {
|
|
698
697
|
readonly rows: readonly {
|
|
699
698
|
readonly [x: string]: unknown;
|
|
@@ -712,11 +711,12 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
712
711
|
};
|
|
713
712
|
readonly lastInsertRowid?: number | undefined;
|
|
714
713
|
}[];
|
|
714
|
+
readonly type: "transaction";
|
|
715
715
|
} | {
|
|
716
|
+
readonly error: string;
|
|
716
717
|
readonly id: number;
|
|
717
718
|
readonly type: "query" | "transaction";
|
|
718
|
-
|
|
719
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@effect/platform/HttpApiError").Unauthorized | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
719
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpApiError").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
720
720
|
};
|
|
721
721
|
readonly storageManager: {
|
|
722
722
|
readonly storageManager: <WithResponse extends boolean = false>(request: {
|
|
@@ -784,13 +784,13 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
784
784
|
readonly isPermanent: boolean;
|
|
785
785
|
readonly expiresAt?: number | undefined;
|
|
786
786
|
} | {
|
|
787
|
-
readonly identifier: `storage-file://${string}`;
|
|
788
787
|
readonly url: string;
|
|
788
|
+
readonly identifier: `storage-file://${string}`;
|
|
789
789
|
readonly isPermanent: boolean;
|
|
790
790
|
readonly expiresAt?: number | undefined;
|
|
791
791
|
} | {
|
|
792
|
-
readonly key: string;
|
|
793
792
|
readonly url: string;
|
|
793
|
+
readonly key: string;
|
|
794
794
|
} | {
|
|
795
795
|
readonly files: readonly {
|
|
796
796
|
readonly key?: string | undefined;
|
|
@@ -800,8 +800,8 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
800
800
|
} | {
|
|
801
801
|
readonly success: boolean;
|
|
802
802
|
} | {
|
|
803
|
-
readonly success: boolean;
|
|
804
803
|
readonly newKey: string;
|
|
804
|
+
readonly success: boolean;
|
|
805
805
|
} | {
|
|
806
806
|
readonly url: string;
|
|
807
807
|
} | {
|
|
@@ -814,20 +814,20 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
814
814
|
}[];
|
|
815
815
|
} | {
|
|
816
816
|
readonly message: string;
|
|
817
|
-
readonly provider: string;
|
|
818
817
|
readonly success: boolean;
|
|
818
|
+
readonly provider: string;
|
|
819
819
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
820
820
|
readonly url: string;
|
|
821
821
|
readonly isPermanent: boolean;
|
|
822
822
|
readonly expiresAt?: number | undefined;
|
|
823
823
|
} | {
|
|
824
|
-
readonly identifier: `storage-file://${string}`;
|
|
825
824
|
readonly url: string;
|
|
825
|
+
readonly identifier: `storage-file://${string}`;
|
|
826
826
|
readonly isPermanent: boolean;
|
|
827
827
|
readonly expiresAt?: number | undefined;
|
|
828
828
|
} | {
|
|
829
|
-
readonly key: string;
|
|
830
829
|
readonly url: string;
|
|
830
|
+
readonly key: string;
|
|
831
831
|
} | {
|
|
832
832
|
readonly files: readonly {
|
|
833
833
|
readonly key?: string | undefined;
|
|
@@ -837,8 +837,8 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
837
837
|
} | {
|
|
838
838
|
readonly success: boolean;
|
|
839
839
|
} | {
|
|
840
|
-
readonly success: boolean;
|
|
841
840
|
readonly newKey: string;
|
|
841
|
+
readonly success: boolean;
|
|
842
842
|
} | {
|
|
843
843
|
readonly url: string;
|
|
844
844
|
} | {
|
|
@@ -851,8 +851,8 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
851
851
|
}[];
|
|
852
852
|
} | {
|
|
853
853
|
readonly message: string;
|
|
854
|
-
readonly provider: string;
|
|
855
854
|
readonly success: boolean;
|
|
855
|
+
readonly provider: string;
|
|
856
856
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
857
857
|
readonly storageManagerUpload: <WithResponse extends boolean = false>(request: {
|
|
858
858
|
readonly headers: {
|
|
@@ -861,11 +861,11 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
861
861
|
readonly payload: Uint8Array<ArrayBufferLike>;
|
|
862
862
|
readonly withResponse?: WithResponse | undefined;
|
|
863
863
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
864
|
-
readonly message: string;
|
|
865
864
|
readonly key: string;
|
|
866
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
867
865
|
readonly message: string;
|
|
866
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
868
867
|
readonly key: string;
|
|
868
|
+
readonly message: string;
|
|
869
869
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
870
870
|
};
|
|
871
871
|
}, never, never>;
|
|
@@ -874,88 +874,10 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
874
874
|
*/
|
|
875
875
|
export declare const restClient: Effect.Effect<{
|
|
876
876
|
readonly restV1Public: {
|
|
877
|
-
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
878
|
-
readonly urlParams: {
|
|
879
|
-
readonly name?: string | undefined;
|
|
880
|
-
readonly parent?: number | undefined;
|
|
881
|
-
};
|
|
882
|
-
readonly withResponse?: WithResponse | undefined;
|
|
883
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
884
|
-
readonly description: string;
|
|
885
|
-
readonly id: number;
|
|
886
|
-
readonly name: string;
|
|
887
|
-
readonly slug: string;
|
|
888
|
-
readonly meta: {
|
|
889
|
-
readonly [x: string]: unknown;
|
|
890
|
-
};
|
|
891
|
-
readonly parent?: number | null | undefined;
|
|
892
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
893
|
-
readonly description: string;
|
|
894
|
-
readonly id: number;
|
|
895
|
-
readonly name: string;
|
|
896
|
-
readonly slug: string;
|
|
897
|
-
readonly meta: {
|
|
898
|
-
readonly [x: string]: unknown;
|
|
899
|
-
};
|
|
900
|
-
readonly parent?: number | null | undefined;
|
|
901
|
-
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
902
|
-
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
903
|
-
readonly path: {
|
|
904
|
-
readonly id: number;
|
|
905
|
-
};
|
|
906
|
-
readonly withResponse?: WithResponse | undefined;
|
|
907
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
908
|
-
readonly description: string;
|
|
909
|
-
readonly id: number;
|
|
910
|
-
readonly name: string;
|
|
911
|
-
readonly slug: string;
|
|
912
|
-
readonly meta: {
|
|
913
|
-
readonly [x: string]: unknown;
|
|
914
|
-
};
|
|
915
|
-
readonly parent?: number | null | undefined;
|
|
916
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
917
|
-
readonly description: string;
|
|
918
|
-
readonly id: number;
|
|
919
|
-
readonly name: string;
|
|
920
|
-
readonly slug: string;
|
|
921
|
-
readonly meta: {
|
|
922
|
-
readonly [x: string]: unknown;
|
|
923
|
-
};
|
|
924
|
-
readonly parent?: number | null | undefined;
|
|
925
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
926
|
-
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
927
|
-
readonly urlParams: {
|
|
928
|
-
readonly name?: string | undefined;
|
|
929
|
-
readonly parent?: string | undefined;
|
|
930
|
-
};
|
|
931
|
-
readonly withResponse?: WithResponse | undefined;
|
|
932
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
933
|
-
readonly id: string;
|
|
934
|
-
readonly name: string;
|
|
935
|
-
readonly parent?: string | null | undefined;
|
|
936
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
937
|
-
readonly id: string;
|
|
938
|
-
readonly name: string;
|
|
939
|
-
readonly parent?: string | null | undefined;
|
|
940
|
-
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
941
|
-
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
942
|
-
readonly path: {
|
|
943
|
-
readonly id: string;
|
|
944
|
-
};
|
|
945
|
-
readonly withResponse?: WithResponse | undefined;
|
|
946
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
947
|
-
readonly id: string;
|
|
948
|
-
readonly name: string;
|
|
949
|
-
readonly parent?: string | null | undefined;
|
|
950
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
951
|
-
readonly id: string;
|
|
952
|
-
readonly name: string;
|
|
953
|
-
readonly parent?: string | null | undefined;
|
|
954
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
955
877
|
readonly getPages: <WithResponse extends boolean = false>(request: {
|
|
956
878
|
readonly urlParams: {
|
|
957
|
-
readonly slug?: string | undefined;
|
|
958
879
|
readonly title?: string | undefined;
|
|
880
|
+
readonly slug?: string | undefined;
|
|
959
881
|
readonly parentFolder?: string | undefined;
|
|
960
882
|
readonly author?: string | undefined;
|
|
961
883
|
};
|
|
@@ -963,8 +885,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
963
885
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
964
886
|
readonly description: string;
|
|
965
887
|
readonly id: string;
|
|
888
|
+
readonly updatedAt: Date;
|
|
889
|
+
readonly title: string;
|
|
890
|
+
readonly package: string;
|
|
891
|
+
readonly showOnNav: boolean;
|
|
892
|
+
readonly publishedAt: Date;
|
|
966
893
|
readonly slug: string;
|
|
967
|
-
readonly
|
|
894
|
+
readonly contentLang: string;
|
|
895
|
+
readonly heroImage?: string | null | undefined;
|
|
896
|
+
readonly categories: readonly {
|
|
968
897
|
readonly description: string;
|
|
969
898
|
readonly id: number;
|
|
970
899
|
readonly name: string;
|
|
@@ -972,8 +901,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
972
901
|
readonly meta: {
|
|
973
902
|
readonly [x: string]: unknown;
|
|
974
903
|
};
|
|
904
|
+
readonly parent?: number | null | undefined;
|
|
975
905
|
}[];
|
|
976
|
-
readonly
|
|
906
|
+
readonly tags: readonly {
|
|
977
907
|
readonly description: string;
|
|
978
908
|
readonly id: number;
|
|
979
909
|
readonly name: string;
|
|
@@ -981,15 +911,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
981
911
|
readonly meta: {
|
|
982
912
|
readonly [x: string]: unknown;
|
|
983
913
|
};
|
|
984
|
-
readonly parent?: number | null | undefined;
|
|
985
914
|
}[];
|
|
986
|
-
readonly title: string;
|
|
987
|
-
readonly updatedAt: Date;
|
|
988
|
-
readonly package: string;
|
|
989
|
-
readonly showOnNav: boolean;
|
|
990
|
-
readonly publishedAt: Date;
|
|
991
|
-
readonly contentLang: string;
|
|
992
|
-
readonly heroImage?: string | null | undefined;
|
|
993
915
|
readonly authorId: string;
|
|
994
916
|
readonly contributorIds: readonly string[];
|
|
995
917
|
readonly showAuthor: boolean;
|
|
@@ -1012,8 +934,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1012
934
|
readonly urlRoute: string;
|
|
1013
935
|
readonly authorData: {
|
|
1014
936
|
readonly id: string;
|
|
1015
|
-
readonly name: string;
|
|
1016
937
|
readonly url?: string | null | undefined;
|
|
938
|
+
readonly name: string;
|
|
1017
939
|
readonly avatar?: string | null | undefined;
|
|
1018
940
|
readonly username: string;
|
|
1019
941
|
readonly updatedAt: Date;
|
|
@@ -1023,8 +945,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1023
945
|
} | undefined;
|
|
1024
946
|
readonly contributorsData: readonly {
|
|
1025
947
|
readonly id: string;
|
|
1026
|
-
readonly name: string;
|
|
1027
948
|
readonly url?: string | null | undefined;
|
|
949
|
+
readonly name: string;
|
|
1028
950
|
readonly avatar?: string | null | undefined;
|
|
1029
951
|
readonly username: string;
|
|
1030
952
|
readonly updatedAt: Date;
|
|
@@ -1035,8 +957,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
1035
957
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1036
958
|
readonly description: string;
|
|
1037
959
|
readonly id: string;
|
|
960
|
+
readonly updatedAt: Date;
|
|
961
|
+
readonly title: string;
|
|
962
|
+
readonly package: string;
|
|
963
|
+
readonly showOnNav: boolean;
|
|
964
|
+
readonly publishedAt: Date;
|
|
1038
965
|
readonly slug: string;
|
|
1039
|
-
readonly
|
|
966
|
+
readonly contentLang: string;
|
|
967
|
+
readonly heroImage?: string | null | undefined;
|
|
968
|
+
readonly categories: readonly {
|
|
1040
969
|
readonly description: string;
|
|
1041
970
|
readonly id: number;
|
|
1042
971
|
readonly name: string;
|
|
@@ -1044,8 +973,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1044
973
|
readonly meta: {
|
|
1045
974
|
readonly [x: string]: unknown;
|
|
1046
975
|
};
|
|
976
|
+
readonly parent?: number | null | undefined;
|
|
1047
977
|
}[];
|
|
1048
|
-
readonly
|
|
978
|
+
readonly tags: readonly {
|
|
1049
979
|
readonly description: string;
|
|
1050
980
|
readonly id: number;
|
|
1051
981
|
readonly name: string;
|
|
@@ -1053,15 +983,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1053
983
|
readonly meta: {
|
|
1054
984
|
readonly [x: string]: unknown;
|
|
1055
985
|
};
|
|
1056
|
-
readonly parent?: number | null | undefined;
|
|
1057
986
|
}[];
|
|
1058
|
-
readonly title: string;
|
|
1059
|
-
readonly updatedAt: Date;
|
|
1060
|
-
readonly package: string;
|
|
1061
|
-
readonly showOnNav: boolean;
|
|
1062
|
-
readonly publishedAt: Date;
|
|
1063
|
-
readonly contentLang: string;
|
|
1064
|
-
readonly heroImage?: string | null | undefined;
|
|
1065
987
|
readonly authorId: string;
|
|
1066
988
|
readonly contributorIds: readonly string[];
|
|
1067
989
|
readonly showAuthor: boolean;
|
|
@@ -1084,8 +1006,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1084
1006
|
readonly urlRoute: string;
|
|
1085
1007
|
readonly authorData: {
|
|
1086
1008
|
readonly id: string;
|
|
1087
|
-
readonly name: string;
|
|
1088
1009
|
readonly url?: string | null | undefined;
|
|
1010
|
+
readonly name: string;
|
|
1089
1011
|
readonly avatar?: string | null | undefined;
|
|
1090
1012
|
readonly username: string;
|
|
1091
1013
|
readonly updatedAt: Date;
|
|
@@ -1095,8 +1017,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1095
1017
|
} | undefined;
|
|
1096
1018
|
readonly contributorsData: readonly {
|
|
1097
1019
|
readonly id: string;
|
|
1098
|
-
readonly name: string;
|
|
1099
1020
|
readonly url?: string | null | undefined;
|
|
1021
|
+
readonly name: string;
|
|
1100
1022
|
readonly avatar?: string | null | undefined;
|
|
1101
1023
|
readonly username: string;
|
|
1102
1024
|
readonly updatedAt: Date;
|
|
@@ -1113,8 +1035,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
1113
1035
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1114
1036
|
readonly description: string;
|
|
1115
1037
|
readonly id: string;
|
|
1038
|
+
readonly updatedAt: Date;
|
|
1039
|
+
readonly title: string;
|
|
1040
|
+
readonly package: string;
|
|
1041
|
+
readonly showOnNav: boolean;
|
|
1042
|
+
readonly publishedAt: Date;
|
|
1116
1043
|
readonly slug: string;
|
|
1117
|
-
readonly
|
|
1044
|
+
readonly contentLang: string;
|
|
1045
|
+
readonly heroImage?: string | null | undefined;
|
|
1046
|
+
readonly categories: readonly {
|
|
1118
1047
|
readonly description: string;
|
|
1119
1048
|
readonly id: number;
|
|
1120
1049
|
readonly name: string;
|
|
@@ -1122,8 +1051,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1122
1051
|
readonly meta: {
|
|
1123
1052
|
readonly [x: string]: unknown;
|
|
1124
1053
|
};
|
|
1054
|
+
readonly parent?: number | null | undefined;
|
|
1125
1055
|
}[];
|
|
1126
|
-
readonly
|
|
1056
|
+
readonly tags: readonly {
|
|
1127
1057
|
readonly description: string;
|
|
1128
1058
|
readonly id: number;
|
|
1129
1059
|
readonly name: string;
|
|
@@ -1131,15 +1061,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1131
1061
|
readonly meta: {
|
|
1132
1062
|
readonly [x: string]: unknown;
|
|
1133
1063
|
};
|
|
1134
|
-
readonly parent?: number | null | undefined;
|
|
1135
1064
|
}[];
|
|
1136
|
-
readonly title: string;
|
|
1137
|
-
readonly updatedAt: Date;
|
|
1138
|
-
readonly package: string;
|
|
1139
|
-
readonly showOnNav: boolean;
|
|
1140
|
-
readonly publishedAt: Date;
|
|
1141
|
-
readonly contentLang: string;
|
|
1142
|
-
readonly heroImage?: string | null | undefined;
|
|
1143
1065
|
readonly authorId: string;
|
|
1144
1066
|
readonly contributorIds: readonly string[];
|
|
1145
1067
|
readonly showAuthor: boolean;
|
|
@@ -1162,8 +1084,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1162
1084
|
readonly urlRoute: string;
|
|
1163
1085
|
readonly authorData: {
|
|
1164
1086
|
readonly id: string;
|
|
1165
|
-
readonly name: string;
|
|
1166
1087
|
readonly url?: string | null | undefined;
|
|
1088
|
+
readonly name: string;
|
|
1167
1089
|
readonly avatar?: string | null | undefined;
|
|
1168
1090
|
readonly username: string;
|
|
1169
1091
|
readonly updatedAt: Date;
|
|
@@ -1173,8 +1095,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1173
1095
|
} | undefined;
|
|
1174
1096
|
readonly contributorsData: readonly {
|
|
1175
1097
|
readonly id: string;
|
|
1176
|
-
readonly name: string;
|
|
1177
1098
|
readonly url?: string | null | undefined;
|
|
1099
|
+
readonly name: string;
|
|
1178
1100
|
readonly avatar?: string | null | undefined;
|
|
1179
1101
|
readonly username: string;
|
|
1180
1102
|
readonly updatedAt: Date;
|
|
@@ -1185,8 +1107,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
1185
1107
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1186
1108
|
readonly description: string;
|
|
1187
1109
|
readonly id: string;
|
|
1110
|
+
readonly updatedAt: Date;
|
|
1111
|
+
readonly title: string;
|
|
1112
|
+
readonly package: string;
|
|
1113
|
+
readonly showOnNav: boolean;
|
|
1114
|
+
readonly publishedAt: Date;
|
|
1188
1115
|
readonly slug: string;
|
|
1189
|
-
readonly
|
|
1116
|
+
readonly contentLang: string;
|
|
1117
|
+
readonly heroImage?: string | null | undefined;
|
|
1118
|
+
readonly categories: readonly {
|
|
1190
1119
|
readonly description: string;
|
|
1191
1120
|
readonly id: number;
|
|
1192
1121
|
readonly name: string;
|
|
@@ -1194,8 +1123,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1194
1123
|
readonly meta: {
|
|
1195
1124
|
readonly [x: string]: unknown;
|
|
1196
1125
|
};
|
|
1126
|
+
readonly parent?: number | null | undefined;
|
|
1197
1127
|
}[];
|
|
1198
|
-
readonly
|
|
1128
|
+
readonly tags: readonly {
|
|
1199
1129
|
readonly description: string;
|
|
1200
1130
|
readonly id: number;
|
|
1201
1131
|
readonly name: string;
|
|
@@ -1203,15 +1133,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1203
1133
|
readonly meta: {
|
|
1204
1134
|
readonly [x: string]: unknown;
|
|
1205
1135
|
};
|
|
1206
|
-
readonly parent?: number | null | undefined;
|
|
1207
1136
|
}[];
|
|
1208
|
-
readonly title: string;
|
|
1209
|
-
readonly updatedAt: Date;
|
|
1210
|
-
readonly package: string;
|
|
1211
|
-
readonly showOnNav: boolean;
|
|
1212
|
-
readonly publishedAt: Date;
|
|
1213
|
-
readonly contentLang: string;
|
|
1214
|
-
readonly heroImage?: string | null | undefined;
|
|
1215
1137
|
readonly authorId: string;
|
|
1216
1138
|
readonly contributorIds: readonly string[];
|
|
1217
1139
|
readonly showAuthor: boolean;
|
|
@@ -1234,8 +1156,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1234
1156
|
readonly urlRoute: string;
|
|
1235
1157
|
readonly authorData: {
|
|
1236
1158
|
readonly id: string;
|
|
1237
|
-
readonly name: string;
|
|
1238
1159
|
readonly url?: string | null | undefined;
|
|
1160
|
+
readonly name: string;
|
|
1239
1161
|
readonly avatar?: string | null | undefined;
|
|
1240
1162
|
readonly username: string;
|
|
1241
1163
|
readonly updatedAt: Date;
|
|
@@ -1245,8 +1167,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1245
1167
|
} | undefined;
|
|
1246
1168
|
readonly contributorsData: readonly {
|
|
1247
1169
|
readonly id: string;
|
|
1248
|
-
readonly name: string;
|
|
1249
1170
|
readonly url?: string | null | undefined;
|
|
1171
|
+
readonly name: string;
|
|
1250
1172
|
readonly avatar?: string | null | undefined;
|
|
1251
1173
|
readonly username: string;
|
|
1252
1174
|
readonly updatedAt: Date;
|
|
@@ -1255,9 +1177,10 @@ export declare const restClient: Effect.Effect<{
|
|
|
1255
1177
|
readonly notifications?: string | null | undefined;
|
|
1256
1178
|
}[];
|
|
1257
1179
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1258
|
-
readonly
|
|
1180
|
+
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
1259
1181
|
readonly urlParams: {
|
|
1260
1182
|
readonly name?: string | undefined;
|
|
1183
|
+
readonly parent?: number | undefined;
|
|
1261
1184
|
};
|
|
1262
1185
|
readonly withResponse?: WithResponse | undefined;
|
|
1263
1186
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
@@ -1268,6 +1191,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1268
1191
|
readonly meta: {
|
|
1269
1192
|
readonly [x: string]: unknown;
|
|
1270
1193
|
};
|
|
1194
|
+
readonly parent?: number | null | undefined;
|
|
1271
1195
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1272
1196
|
readonly description: string;
|
|
1273
1197
|
readonly id: number;
|
|
@@ -1276,8 +1200,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1276
1200
|
readonly meta: {
|
|
1277
1201
|
readonly [x: string]: unknown;
|
|
1278
1202
|
};
|
|
1203
|
+
readonly parent?: number | null | undefined;
|
|
1279
1204
|
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1280
|
-
readonly
|
|
1205
|
+
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
1281
1206
|
readonly path: {
|
|
1282
1207
|
readonly id: number;
|
|
1283
1208
|
};
|
|
@@ -1290,6 +1215,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1290
1215
|
readonly meta: {
|
|
1291
1216
|
readonly [x: string]: unknown;
|
|
1292
1217
|
};
|
|
1218
|
+
readonly parent?: number | null | undefined;
|
|
1293
1219
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1294
1220
|
readonly description: string;
|
|
1295
1221
|
readonly id: number;
|
|
@@ -1298,13 +1224,40 @@ export declare const restClient: Effect.Effect<{
|
|
|
1298
1224
|
readonly meta: {
|
|
1299
1225
|
readonly [x: string]: unknown;
|
|
1300
1226
|
};
|
|
1227
|
+
readonly parent?: number | null | undefined;
|
|
1301
1228
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1229
|
+
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
1230
|
+
readonly urlParams: {
|
|
1231
|
+
readonly name?: string | undefined;
|
|
1232
|
+
readonly parent?: string | undefined;
|
|
1233
|
+
};
|
|
1234
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1235
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
1236
|
+
readonly id: string;
|
|
1237
|
+
readonly name: string;
|
|
1238
|
+
readonly parent?: string | null | undefined;
|
|
1239
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1240
|
+
readonly id: string;
|
|
1241
|
+
readonly name: string;
|
|
1242
|
+
readonly parent?: string | null | undefined;
|
|
1243
|
+
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1244
|
+
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
1245
|
+
readonly path: {
|
|
1246
|
+
readonly id: string;
|
|
1247
|
+
};
|
|
1248
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1249
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1250
|
+
readonly id: string;
|
|
1251
|
+
readonly name: string;
|
|
1252
|
+
readonly parent?: string | null | undefined;
|
|
1253
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1254
|
+
readonly id: string;
|
|
1255
|
+
readonly name: string;
|
|
1256
|
+
readonly parent?: string | null | undefined;
|
|
1257
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1258
|
+
readonly getTags: <WithResponse extends boolean = false>(request: {
|
|
1305
1259
|
readonly urlParams: {
|
|
1306
1260
|
readonly name?: string | undefined;
|
|
1307
|
-
readonly parent?: number | undefined;
|
|
1308
1261
|
};
|
|
1309
1262
|
readonly withResponse?: WithResponse | undefined;
|
|
1310
1263
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
@@ -1315,7 +1268,6 @@ export declare const restClient: Effect.Effect<{
|
|
|
1315
1268
|
readonly meta: {
|
|
1316
1269
|
readonly [x: string]: unknown;
|
|
1317
1270
|
};
|
|
1318
|
-
readonly parent?: number | null | undefined;
|
|
1319
1271
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1320
1272
|
readonly description: string;
|
|
1321
1273
|
readonly id: number;
|
|
@@ -1324,15 +1276,10 @@ export declare const restClient: Effect.Effect<{
|
|
|
1324
1276
|
readonly meta: {
|
|
1325
1277
|
readonly [x: string]: unknown;
|
|
1326
1278
|
};
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
readonly description: string;
|
|
1332
|
-
readonly name: string;
|
|
1333
|
-
readonly slug: string;
|
|
1334
|
-
readonly meta: string;
|
|
1335
|
-
readonly parent?: number | null | undefined;
|
|
1279
|
+
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1280
|
+
readonly getTag: <WithResponse extends boolean = false>(request: {
|
|
1281
|
+
readonly path: {
|
|
1282
|
+
readonly id: number;
|
|
1336
1283
|
};
|
|
1337
1284
|
readonly withResponse?: WithResponse | undefined;
|
|
1338
1285
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -1343,7 +1290,6 @@ export declare const restClient: Effect.Effect<{
|
|
|
1343
1290
|
readonly meta: {
|
|
1344
1291
|
readonly [x: string]: unknown;
|
|
1345
1292
|
};
|
|
1346
|
-
readonly parent?: number | null | undefined;
|
|
1347
1293
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1348
1294
|
readonly description: string;
|
|
1349
1295
|
readonly id: number;
|
|
@@ -1352,7 +1298,18 @@ export declare const restClient: Effect.Effect<{
|
|
|
1352
1298
|
readonly meta: {
|
|
1353
1299
|
readonly [x: string]: unknown;
|
|
1354
1300
|
};
|
|
1355
|
-
|
|
1301
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1302
|
+
};
|
|
1303
|
+
readonly restV1: {
|
|
1304
|
+
readonly deleteCategory: <WithResponse extends boolean = false>(request: {
|
|
1305
|
+
readonly path: {
|
|
1306
|
+
readonly id: number;
|
|
1307
|
+
};
|
|
1308
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1309
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1310
|
+
readonly success: boolean;
|
|
1311
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1312
|
+
readonly success: boolean;
|
|
1356
1313
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1357
1314
|
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
1358
1315
|
readonly path: {
|
|
@@ -1412,15 +1369,58 @@ export declare const restClient: Effect.Effect<{
|
|
|
1412
1369
|
};
|
|
1413
1370
|
readonly parent?: number | null | undefined;
|
|
1414
1371
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1415
|
-
readonly
|
|
1416
|
-
readonly
|
|
1417
|
-
readonly
|
|
1372
|
+
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
1373
|
+
readonly urlParams: {
|
|
1374
|
+
readonly name?: string | undefined;
|
|
1375
|
+
readonly parent?: number | undefined;
|
|
1376
|
+
};
|
|
1377
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1378
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
1379
|
+
readonly description: string;
|
|
1380
|
+
readonly id: number;
|
|
1381
|
+
readonly name: string;
|
|
1382
|
+
readonly slug: string;
|
|
1383
|
+
readonly meta: {
|
|
1384
|
+
readonly [x: string]: unknown;
|
|
1385
|
+
};
|
|
1386
|
+
readonly parent?: number | null | undefined;
|
|
1387
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1388
|
+
readonly description: string;
|
|
1389
|
+
readonly id: number;
|
|
1390
|
+
readonly name: string;
|
|
1391
|
+
readonly slug: string;
|
|
1392
|
+
readonly meta: {
|
|
1393
|
+
readonly [x: string]: unknown;
|
|
1394
|
+
};
|
|
1395
|
+
readonly parent?: number | null | undefined;
|
|
1396
|
+
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1397
|
+
readonly createCategory: <WithResponse extends boolean = false>(request: {
|
|
1398
|
+
readonly payload: {
|
|
1399
|
+
readonly description: string;
|
|
1400
|
+
readonly name: string;
|
|
1401
|
+
readonly slug: string;
|
|
1402
|
+
readonly meta: string;
|
|
1403
|
+
readonly parent?: number | null | undefined;
|
|
1418
1404
|
};
|
|
1419
1405
|
readonly withResponse?: WithResponse | undefined;
|
|
1420
1406
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1421
|
-
readonly
|
|
1407
|
+
readonly description: string;
|
|
1408
|
+
readonly id: number;
|
|
1409
|
+
readonly name: string;
|
|
1410
|
+
readonly slug: string;
|
|
1411
|
+
readonly meta: {
|
|
1412
|
+
readonly [x: string]: unknown;
|
|
1413
|
+
};
|
|
1414
|
+
readonly parent?: number | null | undefined;
|
|
1422
1415
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1423
|
-
readonly
|
|
1416
|
+
readonly description: string;
|
|
1417
|
+
readonly id: number;
|
|
1418
|
+
readonly name: string;
|
|
1419
|
+
readonly slug: string;
|
|
1420
|
+
readonly meta: {
|
|
1421
|
+
readonly [x: string]: unknown;
|
|
1422
|
+
};
|
|
1423
|
+
readonly parent?: number | null | undefined;
|
|
1424
1424
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1425
1425
|
readonly deleteFolder: <WithResponse extends boolean = false>(request: {
|
|
1426
1426
|
readonly path: {
|
|
@@ -1504,8 +1504,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
1504
1504
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1505
1505
|
readonly description: string;
|
|
1506
1506
|
readonly id: string;
|
|
1507
|
+
readonly updatedAt: Date;
|
|
1508
|
+
readonly title: string;
|
|
1509
|
+
readonly package: string;
|
|
1510
|
+
readonly showOnNav: boolean;
|
|
1511
|
+
readonly publishedAt: Date;
|
|
1507
1512
|
readonly slug: string;
|
|
1508
|
-
readonly
|
|
1513
|
+
readonly contentLang: string;
|
|
1514
|
+
readonly heroImage?: string | null | undefined;
|
|
1515
|
+
readonly categories: readonly {
|
|
1509
1516
|
readonly description: string;
|
|
1510
1517
|
readonly id: number;
|
|
1511
1518
|
readonly name: string;
|
|
@@ -1513,8 +1520,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1513
1520
|
readonly meta: {
|
|
1514
1521
|
readonly [x: string]: unknown;
|
|
1515
1522
|
};
|
|
1523
|
+
readonly parent?: number | null | undefined;
|
|
1516
1524
|
}[];
|
|
1517
|
-
readonly
|
|
1525
|
+
readonly tags: readonly {
|
|
1518
1526
|
readonly description: string;
|
|
1519
1527
|
readonly id: number;
|
|
1520
1528
|
readonly name: string;
|
|
@@ -1522,15 +1530,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1522
1530
|
readonly meta: {
|
|
1523
1531
|
readonly [x: string]: unknown;
|
|
1524
1532
|
};
|
|
1525
|
-
readonly parent?: number | null | undefined;
|
|
1526
1533
|
}[];
|
|
1527
|
-
readonly title: string;
|
|
1528
|
-
readonly updatedAt: Date;
|
|
1529
|
-
readonly package: string;
|
|
1530
|
-
readonly showOnNav: boolean;
|
|
1531
|
-
readonly publishedAt: Date;
|
|
1532
|
-
readonly contentLang: string;
|
|
1533
|
-
readonly heroImage?: string | null | undefined;
|
|
1534
1534
|
readonly authorId: string;
|
|
1535
1535
|
readonly contributorIds: readonly string[];
|
|
1536
1536
|
readonly showAuthor: boolean;
|
|
@@ -1553,8 +1553,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1553
1553
|
readonly urlRoute: string;
|
|
1554
1554
|
readonly authorData: {
|
|
1555
1555
|
readonly id: string;
|
|
1556
|
-
readonly name: string;
|
|
1557
1556
|
readonly url?: string | null | undefined;
|
|
1557
|
+
readonly name: string;
|
|
1558
1558
|
readonly avatar?: string | null | undefined;
|
|
1559
1559
|
readonly username: string;
|
|
1560
1560
|
readonly updatedAt: Date;
|
|
@@ -1564,8 +1564,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1564
1564
|
} | undefined;
|
|
1565
1565
|
readonly contributorsData: readonly {
|
|
1566
1566
|
readonly id: string;
|
|
1567
|
-
readonly name: string;
|
|
1568
1567
|
readonly url?: string | null | undefined;
|
|
1568
|
+
readonly name: string;
|
|
1569
1569
|
readonly avatar?: string | null | undefined;
|
|
1570
1570
|
readonly username: string;
|
|
1571
1571
|
readonly updatedAt: Date;
|
|
@@ -1576,8 +1576,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
1576
1576
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1577
1577
|
readonly description: string;
|
|
1578
1578
|
readonly id: string;
|
|
1579
|
+
readonly updatedAt: Date;
|
|
1580
|
+
readonly title: string;
|
|
1581
|
+
readonly package: string;
|
|
1582
|
+
readonly showOnNav: boolean;
|
|
1583
|
+
readonly publishedAt: Date;
|
|
1579
1584
|
readonly slug: string;
|
|
1580
|
-
readonly
|
|
1585
|
+
readonly contentLang: string;
|
|
1586
|
+
readonly heroImage?: string | null | undefined;
|
|
1587
|
+
readonly categories: readonly {
|
|
1581
1588
|
readonly description: string;
|
|
1582
1589
|
readonly id: number;
|
|
1583
1590
|
readonly name: string;
|
|
@@ -1585,8 +1592,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1585
1592
|
readonly meta: {
|
|
1586
1593
|
readonly [x: string]: unknown;
|
|
1587
1594
|
};
|
|
1595
|
+
readonly parent?: number | null | undefined;
|
|
1588
1596
|
}[];
|
|
1589
|
-
readonly
|
|
1597
|
+
readonly tags: readonly {
|
|
1590
1598
|
readonly description: string;
|
|
1591
1599
|
readonly id: number;
|
|
1592
1600
|
readonly name: string;
|
|
@@ -1594,15 +1602,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1594
1602
|
readonly meta: {
|
|
1595
1603
|
readonly [x: string]: unknown;
|
|
1596
1604
|
};
|
|
1597
|
-
readonly parent?: number | null | undefined;
|
|
1598
1605
|
}[];
|
|
1599
|
-
readonly title: string;
|
|
1600
|
-
readonly updatedAt: Date;
|
|
1601
|
-
readonly package: string;
|
|
1602
|
-
readonly showOnNav: boolean;
|
|
1603
|
-
readonly publishedAt: Date;
|
|
1604
|
-
readonly contentLang: string;
|
|
1605
|
-
readonly heroImage?: string | null | undefined;
|
|
1606
1606
|
readonly authorId: string;
|
|
1607
1607
|
readonly contributorIds: readonly string[];
|
|
1608
1608
|
readonly showAuthor: boolean;
|
|
@@ -1625,8 +1625,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1625
1625
|
readonly urlRoute: string;
|
|
1626
1626
|
readonly authorData: {
|
|
1627
1627
|
readonly id: string;
|
|
1628
|
-
readonly name: string;
|
|
1629
1628
|
readonly url?: string | null | undefined;
|
|
1629
|
+
readonly name: string;
|
|
1630
1630
|
readonly avatar?: string | null | undefined;
|
|
1631
1631
|
readonly username: string;
|
|
1632
1632
|
readonly updatedAt: Date;
|
|
@@ -1636,8 +1636,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1636
1636
|
} | undefined;
|
|
1637
1637
|
readonly contributorsData: readonly {
|
|
1638
1638
|
readonly id: string;
|
|
1639
|
-
readonly name: string;
|
|
1640
1639
|
readonly url?: string | null | undefined;
|
|
1640
|
+
readonly name: string;
|
|
1641
1641
|
readonly avatar?: string | null | undefined;
|
|
1642
1642
|
readonly username: string;
|
|
1643
1643
|
readonly updatedAt: Date;
|
|
@@ -1663,16 +1663,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1663
1663
|
readonly start: {
|
|
1664
1664
|
readonly description: string;
|
|
1665
1665
|
readonly id: string;
|
|
1666
|
-
readonly slug: string;
|
|
1667
|
-
readonly tags: readonly string[];
|
|
1668
|
-
readonly categories: readonly string[];
|
|
1669
|
-
readonly title: string;
|
|
1670
1666
|
readonly updatedAt: Date;
|
|
1667
|
+
readonly title: string;
|
|
1671
1668
|
readonly package: string;
|
|
1672
1669
|
readonly showOnNav: boolean;
|
|
1673
1670
|
readonly publishedAt: Date;
|
|
1671
|
+
readonly slug: string;
|
|
1674
1672
|
readonly contentLang: string;
|
|
1675
1673
|
readonly heroImage?: string | null | undefined;
|
|
1674
|
+
readonly categories: readonly string[];
|
|
1675
|
+
readonly tags: readonly string[];
|
|
1676
1676
|
readonly authorId: string;
|
|
1677
1677
|
readonly contributorIds: readonly string[];
|
|
1678
1678
|
readonly showAuthor: boolean;
|
|
@@ -1684,16 +1684,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1684
1684
|
readonly end: {
|
|
1685
1685
|
readonly description: string;
|
|
1686
1686
|
readonly id: string;
|
|
1687
|
-
readonly slug: string;
|
|
1688
|
-
readonly tags: readonly string[];
|
|
1689
|
-
readonly categories: readonly string[];
|
|
1690
|
-
readonly title: string;
|
|
1691
1687
|
readonly updatedAt: Date;
|
|
1688
|
+
readonly title: string;
|
|
1692
1689
|
readonly package: string;
|
|
1693
1690
|
readonly showOnNav: boolean;
|
|
1694
1691
|
readonly publishedAt: Date;
|
|
1692
|
+
readonly slug: string;
|
|
1695
1693
|
readonly contentLang: string;
|
|
1696
1694
|
readonly heroImage?: string | null | undefined;
|
|
1695
|
+
readonly categories: readonly string[];
|
|
1696
|
+
readonly tags: readonly string[];
|
|
1697
1697
|
readonly authorId: string;
|
|
1698
1698
|
readonly contributorIds: readonly string[];
|
|
1699
1699
|
readonly showAuthor: boolean;
|
|
@@ -1714,16 +1714,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1714
1714
|
readonly start: {
|
|
1715
1715
|
readonly description: string;
|
|
1716
1716
|
readonly id: string;
|
|
1717
|
-
readonly slug: string;
|
|
1718
|
-
readonly tags: readonly string[];
|
|
1719
|
-
readonly categories: readonly string[];
|
|
1720
|
-
readonly title: string;
|
|
1721
1717
|
readonly updatedAt: Date;
|
|
1718
|
+
readonly title: string;
|
|
1722
1719
|
readonly package: string;
|
|
1723
1720
|
readonly showOnNav: boolean;
|
|
1724
1721
|
readonly publishedAt: Date;
|
|
1722
|
+
readonly slug: string;
|
|
1725
1723
|
readonly contentLang: string;
|
|
1726
1724
|
readonly heroImage?: string | null | undefined;
|
|
1725
|
+
readonly categories: readonly string[];
|
|
1726
|
+
readonly tags: readonly string[];
|
|
1727
1727
|
readonly authorId: string;
|
|
1728
1728
|
readonly contributorIds: readonly string[];
|
|
1729
1729
|
readonly showAuthor: boolean;
|
|
@@ -1735,16 +1735,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1735
1735
|
readonly end: {
|
|
1736
1736
|
readonly description: string;
|
|
1737
1737
|
readonly id: string;
|
|
1738
|
-
readonly slug: string;
|
|
1739
|
-
readonly tags: readonly string[];
|
|
1740
|
-
readonly categories: readonly string[];
|
|
1741
|
-
readonly title: string;
|
|
1742
1738
|
readonly updatedAt: Date;
|
|
1739
|
+
readonly title: string;
|
|
1743
1740
|
readonly package: string;
|
|
1744
1741
|
readonly showOnNav: boolean;
|
|
1745
1742
|
readonly publishedAt: Date;
|
|
1743
|
+
readonly slug: string;
|
|
1746
1744
|
readonly contentLang: string;
|
|
1747
1745
|
readonly heroImage?: string | null | undefined;
|
|
1746
|
+
readonly categories: readonly string[];
|
|
1747
|
+
readonly tags: readonly string[];
|
|
1748
1748
|
readonly authorId: string;
|
|
1749
1749
|
readonly contributorIds: readonly string[];
|
|
1750
1750
|
readonly showAuthor: boolean;
|
|
@@ -1774,16 +1774,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1774
1774
|
readonly start: {
|
|
1775
1775
|
readonly description: string;
|
|
1776
1776
|
readonly id: string;
|
|
1777
|
-
readonly slug: string;
|
|
1778
|
-
readonly tags: readonly string[];
|
|
1779
|
-
readonly categories: readonly string[];
|
|
1780
|
-
readonly title: string;
|
|
1781
1777
|
readonly updatedAt: Date;
|
|
1778
|
+
readonly title: string;
|
|
1782
1779
|
readonly package: string;
|
|
1783
1780
|
readonly showOnNav: boolean;
|
|
1784
1781
|
readonly publishedAt: Date;
|
|
1782
|
+
readonly slug: string;
|
|
1785
1783
|
readonly contentLang: string;
|
|
1786
1784
|
readonly heroImage?: string | null | undefined;
|
|
1785
|
+
readonly categories: readonly string[];
|
|
1786
|
+
readonly tags: readonly string[];
|
|
1787
1787
|
readonly authorId: string;
|
|
1788
1788
|
readonly contributorIds: readonly string[];
|
|
1789
1789
|
readonly showAuthor: boolean;
|
|
@@ -1795,16 +1795,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1795
1795
|
readonly end: {
|
|
1796
1796
|
readonly description: string;
|
|
1797
1797
|
readonly id: string;
|
|
1798
|
-
readonly slug: string;
|
|
1799
|
-
readonly tags: readonly string[];
|
|
1800
|
-
readonly categories: readonly string[];
|
|
1801
|
-
readonly title: string;
|
|
1802
1798
|
readonly updatedAt: Date;
|
|
1799
|
+
readonly title: string;
|
|
1803
1800
|
readonly package: string;
|
|
1804
1801
|
readonly showOnNav: boolean;
|
|
1805
1802
|
readonly publishedAt: Date;
|
|
1803
|
+
readonly slug: string;
|
|
1806
1804
|
readonly contentLang: string;
|
|
1807
1805
|
readonly heroImage?: string | null | undefined;
|
|
1806
|
+
readonly categories: readonly string[];
|
|
1807
|
+
readonly tags: readonly string[];
|
|
1808
1808
|
readonly authorId: string;
|
|
1809
1809
|
readonly contributorIds: readonly string[];
|
|
1810
1810
|
readonly showAuthor: boolean;
|
|
@@ -1825,16 +1825,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1825
1825
|
readonly start: {
|
|
1826
1826
|
readonly description: string;
|
|
1827
1827
|
readonly id: string;
|
|
1828
|
-
readonly slug: string;
|
|
1829
|
-
readonly tags: readonly string[];
|
|
1830
|
-
readonly categories: readonly string[];
|
|
1831
|
-
readonly title: string;
|
|
1832
1828
|
readonly updatedAt: Date;
|
|
1829
|
+
readonly title: string;
|
|
1833
1830
|
readonly package: string;
|
|
1834
1831
|
readonly showOnNav: boolean;
|
|
1835
1832
|
readonly publishedAt: Date;
|
|
1833
|
+
readonly slug: string;
|
|
1836
1834
|
readonly contentLang: string;
|
|
1837
1835
|
readonly heroImage?: string | null | undefined;
|
|
1836
|
+
readonly categories: readonly string[];
|
|
1837
|
+
readonly tags: readonly string[];
|
|
1838
1838
|
readonly authorId: string;
|
|
1839
1839
|
readonly contributorIds: readonly string[];
|
|
1840
1840
|
readonly showAuthor: boolean;
|
|
@@ -1846,16 +1846,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1846
1846
|
readonly end: {
|
|
1847
1847
|
readonly description: string;
|
|
1848
1848
|
readonly id: string;
|
|
1849
|
-
readonly slug: string;
|
|
1850
|
-
readonly tags: readonly string[];
|
|
1851
|
-
readonly categories: readonly string[];
|
|
1852
|
-
readonly title: string;
|
|
1853
1849
|
readonly updatedAt: Date;
|
|
1850
|
+
readonly title: string;
|
|
1854
1851
|
readonly package: string;
|
|
1855
1852
|
readonly showOnNav: boolean;
|
|
1856
1853
|
readonly publishedAt: Date;
|
|
1854
|
+
readonly slug: string;
|
|
1857
1855
|
readonly contentLang: string;
|
|
1858
1856
|
readonly heroImage?: string | null | undefined;
|
|
1857
|
+
readonly categories: readonly string[];
|
|
1858
|
+
readonly tags: readonly string[];
|
|
1859
1859
|
readonly authorId: string;
|
|
1860
1860
|
readonly contributorIds: readonly string[];
|
|
1861
1861
|
readonly showAuthor: boolean;
|
|
@@ -1874,16 +1874,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
1874
1874
|
readonly data?: {
|
|
1875
1875
|
readonly description?: string | undefined;
|
|
1876
1876
|
readonly id?: string | undefined;
|
|
1877
|
-
readonly slug?: string | undefined;
|
|
1878
|
-
readonly tags?: readonly string[] | undefined;
|
|
1879
|
-
readonly categories?: readonly string[] | undefined;
|
|
1880
|
-
readonly title?: string | undefined;
|
|
1881
1877
|
readonly updatedAt?: Date | undefined;
|
|
1878
|
+
readonly title?: string | undefined;
|
|
1882
1879
|
readonly package?: string | undefined;
|
|
1883
1880
|
readonly showOnNav?: boolean | undefined;
|
|
1884
1881
|
readonly publishedAt?: Date | undefined;
|
|
1882
|
+
readonly slug?: string | undefined;
|
|
1885
1883
|
readonly contentLang?: string | undefined;
|
|
1886
1884
|
readonly heroImage?: string | null | undefined;
|
|
1885
|
+
readonly categories?: readonly string[] | undefined;
|
|
1886
|
+
readonly tags?: readonly string[] | undefined;
|
|
1887
1887
|
readonly authorId?: string | undefined;
|
|
1888
1888
|
readonly contributorIds?: readonly string[] | undefined;
|
|
1889
1889
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -1907,8 +1907,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1907
1907
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
1908
1908
|
readonly getPages: <WithResponse extends boolean = false>(request: {
|
|
1909
1909
|
readonly urlParams: {
|
|
1910
|
-
readonly slug?: string | undefined;
|
|
1911
1910
|
readonly title?: string | undefined;
|
|
1911
|
+
readonly slug?: string | undefined;
|
|
1912
1912
|
readonly parentFolder?: string | undefined;
|
|
1913
1913
|
readonly draft?: boolean | undefined;
|
|
1914
1914
|
readonly author?: string | undefined;
|
|
@@ -1918,8 +1918,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
1918
1918
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
1919
1919
|
readonly description: string;
|
|
1920
1920
|
readonly id: string;
|
|
1921
|
+
readonly updatedAt: Date;
|
|
1922
|
+
readonly title: string;
|
|
1923
|
+
readonly package: string;
|
|
1924
|
+
readonly showOnNav: boolean;
|
|
1925
|
+
readonly publishedAt: Date;
|
|
1921
1926
|
readonly slug: string;
|
|
1922
|
-
readonly
|
|
1927
|
+
readonly contentLang: string;
|
|
1928
|
+
readonly heroImage?: string | null | undefined;
|
|
1929
|
+
readonly categories: readonly {
|
|
1923
1930
|
readonly description: string;
|
|
1924
1931
|
readonly id: number;
|
|
1925
1932
|
readonly name: string;
|
|
@@ -1927,8 +1934,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1927
1934
|
readonly meta: {
|
|
1928
1935
|
readonly [x: string]: unknown;
|
|
1929
1936
|
};
|
|
1937
|
+
readonly parent?: number | null | undefined;
|
|
1930
1938
|
}[];
|
|
1931
|
-
readonly
|
|
1939
|
+
readonly tags: readonly {
|
|
1932
1940
|
readonly description: string;
|
|
1933
1941
|
readonly id: number;
|
|
1934
1942
|
readonly name: string;
|
|
@@ -1936,15 +1944,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
1936
1944
|
readonly meta: {
|
|
1937
1945
|
readonly [x: string]: unknown;
|
|
1938
1946
|
};
|
|
1939
|
-
readonly parent?: number | null | undefined;
|
|
1940
1947
|
}[];
|
|
1941
|
-
readonly title: string;
|
|
1942
|
-
readonly updatedAt: Date;
|
|
1943
|
-
readonly package: string;
|
|
1944
|
-
readonly showOnNav: boolean;
|
|
1945
|
-
readonly publishedAt: Date;
|
|
1946
|
-
readonly contentLang: string;
|
|
1947
|
-
readonly heroImage?: string | null | undefined;
|
|
1948
1948
|
readonly authorId: string;
|
|
1949
1949
|
readonly contributorIds: readonly string[];
|
|
1950
1950
|
readonly showAuthor: boolean;
|
|
@@ -1967,8 +1967,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1967
1967
|
readonly urlRoute: string;
|
|
1968
1968
|
readonly authorData: {
|
|
1969
1969
|
readonly id: string;
|
|
1970
|
-
readonly name: string;
|
|
1971
1970
|
readonly url?: string | null | undefined;
|
|
1971
|
+
readonly name: string;
|
|
1972
1972
|
readonly avatar?: string | null | undefined;
|
|
1973
1973
|
readonly username: string;
|
|
1974
1974
|
readonly updatedAt: Date;
|
|
@@ -1978,8 +1978,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1978
1978
|
} | undefined;
|
|
1979
1979
|
readonly contributorsData: readonly {
|
|
1980
1980
|
readonly id: string;
|
|
1981
|
-
readonly name: string;
|
|
1982
1981
|
readonly url?: string | null | undefined;
|
|
1982
|
+
readonly name: string;
|
|
1983
1983
|
readonly avatar?: string | null | undefined;
|
|
1984
1984
|
readonly username: string;
|
|
1985
1985
|
readonly updatedAt: Date;
|
|
@@ -1990,8 +1990,15 @@ export declare const restClient: Effect.Effect<{
|
|
|
1990
1990
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1991
1991
|
readonly description: string;
|
|
1992
1992
|
readonly id: string;
|
|
1993
|
+
readonly updatedAt: Date;
|
|
1994
|
+
readonly title: string;
|
|
1995
|
+
readonly package: string;
|
|
1996
|
+
readonly showOnNav: boolean;
|
|
1997
|
+
readonly publishedAt: Date;
|
|
1993
1998
|
readonly slug: string;
|
|
1994
|
-
readonly
|
|
1999
|
+
readonly contentLang: string;
|
|
2000
|
+
readonly heroImage?: string | null | undefined;
|
|
2001
|
+
readonly categories: readonly {
|
|
1995
2002
|
readonly description: string;
|
|
1996
2003
|
readonly id: number;
|
|
1997
2004
|
readonly name: string;
|
|
@@ -1999,8 +2006,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
1999
2006
|
readonly meta: {
|
|
2000
2007
|
readonly [x: string]: unknown;
|
|
2001
2008
|
};
|
|
2009
|
+
readonly parent?: number | null | undefined;
|
|
2002
2010
|
}[];
|
|
2003
|
-
readonly
|
|
2011
|
+
readonly tags: readonly {
|
|
2004
2012
|
readonly description: string;
|
|
2005
2013
|
readonly id: number;
|
|
2006
2014
|
readonly name: string;
|
|
@@ -2008,15 +2016,7 @@ export declare const restClient: Effect.Effect<{
|
|
|
2008
2016
|
readonly meta: {
|
|
2009
2017
|
readonly [x: string]: unknown;
|
|
2010
2018
|
};
|
|
2011
|
-
readonly parent?: number | null | undefined;
|
|
2012
2019
|
}[];
|
|
2013
|
-
readonly title: string;
|
|
2014
|
-
readonly updatedAt: Date;
|
|
2015
|
-
readonly package: string;
|
|
2016
|
-
readonly showOnNav: boolean;
|
|
2017
|
-
readonly publishedAt: Date;
|
|
2018
|
-
readonly contentLang: string;
|
|
2019
|
-
readonly heroImage?: string | null | undefined;
|
|
2020
2020
|
readonly authorId: string;
|
|
2021
2021
|
readonly contributorIds: readonly string[];
|
|
2022
2022
|
readonly showAuthor: boolean;
|
|
@@ -2039,8 +2039,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2039
2039
|
readonly urlRoute: string;
|
|
2040
2040
|
readonly authorData: {
|
|
2041
2041
|
readonly id: string;
|
|
2042
|
-
readonly name: string;
|
|
2043
2042
|
readonly url?: string | null | undefined;
|
|
2043
|
+
readonly name: string;
|
|
2044
2044
|
readonly avatar?: string | null | undefined;
|
|
2045
2045
|
readonly username: string;
|
|
2046
2046
|
readonly updatedAt: Date;
|
|
@@ -2050,8 +2050,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2050
2050
|
} | undefined;
|
|
2051
2051
|
readonly contributorsData: readonly {
|
|
2052
2052
|
readonly id: string;
|
|
2053
|
-
readonly name: string;
|
|
2054
2053
|
readonly url?: string | null | undefined;
|
|
2054
|
+
readonly name: string;
|
|
2055
2055
|
readonly avatar?: string | null | undefined;
|
|
2056
2056
|
readonly username: string;
|
|
2057
2057
|
readonly updatedAt: Date;
|
|
@@ -2065,16 +2065,16 @@ export declare const restClient: Effect.Effect<{
|
|
|
2065
2065
|
readonly data?: {
|
|
2066
2066
|
readonly description?: string | undefined;
|
|
2067
2067
|
readonly id?: string | undefined;
|
|
2068
|
-
readonly slug?: string | undefined;
|
|
2069
|
-
readonly tags?: readonly string[] | undefined;
|
|
2070
|
-
readonly categories?: readonly string[] | undefined;
|
|
2071
|
-
readonly title?: string | undefined;
|
|
2072
2068
|
readonly updatedAt?: Date | undefined;
|
|
2069
|
+
readonly title?: string | undefined;
|
|
2073
2070
|
readonly package?: string | undefined;
|
|
2074
2071
|
readonly showOnNav?: boolean | undefined;
|
|
2075
2072
|
readonly publishedAt?: Date | undefined;
|
|
2073
|
+
readonly slug?: string | undefined;
|
|
2076
2074
|
readonly contentLang?: string | undefined;
|
|
2077
2075
|
readonly heroImage?: string | null | undefined;
|
|
2076
|
+
readonly categories?: readonly string[] | undefined;
|
|
2077
|
+
readonly tags?: readonly string[] | undefined;
|
|
2078
2078
|
readonly authorId?: string | undefined;
|
|
2079
2079
|
readonly contributorIds?: readonly string[] | undefined;
|
|
2080
2080
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -2223,8 +2223,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2223
2223
|
readonly withResponse?: WithResponse | undefined;
|
|
2224
2224
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
2225
2225
|
readonly id: string;
|
|
2226
|
-
readonly name: string;
|
|
2227
2226
|
readonly url?: string | null | undefined;
|
|
2227
|
+
readonly name: string;
|
|
2228
2228
|
readonly email?: string | null | undefined;
|
|
2229
2229
|
readonly avatar?: string | null | undefined;
|
|
2230
2230
|
readonly username: string;
|
|
@@ -2232,8 +2232,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2232
2232
|
readonly createdAt: Date;
|
|
2233
2233
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2234
2234
|
readonly id: string;
|
|
2235
|
-
readonly name: string;
|
|
2236
2235
|
readonly url?: string | null | undefined;
|
|
2236
|
+
readonly name: string;
|
|
2237
2237
|
readonly email?: string | null | undefined;
|
|
2238
2238
|
readonly avatar?: string | null | undefined;
|
|
2239
2239
|
readonly username: string;
|
|
@@ -2248,8 +2248,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2248
2248
|
readonly withResponse?: WithResponse | undefined;
|
|
2249
2249
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
2250
2250
|
readonly id: string;
|
|
2251
|
-
readonly name: string;
|
|
2252
2251
|
readonly url?: string | null | undefined;
|
|
2252
|
+
readonly name: string;
|
|
2253
2253
|
readonly email?: string | null | undefined;
|
|
2254
2254
|
readonly avatar?: string | null | undefined;
|
|
2255
2255
|
readonly username: string;
|
|
@@ -2257,8 +2257,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2257
2257
|
readonly createdAt: Date;
|
|
2258
2258
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2259
2259
|
readonly id: string;
|
|
2260
|
-
readonly name: string;
|
|
2261
2260
|
readonly url?: string | null | undefined;
|
|
2261
|
+
readonly name: string;
|
|
2262
2262
|
readonly email?: string | null | undefined;
|
|
2263
2263
|
readonly avatar?: string | null | undefined;
|
|
2264
2264
|
readonly username: string;
|
|
@@ -2274,8 +2274,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2274
2274
|
readonly withResponse?: WithResponse | undefined;
|
|
2275
2275
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
2276
2276
|
readonly id: string;
|
|
2277
|
-
readonly name: string;
|
|
2278
2277
|
readonly url?: string | null | undefined;
|
|
2278
|
+
readonly name: string;
|
|
2279
2279
|
readonly email?: string | null | undefined;
|
|
2280
2280
|
readonly avatar?: string | null | undefined;
|
|
2281
2281
|
readonly username: string;
|
|
@@ -2283,8 +2283,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2283
2283
|
readonly createdAt: Date;
|
|
2284
2284
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
2285
2285
|
readonly id: string;
|
|
2286
|
-
readonly name: string;
|
|
2287
2286
|
readonly url?: string | null | undefined;
|
|
2287
|
+
readonly name: string;
|
|
2288
2288
|
readonly email?: string | null | undefined;
|
|
2289
2289
|
readonly avatar?: string | null | undefined;
|
|
2290
2290
|
readonly username: string;
|
|
@@ -2296,8 +2296,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2296
2296
|
readonly withResponse?: WithResponse | undefined;
|
|
2297
2297
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
2298
2298
|
readonly id: string;
|
|
2299
|
-
readonly name: string;
|
|
2300
2299
|
readonly url?: string | null | undefined;
|
|
2300
|
+
readonly name: string;
|
|
2301
2301
|
readonly email?: string | null | undefined;
|
|
2302
2302
|
readonly avatar?: string | null | undefined;
|
|
2303
2303
|
readonly username: string;
|
|
@@ -2305,8 +2305,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2305
2305
|
readonly createdAt: Date;
|
|
2306
2306
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2307
2307
|
readonly id: string;
|
|
2308
|
-
readonly name: string;
|
|
2309
2308
|
readonly url?: string | null | undefined;
|
|
2309
|
+
readonly name: string;
|
|
2310
2310
|
readonly email?: string | null | undefined;
|
|
2311
2311
|
readonly avatar?: string | null | undefined;
|
|
2312
2312
|
readonly username: string;
|
|
@@ -2319,8 +2319,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2319
2319
|
readonly id: string;
|
|
2320
2320
|
readonly data: {
|
|
2321
2321
|
readonly description: string;
|
|
2322
|
-
readonly title: string;
|
|
2323
2322
|
readonly _config_version: string;
|
|
2323
|
+
readonly title: string;
|
|
2324
2324
|
readonly defaultOgImage?: string | null | undefined;
|
|
2325
2325
|
readonly siteIcon?: string | null | undefined;
|
|
2326
2326
|
readonly loginPageBackground?: string | undefined;
|
|
@@ -2334,8 +2334,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2334
2334
|
readonly id: string;
|
|
2335
2335
|
readonly data: {
|
|
2336
2336
|
readonly description: string;
|
|
2337
|
-
readonly title: string;
|
|
2338
2337
|
readonly _config_version: string;
|
|
2338
|
+
readonly title: string;
|
|
2339
2339
|
readonly defaultOgImage?: string | null | undefined;
|
|
2340
2340
|
readonly siteIcon?: string | null | undefined;
|
|
2341
2341
|
readonly loginPageBackground?: string | undefined;
|
|
@@ -2349,8 +2349,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
2349
2349
|
readonly updateSettings: <WithResponse extends boolean = false>(request: {
|
|
2350
2350
|
readonly payload: {
|
|
2351
2351
|
description: string;
|
|
2352
|
-
title: string;
|
|
2353
2352
|
_config_version: string;
|
|
2353
|
+
title: string;
|
|
2354
2354
|
defaultOgImage?: string | null | undefined;
|
|
2355
2355
|
siteIcon?: string | null | undefined;
|
|
2356
2356
|
loginPageBackground?: string | undefined;
|
|
@@ -2396,8 +2396,8 @@ export declare const sdkClient: Effect.Effect<{
|
|
|
2396
2396
|
readonly avatar?: string | null | undefined;
|
|
2397
2397
|
readonly username: string;
|
|
2398
2398
|
readonly permissionsData: {
|
|
2399
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
2399
2400
|
readonly user: string;
|
|
2400
|
-
readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
2401
2401
|
} | undefined;
|
|
2402
2402
|
}[];
|
|
2403
2403
|
readonly searchQuery?: string | undefined;
|
|
@@ -2454,7 +2454,7 @@ export declare const apiClients: {
|
|
|
2454
2454
|
readonly message: string;
|
|
2455
2455
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2456
2456
|
readonly message: string;
|
|
2457
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
2457
|
+
}, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2458
2458
|
readonly login: <WithResponse extends boolean = false>(request: {
|
|
2459
2459
|
readonly payload: {
|
|
2460
2460
|
readonly username: string;
|
|
@@ -2465,10 +2465,10 @@ export declare const apiClients: {
|
|
|
2465
2465
|
readonly ok: boolean;
|
|
2466
2466
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2467
2467
|
readonly ok: boolean;
|
|
2468
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
2468
|
+
}, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2469
2469
|
readonly logout: <WithResponse extends boolean = false>(request: void | {
|
|
2470
2470
|
readonly withResponse?: WithResponse | undefined;
|
|
2471
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
2471
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2472
2472
|
readonly register: <WithResponse extends boolean = false>(request: {
|
|
2473
2473
|
readonly payload: {
|
|
2474
2474
|
readonly email: string;
|
|
@@ -2481,7 +2481,7 @@ export declare const apiClients: {
|
|
|
2481
2481
|
readonly ok: boolean;
|
|
2482
2482
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2483
2483
|
readonly ok: boolean;
|
|
2484
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
2484
|
+
}, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2485
2485
|
};
|
|
2486
2486
|
readonly oauth: {
|
|
2487
2487
|
readonly oAuthInit: <WithResponse extends boolean = false>(request: {
|
|
@@ -2489,13 +2489,13 @@ export declare const apiClients: {
|
|
|
2489
2489
|
readonly provider: string;
|
|
2490
2490
|
};
|
|
2491
2491
|
readonly withResponse?: WithResponse | undefined;
|
|
2492
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
2492
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2493
2493
|
readonly oAuthCallback: <WithResponse extends boolean = false>(request: {
|
|
2494
2494
|
readonly path: {
|
|
2495
2495
|
readonly provider: string;
|
|
2496
2496
|
};
|
|
2497
2497
|
readonly withResponse?: WithResponse | undefined;
|
|
2498
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound |
|
|
2498
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2499
2499
|
};
|
|
2500
2500
|
}, never, never>;
|
|
2501
2501
|
dashboard: Effect.Effect<{
|
|
@@ -2557,16 +2557,16 @@ export declare const apiClients: {
|
|
|
2557
2557
|
readonly createPage: <WithResponse extends boolean = false>(request: {
|
|
2558
2558
|
readonly payload: {
|
|
2559
2559
|
readonly description?: string | undefined;
|
|
2560
|
-
readonly slug?: string | undefined;
|
|
2561
|
-
readonly tags?: readonly string[] | undefined;
|
|
2562
|
-
readonly categories?: readonly string[] | undefined;
|
|
2563
|
-
readonly title?: string | undefined;
|
|
2564
2560
|
readonly updatedAt?: Date | undefined;
|
|
2561
|
+
readonly title?: string | undefined;
|
|
2565
2562
|
readonly package?: string | undefined;
|
|
2566
2563
|
readonly showOnNav?: boolean | undefined;
|
|
2567
2564
|
readonly publishedAt?: Date | undefined;
|
|
2565
|
+
readonly slug?: string | undefined;
|
|
2568
2566
|
readonly contentLang?: string | undefined;
|
|
2569
2567
|
readonly heroImage?: string | null | undefined;
|
|
2568
|
+
readonly categories?: readonly string[] | undefined;
|
|
2569
|
+
readonly tags?: readonly string[] | undefined;
|
|
2570
2570
|
readonly authorId?: string | undefined;
|
|
2571
2571
|
readonly contributorIds?: readonly string[] | undefined;
|
|
2572
2572
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -2585,17 +2585,17 @@ export declare const apiClients: {
|
|
|
2585
2585
|
readonly payload: {
|
|
2586
2586
|
readonly description?: string | undefined;
|
|
2587
2587
|
readonly id: string;
|
|
2588
|
-
readonly slug?: string | undefined;
|
|
2589
|
-
readonly tags?: readonly string[] | undefined;
|
|
2590
|
-
readonly categories?: readonly string[] | undefined;
|
|
2591
|
-
readonly title?: string | undefined;
|
|
2592
2588
|
readonly updatedAt?: Date | undefined;
|
|
2589
|
+
readonly title?: string | undefined;
|
|
2593
2590
|
readonly content: string;
|
|
2594
2591
|
readonly package?: string | undefined;
|
|
2595
2592
|
readonly showOnNav?: boolean | undefined;
|
|
2596
2593
|
readonly publishedAt?: Date | undefined;
|
|
2594
|
+
readonly slug?: string | undefined;
|
|
2597
2595
|
readonly contentLang?: string | undefined;
|
|
2598
2596
|
readonly heroImage?: string | null | undefined;
|
|
2597
|
+
readonly categories?: readonly string[] | undefined;
|
|
2598
|
+
readonly tags?: readonly string[] | undefined;
|
|
2599
2599
|
readonly authorId?: string | undefined;
|
|
2600
2600
|
readonly contributorIds?: readonly string[] | undefined;
|
|
2601
2601
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -2726,19 +2726,19 @@ export declare const apiClients: {
|
|
|
2726
2726
|
readonly withResponse?: WithResponse | undefined;
|
|
2727
2727
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
2728
2728
|
readonly id: string;
|
|
2729
|
-
readonly userId: string;
|
|
2730
2729
|
readonly token: string;
|
|
2730
|
+
readonly userId: string;
|
|
2731
2731
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2732
2732
|
readonly id: string;
|
|
2733
|
-
readonly userId: string;
|
|
2734
2733
|
readonly token: string;
|
|
2734
|
+
readonly userId: string;
|
|
2735
2735
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2736
2736
|
readonly createUserInvite: <WithResponse extends boolean = false>(request: {
|
|
2737
2737
|
readonly payload: {
|
|
2738
2738
|
readonly email: string;
|
|
2739
2739
|
readonly username: string;
|
|
2740
|
-
readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
2741
2740
|
readonly displayname: string;
|
|
2741
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
2742
2742
|
readonly originalUrl: string;
|
|
2743
2743
|
};
|
|
2744
2744
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -2752,8 +2752,8 @@ export declare const apiClients: {
|
|
|
2752
2752
|
readonly email: string;
|
|
2753
2753
|
readonly username: string;
|
|
2754
2754
|
readonly password?: string | undefined;
|
|
2755
|
-
readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
2756
2755
|
readonly displayname: string;
|
|
2756
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
2757
2757
|
readonly originalUrl: string;
|
|
2758
2758
|
};
|
|
2759
2759
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -2798,8 +2798,8 @@ export declare const apiClients: {
|
|
|
2798
2798
|
readonly payload: {
|
|
2799
2799
|
readonly mode: "basic";
|
|
2800
2800
|
readonly data: {
|
|
2801
|
-
readonly name: string;
|
|
2802
2801
|
readonly url?: string | null | undefined;
|
|
2802
|
+
readonly name: string;
|
|
2803
2803
|
readonly email?: string | null | undefined;
|
|
2804
2804
|
readonly avatar?: string | null | undefined;
|
|
2805
2805
|
readonly username: string;
|
|
@@ -2873,10 +2873,10 @@ export declare const apiClients: {
|
|
|
2873
2873
|
readonly id: number;
|
|
2874
2874
|
readonly name: string;
|
|
2875
2875
|
readonly slug: string;
|
|
2876
|
+
readonly type: "tags";
|
|
2876
2877
|
readonly meta: {
|
|
2877
2878
|
readonly [x: string]: unknown;
|
|
2878
2879
|
};
|
|
2879
|
-
readonly type: "tags";
|
|
2880
2880
|
};
|
|
2881
2881
|
readonly withResponse?: WithResponse | undefined;
|
|
2882
2882
|
} | {
|
|
@@ -2886,10 +2886,10 @@ export declare const apiClients: {
|
|
|
2886
2886
|
readonly id: number;
|
|
2887
2887
|
readonly name: string;
|
|
2888
2888
|
readonly slug: string;
|
|
2889
|
+
readonly type: "categories";
|
|
2889
2890
|
readonly meta: {
|
|
2890
2891
|
readonly [x: string]: unknown;
|
|
2891
2892
|
};
|
|
2892
|
-
readonly type: "categories";
|
|
2893
2893
|
readonly parent?: number | null | undefined;
|
|
2894
2894
|
};
|
|
2895
2895
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -2901,7 +2901,7 @@ export declare const apiClients: {
|
|
|
2901
2901
|
readonly taxonomyDelete: <WithResponse extends boolean = false>(request: {
|
|
2902
2902
|
readonly payload: {
|
|
2903
2903
|
readonly id: number;
|
|
2904
|
-
readonly type: "
|
|
2904
|
+
readonly type: "categories" | "tags";
|
|
2905
2905
|
};
|
|
2906
2906
|
readonly withResponse?: WithResponse | undefined;
|
|
2907
2907
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -2916,10 +2916,10 @@ export declare const apiClients: {
|
|
|
2916
2916
|
readonly id: number;
|
|
2917
2917
|
readonly name: string;
|
|
2918
2918
|
readonly slug: string;
|
|
2919
|
+
readonly type: "tag" | "category";
|
|
2919
2920
|
readonly meta: {
|
|
2920
2921
|
readonly [x: string]: unknown;
|
|
2921
2922
|
};
|
|
2922
|
-
readonly type: "tag" | "category";
|
|
2923
2923
|
readonly parent: number | null | undefined;
|
|
2924
2924
|
readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
|
|
2925
2925
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
@@ -2927,10 +2927,10 @@ export declare const apiClients: {
|
|
|
2927
2927
|
readonly id: number;
|
|
2928
2928
|
readonly name: string;
|
|
2929
2929
|
readonly slug: string;
|
|
2930
|
+
readonly type: "tag" | "category";
|
|
2930
2931
|
readonly meta: {
|
|
2931
2932
|
readonly [x: string]: unknown;
|
|
2932
2933
|
};
|
|
2933
|
-
readonly type: "tag" | "category";
|
|
2934
2934
|
readonly parent: number | null | undefined;
|
|
2935
2935
|
readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
|
|
2936
2936
|
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
@@ -2963,7 +2963,7 @@ export declare const apiClients: {
|
|
|
2963
2963
|
readonly payload: {
|
|
2964
2964
|
readonly id: string;
|
|
2965
2965
|
readonly emailVerified: boolean;
|
|
2966
|
-
readonly rank: "
|
|
2966
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
2967
2967
|
};
|
|
2968
2968
|
readonly withResponse?: WithResponse | undefined;
|
|
2969
2969
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -2985,6 +2985,13 @@ export declare const apiClients: {
|
|
|
2985
2985
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2986
2986
|
};
|
|
2987
2987
|
readonly verifyEndpoints: {
|
|
2988
|
+
readonly verifyEmail: <WithResponse extends boolean = false>(request: {
|
|
2989
|
+
readonly urlParams: {
|
|
2990
|
+
readonly token: string;
|
|
2991
|
+
readonly userId: string;
|
|
2992
|
+
};
|
|
2993
|
+
readonly withResponse?: WithResponse | undefined;
|
|
2994
|
+
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2988
2995
|
readonly resendVerifyEmail: <WithResponse extends boolean = false>(request: {
|
|
2989
2996
|
readonly payload: {
|
|
2990
2997
|
readonly userId: string;
|
|
@@ -2995,13 +3002,6 @@ export declare const apiClients: {
|
|
|
2995
3002
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
2996
3003
|
readonly message: string;
|
|
2997
3004
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
2998
|
-
readonly verifyEmail: <WithResponse extends boolean = false>(request: {
|
|
2999
|
-
readonly urlParams: {
|
|
3000
|
-
readonly userId: string;
|
|
3001
|
-
readonly token: string;
|
|
3002
|
-
};
|
|
3003
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3004
|
-
}) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3005
3005
|
readonly verifySession: <WithResponse extends boolean = false>(request: {
|
|
3006
3006
|
readonly payload: {
|
|
3007
3007
|
readonly originPathname: string;
|
|
@@ -3009,7 +3009,6 @@ export declare const apiClients: {
|
|
|
3009
3009
|
readonly withResponse?: WithResponse | undefined;
|
|
3010
3010
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3011
3011
|
readonly isLoggedIn: boolean;
|
|
3012
|
-
readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
3013
3012
|
readonly user: {
|
|
3014
3013
|
readonly id: string;
|
|
3015
3014
|
readonly name: string;
|
|
@@ -3017,6 +3016,7 @@ export declare const apiClients: {
|
|
|
3017
3016
|
readonly avatar: string | null;
|
|
3018
3017
|
readonly username: string;
|
|
3019
3018
|
} | null;
|
|
3019
|
+
readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
3020
3020
|
readonly routes: {
|
|
3021
3021
|
readonly logout: string;
|
|
3022
3022
|
readonly userProfile: string;
|
|
@@ -3025,7 +3025,6 @@ export declare const apiClients: {
|
|
|
3025
3025
|
};
|
|
3026
3026
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3027
3027
|
readonly isLoggedIn: boolean;
|
|
3028
|
-
readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
3029
3028
|
readonly user: {
|
|
3030
3029
|
readonly id: string;
|
|
3031
3030
|
readonly name: string;
|
|
@@ -3033,6 +3032,7 @@ export declare const apiClients: {
|
|
|
3033
3032
|
readonly avatar: string | null;
|
|
3034
3033
|
readonly username: string;
|
|
3035
3034
|
} | null;
|
|
3035
|
+
readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
3036
3036
|
readonly routes: {
|
|
3037
3037
|
readonly logout: string;
|
|
3038
3038
|
readonly userProfile: string;
|
|
@@ -3060,7 +3060,6 @@ export declare const apiClients: {
|
|
|
3060
3060
|
readonly withResponse?: WithResponse | undefined;
|
|
3061
3061
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3062
3062
|
readonly id: number;
|
|
3063
|
-
readonly type: "query";
|
|
3064
3063
|
readonly data: {
|
|
3065
3064
|
readonly rows: readonly {
|
|
3066
3065
|
readonly [x: string]: unknown;
|
|
@@ -3079,9 +3078,9 @@ export declare const apiClients: {
|
|
|
3079
3078
|
};
|
|
3080
3079
|
readonly lastInsertRowid?: number | undefined;
|
|
3081
3080
|
};
|
|
3081
|
+
readonly type: "query";
|
|
3082
3082
|
} | {
|
|
3083
3083
|
readonly id: number;
|
|
3084
|
-
readonly type: "transaction";
|
|
3085
3084
|
readonly data: readonly {
|
|
3086
3085
|
readonly rows: readonly {
|
|
3087
3086
|
readonly [x: string]: unknown;
|
|
@@ -3100,13 +3099,13 @@ export declare const apiClients: {
|
|
|
3100
3099
|
};
|
|
3101
3100
|
readonly lastInsertRowid?: number | undefined;
|
|
3102
3101
|
}[];
|
|
3102
|
+
readonly type: "transaction";
|
|
3103
3103
|
} | {
|
|
3104
|
+
readonly error: string;
|
|
3104
3105
|
readonly id: number;
|
|
3105
3106
|
readonly type: "query" | "transaction";
|
|
3106
|
-
readonly error: string;
|
|
3107
3107
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3108
3108
|
readonly id: number;
|
|
3109
|
-
readonly type: "query";
|
|
3110
3109
|
readonly data: {
|
|
3111
3110
|
readonly rows: readonly {
|
|
3112
3111
|
readonly [x: string]: unknown;
|
|
@@ -3125,9 +3124,9 @@ export declare const apiClients: {
|
|
|
3125
3124
|
};
|
|
3126
3125
|
readonly lastInsertRowid?: number | undefined;
|
|
3127
3126
|
};
|
|
3127
|
+
readonly type: "query";
|
|
3128
3128
|
} | {
|
|
3129
3129
|
readonly id: number;
|
|
3130
|
-
readonly type: "transaction";
|
|
3131
3130
|
readonly data: readonly {
|
|
3132
3131
|
readonly rows: readonly {
|
|
3133
3132
|
readonly [x: string]: unknown;
|
|
@@ -3146,11 +3145,12 @@ export declare const apiClients: {
|
|
|
3146
3145
|
};
|
|
3147
3146
|
readonly lastInsertRowid?: number | undefined;
|
|
3148
3147
|
}[];
|
|
3148
|
+
readonly type: "transaction";
|
|
3149
3149
|
} | {
|
|
3150
|
+
readonly error: string;
|
|
3150
3151
|
readonly id: number;
|
|
3151
3152
|
readonly type: "query" | "transaction";
|
|
3152
|
-
|
|
3153
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@effect/platform/HttpApiError").Unauthorized | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3153
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpApiError").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3154
3154
|
};
|
|
3155
3155
|
readonly storageManager: {
|
|
3156
3156
|
readonly storageManager: <WithResponse extends boolean = false>(request: {
|
|
@@ -3218,13 +3218,13 @@ export declare const apiClients: {
|
|
|
3218
3218
|
readonly isPermanent: boolean;
|
|
3219
3219
|
readonly expiresAt?: number | undefined;
|
|
3220
3220
|
} | {
|
|
3221
|
-
readonly identifier: `storage-file://${string}`;
|
|
3222
3221
|
readonly url: string;
|
|
3222
|
+
readonly identifier: `storage-file://${string}`;
|
|
3223
3223
|
readonly isPermanent: boolean;
|
|
3224
3224
|
readonly expiresAt?: number | undefined;
|
|
3225
3225
|
} | {
|
|
3226
|
-
readonly key: string;
|
|
3227
3226
|
readonly url: string;
|
|
3227
|
+
readonly key: string;
|
|
3228
3228
|
} | {
|
|
3229
3229
|
readonly files: readonly {
|
|
3230
3230
|
readonly key?: string | undefined;
|
|
@@ -3234,8 +3234,8 @@ export declare const apiClients: {
|
|
|
3234
3234
|
} | {
|
|
3235
3235
|
readonly success: boolean;
|
|
3236
3236
|
} | {
|
|
3237
|
-
readonly success: boolean;
|
|
3238
3237
|
readonly newKey: string;
|
|
3238
|
+
readonly success: boolean;
|
|
3239
3239
|
} | {
|
|
3240
3240
|
readonly url: string;
|
|
3241
3241
|
} | {
|
|
@@ -3248,20 +3248,20 @@ export declare const apiClients: {
|
|
|
3248
3248
|
}[];
|
|
3249
3249
|
} | {
|
|
3250
3250
|
readonly message: string;
|
|
3251
|
-
readonly provider: string;
|
|
3252
3251
|
readonly success: boolean;
|
|
3252
|
+
readonly provider: string;
|
|
3253
3253
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3254
3254
|
readonly url: string;
|
|
3255
3255
|
readonly isPermanent: boolean;
|
|
3256
3256
|
readonly expiresAt?: number | undefined;
|
|
3257
3257
|
} | {
|
|
3258
|
-
readonly identifier: `storage-file://${string}`;
|
|
3259
3258
|
readonly url: string;
|
|
3259
|
+
readonly identifier: `storage-file://${string}`;
|
|
3260
3260
|
readonly isPermanent: boolean;
|
|
3261
3261
|
readonly expiresAt?: number | undefined;
|
|
3262
3262
|
} | {
|
|
3263
|
-
readonly key: string;
|
|
3264
3263
|
readonly url: string;
|
|
3264
|
+
readonly key: string;
|
|
3265
3265
|
} | {
|
|
3266
3266
|
readonly files: readonly {
|
|
3267
3267
|
readonly key?: string | undefined;
|
|
@@ -3271,8 +3271,8 @@ export declare const apiClients: {
|
|
|
3271
3271
|
} | {
|
|
3272
3272
|
readonly success: boolean;
|
|
3273
3273
|
} | {
|
|
3274
|
-
readonly success: boolean;
|
|
3275
3274
|
readonly newKey: string;
|
|
3275
|
+
readonly success: boolean;
|
|
3276
3276
|
} | {
|
|
3277
3277
|
readonly url: string;
|
|
3278
3278
|
} | {
|
|
@@ -3285,8 +3285,8 @@ export declare const apiClients: {
|
|
|
3285
3285
|
}[];
|
|
3286
3286
|
} | {
|
|
3287
3287
|
readonly message: string;
|
|
3288
|
-
readonly provider: string;
|
|
3289
3288
|
readonly success: boolean;
|
|
3289
|
+
readonly provider: string;
|
|
3290
3290
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3291
3291
|
readonly storageManagerUpload: <WithResponse extends boolean = false>(request: {
|
|
3292
3292
|
readonly headers: {
|
|
@@ -3295,98 +3295,20 @@ export declare const apiClients: {
|
|
|
3295
3295
|
readonly payload: Uint8Array<ArrayBufferLike>;
|
|
3296
3296
|
readonly withResponse?: WithResponse | undefined;
|
|
3297
3297
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3298
|
-
readonly message: string;
|
|
3299
3298
|
readonly key: string;
|
|
3300
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3301
3299
|
readonly message: string;
|
|
3300
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3302
3301
|
readonly key: string;
|
|
3302
|
+
readonly message: string;
|
|
3303
3303
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3304
3304
|
};
|
|
3305
3305
|
}, never, never>;
|
|
3306
3306
|
rest: Effect.Effect<{
|
|
3307
3307
|
readonly restV1Public: {
|
|
3308
|
-
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
3309
|
-
readonly urlParams: {
|
|
3310
|
-
readonly name?: string | undefined;
|
|
3311
|
-
readonly parent?: number | undefined;
|
|
3312
|
-
};
|
|
3313
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3314
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3315
|
-
readonly description: string;
|
|
3316
|
-
readonly id: number;
|
|
3317
|
-
readonly name: string;
|
|
3318
|
-
readonly slug: string;
|
|
3319
|
-
readonly meta: {
|
|
3320
|
-
readonly [x: string]: unknown;
|
|
3321
|
-
};
|
|
3322
|
-
readonly parent?: number | null | undefined;
|
|
3323
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3324
|
-
readonly description: string;
|
|
3325
|
-
readonly id: number;
|
|
3326
|
-
readonly name: string;
|
|
3327
|
-
readonly slug: string;
|
|
3328
|
-
readonly meta: {
|
|
3329
|
-
readonly [x: string]: unknown;
|
|
3330
|
-
};
|
|
3331
|
-
readonly parent?: number | null | undefined;
|
|
3332
|
-
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3333
|
-
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
3334
|
-
readonly path: {
|
|
3335
|
-
readonly id: number;
|
|
3336
|
-
};
|
|
3337
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3338
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3339
|
-
readonly description: string;
|
|
3340
|
-
readonly id: number;
|
|
3341
|
-
readonly name: string;
|
|
3342
|
-
readonly slug: string;
|
|
3343
|
-
readonly meta: {
|
|
3344
|
-
readonly [x: string]: unknown;
|
|
3345
|
-
};
|
|
3346
|
-
readonly parent?: number | null | undefined;
|
|
3347
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3348
|
-
readonly description: string;
|
|
3349
|
-
readonly id: number;
|
|
3350
|
-
readonly name: string;
|
|
3351
|
-
readonly slug: string;
|
|
3352
|
-
readonly meta: {
|
|
3353
|
-
readonly [x: string]: unknown;
|
|
3354
|
-
};
|
|
3355
|
-
readonly parent?: number | null | undefined;
|
|
3356
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3357
|
-
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
3358
|
-
readonly urlParams: {
|
|
3359
|
-
readonly name?: string | undefined;
|
|
3360
|
-
readonly parent?: string | undefined;
|
|
3361
|
-
};
|
|
3362
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3363
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3364
|
-
readonly id: string;
|
|
3365
|
-
readonly name: string;
|
|
3366
|
-
readonly parent?: string | null | undefined;
|
|
3367
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3368
|
-
readonly id: string;
|
|
3369
|
-
readonly name: string;
|
|
3370
|
-
readonly parent?: string | null | undefined;
|
|
3371
|
-
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3372
|
-
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
3373
|
-
readonly path: {
|
|
3374
|
-
readonly id: string;
|
|
3375
|
-
};
|
|
3376
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3377
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3378
|
-
readonly id: string;
|
|
3379
|
-
readonly name: string;
|
|
3380
|
-
readonly parent?: string | null | undefined;
|
|
3381
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3382
|
-
readonly id: string;
|
|
3383
|
-
readonly name: string;
|
|
3384
|
-
readonly parent?: string | null | undefined;
|
|
3385
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3386
3308
|
readonly getPages: <WithResponse extends boolean = false>(request: {
|
|
3387
3309
|
readonly urlParams: {
|
|
3388
|
-
readonly slug?: string | undefined;
|
|
3389
3310
|
readonly title?: string | undefined;
|
|
3311
|
+
readonly slug?: string | undefined;
|
|
3390
3312
|
readonly parentFolder?: string | undefined;
|
|
3391
3313
|
readonly author?: string | undefined;
|
|
3392
3314
|
};
|
|
@@ -3394,8 +3316,15 @@ export declare const apiClients: {
|
|
|
3394
3316
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3395
3317
|
readonly description: string;
|
|
3396
3318
|
readonly id: string;
|
|
3319
|
+
readonly updatedAt: Date;
|
|
3320
|
+
readonly title: string;
|
|
3321
|
+
readonly package: string;
|
|
3322
|
+
readonly showOnNav: boolean;
|
|
3323
|
+
readonly publishedAt: Date;
|
|
3397
3324
|
readonly slug: string;
|
|
3398
|
-
readonly
|
|
3325
|
+
readonly contentLang: string;
|
|
3326
|
+
readonly heroImage?: string | null | undefined;
|
|
3327
|
+
readonly categories: readonly {
|
|
3399
3328
|
readonly description: string;
|
|
3400
3329
|
readonly id: number;
|
|
3401
3330
|
readonly name: string;
|
|
@@ -3403,8 +3332,9 @@ export declare const apiClients: {
|
|
|
3403
3332
|
readonly meta: {
|
|
3404
3333
|
readonly [x: string]: unknown;
|
|
3405
3334
|
};
|
|
3335
|
+
readonly parent?: number | null | undefined;
|
|
3406
3336
|
}[];
|
|
3407
|
-
readonly
|
|
3337
|
+
readonly tags: readonly {
|
|
3408
3338
|
readonly description: string;
|
|
3409
3339
|
readonly id: number;
|
|
3410
3340
|
readonly name: string;
|
|
@@ -3412,15 +3342,7 @@ export declare const apiClients: {
|
|
|
3412
3342
|
readonly meta: {
|
|
3413
3343
|
readonly [x: string]: unknown;
|
|
3414
3344
|
};
|
|
3415
|
-
readonly parent?: number | null | undefined;
|
|
3416
3345
|
}[];
|
|
3417
|
-
readonly title: string;
|
|
3418
|
-
readonly updatedAt: Date;
|
|
3419
|
-
readonly package: string;
|
|
3420
|
-
readonly showOnNav: boolean;
|
|
3421
|
-
readonly publishedAt: Date;
|
|
3422
|
-
readonly contentLang: string;
|
|
3423
|
-
readonly heroImage?: string | null | undefined;
|
|
3424
3346
|
readonly authorId: string;
|
|
3425
3347
|
readonly contributorIds: readonly string[];
|
|
3426
3348
|
readonly showAuthor: boolean;
|
|
@@ -3443,8 +3365,8 @@ export declare const apiClients: {
|
|
|
3443
3365
|
readonly urlRoute: string;
|
|
3444
3366
|
readonly authorData: {
|
|
3445
3367
|
readonly id: string;
|
|
3446
|
-
readonly name: string;
|
|
3447
3368
|
readonly url?: string | null | undefined;
|
|
3369
|
+
readonly name: string;
|
|
3448
3370
|
readonly avatar?: string | null | undefined;
|
|
3449
3371
|
readonly username: string;
|
|
3450
3372
|
readonly updatedAt: Date;
|
|
@@ -3454,8 +3376,8 @@ export declare const apiClients: {
|
|
|
3454
3376
|
} | undefined;
|
|
3455
3377
|
readonly contributorsData: readonly {
|
|
3456
3378
|
readonly id: string;
|
|
3457
|
-
readonly name: string;
|
|
3458
3379
|
readonly url?: string | null | undefined;
|
|
3380
|
+
readonly name: string;
|
|
3459
3381
|
readonly avatar?: string | null | undefined;
|
|
3460
3382
|
readonly username: string;
|
|
3461
3383
|
readonly updatedAt: Date;
|
|
@@ -3466,8 +3388,15 @@ export declare const apiClients: {
|
|
|
3466
3388
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3467
3389
|
readonly description: string;
|
|
3468
3390
|
readonly id: string;
|
|
3391
|
+
readonly updatedAt: Date;
|
|
3392
|
+
readonly title: string;
|
|
3393
|
+
readonly package: string;
|
|
3394
|
+
readonly showOnNav: boolean;
|
|
3395
|
+
readonly publishedAt: Date;
|
|
3469
3396
|
readonly slug: string;
|
|
3470
|
-
readonly
|
|
3397
|
+
readonly contentLang: string;
|
|
3398
|
+
readonly heroImage?: string | null | undefined;
|
|
3399
|
+
readonly categories: readonly {
|
|
3471
3400
|
readonly description: string;
|
|
3472
3401
|
readonly id: number;
|
|
3473
3402
|
readonly name: string;
|
|
@@ -3475,8 +3404,9 @@ export declare const apiClients: {
|
|
|
3475
3404
|
readonly meta: {
|
|
3476
3405
|
readonly [x: string]: unknown;
|
|
3477
3406
|
};
|
|
3407
|
+
readonly parent?: number | null | undefined;
|
|
3478
3408
|
}[];
|
|
3479
|
-
readonly
|
|
3409
|
+
readonly tags: readonly {
|
|
3480
3410
|
readonly description: string;
|
|
3481
3411
|
readonly id: number;
|
|
3482
3412
|
readonly name: string;
|
|
@@ -3484,15 +3414,7 @@ export declare const apiClients: {
|
|
|
3484
3414
|
readonly meta: {
|
|
3485
3415
|
readonly [x: string]: unknown;
|
|
3486
3416
|
};
|
|
3487
|
-
readonly parent?: number | null | undefined;
|
|
3488
3417
|
}[];
|
|
3489
|
-
readonly title: string;
|
|
3490
|
-
readonly updatedAt: Date;
|
|
3491
|
-
readonly package: string;
|
|
3492
|
-
readonly showOnNav: boolean;
|
|
3493
|
-
readonly publishedAt: Date;
|
|
3494
|
-
readonly contentLang: string;
|
|
3495
|
-
readonly heroImage?: string | null | undefined;
|
|
3496
3418
|
readonly authorId: string;
|
|
3497
3419
|
readonly contributorIds: readonly string[];
|
|
3498
3420
|
readonly showAuthor: boolean;
|
|
@@ -3515,8 +3437,8 @@ export declare const apiClients: {
|
|
|
3515
3437
|
readonly urlRoute: string;
|
|
3516
3438
|
readonly authorData: {
|
|
3517
3439
|
readonly id: string;
|
|
3518
|
-
readonly name: string;
|
|
3519
3440
|
readonly url?: string | null | undefined;
|
|
3441
|
+
readonly name: string;
|
|
3520
3442
|
readonly avatar?: string | null | undefined;
|
|
3521
3443
|
readonly username: string;
|
|
3522
3444
|
readonly updatedAt: Date;
|
|
@@ -3526,8 +3448,8 @@ export declare const apiClients: {
|
|
|
3526
3448
|
} | undefined;
|
|
3527
3449
|
readonly contributorsData: readonly {
|
|
3528
3450
|
readonly id: string;
|
|
3529
|
-
readonly name: string;
|
|
3530
3451
|
readonly url?: string | null | undefined;
|
|
3452
|
+
readonly name: string;
|
|
3531
3453
|
readonly avatar?: string | null | undefined;
|
|
3532
3454
|
readonly username: string;
|
|
3533
3455
|
readonly updatedAt: Date;
|
|
@@ -3544,8 +3466,15 @@ export declare const apiClients: {
|
|
|
3544
3466
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3545
3467
|
readonly description: string;
|
|
3546
3468
|
readonly id: string;
|
|
3469
|
+
readonly updatedAt: Date;
|
|
3470
|
+
readonly title: string;
|
|
3471
|
+
readonly package: string;
|
|
3472
|
+
readonly showOnNav: boolean;
|
|
3473
|
+
readonly publishedAt: Date;
|
|
3547
3474
|
readonly slug: string;
|
|
3548
|
-
readonly
|
|
3475
|
+
readonly contentLang: string;
|
|
3476
|
+
readonly heroImage?: string | null | undefined;
|
|
3477
|
+
readonly categories: readonly {
|
|
3549
3478
|
readonly description: string;
|
|
3550
3479
|
readonly id: number;
|
|
3551
3480
|
readonly name: string;
|
|
@@ -3553,8 +3482,9 @@ export declare const apiClients: {
|
|
|
3553
3482
|
readonly meta: {
|
|
3554
3483
|
readonly [x: string]: unknown;
|
|
3555
3484
|
};
|
|
3485
|
+
readonly parent?: number | null | undefined;
|
|
3556
3486
|
}[];
|
|
3557
|
-
readonly
|
|
3487
|
+
readonly tags: readonly {
|
|
3558
3488
|
readonly description: string;
|
|
3559
3489
|
readonly id: number;
|
|
3560
3490
|
readonly name: string;
|
|
@@ -3562,15 +3492,7 @@ export declare const apiClients: {
|
|
|
3562
3492
|
readonly meta: {
|
|
3563
3493
|
readonly [x: string]: unknown;
|
|
3564
3494
|
};
|
|
3565
|
-
readonly parent?: number | null | undefined;
|
|
3566
3495
|
}[];
|
|
3567
|
-
readonly title: string;
|
|
3568
|
-
readonly updatedAt: Date;
|
|
3569
|
-
readonly package: string;
|
|
3570
|
-
readonly showOnNav: boolean;
|
|
3571
|
-
readonly publishedAt: Date;
|
|
3572
|
-
readonly contentLang: string;
|
|
3573
|
-
readonly heroImage?: string | null | undefined;
|
|
3574
3496
|
readonly authorId: string;
|
|
3575
3497
|
readonly contributorIds: readonly string[];
|
|
3576
3498
|
readonly showAuthor: boolean;
|
|
@@ -3593,8 +3515,8 @@ export declare const apiClients: {
|
|
|
3593
3515
|
readonly urlRoute: string;
|
|
3594
3516
|
readonly authorData: {
|
|
3595
3517
|
readonly id: string;
|
|
3596
|
-
readonly name: string;
|
|
3597
3518
|
readonly url?: string | null | undefined;
|
|
3519
|
+
readonly name: string;
|
|
3598
3520
|
readonly avatar?: string | null | undefined;
|
|
3599
3521
|
readonly username: string;
|
|
3600
3522
|
readonly updatedAt: Date;
|
|
@@ -3604,8 +3526,8 @@ export declare const apiClients: {
|
|
|
3604
3526
|
} | undefined;
|
|
3605
3527
|
readonly contributorsData: readonly {
|
|
3606
3528
|
readonly id: string;
|
|
3607
|
-
readonly name: string;
|
|
3608
3529
|
readonly url?: string | null | undefined;
|
|
3530
|
+
readonly name: string;
|
|
3609
3531
|
readonly avatar?: string | null | undefined;
|
|
3610
3532
|
readonly username: string;
|
|
3611
3533
|
readonly updatedAt: Date;
|
|
@@ -3616,8 +3538,15 @@ export declare const apiClients: {
|
|
|
3616
3538
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3617
3539
|
readonly description: string;
|
|
3618
3540
|
readonly id: string;
|
|
3541
|
+
readonly updatedAt: Date;
|
|
3542
|
+
readonly title: string;
|
|
3543
|
+
readonly package: string;
|
|
3544
|
+
readonly showOnNav: boolean;
|
|
3545
|
+
readonly publishedAt: Date;
|
|
3619
3546
|
readonly slug: string;
|
|
3620
|
-
readonly
|
|
3547
|
+
readonly contentLang: string;
|
|
3548
|
+
readonly heroImage?: string | null | undefined;
|
|
3549
|
+
readonly categories: readonly {
|
|
3621
3550
|
readonly description: string;
|
|
3622
3551
|
readonly id: number;
|
|
3623
3552
|
readonly name: string;
|
|
@@ -3625,8 +3554,9 @@ export declare const apiClients: {
|
|
|
3625
3554
|
readonly meta: {
|
|
3626
3555
|
readonly [x: string]: unknown;
|
|
3627
3556
|
};
|
|
3557
|
+
readonly parent?: number | null | undefined;
|
|
3628
3558
|
}[];
|
|
3629
|
-
readonly
|
|
3559
|
+
readonly tags: readonly {
|
|
3630
3560
|
readonly description: string;
|
|
3631
3561
|
readonly id: number;
|
|
3632
3562
|
readonly name: string;
|
|
@@ -3634,15 +3564,7 @@ export declare const apiClients: {
|
|
|
3634
3564
|
readonly meta: {
|
|
3635
3565
|
readonly [x: string]: unknown;
|
|
3636
3566
|
};
|
|
3637
|
-
readonly parent?: number | null | undefined;
|
|
3638
3567
|
}[];
|
|
3639
|
-
readonly title: string;
|
|
3640
|
-
readonly updatedAt: Date;
|
|
3641
|
-
readonly package: string;
|
|
3642
|
-
readonly showOnNav: boolean;
|
|
3643
|
-
readonly publishedAt: Date;
|
|
3644
|
-
readonly contentLang: string;
|
|
3645
|
-
readonly heroImage?: string | null | undefined;
|
|
3646
3568
|
readonly authorId: string;
|
|
3647
3569
|
readonly contributorIds: readonly string[];
|
|
3648
3570
|
readonly showAuthor: boolean;
|
|
@@ -3665,8 +3587,8 @@ export declare const apiClients: {
|
|
|
3665
3587
|
readonly urlRoute: string;
|
|
3666
3588
|
readonly authorData: {
|
|
3667
3589
|
readonly id: string;
|
|
3668
|
-
readonly name: string;
|
|
3669
3590
|
readonly url?: string | null | undefined;
|
|
3591
|
+
readonly name: string;
|
|
3670
3592
|
readonly avatar?: string | null | undefined;
|
|
3671
3593
|
readonly username: string;
|
|
3672
3594
|
readonly updatedAt: Date;
|
|
@@ -3676,8 +3598,8 @@ export declare const apiClients: {
|
|
|
3676
3598
|
} | undefined;
|
|
3677
3599
|
readonly contributorsData: readonly {
|
|
3678
3600
|
readonly id: string;
|
|
3679
|
-
readonly name: string;
|
|
3680
3601
|
readonly url?: string | null | undefined;
|
|
3602
|
+
readonly name: string;
|
|
3681
3603
|
readonly avatar?: string | null | undefined;
|
|
3682
3604
|
readonly username: string;
|
|
3683
3605
|
readonly updatedAt: Date;
|
|
@@ -3686,6 +3608,84 @@ export declare const apiClients: {
|
|
|
3686
3608
|
readonly notifications?: string | null | undefined;
|
|
3687
3609
|
}[];
|
|
3688
3610
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3611
|
+
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
3612
|
+
readonly urlParams: {
|
|
3613
|
+
readonly name?: string | undefined;
|
|
3614
|
+
readonly parent?: number | undefined;
|
|
3615
|
+
};
|
|
3616
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3617
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3618
|
+
readonly description: string;
|
|
3619
|
+
readonly id: number;
|
|
3620
|
+
readonly name: string;
|
|
3621
|
+
readonly slug: string;
|
|
3622
|
+
readonly meta: {
|
|
3623
|
+
readonly [x: string]: unknown;
|
|
3624
|
+
};
|
|
3625
|
+
readonly parent?: number | null | undefined;
|
|
3626
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3627
|
+
readonly description: string;
|
|
3628
|
+
readonly id: number;
|
|
3629
|
+
readonly name: string;
|
|
3630
|
+
readonly slug: string;
|
|
3631
|
+
readonly meta: {
|
|
3632
|
+
readonly [x: string]: unknown;
|
|
3633
|
+
};
|
|
3634
|
+
readonly parent?: number | null | undefined;
|
|
3635
|
+
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3636
|
+
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
3637
|
+
readonly path: {
|
|
3638
|
+
readonly id: number;
|
|
3639
|
+
};
|
|
3640
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3641
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3642
|
+
readonly description: string;
|
|
3643
|
+
readonly id: number;
|
|
3644
|
+
readonly name: string;
|
|
3645
|
+
readonly slug: string;
|
|
3646
|
+
readonly meta: {
|
|
3647
|
+
readonly [x: string]: unknown;
|
|
3648
|
+
};
|
|
3649
|
+
readonly parent?: number | null | undefined;
|
|
3650
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3651
|
+
readonly description: string;
|
|
3652
|
+
readonly id: number;
|
|
3653
|
+
readonly name: string;
|
|
3654
|
+
readonly slug: string;
|
|
3655
|
+
readonly meta: {
|
|
3656
|
+
readonly [x: string]: unknown;
|
|
3657
|
+
};
|
|
3658
|
+
readonly parent?: number | null | undefined;
|
|
3659
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3660
|
+
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
3661
|
+
readonly urlParams: {
|
|
3662
|
+
readonly name?: string | undefined;
|
|
3663
|
+
readonly parent?: string | undefined;
|
|
3664
|
+
};
|
|
3665
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3666
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3667
|
+
readonly id: string;
|
|
3668
|
+
readonly name: string;
|
|
3669
|
+
readonly parent?: string | null | undefined;
|
|
3670
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3671
|
+
readonly id: string;
|
|
3672
|
+
readonly name: string;
|
|
3673
|
+
readonly parent?: string | null | undefined;
|
|
3674
|
+
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3675
|
+
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
3676
|
+
readonly path: {
|
|
3677
|
+
readonly id: string;
|
|
3678
|
+
};
|
|
3679
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3680
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3681
|
+
readonly id: string;
|
|
3682
|
+
readonly name: string;
|
|
3683
|
+
readonly parent?: string | null | undefined;
|
|
3684
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3685
|
+
readonly id: string;
|
|
3686
|
+
readonly name: string;
|
|
3687
|
+
readonly parent?: string | null | undefined;
|
|
3688
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3689
3689
|
readonly getTags: <WithResponse extends boolean = false>(request: {
|
|
3690
3690
|
readonly urlParams: {
|
|
3691
3691
|
readonly name?: string | undefined;
|
|
@@ -3732,13 +3732,22 @@ export declare const apiClients: {
|
|
|
3732
3732
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3733
3733
|
};
|
|
3734
3734
|
readonly restV1: {
|
|
3735
|
-
readonly
|
|
3736
|
-
readonly
|
|
3737
|
-
readonly
|
|
3738
|
-
readonly parent?: number | undefined;
|
|
3735
|
+
readonly deleteCategory: <WithResponse extends boolean = false>(request: {
|
|
3736
|
+
readonly path: {
|
|
3737
|
+
readonly id: number;
|
|
3739
3738
|
};
|
|
3740
3739
|
readonly withResponse?: WithResponse | undefined;
|
|
3741
|
-
}) => Effect.Effect<WithResponse extends true ? [
|
|
3740
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3741
|
+
readonly success: boolean;
|
|
3742
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3743
|
+
readonly success: boolean;
|
|
3744
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3745
|
+
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
3746
|
+
readonly path: {
|
|
3747
|
+
readonly id: number;
|
|
3748
|
+
};
|
|
3749
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3750
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3742
3751
|
readonly description: string;
|
|
3743
3752
|
readonly id: number;
|
|
3744
3753
|
readonly name: string;
|
|
@@ -3747,7 +3756,7 @@ export declare const apiClients: {
|
|
|
3747
3756
|
readonly [x: string]: unknown;
|
|
3748
3757
|
};
|
|
3749
3758
|
readonly parent?: number | null | undefined;
|
|
3750
|
-
}
|
|
3759
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3751
3760
|
readonly description: string;
|
|
3752
3761
|
readonly id: number;
|
|
3753
3762
|
readonly name: string;
|
|
@@ -3755,14 +3764,20 @@ export declare const apiClients: {
|
|
|
3755
3764
|
readonly meta: {
|
|
3756
3765
|
readonly [x: string]: unknown;
|
|
3757
3766
|
};
|
|
3758
|
-
readonly parent?: number | null | undefined;
|
|
3759
|
-
}
|
|
3760
|
-
readonly
|
|
3767
|
+
readonly parent?: number | null | undefined;
|
|
3768
|
+
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3769
|
+
readonly updateCategory: <WithResponse extends boolean = false>(request: {
|
|
3770
|
+
readonly path: {
|
|
3771
|
+
readonly id: number;
|
|
3772
|
+
};
|
|
3761
3773
|
readonly payload: {
|
|
3762
|
-
readonly description
|
|
3763
|
-
readonly
|
|
3764
|
-
readonly
|
|
3765
|
-
readonly
|
|
3774
|
+
readonly description?: string | undefined;
|
|
3775
|
+
readonly id?: number | undefined;
|
|
3776
|
+
readonly name?: string | undefined;
|
|
3777
|
+
readonly slug?: string | undefined;
|
|
3778
|
+
readonly meta?: {
|
|
3779
|
+
readonly [x: string]: unknown;
|
|
3780
|
+
} | undefined;
|
|
3766
3781
|
readonly parent?: number | null | undefined;
|
|
3767
3782
|
};
|
|
3768
3783
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -3785,12 +3800,13 @@ export declare const apiClients: {
|
|
|
3785
3800
|
};
|
|
3786
3801
|
readonly parent?: number | null | undefined;
|
|
3787
3802
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3788
|
-
readonly
|
|
3789
|
-
readonly
|
|
3790
|
-
readonly
|
|
3803
|
+
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
3804
|
+
readonly urlParams: {
|
|
3805
|
+
readonly name?: string | undefined;
|
|
3806
|
+
readonly parent?: number | undefined;
|
|
3791
3807
|
};
|
|
3792
3808
|
readonly withResponse?: WithResponse | undefined;
|
|
3793
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3809
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3794
3810
|
readonly description: string;
|
|
3795
3811
|
readonly id: number;
|
|
3796
3812
|
readonly name: string;
|
|
@@ -3799,7 +3815,7 @@ export declare const apiClients: {
|
|
|
3799
3815
|
readonly [x: string]: unknown;
|
|
3800
3816
|
};
|
|
3801
3817
|
readonly parent?: number | null | undefined;
|
|
3802
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3818
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3803
3819
|
readonly description: string;
|
|
3804
3820
|
readonly id: number;
|
|
3805
3821
|
readonly name: string;
|
|
@@ -3808,19 +3824,13 @@ export declare const apiClients: {
|
|
|
3808
3824
|
readonly [x: string]: unknown;
|
|
3809
3825
|
};
|
|
3810
3826
|
readonly parent?: number | null | undefined;
|
|
3811
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3812
|
-
readonly
|
|
3813
|
-
readonly path: {
|
|
3814
|
-
readonly id: number;
|
|
3815
|
-
};
|
|
3827
|
+
}[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3828
|
+
readonly createCategory: <WithResponse extends boolean = false>(request: {
|
|
3816
3829
|
readonly payload: {
|
|
3817
|
-
readonly description
|
|
3818
|
-
readonly
|
|
3819
|
-
readonly
|
|
3820
|
-
readonly
|
|
3821
|
-
readonly meta?: {
|
|
3822
|
-
readonly [x: string]: unknown;
|
|
3823
|
-
} | undefined;
|
|
3830
|
+
readonly description: string;
|
|
3831
|
+
readonly name: string;
|
|
3832
|
+
readonly slug: string;
|
|
3833
|
+
readonly meta: string;
|
|
3824
3834
|
readonly parent?: number | null | undefined;
|
|
3825
3835
|
};
|
|
3826
3836
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -3843,16 +3853,6 @@ export declare const apiClients: {
|
|
|
3843
3853
|
};
|
|
3844
3854
|
readonly parent?: number | null | undefined;
|
|
3845
3855
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3846
|
-
readonly deleteCategory: <WithResponse extends boolean = false>(request: {
|
|
3847
|
-
readonly path: {
|
|
3848
|
-
readonly id: number;
|
|
3849
|
-
};
|
|
3850
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3851
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3852
|
-
readonly success: boolean;
|
|
3853
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3854
|
-
readonly success: boolean;
|
|
3855
|
-
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
3856
3856
|
readonly deleteFolder: <WithResponse extends boolean = false>(request: {
|
|
3857
3857
|
readonly path: {
|
|
3858
3858
|
readonly id: string;
|
|
@@ -3935,8 +3935,15 @@ export declare const apiClients: {
|
|
|
3935
3935
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3936
3936
|
readonly description: string;
|
|
3937
3937
|
readonly id: string;
|
|
3938
|
+
readonly updatedAt: Date;
|
|
3939
|
+
readonly title: string;
|
|
3940
|
+
readonly package: string;
|
|
3941
|
+
readonly showOnNav: boolean;
|
|
3942
|
+
readonly publishedAt: Date;
|
|
3938
3943
|
readonly slug: string;
|
|
3939
|
-
readonly
|
|
3944
|
+
readonly contentLang: string;
|
|
3945
|
+
readonly heroImage?: string | null | undefined;
|
|
3946
|
+
readonly categories: readonly {
|
|
3940
3947
|
readonly description: string;
|
|
3941
3948
|
readonly id: number;
|
|
3942
3949
|
readonly name: string;
|
|
@@ -3944,8 +3951,9 @@ export declare const apiClients: {
|
|
|
3944
3951
|
readonly meta: {
|
|
3945
3952
|
readonly [x: string]: unknown;
|
|
3946
3953
|
};
|
|
3954
|
+
readonly parent?: number | null | undefined;
|
|
3947
3955
|
}[];
|
|
3948
|
-
readonly
|
|
3956
|
+
readonly tags: readonly {
|
|
3949
3957
|
readonly description: string;
|
|
3950
3958
|
readonly id: number;
|
|
3951
3959
|
readonly name: string;
|
|
@@ -3953,15 +3961,7 @@ export declare const apiClients: {
|
|
|
3953
3961
|
readonly meta: {
|
|
3954
3962
|
readonly [x: string]: unknown;
|
|
3955
3963
|
};
|
|
3956
|
-
readonly parent?: number | null | undefined;
|
|
3957
3964
|
}[];
|
|
3958
|
-
readonly title: string;
|
|
3959
|
-
readonly updatedAt: Date;
|
|
3960
|
-
readonly package: string;
|
|
3961
|
-
readonly showOnNav: boolean;
|
|
3962
|
-
readonly publishedAt: Date;
|
|
3963
|
-
readonly contentLang: string;
|
|
3964
|
-
readonly heroImage?: string | null | undefined;
|
|
3965
3965
|
readonly authorId: string;
|
|
3966
3966
|
readonly contributorIds: readonly string[];
|
|
3967
3967
|
readonly showAuthor: boolean;
|
|
@@ -3984,8 +3984,8 @@ export declare const apiClients: {
|
|
|
3984
3984
|
readonly urlRoute: string;
|
|
3985
3985
|
readonly authorData: {
|
|
3986
3986
|
readonly id: string;
|
|
3987
|
-
readonly name: string;
|
|
3988
3987
|
readonly url?: string | null | undefined;
|
|
3988
|
+
readonly name: string;
|
|
3989
3989
|
readonly avatar?: string | null | undefined;
|
|
3990
3990
|
readonly username: string;
|
|
3991
3991
|
readonly updatedAt: Date;
|
|
@@ -3995,8 +3995,8 @@ export declare const apiClients: {
|
|
|
3995
3995
|
} | undefined;
|
|
3996
3996
|
readonly contributorsData: readonly {
|
|
3997
3997
|
readonly id: string;
|
|
3998
|
-
readonly name: string;
|
|
3999
3998
|
readonly url?: string | null | undefined;
|
|
3999
|
+
readonly name: string;
|
|
4000
4000
|
readonly avatar?: string | null | undefined;
|
|
4001
4001
|
readonly username: string;
|
|
4002
4002
|
readonly updatedAt: Date;
|
|
@@ -4007,8 +4007,15 @@ export declare const apiClients: {
|
|
|
4007
4007
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
4008
4008
|
readonly description: string;
|
|
4009
4009
|
readonly id: string;
|
|
4010
|
+
readonly updatedAt: Date;
|
|
4011
|
+
readonly title: string;
|
|
4012
|
+
readonly package: string;
|
|
4013
|
+
readonly showOnNav: boolean;
|
|
4014
|
+
readonly publishedAt: Date;
|
|
4010
4015
|
readonly slug: string;
|
|
4011
|
-
readonly
|
|
4016
|
+
readonly contentLang: string;
|
|
4017
|
+
readonly heroImage?: string | null | undefined;
|
|
4018
|
+
readonly categories: readonly {
|
|
4012
4019
|
readonly description: string;
|
|
4013
4020
|
readonly id: number;
|
|
4014
4021
|
readonly name: string;
|
|
@@ -4016,8 +4023,9 @@ export declare const apiClients: {
|
|
|
4016
4023
|
readonly meta: {
|
|
4017
4024
|
readonly [x: string]: unknown;
|
|
4018
4025
|
};
|
|
4026
|
+
readonly parent?: number | null | undefined;
|
|
4019
4027
|
}[];
|
|
4020
|
-
readonly
|
|
4028
|
+
readonly tags: readonly {
|
|
4021
4029
|
readonly description: string;
|
|
4022
4030
|
readonly id: number;
|
|
4023
4031
|
readonly name: string;
|
|
@@ -4025,15 +4033,7 @@ export declare const apiClients: {
|
|
|
4025
4033
|
readonly meta: {
|
|
4026
4034
|
readonly [x: string]: unknown;
|
|
4027
4035
|
};
|
|
4028
|
-
readonly parent?: number | null | undefined;
|
|
4029
4036
|
}[];
|
|
4030
|
-
readonly title: string;
|
|
4031
|
-
readonly updatedAt: Date;
|
|
4032
|
-
readonly package: string;
|
|
4033
|
-
readonly showOnNav: boolean;
|
|
4034
|
-
readonly publishedAt: Date;
|
|
4035
|
-
readonly contentLang: string;
|
|
4036
|
-
readonly heroImage?: string | null | undefined;
|
|
4037
4037
|
readonly authorId: string;
|
|
4038
4038
|
readonly contributorIds: readonly string[];
|
|
4039
4039
|
readonly showAuthor: boolean;
|
|
@@ -4056,8 +4056,8 @@ export declare const apiClients: {
|
|
|
4056
4056
|
readonly urlRoute: string;
|
|
4057
4057
|
readonly authorData: {
|
|
4058
4058
|
readonly id: string;
|
|
4059
|
-
readonly name: string;
|
|
4060
4059
|
readonly url?: string | null | undefined;
|
|
4060
|
+
readonly name: string;
|
|
4061
4061
|
readonly avatar?: string | null | undefined;
|
|
4062
4062
|
readonly username: string;
|
|
4063
4063
|
readonly updatedAt: Date;
|
|
@@ -4067,8 +4067,8 @@ export declare const apiClients: {
|
|
|
4067
4067
|
} | undefined;
|
|
4068
4068
|
readonly contributorsData: readonly {
|
|
4069
4069
|
readonly id: string;
|
|
4070
|
-
readonly name: string;
|
|
4071
4070
|
readonly url?: string | null | undefined;
|
|
4071
|
+
readonly name: string;
|
|
4072
4072
|
readonly avatar?: string | null | undefined;
|
|
4073
4073
|
readonly username: string;
|
|
4074
4074
|
readonly updatedAt: Date;
|
|
@@ -4094,16 +4094,16 @@ export declare const apiClients: {
|
|
|
4094
4094
|
readonly start: {
|
|
4095
4095
|
readonly description: string;
|
|
4096
4096
|
readonly id: string;
|
|
4097
|
-
readonly slug: string;
|
|
4098
|
-
readonly tags: readonly string[];
|
|
4099
|
-
readonly categories: readonly string[];
|
|
4100
|
-
readonly title: string;
|
|
4101
4097
|
readonly updatedAt: Date;
|
|
4098
|
+
readonly title: string;
|
|
4102
4099
|
readonly package: string;
|
|
4103
4100
|
readonly showOnNav: boolean;
|
|
4104
4101
|
readonly publishedAt: Date;
|
|
4102
|
+
readonly slug: string;
|
|
4105
4103
|
readonly contentLang: string;
|
|
4106
4104
|
readonly heroImage?: string | null | undefined;
|
|
4105
|
+
readonly categories: readonly string[];
|
|
4106
|
+
readonly tags: readonly string[];
|
|
4107
4107
|
readonly authorId: string;
|
|
4108
4108
|
readonly contributorIds: readonly string[];
|
|
4109
4109
|
readonly showAuthor: boolean;
|
|
@@ -4115,16 +4115,16 @@ export declare const apiClients: {
|
|
|
4115
4115
|
readonly end: {
|
|
4116
4116
|
readonly description: string;
|
|
4117
4117
|
readonly id: string;
|
|
4118
|
-
readonly slug: string;
|
|
4119
|
-
readonly tags: readonly string[];
|
|
4120
|
-
readonly categories: readonly string[];
|
|
4121
|
-
readonly title: string;
|
|
4122
4118
|
readonly updatedAt: Date;
|
|
4119
|
+
readonly title: string;
|
|
4123
4120
|
readonly package: string;
|
|
4124
4121
|
readonly showOnNav: boolean;
|
|
4125
4122
|
readonly publishedAt: Date;
|
|
4123
|
+
readonly slug: string;
|
|
4126
4124
|
readonly contentLang: string;
|
|
4127
4125
|
readonly heroImage?: string | null | undefined;
|
|
4126
|
+
readonly categories: readonly string[];
|
|
4127
|
+
readonly tags: readonly string[];
|
|
4128
4128
|
readonly authorId: string;
|
|
4129
4129
|
readonly contributorIds: readonly string[];
|
|
4130
4130
|
readonly showAuthor: boolean;
|
|
@@ -4145,16 +4145,16 @@ export declare const apiClients: {
|
|
|
4145
4145
|
readonly start: {
|
|
4146
4146
|
readonly description: string;
|
|
4147
4147
|
readonly id: string;
|
|
4148
|
-
readonly slug: string;
|
|
4149
|
-
readonly tags: readonly string[];
|
|
4150
|
-
readonly categories: readonly string[];
|
|
4151
|
-
readonly title: string;
|
|
4152
4148
|
readonly updatedAt: Date;
|
|
4149
|
+
readonly title: string;
|
|
4153
4150
|
readonly package: string;
|
|
4154
4151
|
readonly showOnNav: boolean;
|
|
4155
4152
|
readonly publishedAt: Date;
|
|
4153
|
+
readonly slug: string;
|
|
4156
4154
|
readonly contentLang: string;
|
|
4157
4155
|
readonly heroImage?: string | null | undefined;
|
|
4156
|
+
readonly categories: readonly string[];
|
|
4157
|
+
readonly tags: readonly string[];
|
|
4158
4158
|
readonly authorId: string;
|
|
4159
4159
|
readonly contributorIds: readonly string[];
|
|
4160
4160
|
readonly showAuthor: boolean;
|
|
@@ -4166,16 +4166,16 @@ export declare const apiClients: {
|
|
|
4166
4166
|
readonly end: {
|
|
4167
4167
|
readonly description: string;
|
|
4168
4168
|
readonly id: string;
|
|
4169
|
-
readonly slug: string;
|
|
4170
|
-
readonly tags: readonly string[];
|
|
4171
|
-
readonly categories: readonly string[];
|
|
4172
|
-
readonly title: string;
|
|
4173
4169
|
readonly updatedAt: Date;
|
|
4170
|
+
readonly title: string;
|
|
4174
4171
|
readonly package: string;
|
|
4175
4172
|
readonly showOnNav: boolean;
|
|
4176
4173
|
readonly publishedAt: Date;
|
|
4174
|
+
readonly slug: string;
|
|
4177
4175
|
readonly contentLang: string;
|
|
4178
4176
|
readonly heroImage?: string | null | undefined;
|
|
4177
|
+
readonly categories: readonly string[];
|
|
4178
|
+
readonly tags: readonly string[];
|
|
4179
4179
|
readonly authorId: string;
|
|
4180
4180
|
readonly contributorIds: readonly string[];
|
|
4181
4181
|
readonly showAuthor: boolean;
|
|
@@ -4205,16 +4205,16 @@ export declare const apiClients: {
|
|
|
4205
4205
|
readonly start: {
|
|
4206
4206
|
readonly description: string;
|
|
4207
4207
|
readonly id: string;
|
|
4208
|
-
readonly slug: string;
|
|
4209
|
-
readonly tags: readonly string[];
|
|
4210
|
-
readonly categories: readonly string[];
|
|
4211
|
-
readonly title: string;
|
|
4212
4208
|
readonly updatedAt: Date;
|
|
4209
|
+
readonly title: string;
|
|
4213
4210
|
readonly package: string;
|
|
4214
4211
|
readonly showOnNav: boolean;
|
|
4215
4212
|
readonly publishedAt: Date;
|
|
4213
|
+
readonly slug: string;
|
|
4216
4214
|
readonly contentLang: string;
|
|
4217
4215
|
readonly heroImage?: string | null | undefined;
|
|
4216
|
+
readonly categories: readonly string[];
|
|
4217
|
+
readonly tags: readonly string[];
|
|
4218
4218
|
readonly authorId: string;
|
|
4219
4219
|
readonly contributorIds: readonly string[];
|
|
4220
4220
|
readonly showAuthor: boolean;
|
|
@@ -4226,16 +4226,16 @@ export declare const apiClients: {
|
|
|
4226
4226
|
readonly end: {
|
|
4227
4227
|
readonly description: string;
|
|
4228
4228
|
readonly id: string;
|
|
4229
|
-
readonly slug: string;
|
|
4230
|
-
readonly tags: readonly string[];
|
|
4231
|
-
readonly categories: readonly string[];
|
|
4232
|
-
readonly title: string;
|
|
4233
4229
|
readonly updatedAt: Date;
|
|
4230
|
+
readonly title: string;
|
|
4234
4231
|
readonly package: string;
|
|
4235
4232
|
readonly showOnNav: boolean;
|
|
4236
4233
|
readonly publishedAt: Date;
|
|
4234
|
+
readonly slug: string;
|
|
4237
4235
|
readonly contentLang: string;
|
|
4238
4236
|
readonly heroImage?: string | null | undefined;
|
|
4237
|
+
readonly categories: readonly string[];
|
|
4238
|
+
readonly tags: readonly string[];
|
|
4239
4239
|
readonly authorId: string;
|
|
4240
4240
|
readonly contributorIds: readonly string[];
|
|
4241
4241
|
readonly showAuthor: boolean;
|
|
@@ -4256,16 +4256,16 @@ export declare const apiClients: {
|
|
|
4256
4256
|
readonly start: {
|
|
4257
4257
|
readonly description: string;
|
|
4258
4258
|
readonly id: string;
|
|
4259
|
-
readonly slug: string;
|
|
4260
|
-
readonly tags: readonly string[];
|
|
4261
|
-
readonly categories: readonly string[];
|
|
4262
|
-
readonly title: string;
|
|
4263
4259
|
readonly updatedAt: Date;
|
|
4260
|
+
readonly title: string;
|
|
4264
4261
|
readonly package: string;
|
|
4265
4262
|
readonly showOnNav: boolean;
|
|
4266
4263
|
readonly publishedAt: Date;
|
|
4264
|
+
readonly slug: string;
|
|
4267
4265
|
readonly contentLang: string;
|
|
4268
4266
|
readonly heroImage?: string | null | undefined;
|
|
4267
|
+
readonly categories: readonly string[];
|
|
4268
|
+
readonly tags: readonly string[];
|
|
4269
4269
|
readonly authorId: string;
|
|
4270
4270
|
readonly contributorIds: readonly string[];
|
|
4271
4271
|
readonly showAuthor: boolean;
|
|
@@ -4277,16 +4277,16 @@ export declare const apiClients: {
|
|
|
4277
4277
|
readonly end: {
|
|
4278
4278
|
readonly description: string;
|
|
4279
4279
|
readonly id: string;
|
|
4280
|
-
readonly slug: string;
|
|
4281
|
-
readonly tags: readonly string[];
|
|
4282
|
-
readonly categories: readonly string[];
|
|
4283
|
-
readonly title: string;
|
|
4284
4280
|
readonly updatedAt: Date;
|
|
4281
|
+
readonly title: string;
|
|
4285
4282
|
readonly package: string;
|
|
4286
4283
|
readonly showOnNav: boolean;
|
|
4287
4284
|
readonly publishedAt: Date;
|
|
4285
|
+
readonly slug: string;
|
|
4288
4286
|
readonly contentLang: string;
|
|
4289
4287
|
readonly heroImage?: string | null | undefined;
|
|
4288
|
+
readonly categories: readonly string[];
|
|
4289
|
+
readonly tags: readonly string[];
|
|
4290
4290
|
readonly authorId: string;
|
|
4291
4291
|
readonly contributorIds: readonly string[];
|
|
4292
4292
|
readonly showAuthor: boolean;
|
|
@@ -4305,16 +4305,16 @@ export declare const apiClients: {
|
|
|
4305
4305
|
readonly data?: {
|
|
4306
4306
|
readonly description?: string | undefined;
|
|
4307
4307
|
readonly id?: string | undefined;
|
|
4308
|
-
readonly slug?: string | undefined;
|
|
4309
|
-
readonly tags?: readonly string[] | undefined;
|
|
4310
|
-
readonly categories?: readonly string[] | undefined;
|
|
4311
|
-
readonly title?: string | undefined;
|
|
4312
4308
|
readonly updatedAt?: Date | undefined;
|
|
4309
|
+
readonly title?: string | undefined;
|
|
4313
4310
|
readonly package?: string | undefined;
|
|
4314
4311
|
readonly showOnNav?: boolean | undefined;
|
|
4315
4312
|
readonly publishedAt?: Date | undefined;
|
|
4313
|
+
readonly slug?: string | undefined;
|
|
4316
4314
|
readonly contentLang?: string | undefined;
|
|
4317
4315
|
readonly heroImage?: string | null | undefined;
|
|
4316
|
+
readonly categories?: readonly string[] | undefined;
|
|
4317
|
+
readonly tags?: readonly string[] | undefined;
|
|
4318
4318
|
readonly authorId?: string | undefined;
|
|
4319
4319
|
readonly contributorIds?: readonly string[] | undefined;
|
|
4320
4320
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -4338,8 +4338,8 @@ export declare const apiClients: {
|
|
|
4338
4338
|
}, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
4339
4339
|
readonly getPages: <WithResponse extends boolean = false>(request: {
|
|
4340
4340
|
readonly urlParams: {
|
|
4341
|
-
readonly slug?: string | undefined;
|
|
4342
4341
|
readonly title?: string | undefined;
|
|
4342
|
+
readonly slug?: string | undefined;
|
|
4343
4343
|
readonly parentFolder?: string | undefined;
|
|
4344
4344
|
readonly draft?: boolean | undefined;
|
|
4345
4345
|
readonly author?: string | undefined;
|
|
@@ -4349,8 +4349,15 @@ export declare const apiClients: {
|
|
|
4349
4349
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
4350
4350
|
readonly description: string;
|
|
4351
4351
|
readonly id: string;
|
|
4352
|
+
readonly updatedAt: Date;
|
|
4353
|
+
readonly title: string;
|
|
4354
|
+
readonly package: string;
|
|
4355
|
+
readonly showOnNav: boolean;
|
|
4356
|
+
readonly publishedAt: Date;
|
|
4352
4357
|
readonly slug: string;
|
|
4353
|
-
readonly
|
|
4358
|
+
readonly contentLang: string;
|
|
4359
|
+
readonly heroImage?: string | null | undefined;
|
|
4360
|
+
readonly categories: readonly {
|
|
4354
4361
|
readonly description: string;
|
|
4355
4362
|
readonly id: number;
|
|
4356
4363
|
readonly name: string;
|
|
@@ -4358,8 +4365,9 @@ export declare const apiClients: {
|
|
|
4358
4365
|
readonly meta: {
|
|
4359
4366
|
readonly [x: string]: unknown;
|
|
4360
4367
|
};
|
|
4368
|
+
readonly parent?: number | null | undefined;
|
|
4361
4369
|
}[];
|
|
4362
|
-
readonly
|
|
4370
|
+
readonly tags: readonly {
|
|
4363
4371
|
readonly description: string;
|
|
4364
4372
|
readonly id: number;
|
|
4365
4373
|
readonly name: string;
|
|
@@ -4367,15 +4375,7 @@ export declare const apiClients: {
|
|
|
4367
4375
|
readonly meta: {
|
|
4368
4376
|
readonly [x: string]: unknown;
|
|
4369
4377
|
};
|
|
4370
|
-
readonly parent?: number | null | undefined;
|
|
4371
4378
|
}[];
|
|
4372
|
-
readonly title: string;
|
|
4373
|
-
readonly updatedAt: Date;
|
|
4374
|
-
readonly package: string;
|
|
4375
|
-
readonly showOnNav: boolean;
|
|
4376
|
-
readonly publishedAt: Date;
|
|
4377
|
-
readonly contentLang: string;
|
|
4378
|
-
readonly heroImage?: string | null | undefined;
|
|
4379
4379
|
readonly authorId: string;
|
|
4380
4380
|
readonly contributorIds: readonly string[];
|
|
4381
4381
|
readonly showAuthor: boolean;
|
|
@@ -4398,8 +4398,8 @@ export declare const apiClients: {
|
|
|
4398
4398
|
readonly urlRoute: string;
|
|
4399
4399
|
readonly authorData: {
|
|
4400
4400
|
readonly id: string;
|
|
4401
|
-
readonly name: string;
|
|
4402
4401
|
readonly url?: string | null | undefined;
|
|
4402
|
+
readonly name: string;
|
|
4403
4403
|
readonly avatar?: string | null | undefined;
|
|
4404
4404
|
readonly username: string;
|
|
4405
4405
|
readonly updatedAt: Date;
|
|
@@ -4409,8 +4409,8 @@ export declare const apiClients: {
|
|
|
4409
4409
|
} | undefined;
|
|
4410
4410
|
readonly contributorsData: readonly {
|
|
4411
4411
|
readonly id: string;
|
|
4412
|
-
readonly name: string;
|
|
4413
4412
|
readonly url?: string | null | undefined;
|
|
4413
|
+
readonly name: string;
|
|
4414
4414
|
readonly avatar?: string | null | undefined;
|
|
4415
4415
|
readonly username: string;
|
|
4416
4416
|
readonly updatedAt: Date;
|
|
@@ -4421,8 +4421,15 @@ export declare const apiClients: {
|
|
|
4421
4421
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
4422
4422
|
readonly description: string;
|
|
4423
4423
|
readonly id: string;
|
|
4424
|
+
readonly updatedAt: Date;
|
|
4425
|
+
readonly title: string;
|
|
4426
|
+
readonly package: string;
|
|
4427
|
+
readonly showOnNav: boolean;
|
|
4428
|
+
readonly publishedAt: Date;
|
|
4424
4429
|
readonly slug: string;
|
|
4425
|
-
readonly
|
|
4430
|
+
readonly contentLang: string;
|
|
4431
|
+
readonly heroImage?: string | null | undefined;
|
|
4432
|
+
readonly categories: readonly {
|
|
4426
4433
|
readonly description: string;
|
|
4427
4434
|
readonly id: number;
|
|
4428
4435
|
readonly name: string;
|
|
@@ -4430,8 +4437,9 @@ export declare const apiClients: {
|
|
|
4430
4437
|
readonly meta: {
|
|
4431
4438
|
readonly [x: string]: unknown;
|
|
4432
4439
|
};
|
|
4440
|
+
readonly parent?: number | null | undefined;
|
|
4433
4441
|
}[];
|
|
4434
|
-
readonly
|
|
4442
|
+
readonly tags: readonly {
|
|
4435
4443
|
readonly description: string;
|
|
4436
4444
|
readonly id: number;
|
|
4437
4445
|
readonly name: string;
|
|
@@ -4439,15 +4447,7 @@ export declare const apiClients: {
|
|
|
4439
4447
|
readonly meta: {
|
|
4440
4448
|
readonly [x: string]: unknown;
|
|
4441
4449
|
};
|
|
4442
|
-
readonly parent?: number | null | undefined;
|
|
4443
4450
|
}[];
|
|
4444
|
-
readonly title: string;
|
|
4445
|
-
readonly updatedAt: Date;
|
|
4446
|
-
readonly package: string;
|
|
4447
|
-
readonly showOnNav: boolean;
|
|
4448
|
-
readonly publishedAt: Date;
|
|
4449
|
-
readonly contentLang: string;
|
|
4450
|
-
readonly heroImage?: string | null | undefined;
|
|
4451
4451
|
readonly authorId: string;
|
|
4452
4452
|
readonly contributorIds: readonly string[];
|
|
4453
4453
|
readonly showAuthor: boolean;
|
|
@@ -4470,8 +4470,8 @@ export declare const apiClients: {
|
|
|
4470
4470
|
readonly urlRoute: string;
|
|
4471
4471
|
readonly authorData: {
|
|
4472
4472
|
readonly id: string;
|
|
4473
|
-
readonly name: string;
|
|
4474
4473
|
readonly url?: string | null | undefined;
|
|
4474
|
+
readonly name: string;
|
|
4475
4475
|
readonly avatar?: string | null | undefined;
|
|
4476
4476
|
readonly username: string;
|
|
4477
4477
|
readonly updatedAt: Date;
|
|
@@ -4481,8 +4481,8 @@ export declare const apiClients: {
|
|
|
4481
4481
|
} | undefined;
|
|
4482
4482
|
readonly contributorsData: readonly {
|
|
4483
4483
|
readonly id: string;
|
|
4484
|
-
readonly name: string;
|
|
4485
4484
|
readonly url?: string | null | undefined;
|
|
4485
|
+
readonly name: string;
|
|
4486
4486
|
readonly avatar?: string | null | undefined;
|
|
4487
4487
|
readonly username: string;
|
|
4488
4488
|
readonly updatedAt: Date;
|
|
@@ -4496,16 +4496,16 @@ export declare const apiClients: {
|
|
|
4496
4496
|
readonly data?: {
|
|
4497
4497
|
readonly description?: string | undefined;
|
|
4498
4498
|
readonly id?: string | undefined;
|
|
4499
|
-
readonly slug?: string | undefined;
|
|
4500
|
-
readonly tags?: readonly string[] | undefined;
|
|
4501
|
-
readonly categories?: readonly string[] | undefined;
|
|
4502
|
-
readonly title?: string | undefined;
|
|
4503
4499
|
readonly updatedAt?: Date | undefined;
|
|
4500
|
+
readonly title?: string | undefined;
|
|
4504
4501
|
readonly package?: string | undefined;
|
|
4505
4502
|
readonly showOnNav?: boolean | undefined;
|
|
4506
4503
|
readonly publishedAt?: Date | undefined;
|
|
4504
|
+
readonly slug?: string | undefined;
|
|
4507
4505
|
readonly contentLang?: string | undefined;
|
|
4508
4506
|
readonly heroImage?: string | null | undefined;
|
|
4507
|
+
readonly categories?: readonly string[] | undefined;
|
|
4508
|
+
readonly tags?: readonly string[] | undefined;
|
|
4509
4509
|
readonly authorId?: string | undefined;
|
|
4510
4510
|
readonly contributorIds?: readonly string[] | undefined;
|
|
4511
4511
|
readonly showAuthor?: boolean | undefined;
|
|
@@ -4654,8 +4654,8 @@ export declare const apiClients: {
|
|
|
4654
4654
|
readonly withResponse?: WithResponse | undefined;
|
|
4655
4655
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
4656
4656
|
readonly id: string;
|
|
4657
|
-
readonly name: string;
|
|
4658
4657
|
readonly url?: string | null | undefined;
|
|
4658
|
+
readonly name: string;
|
|
4659
4659
|
readonly email?: string | null | undefined;
|
|
4660
4660
|
readonly avatar?: string | null | undefined;
|
|
4661
4661
|
readonly username: string;
|
|
@@ -4663,8 +4663,8 @@ export declare const apiClients: {
|
|
|
4663
4663
|
readonly createdAt: Date;
|
|
4664
4664
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
4665
4665
|
readonly id: string;
|
|
4666
|
-
readonly name: string;
|
|
4667
4666
|
readonly url?: string | null | undefined;
|
|
4667
|
+
readonly name: string;
|
|
4668
4668
|
readonly email?: string | null | undefined;
|
|
4669
4669
|
readonly avatar?: string | null | undefined;
|
|
4670
4670
|
readonly username: string;
|
|
@@ -4679,8 +4679,8 @@ export declare const apiClients: {
|
|
|
4679
4679
|
readonly withResponse?: WithResponse | undefined;
|
|
4680
4680
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
4681
4681
|
readonly id: string;
|
|
4682
|
-
readonly name: string;
|
|
4683
4682
|
readonly url?: string | null | undefined;
|
|
4683
|
+
readonly name: string;
|
|
4684
4684
|
readonly email?: string | null | undefined;
|
|
4685
4685
|
readonly avatar?: string | null | undefined;
|
|
4686
4686
|
readonly username: string;
|
|
@@ -4688,8 +4688,8 @@ export declare const apiClients: {
|
|
|
4688
4688
|
readonly createdAt: Date;
|
|
4689
4689
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
4690
4690
|
readonly id: string;
|
|
4691
|
-
readonly name: string;
|
|
4692
4691
|
readonly url?: string | null | undefined;
|
|
4692
|
+
readonly name: string;
|
|
4693
4693
|
readonly email?: string | null | undefined;
|
|
4694
4694
|
readonly avatar?: string | null | undefined;
|
|
4695
4695
|
readonly username: string;
|
|
@@ -4705,8 +4705,8 @@ export declare const apiClients: {
|
|
|
4705
4705
|
readonly withResponse?: WithResponse | undefined;
|
|
4706
4706
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
4707
4707
|
readonly id: string;
|
|
4708
|
-
readonly name: string;
|
|
4709
4708
|
readonly url?: string | null | undefined;
|
|
4709
|
+
readonly name: string;
|
|
4710
4710
|
readonly email?: string | null | undefined;
|
|
4711
4711
|
readonly avatar?: string | null | undefined;
|
|
4712
4712
|
readonly username: string;
|
|
@@ -4714,8 +4714,8 @@ export declare const apiClients: {
|
|
|
4714
4714
|
readonly createdAt: Date;
|
|
4715
4715
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
4716
4716
|
readonly id: string;
|
|
4717
|
-
readonly name: string;
|
|
4718
4717
|
readonly url?: string | null | undefined;
|
|
4718
|
+
readonly name: string;
|
|
4719
4719
|
readonly email?: string | null | undefined;
|
|
4720
4720
|
readonly avatar?: string | null | undefined;
|
|
4721
4721
|
readonly username: string;
|
|
@@ -4727,8 +4727,8 @@ export declare const apiClients: {
|
|
|
4727
4727
|
readonly withResponse?: WithResponse | undefined;
|
|
4728
4728
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
4729
4729
|
readonly id: string;
|
|
4730
|
-
readonly name: string;
|
|
4731
4730
|
readonly url?: string | null | undefined;
|
|
4731
|
+
readonly name: string;
|
|
4732
4732
|
readonly email?: string | null | undefined;
|
|
4733
4733
|
readonly avatar?: string | null | undefined;
|
|
4734
4734
|
readonly username: string;
|
|
@@ -4736,8 +4736,8 @@ export declare const apiClients: {
|
|
|
4736
4736
|
readonly createdAt: Date;
|
|
4737
4737
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
4738
4738
|
readonly id: string;
|
|
4739
|
-
readonly name: string;
|
|
4740
4739
|
readonly url?: string | null | undefined;
|
|
4740
|
+
readonly name: string;
|
|
4741
4741
|
readonly email?: string | null | undefined;
|
|
4742
4742
|
readonly avatar?: string | null | undefined;
|
|
4743
4743
|
readonly username: string;
|
|
@@ -4750,8 +4750,8 @@ export declare const apiClients: {
|
|
|
4750
4750
|
readonly id: string;
|
|
4751
4751
|
readonly data: {
|
|
4752
4752
|
readonly description: string;
|
|
4753
|
-
readonly title: string;
|
|
4754
4753
|
readonly _config_version: string;
|
|
4754
|
+
readonly title: string;
|
|
4755
4755
|
readonly defaultOgImage?: string | null | undefined;
|
|
4756
4756
|
readonly siteIcon?: string | null | undefined;
|
|
4757
4757
|
readonly loginPageBackground?: string | undefined;
|
|
@@ -4765,8 +4765,8 @@ export declare const apiClients: {
|
|
|
4765
4765
|
readonly id: string;
|
|
4766
4766
|
readonly data: {
|
|
4767
4767
|
readonly description: string;
|
|
4768
|
-
readonly title: string;
|
|
4769
4768
|
readonly _config_version: string;
|
|
4769
|
+
readonly title: string;
|
|
4770
4770
|
readonly defaultOgImage?: string | null | undefined;
|
|
4771
4771
|
readonly siteIcon?: string | null | undefined;
|
|
4772
4772
|
readonly loginPageBackground?: string | undefined;
|
|
@@ -4780,8 +4780,8 @@ export declare const apiClients: {
|
|
|
4780
4780
|
readonly updateSettings: <WithResponse extends boolean = false>(request: {
|
|
4781
4781
|
readonly payload: {
|
|
4782
4782
|
description: string;
|
|
4783
|
-
title: string;
|
|
4784
4783
|
_config_version: string;
|
|
4784
|
+
title: string;
|
|
4785
4785
|
defaultOgImage?: string | null | undefined;
|
|
4786
4786
|
siteIcon?: string | null | undefined;
|
|
4787
4787
|
loginPageBackground?: string | undefined;
|
|
@@ -4824,8 +4824,8 @@ export declare const apiClients: {
|
|
|
4824
4824
|
readonly avatar?: string | null | undefined;
|
|
4825
4825
|
readonly username: string;
|
|
4826
4826
|
readonly permissionsData: {
|
|
4827
|
+
readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
|
|
4827
4828
|
readonly user: string;
|
|
4828
|
-
readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
|
|
4829
4829
|
} | undefined;
|
|
4830
4830
|
}[];
|
|
4831
4831
|
readonly searchQuery?: string | undefined;
|