studiocms 0.4.3 → 0.4.4
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.
|
@@ -122,19 +122,19 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
122
122
|
readonly updatedAt?: Date | undefined;
|
|
123
123
|
readonly description?: string | undefined;
|
|
124
124
|
readonly title?: string | undefined;
|
|
125
|
-
readonly tags?: readonly string[] | undefined;
|
|
126
125
|
readonly slug?: string | undefined;
|
|
127
|
-
readonly categories?: readonly string[] | undefined;
|
|
128
|
-
readonly parentFolder?: string | null | undefined;
|
|
129
126
|
readonly package?: string | undefined;
|
|
130
127
|
readonly showOnNav?: boolean | undefined;
|
|
131
128
|
readonly publishedAt?: Date | undefined;
|
|
132
129
|
readonly contentLang?: string | undefined;
|
|
133
130
|
readonly heroImage?: string | null | undefined;
|
|
131
|
+
readonly categories?: readonly string[] | undefined;
|
|
132
|
+
readonly tags?: readonly string[] | undefined;
|
|
134
133
|
readonly authorId?: string | undefined;
|
|
135
134
|
readonly contributorIds?: readonly string[] | undefined;
|
|
136
135
|
readonly showAuthor?: boolean | undefined;
|
|
137
136
|
readonly showContributors?: boolean | undefined;
|
|
137
|
+
readonly parentFolder?: string | null | undefined;
|
|
138
138
|
readonly draft?: boolean | undefined;
|
|
139
139
|
readonly augments?: readonly string[] | undefined;
|
|
140
140
|
};
|
|
@@ -149,24 +149,24 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
149
149
|
readonly id: string;
|
|
150
150
|
readonly updatedAt?: Date | undefined;
|
|
151
151
|
readonly description?: string | undefined;
|
|
152
|
-
readonly content: string;
|
|
153
152
|
readonly title?: string | undefined;
|
|
154
|
-
readonly tags?: readonly string[] | undefined;
|
|
155
153
|
readonly slug?: string | undefined;
|
|
156
|
-
readonly categories?: readonly string[] | undefined;
|
|
157
|
-
readonly parentFolder?: string | null | undefined;
|
|
158
154
|
readonly package?: string | undefined;
|
|
159
155
|
readonly showOnNav?: boolean | undefined;
|
|
160
156
|
readonly publishedAt?: Date | undefined;
|
|
161
157
|
readonly contentLang?: string | undefined;
|
|
162
158
|
readonly heroImage?: string | null | undefined;
|
|
159
|
+
readonly categories?: readonly string[] | undefined;
|
|
160
|
+
readonly tags?: readonly string[] | undefined;
|
|
163
161
|
readonly authorId?: string | undefined;
|
|
164
162
|
readonly contributorIds?: readonly string[] | undefined;
|
|
165
163
|
readonly showAuthor?: boolean | undefined;
|
|
166
164
|
readonly showContributors?: boolean | undefined;
|
|
165
|
+
readonly parentFolder?: string | null | undefined;
|
|
167
166
|
readonly draft?: boolean | undefined;
|
|
168
167
|
readonly augments?: readonly string[] | undefined;
|
|
169
168
|
readonly contentId: string;
|
|
169
|
+
readonly content: string;
|
|
170
170
|
readonly pluginFields: {
|
|
171
171
|
readonly [x: string]: FormDataEntryValue | null;
|
|
172
172
|
};
|
|
@@ -224,7 +224,7 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
224
224
|
readonly revertToDiff: <WithResponse extends boolean = false>(request: {
|
|
225
225
|
readonly payload: {
|
|
226
226
|
readonly id: string;
|
|
227
|
-
readonly type: "
|
|
227
|
+
readonly type: "data" | "content" | "both";
|
|
228
228
|
};
|
|
229
229
|
readonly withResponse?: WithResponse | undefined;
|
|
230
230
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -417,14 +417,14 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
417
417
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
418
418
|
readonly id: string;
|
|
419
419
|
readonly name: string;
|
|
420
|
-
readonly slug?: string | undefined;
|
|
421
420
|
readonly type: "folder" | "page";
|
|
421
|
+
readonly slug?: string | undefined;
|
|
422
422
|
readonly isDraft?: boolean | null | undefined;
|
|
423
423
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
424
424
|
readonly id: string;
|
|
425
425
|
readonly name: string;
|
|
426
|
-
readonly slug?: string | undefined;
|
|
427
426
|
readonly type: "folder" | "page";
|
|
427
|
+
readonly slug?: string | undefined;
|
|
428
428
|
readonly isDraft?: boolean | null | undefined;
|
|
429
429
|
}[], 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>;
|
|
430
430
|
};
|
|
@@ -434,11 +434,11 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
434
434
|
readonly id: number;
|
|
435
435
|
readonly name: string;
|
|
436
436
|
readonly description: string;
|
|
437
|
+
readonly type: "tags";
|
|
437
438
|
readonly slug: string;
|
|
438
439
|
readonly meta: {
|
|
439
440
|
readonly [x: string]: unknown;
|
|
440
441
|
};
|
|
441
|
-
readonly type: "tags";
|
|
442
442
|
readonly mode: "create" | "edit";
|
|
443
443
|
};
|
|
444
444
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -447,12 +447,12 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
447
447
|
readonly id: number;
|
|
448
448
|
readonly name: string;
|
|
449
449
|
readonly description: string;
|
|
450
|
+
readonly type: "categories";
|
|
451
|
+
readonly parent?: number | null | undefined;
|
|
450
452
|
readonly slug: string;
|
|
451
453
|
readonly meta: {
|
|
452
454
|
readonly [x: string]: unknown;
|
|
453
455
|
};
|
|
454
|
-
readonly parent?: number | null | undefined;
|
|
455
|
-
readonly type: "categories";
|
|
456
456
|
readonly mode: "create" | "edit";
|
|
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 ? [{
|
|
@@ -478,23 +478,23 @@ export declare const dashboardClient: Effect.Effect<{
|
|
|
478
478
|
readonly id: number;
|
|
479
479
|
readonly name: string;
|
|
480
480
|
readonly description: string;
|
|
481
|
+
readonly type: "tag" | "category";
|
|
482
|
+
readonly parent: number | null | undefined;
|
|
481
483
|
readonly slug: string;
|
|
482
484
|
readonly meta: {
|
|
483
485
|
readonly [x: string]: unknown;
|
|
484
486
|
};
|
|
485
|
-
readonly parent: number | null | undefined;
|
|
486
|
-
readonly type: "tag" | "category";
|
|
487
487
|
readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
|
|
488
488
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
489
489
|
readonly id: number;
|
|
490
490
|
readonly name: string;
|
|
491
491
|
readonly description: string;
|
|
492
|
+
readonly type: "tag" | "category";
|
|
493
|
+
readonly parent: number | null | undefined;
|
|
492
494
|
readonly slug: string;
|
|
493
495
|
readonly meta: {
|
|
494
496
|
readonly [x: string]: unknown;
|
|
495
497
|
};
|
|
496
|
-
readonly parent: number | null | undefined;
|
|
497
|
-
readonly type: "tag" | "category";
|
|
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>;
|
|
500
500
|
};
|
|
@@ -626,6 +626,7 @@ 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";
|
|
629
630
|
readonly data: {
|
|
630
631
|
readonly rows: readonly {
|
|
631
632
|
readonly [x: string]: unknown;
|
|
@@ -644,9 +645,9 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
644
645
|
};
|
|
645
646
|
readonly lastInsertRowid?: number | undefined;
|
|
646
647
|
};
|
|
647
|
-
readonly type: "query";
|
|
648
648
|
} | {
|
|
649
649
|
readonly id: number;
|
|
650
|
+
readonly type: "transaction";
|
|
650
651
|
readonly data: readonly {
|
|
651
652
|
readonly rows: readonly {
|
|
652
653
|
readonly [x: string]: unknown;
|
|
@@ -665,13 +666,13 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
665
666
|
};
|
|
666
667
|
readonly lastInsertRowid?: number | undefined;
|
|
667
668
|
}[];
|
|
668
|
-
readonly type: "transaction";
|
|
669
669
|
} | {
|
|
670
670
|
readonly id: number;
|
|
671
671
|
readonly error: string;
|
|
672
672
|
readonly type: "query" | "transaction";
|
|
673
673
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
674
674
|
readonly id: number;
|
|
675
|
+
readonly type: "query";
|
|
675
676
|
readonly data: {
|
|
676
677
|
readonly rows: readonly {
|
|
677
678
|
readonly [x: string]: unknown;
|
|
@@ -690,9 +691,9 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
690
691
|
};
|
|
691
692
|
readonly lastInsertRowid?: number | undefined;
|
|
692
693
|
};
|
|
693
|
-
readonly type: "query";
|
|
694
694
|
} | {
|
|
695
695
|
readonly id: number;
|
|
696
|
+
readonly type: "transaction";
|
|
696
697
|
readonly data: readonly {
|
|
697
698
|
readonly rows: readonly {
|
|
698
699
|
readonly [x: string]: unknown;
|
|
@@ -711,7 +712,6 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
711
712
|
};
|
|
712
713
|
readonly lastInsertRowid?: number | undefined;
|
|
713
714
|
}[];
|
|
714
|
-
readonly type: "transaction";
|
|
715
715
|
} | {
|
|
716
716
|
readonly id: number;
|
|
717
717
|
readonly error: string;
|
|
@@ -734,8 +734,8 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
734
734
|
} | {
|
|
735
735
|
readonly payload: {
|
|
736
736
|
readonly key: string;
|
|
737
|
-
readonly action: "upload";
|
|
738
737
|
readonly contentType: string;
|
|
738
|
+
readonly action: "upload";
|
|
739
739
|
};
|
|
740
740
|
readonly withResponse?: WithResponse | undefined;
|
|
741
741
|
} | {
|
|
@@ -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
|
} | {
|
|
@@ -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
|
} | {
|
|
@@ -874,50 +874,6 @@ export declare const integrationsClient: Effect.Effect<{
|
|
|
874
874
|
*/
|
|
875
875
|
export declare const restClient: Effect.Effect<{
|
|
876
876
|
readonly restV1Public: {
|
|
877
|
-
readonly getTags: <WithResponse extends boolean = false>(request: {
|
|
878
|
-
readonly urlParams: {
|
|
879
|
-
readonly name?: string | undefined;
|
|
880
|
-
};
|
|
881
|
-
readonly withResponse?: WithResponse | undefined;
|
|
882
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
883
|
-
readonly id: number;
|
|
884
|
-
readonly name: string;
|
|
885
|
-
readonly description: string;
|
|
886
|
-
readonly slug: string;
|
|
887
|
-
readonly meta: {
|
|
888
|
-
readonly [x: string]: unknown;
|
|
889
|
-
};
|
|
890
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
891
|
-
readonly id: number;
|
|
892
|
-
readonly name: string;
|
|
893
|
-
readonly description: string;
|
|
894
|
-
readonly slug: string;
|
|
895
|
-
readonly meta: {
|
|
896
|
-
readonly [x: string]: unknown;
|
|
897
|
-
};
|
|
898
|
-
}[], 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>;
|
|
899
|
-
readonly getTag: <WithResponse extends boolean = false>(request: {
|
|
900
|
-
readonly path: {
|
|
901
|
-
readonly id: number;
|
|
902
|
-
};
|
|
903
|
-
readonly withResponse?: WithResponse | undefined;
|
|
904
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
905
|
-
readonly id: number;
|
|
906
|
-
readonly name: string;
|
|
907
|
-
readonly description: string;
|
|
908
|
-
readonly slug: string;
|
|
909
|
-
readonly meta: {
|
|
910
|
-
readonly [x: string]: unknown;
|
|
911
|
-
};
|
|
912
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
913
|
-
readonly id: number;
|
|
914
|
-
readonly name: string;
|
|
915
|
-
readonly description: string;
|
|
916
|
-
readonly slug: string;
|
|
917
|
-
readonly meta: {
|
|
918
|
-
readonly [x: string]: unknown;
|
|
919
|
-
};
|
|
920
|
-
}, 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>;
|
|
921
877
|
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
922
878
|
readonly urlParams: {
|
|
923
879
|
readonly name?: string | undefined;
|
|
@@ -928,20 +884,20 @@ export declare const restClient: Effect.Effect<{
|
|
|
928
884
|
readonly id: number;
|
|
929
885
|
readonly name: string;
|
|
930
886
|
readonly description: string;
|
|
887
|
+
readonly parent?: number | null | undefined;
|
|
931
888
|
readonly slug: string;
|
|
932
889
|
readonly meta: {
|
|
933
890
|
readonly [x: string]: unknown;
|
|
934
891
|
};
|
|
935
|
-
readonly parent?: number | null | undefined;
|
|
936
892
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
937
893
|
readonly id: number;
|
|
938
894
|
readonly name: string;
|
|
939
895
|
readonly description: string;
|
|
896
|
+
readonly parent?: number | null | undefined;
|
|
940
897
|
readonly slug: string;
|
|
941
898
|
readonly meta: {
|
|
942
899
|
readonly [x: string]: unknown;
|
|
943
900
|
};
|
|
944
|
-
readonly parent?: number | null | undefined;
|
|
945
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>;
|
|
946
902
|
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
947
903
|
readonly path: {
|
|
@@ -952,20 +908,20 @@ export declare const restClient: Effect.Effect<{
|
|
|
952
908
|
readonly id: number;
|
|
953
909
|
readonly name: string;
|
|
954
910
|
readonly description: string;
|
|
911
|
+
readonly parent?: number | null | undefined;
|
|
955
912
|
readonly slug: string;
|
|
956
913
|
readonly meta: {
|
|
957
914
|
readonly [x: string]: unknown;
|
|
958
915
|
};
|
|
959
|
-
readonly parent?: number | null | undefined;
|
|
960
916
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
961
917
|
readonly id: number;
|
|
962
918
|
readonly name: string;
|
|
963
919
|
readonly description: string;
|
|
920
|
+
readonly parent?: number | null | undefined;
|
|
964
921
|
readonly slug: string;
|
|
965
922
|
readonly meta: {
|
|
966
923
|
readonly [x: string]: unknown;
|
|
967
924
|
};
|
|
968
|
-
readonly parent?: number | null | undefined;
|
|
969
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>;
|
|
970
926
|
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
971
927
|
readonly urlParams: {
|
|
@@ -1000,8 +956,8 @@ export declare const restClient: Effect.Effect<{
|
|
|
1000
956
|
readonly urlParams: {
|
|
1001
957
|
readonly title?: string | undefined;
|
|
1002
958
|
readonly slug?: string | undefined;
|
|
1003
|
-
readonly author?: string | undefined;
|
|
1004
959
|
readonly parentFolder?: string | undefined;
|
|
960
|
+
readonly author?: string | undefined;
|
|
1005
961
|
};
|
|
1006
962
|
readonly withResponse?: WithResponse | undefined;
|
|
1007
963
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
@@ -1009,17 +965,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
1009
965
|
readonly updatedAt: Date;
|
|
1010
966
|
readonly description: string;
|
|
1011
967
|
readonly title: string;
|
|
1012
|
-
readonly
|
|
968
|
+
readonly slug: string;
|
|
969
|
+
readonly package: string;
|
|
970
|
+
readonly showOnNav: boolean;
|
|
971
|
+
readonly publishedAt: Date;
|
|
972
|
+
readonly contentLang: string;
|
|
973
|
+
readonly heroImage?: string | null | undefined;
|
|
974
|
+
readonly categories: readonly {
|
|
1013
975
|
readonly id: number;
|
|
1014
976
|
readonly name: string;
|
|
1015
977
|
readonly description: string;
|
|
978
|
+
readonly parent?: number | null | undefined;
|
|
1016
979
|
readonly slug: string;
|
|
1017
980
|
readonly meta: {
|
|
1018
981
|
readonly [x: string]: unknown;
|
|
1019
982
|
};
|
|
1020
983
|
}[];
|
|
1021
|
-
readonly
|
|
1022
|
-
readonly categories: readonly {
|
|
984
|
+
readonly tags: readonly {
|
|
1023
985
|
readonly id: number;
|
|
1024
986
|
readonly name: string;
|
|
1025
987
|
readonly description: string;
|
|
@@ -1027,31 +989,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
1027
989
|
readonly meta: {
|
|
1028
990
|
readonly [x: string]: unknown;
|
|
1029
991
|
};
|
|
1030
|
-
readonly parent?: number | null | undefined;
|
|
1031
992
|
}[];
|
|
1032
|
-
readonly parentFolder?: string | null | undefined;
|
|
1033
|
-
readonly package: string;
|
|
1034
|
-
readonly showOnNav: boolean;
|
|
1035
|
-
readonly publishedAt: Date;
|
|
1036
|
-
readonly contentLang: string;
|
|
1037
|
-
readonly heroImage?: string | null | undefined;
|
|
1038
993
|
readonly authorId: string;
|
|
1039
994
|
readonly contributorIds: readonly string[];
|
|
1040
995
|
readonly showAuthor: boolean;
|
|
1041
996
|
readonly showContributors: boolean;
|
|
997
|
+
readonly parentFolder?: string | null | undefined;
|
|
1042
998
|
readonly draft: boolean;
|
|
1043
999
|
readonly augments: readonly string[];
|
|
1044
1000
|
readonly multiLangContent: readonly {
|
|
1045
1001
|
readonly id: string;
|
|
1046
|
-
readonly content: string;
|
|
1047
1002
|
readonly contentLang: string;
|
|
1048
1003
|
readonly contentId: string;
|
|
1004
|
+
readonly content: string;
|
|
1049
1005
|
}[];
|
|
1050
1006
|
readonly defaultContent: {
|
|
1051
1007
|
readonly id: string;
|
|
1052
|
-
readonly content: string;
|
|
1053
1008
|
readonly contentLang: string;
|
|
1054
1009
|
readonly contentId: string;
|
|
1010
|
+
readonly content: string;
|
|
1055
1011
|
} | undefined;
|
|
1056
1012
|
readonly urlRoute: string;
|
|
1057
1013
|
readonly authorData: {
|
|
@@ -1081,17 +1037,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
1081
1037
|
readonly updatedAt: Date;
|
|
1082
1038
|
readonly description: string;
|
|
1083
1039
|
readonly title: string;
|
|
1084
|
-
readonly
|
|
1040
|
+
readonly slug: string;
|
|
1041
|
+
readonly package: string;
|
|
1042
|
+
readonly showOnNav: boolean;
|
|
1043
|
+
readonly publishedAt: Date;
|
|
1044
|
+
readonly contentLang: string;
|
|
1045
|
+
readonly heroImage?: string | null | undefined;
|
|
1046
|
+
readonly categories: readonly {
|
|
1085
1047
|
readonly id: number;
|
|
1086
1048
|
readonly name: string;
|
|
1087
1049
|
readonly description: string;
|
|
1050
|
+
readonly parent?: number | null | undefined;
|
|
1088
1051
|
readonly slug: string;
|
|
1089
1052
|
readonly meta: {
|
|
1090
1053
|
readonly [x: string]: unknown;
|
|
1091
1054
|
};
|
|
1092
1055
|
}[];
|
|
1093
|
-
readonly
|
|
1094
|
-
readonly categories: readonly {
|
|
1056
|
+
readonly tags: readonly {
|
|
1095
1057
|
readonly id: number;
|
|
1096
1058
|
readonly name: string;
|
|
1097
1059
|
readonly description: string;
|
|
@@ -1099,31 +1061,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
1099
1061
|
readonly meta: {
|
|
1100
1062
|
readonly [x: string]: unknown;
|
|
1101
1063
|
};
|
|
1102
|
-
readonly parent?: number | null | undefined;
|
|
1103
1064
|
}[];
|
|
1104
|
-
readonly parentFolder?: string | null | undefined;
|
|
1105
|
-
readonly package: string;
|
|
1106
|
-
readonly showOnNav: boolean;
|
|
1107
|
-
readonly publishedAt: Date;
|
|
1108
|
-
readonly contentLang: string;
|
|
1109
|
-
readonly heroImage?: string | null | undefined;
|
|
1110
1065
|
readonly authorId: string;
|
|
1111
1066
|
readonly contributorIds: readonly string[];
|
|
1112
1067
|
readonly showAuthor: boolean;
|
|
1113
1068
|
readonly showContributors: boolean;
|
|
1069
|
+
readonly parentFolder?: string | null | undefined;
|
|
1114
1070
|
readonly draft: boolean;
|
|
1115
1071
|
readonly augments: readonly string[];
|
|
1116
1072
|
readonly multiLangContent: readonly {
|
|
1117
1073
|
readonly id: string;
|
|
1118
|
-
readonly content: string;
|
|
1119
1074
|
readonly contentLang: string;
|
|
1120
1075
|
readonly contentId: string;
|
|
1076
|
+
readonly content: string;
|
|
1121
1077
|
}[];
|
|
1122
1078
|
readonly defaultContent: {
|
|
1123
1079
|
readonly id: string;
|
|
1124
|
-
readonly content: string;
|
|
1125
1080
|
readonly contentLang: string;
|
|
1126
1081
|
readonly contentId: string;
|
|
1082
|
+
readonly content: string;
|
|
1127
1083
|
} | undefined;
|
|
1128
1084
|
readonly urlRoute: string;
|
|
1129
1085
|
readonly authorData: {
|
|
@@ -1159,17 +1115,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
1159
1115
|
readonly updatedAt: Date;
|
|
1160
1116
|
readonly description: string;
|
|
1161
1117
|
readonly title: string;
|
|
1162
|
-
readonly
|
|
1118
|
+
readonly slug: string;
|
|
1119
|
+
readonly package: string;
|
|
1120
|
+
readonly showOnNav: boolean;
|
|
1121
|
+
readonly publishedAt: Date;
|
|
1122
|
+
readonly contentLang: string;
|
|
1123
|
+
readonly heroImage?: string | null | undefined;
|
|
1124
|
+
readonly categories: readonly {
|
|
1163
1125
|
readonly id: number;
|
|
1164
1126
|
readonly name: string;
|
|
1165
1127
|
readonly description: string;
|
|
1128
|
+
readonly parent?: number | null | undefined;
|
|
1166
1129
|
readonly slug: string;
|
|
1167
1130
|
readonly meta: {
|
|
1168
1131
|
readonly [x: string]: unknown;
|
|
1169
1132
|
};
|
|
1170
1133
|
}[];
|
|
1171
|
-
readonly
|
|
1172
|
-
readonly categories: readonly {
|
|
1134
|
+
readonly tags: readonly {
|
|
1173
1135
|
readonly id: number;
|
|
1174
1136
|
readonly name: string;
|
|
1175
1137
|
readonly description: string;
|
|
@@ -1177,31 +1139,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
1177
1139
|
readonly meta: {
|
|
1178
1140
|
readonly [x: string]: unknown;
|
|
1179
1141
|
};
|
|
1180
|
-
readonly parent?: number | null | undefined;
|
|
1181
1142
|
}[];
|
|
1182
|
-
readonly parentFolder?: string | null | undefined;
|
|
1183
|
-
readonly package: string;
|
|
1184
|
-
readonly showOnNav: boolean;
|
|
1185
|
-
readonly publishedAt: Date;
|
|
1186
|
-
readonly contentLang: string;
|
|
1187
|
-
readonly heroImage?: string | null | undefined;
|
|
1188
1143
|
readonly authorId: string;
|
|
1189
1144
|
readonly contributorIds: readonly string[];
|
|
1190
1145
|
readonly showAuthor: boolean;
|
|
1191
1146
|
readonly showContributors: boolean;
|
|
1147
|
+
readonly parentFolder?: string | null | undefined;
|
|
1192
1148
|
readonly draft: boolean;
|
|
1193
1149
|
readonly augments: readonly string[];
|
|
1194
1150
|
readonly multiLangContent: readonly {
|
|
1195
1151
|
readonly id: string;
|
|
1196
|
-
readonly content: string;
|
|
1197
1152
|
readonly contentLang: string;
|
|
1198
1153
|
readonly contentId: string;
|
|
1154
|
+
readonly content: string;
|
|
1199
1155
|
}[];
|
|
1200
1156
|
readonly defaultContent: {
|
|
1201
1157
|
readonly id: string;
|
|
1202
|
-
readonly content: string;
|
|
1203
1158
|
readonly contentLang: string;
|
|
1204
1159
|
readonly contentId: string;
|
|
1160
|
+
readonly content: string;
|
|
1205
1161
|
} | undefined;
|
|
1206
1162
|
readonly urlRoute: string;
|
|
1207
1163
|
readonly authorData: {
|
|
@@ -1231,17 +1187,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
1231
1187
|
readonly updatedAt: Date;
|
|
1232
1188
|
readonly description: string;
|
|
1233
1189
|
readonly title: string;
|
|
1234
|
-
readonly
|
|
1190
|
+
readonly slug: string;
|
|
1191
|
+
readonly package: string;
|
|
1192
|
+
readonly showOnNav: boolean;
|
|
1193
|
+
readonly publishedAt: Date;
|
|
1194
|
+
readonly contentLang: string;
|
|
1195
|
+
readonly heroImage?: string | null | undefined;
|
|
1196
|
+
readonly categories: readonly {
|
|
1235
1197
|
readonly id: number;
|
|
1236
1198
|
readonly name: string;
|
|
1237
1199
|
readonly description: string;
|
|
1200
|
+
readonly parent?: number | null | undefined;
|
|
1238
1201
|
readonly slug: string;
|
|
1239
1202
|
readonly meta: {
|
|
1240
1203
|
readonly [x: string]: unknown;
|
|
1241
1204
|
};
|
|
1242
1205
|
}[];
|
|
1243
|
-
readonly
|
|
1244
|
-
readonly categories: readonly {
|
|
1206
|
+
readonly tags: readonly {
|
|
1245
1207
|
readonly id: number;
|
|
1246
1208
|
readonly name: string;
|
|
1247
1209
|
readonly description: string;
|
|
@@ -1249,31 +1211,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
1249
1211
|
readonly meta: {
|
|
1250
1212
|
readonly [x: string]: unknown;
|
|
1251
1213
|
};
|
|
1252
|
-
readonly parent?: number | null | undefined;
|
|
1253
1214
|
}[];
|
|
1254
|
-
readonly parentFolder?: string | null | undefined;
|
|
1255
|
-
readonly package: string;
|
|
1256
|
-
readonly showOnNav: boolean;
|
|
1257
|
-
readonly publishedAt: Date;
|
|
1258
|
-
readonly contentLang: string;
|
|
1259
|
-
readonly heroImage?: string | null | undefined;
|
|
1260
1215
|
readonly authorId: string;
|
|
1261
1216
|
readonly contributorIds: readonly string[];
|
|
1262
1217
|
readonly showAuthor: boolean;
|
|
1263
1218
|
readonly showContributors: boolean;
|
|
1219
|
+
readonly parentFolder?: string | null | undefined;
|
|
1264
1220
|
readonly draft: boolean;
|
|
1265
1221
|
readonly augments: readonly string[];
|
|
1266
1222
|
readonly multiLangContent: readonly {
|
|
1267
1223
|
readonly id: string;
|
|
1268
|
-
readonly content: string;
|
|
1269
1224
|
readonly contentLang: string;
|
|
1270
1225
|
readonly contentId: string;
|
|
1226
|
+
readonly content: string;
|
|
1271
1227
|
}[];
|
|
1272
1228
|
readonly defaultContent: {
|
|
1273
1229
|
readonly id: string;
|
|
1274
|
-
readonly content: string;
|
|
1275
1230
|
readonly contentLang: string;
|
|
1276
1231
|
readonly contentId: string;
|
|
1232
|
+
readonly content: string;
|
|
1277
1233
|
} | undefined;
|
|
1278
1234
|
readonly urlRoute: string;
|
|
1279
1235
|
readonly authorData: {
|
|
@@ -1299,6 +1255,50 @@ export declare const restClient: Effect.Effect<{
|
|
|
1299
1255
|
readonly notifications?: string | null | undefined;
|
|
1300
1256
|
}[];
|
|
1301
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: {
|
|
1259
|
+
readonly urlParams: {
|
|
1260
|
+
readonly name?: string | undefined;
|
|
1261
|
+
};
|
|
1262
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1263
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
1264
|
+
readonly id: number;
|
|
1265
|
+
readonly name: string;
|
|
1266
|
+
readonly description: string;
|
|
1267
|
+
readonly slug: string;
|
|
1268
|
+
readonly meta: {
|
|
1269
|
+
readonly [x: string]: unknown;
|
|
1270
|
+
};
|
|
1271
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1272
|
+
readonly id: number;
|
|
1273
|
+
readonly name: string;
|
|
1274
|
+
readonly description: string;
|
|
1275
|
+
readonly slug: string;
|
|
1276
|
+
readonly meta: {
|
|
1277
|
+
readonly [x: string]: unknown;
|
|
1278
|
+
};
|
|
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;
|
|
1283
|
+
};
|
|
1284
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1285
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1286
|
+
readonly id: number;
|
|
1287
|
+
readonly name: string;
|
|
1288
|
+
readonly description: string;
|
|
1289
|
+
readonly slug: string;
|
|
1290
|
+
readonly meta: {
|
|
1291
|
+
readonly [x: string]: unknown;
|
|
1292
|
+
};
|
|
1293
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1294
|
+
readonly id: number;
|
|
1295
|
+
readonly name: string;
|
|
1296
|
+
readonly description: string;
|
|
1297
|
+
readonly slug: string;
|
|
1298
|
+
readonly meta: {
|
|
1299
|
+
readonly [x: string]: unknown;
|
|
1300
|
+
};
|
|
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
1302
|
};
|
|
1303
1303
|
readonly restV1: {
|
|
1304
1304
|
readonly getUsers: <WithResponse extends boolean = false>(request: {
|
|
@@ -1408,39 +1408,100 @@ export declare const restClient: Effect.Effect<{
|
|
|
1408
1408
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1409
1409
|
readonly message: string;
|
|
1410
1410
|
}, 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>;
|
|
1411
|
-
readonly
|
|
1412
|
-
readonly
|
|
1413
|
-
readonly
|
|
1411
|
+
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
1412
|
+
readonly urlParams: {
|
|
1413
|
+
readonly name?: string | undefined;
|
|
1414
|
+
readonly parent?: string | undefined;
|
|
1414
1415
|
};
|
|
1415
1416
|
readonly withResponse?: WithResponse | undefined;
|
|
1416
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1417
|
-
readonly
|
|
1418
|
-
|
|
1419
|
-
readonly
|
|
1420
|
-
}, import("
|
|
1421
|
-
|
|
1422
|
-
readonly
|
|
1423
|
-
|
|
1424
|
-
|
|
1417
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
1418
|
+
readonly id: string;
|
|
1419
|
+
readonly name: string;
|
|
1420
|
+
readonly parent?: string | null | undefined;
|
|
1421
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1422
|
+
readonly id: string;
|
|
1423
|
+
readonly name: string;
|
|
1424
|
+
readonly parent?: string | null | undefined;
|
|
1425
|
+
}[], 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>;
|
|
1426
|
+
readonly createFolder: <WithResponse extends boolean = false>(request: {
|
|
1427
|
+
readonly payload: {
|
|
1428
|
+
readonly name: string;
|
|
1429
|
+
readonly parent?: string | null | undefined;
|
|
1430
|
+
};
|
|
1431
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1432
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1433
|
+
readonly message: string;
|
|
1434
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1435
|
+
readonly message: string;
|
|
1436
|
+
}, 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>;
|
|
1437
|
+
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
1438
|
+
readonly path: {
|
|
1439
|
+
readonly id: string;
|
|
1440
|
+
};
|
|
1441
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1442
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1443
|
+
readonly id: string;
|
|
1444
|
+
readonly name: string;
|
|
1445
|
+
readonly parent?: string | null | undefined;
|
|
1446
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1447
|
+
readonly id: string;
|
|
1448
|
+
readonly name: string;
|
|
1449
|
+
readonly parent?: string | null | undefined;
|
|
1450
|
+
}, 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>;
|
|
1451
|
+
readonly updateFolder: <WithResponse extends boolean = false>(request: {
|
|
1452
|
+
readonly path: {
|
|
1453
|
+
readonly id: string;
|
|
1454
|
+
};
|
|
1455
|
+
readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
|
|
1456
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1457
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1458
|
+
readonly message: string;
|
|
1459
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1460
|
+
readonly message: string;
|
|
1461
|
+
}, 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>;
|
|
1462
|
+
readonly deleteFolder: <WithResponse extends boolean = false>(request: {
|
|
1463
|
+
readonly path: {
|
|
1464
|
+
readonly id: string;
|
|
1465
|
+
};
|
|
1466
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1467
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1468
|
+
readonly success: boolean;
|
|
1469
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1470
|
+
readonly success: boolean;
|
|
1471
|
+
}, 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>;
|
|
1472
|
+
readonly deleteCategory: <WithResponse extends boolean = false>(request: {
|
|
1473
|
+
readonly path: {
|
|
1474
|
+
readonly id: number;
|
|
1475
|
+
};
|
|
1476
|
+
readonly withResponse?: WithResponse | undefined;
|
|
1477
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1478
|
+
readonly success: boolean;
|
|
1479
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1480
|
+
readonly success: boolean;
|
|
1481
|
+
}, 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>;
|
|
1482
|
+
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
1483
|
+
readonly path: {
|
|
1484
|
+
readonly id: number;
|
|
1485
|
+
};
|
|
1425
1486
|
readonly withResponse?: WithResponse | undefined;
|
|
1426
1487
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1427
1488
|
readonly id: number;
|
|
1428
1489
|
readonly name: string;
|
|
1429
1490
|
readonly description: string;
|
|
1491
|
+
readonly parent?: number | null | undefined;
|
|
1430
1492
|
readonly slug: string;
|
|
1431
1493
|
readonly meta: {
|
|
1432
1494
|
readonly [x: string]: unknown;
|
|
1433
1495
|
};
|
|
1434
|
-
readonly parent?: number | null | undefined;
|
|
1435
1496
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1436
1497
|
readonly id: number;
|
|
1437
1498
|
readonly name: string;
|
|
1438
1499
|
readonly description: string;
|
|
1500
|
+
readonly parent?: number | null | undefined;
|
|
1439
1501
|
readonly slug: string;
|
|
1440
1502
|
readonly meta: {
|
|
1441
1503
|
readonly [x: string]: unknown;
|
|
1442
1504
|
};
|
|
1443
|
-
readonly parent?: number | null | undefined;
|
|
1444
1505
|
}, 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>;
|
|
1445
1506
|
readonly updateCategory: <WithResponse extends boolean = false>(request: {
|
|
1446
1507
|
readonly path: {
|
|
@@ -1450,31 +1511,31 @@ export declare const restClient: Effect.Effect<{
|
|
|
1450
1511
|
readonly id?: number | undefined;
|
|
1451
1512
|
readonly name?: string | undefined;
|
|
1452
1513
|
readonly description?: string | undefined;
|
|
1514
|
+
readonly parent?: number | null | undefined;
|
|
1453
1515
|
readonly slug?: string | undefined;
|
|
1454
1516
|
readonly meta?: {
|
|
1455
1517
|
readonly [x: string]: unknown;
|
|
1456
1518
|
} | undefined;
|
|
1457
|
-
readonly parent?: number | null | undefined;
|
|
1458
1519
|
};
|
|
1459
1520
|
readonly withResponse?: WithResponse | undefined;
|
|
1460
1521
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1461
1522
|
readonly id: number;
|
|
1462
1523
|
readonly name: string;
|
|
1463
1524
|
readonly description: string;
|
|
1525
|
+
readonly parent?: number | null | undefined;
|
|
1464
1526
|
readonly slug: string;
|
|
1465
1527
|
readonly meta: {
|
|
1466
1528
|
readonly [x: string]: unknown;
|
|
1467
1529
|
};
|
|
1468
|
-
readonly parent?: number | null | undefined;
|
|
1469
1530
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1470
1531
|
readonly id: number;
|
|
1471
1532
|
readonly name: string;
|
|
1472
1533
|
readonly description: string;
|
|
1534
|
+
readonly parent?: number | null | undefined;
|
|
1473
1535
|
readonly slug: string;
|
|
1474
1536
|
readonly meta: {
|
|
1475
1537
|
readonly [x: string]: unknown;
|
|
1476
1538
|
};
|
|
1477
|
-
readonly parent?: number | null | undefined;
|
|
1478
1539
|
}, 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>;
|
|
1479
1540
|
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
1480
1541
|
readonly urlParams: {
|
|
@@ -1486,109 +1547,48 @@ export declare const restClient: Effect.Effect<{
|
|
|
1486
1547
|
readonly id: number;
|
|
1487
1548
|
readonly name: string;
|
|
1488
1549
|
readonly description: string;
|
|
1550
|
+
readonly parent?: number | null | undefined;
|
|
1489
1551
|
readonly slug: string;
|
|
1490
1552
|
readonly meta: {
|
|
1491
1553
|
readonly [x: string]: unknown;
|
|
1492
1554
|
};
|
|
1493
|
-
readonly parent?: number | null | undefined;
|
|
1494
1555
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1495
1556
|
readonly id: number;
|
|
1496
1557
|
readonly name: string;
|
|
1497
1558
|
readonly description: string;
|
|
1559
|
+
readonly parent?: number | null | undefined;
|
|
1498
1560
|
readonly slug: string;
|
|
1499
1561
|
readonly meta: {
|
|
1500
1562
|
readonly [x: string]: unknown;
|
|
1501
1563
|
};
|
|
1502
|
-
readonly parent?: number | null | undefined;
|
|
1503
1564
|
}[], 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>;
|
|
1504
1565
|
readonly createCategory: <WithResponse extends boolean = false>(request: {
|
|
1505
1566
|
readonly payload: {
|
|
1506
1567
|
readonly name: string;
|
|
1507
1568
|
readonly description: string;
|
|
1569
|
+
readonly parent?: number | null | undefined;
|
|
1508
1570
|
readonly slug: string;
|
|
1509
1571
|
readonly meta: string;
|
|
1510
|
-
readonly parent?: number | null | undefined;
|
|
1511
1572
|
};
|
|
1512
1573
|
readonly withResponse?: WithResponse | undefined;
|
|
1513
1574
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1514
1575
|
readonly id: number;
|
|
1515
1576
|
readonly name: string;
|
|
1516
1577
|
readonly description: string;
|
|
1578
|
+
readonly parent?: number | null | undefined;
|
|
1517
1579
|
readonly slug: string;
|
|
1518
1580
|
readonly meta: {
|
|
1519
1581
|
readonly [x: string]: unknown;
|
|
1520
1582
|
};
|
|
1521
|
-
readonly parent?: number | null | undefined;
|
|
1522
1583
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1523
1584
|
readonly id: number;
|
|
1524
1585
|
readonly name: string;
|
|
1525
1586
|
readonly description: string;
|
|
1587
|
+
readonly parent?: number | null | undefined;
|
|
1526
1588
|
readonly slug: string;
|
|
1527
1589
|
readonly meta: {
|
|
1528
1590
|
readonly [x: string]: unknown;
|
|
1529
1591
|
};
|
|
1530
|
-
readonly parent?: number | null | undefined;
|
|
1531
|
-
}, 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>;
|
|
1532
|
-
readonly deleteFolder: <WithResponse extends boolean = false>(request: {
|
|
1533
|
-
readonly path: {
|
|
1534
|
-
readonly id: string;
|
|
1535
|
-
};
|
|
1536
|
-
readonly withResponse?: WithResponse | undefined;
|
|
1537
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1538
|
-
readonly success: boolean;
|
|
1539
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1540
|
-
readonly success: boolean;
|
|
1541
|
-
}, 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>;
|
|
1542
|
-
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
1543
|
-
readonly path: {
|
|
1544
|
-
readonly id: string;
|
|
1545
|
-
};
|
|
1546
|
-
readonly withResponse?: WithResponse | undefined;
|
|
1547
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1548
|
-
readonly id: string;
|
|
1549
|
-
readonly name: string;
|
|
1550
|
-
readonly parent?: string | null | undefined;
|
|
1551
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1552
|
-
readonly id: string;
|
|
1553
|
-
readonly name: string;
|
|
1554
|
-
readonly parent?: string | null | undefined;
|
|
1555
|
-
}, 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>;
|
|
1556
|
-
readonly updateFolder: <WithResponse extends boolean = false>(request: {
|
|
1557
|
-
readonly path: {
|
|
1558
|
-
readonly id: string;
|
|
1559
|
-
};
|
|
1560
|
-
readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
|
|
1561
|
-
readonly withResponse?: WithResponse | undefined;
|
|
1562
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1563
|
-
readonly message: string;
|
|
1564
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1565
|
-
readonly message: string;
|
|
1566
|
-
}, 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>;
|
|
1567
|
-
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
1568
|
-
readonly urlParams: {
|
|
1569
|
-
readonly name?: string | undefined;
|
|
1570
|
-
readonly parent?: string | undefined;
|
|
1571
|
-
};
|
|
1572
|
-
readonly withResponse?: WithResponse | undefined;
|
|
1573
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
1574
|
-
readonly id: string;
|
|
1575
|
-
readonly name: string;
|
|
1576
|
-
readonly parent?: string | null | undefined;
|
|
1577
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
1578
|
-
readonly id: string;
|
|
1579
|
-
readonly name: string;
|
|
1580
|
-
readonly parent?: string | null | undefined;
|
|
1581
|
-
}[], 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>;
|
|
1582
|
-
readonly createFolder: <WithResponse extends boolean = false>(request: {
|
|
1583
|
-
readonly payload: {
|
|
1584
|
-
readonly name: string;
|
|
1585
|
-
readonly parent?: string | null | undefined;
|
|
1586
|
-
};
|
|
1587
|
-
readonly withResponse?: WithResponse | undefined;
|
|
1588
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
1589
|
-
readonly message: string;
|
|
1590
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
1591
|
-
readonly message: string;
|
|
1592
1592
|
}, 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>;
|
|
1593
1593
|
readonly deletePage: <WithResponse extends boolean = false>(request: {
|
|
1594
1594
|
readonly path: {
|
|
@@ -1613,17 +1613,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
1613
1613
|
readonly updatedAt: Date;
|
|
1614
1614
|
readonly description: string;
|
|
1615
1615
|
readonly title: string;
|
|
1616
|
-
readonly
|
|
1616
|
+
readonly slug: string;
|
|
1617
|
+
readonly package: string;
|
|
1618
|
+
readonly showOnNav: boolean;
|
|
1619
|
+
readonly publishedAt: Date;
|
|
1620
|
+
readonly contentLang: string;
|
|
1621
|
+
readonly heroImage?: string | null | undefined;
|
|
1622
|
+
readonly categories: readonly {
|
|
1617
1623
|
readonly id: number;
|
|
1618
1624
|
readonly name: string;
|
|
1619
1625
|
readonly description: string;
|
|
1626
|
+
readonly parent?: number | null | undefined;
|
|
1620
1627
|
readonly slug: string;
|
|
1621
1628
|
readonly meta: {
|
|
1622
1629
|
readonly [x: string]: unknown;
|
|
1623
1630
|
};
|
|
1624
1631
|
}[];
|
|
1625
|
-
readonly
|
|
1626
|
-
readonly categories: readonly {
|
|
1632
|
+
readonly tags: readonly {
|
|
1627
1633
|
readonly id: number;
|
|
1628
1634
|
readonly name: string;
|
|
1629
1635
|
readonly description: string;
|
|
@@ -1631,31 +1637,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
1631
1637
|
readonly meta: {
|
|
1632
1638
|
readonly [x: string]: unknown;
|
|
1633
1639
|
};
|
|
1634
|
-
readonly parent?: number | null | undefined;
|
|
1635
1640
|
}[];
|
|
1636
|
-
readonly parentFolder?: string | null | undefined;
|
|
1637
|
-
readonly package: string;
|
|
1638
|
-
readonly showOnNav: boolean;
|
|
1639
|
-
readonly publishedAt: Date;
|
|
1640
|
-
readonly contentLang: string;
|
|
1641
|
-
readonly heroImage?: string | null | undefined;
|
|
1642
1641
|
readonly authorId: string;
|
|
1643
1642
|
readonly contributorIds: readonly string[];
|
|
1644
1643
|
readonly showAuthor: boolean;
|
|
1645
1644
|
readonly showContributors: boolean;
|
|
1645
|
+
readonly parentFolder?: string | null | undefined;
|
|
1646
1646
|
readonly draft: boolean;
|
|
1647
1647
|
readonly augments: readonly string[];
|
|
1648
1648
|
readonly multiLangContent: readonly {
|
|
1649
1649
|
readonly id: string;
|
|
1650
|
-
readonly content: string;
|
|
1651
1650
|
readonly contentLang: string;
|
|
1652
1651
|
readonly contentId: string;
|
|
1652
|
+
readonly content: string;
|
|
1653
1653
|
}[];
|
|
1654
1654
|
readonly defaultContent: {
|
|
1655
1655
|
readonly id: string;
|
|
1656
|
-
readonly content: string;
|
|
1657
1656
|
readonly contentLang: string;
|
|
1658
1657
|
readonly contentId: string;
|
|
1658
|
+
readonly content: string;
|
|
1659
1659
|
} | undefined;
|
|
1660
1660
|
readonly urlRoute: string;
|
|
1661
1661
|
readonly authorData: {
|
|
@@ -1685,17 +1685,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
1685
1685
|
readonly updatedAt: Date;
|
|
1686
1686
|
readonly description: string;
|
|
1687
1687
|
readonly title: string;
|
|
1688
|
-
readonly
|
|
1688
|
+
readonly slug: string;
|
|
1689
|
+
readonly package: string;
|
|
1690
|
+
readonly showOnNav: boolean;
|
|
1691
|
+
readonly publishedAt: Date;
|
|
1692
|
+
readonly contentLang: string;
|
|
1693
|
+
readonly heroImage?: string | null | undefined;
|
|
1694
|
+
readonly categories: readonly {
|
|
1689
1695
|
readonly id: number;
|
|
1690
1696
|
readonly name: string;
|
|
1691
1697
|
readonly description: string;
|
|
1698
|
+
readonly parent?: number | null | undefined;
|
|
1692
1699
|
readonly slug: string;
|
|
1693
1700
|
readonly meta: {
|
|
1694
1701
|
readonly [x: string]: unknown;
|
|
1695
1702
|
};
|
|
1696
1703
|
}[];
|
|
1697
|
-
readonly
|
|
1698
|
-
readonly categories: readonly {
|
|
1704
|
+
readonly tags: readonly {
|
|
1699
1705
|
readonly id: number;
|
|
1700
1706
|
readonly name: string;
|
|
1701
1707
|
readonly description: string;
|
|
@@ -1703,31 +1709,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
1703
1709
|
readonly meta: {
|
|
1704
1710
|
readonly [x: string]: unknown;
|
|
1705
1711
|
};
|
|
1706
|
-
readonly parent?: number | null | undefined;
|
|
1707
1712
|
}[];
|
|
1708
|
-
readonly parentFolder?: string | null | undefined;
|
|
1709
|
-
readonly package: string;
|
|
1710
|
-
readonly showOnNav: boolean;
|
|
1711
|
-
readonly publishedAt: Date;
|
|
1712
|
-
readonly contentLang: string;
|
|
1713
|
-
readonly heroImage?: string | null | undefined;
|
|
1714
1713
|
readonly authorId: string;
|
|
1715
1714
|
readonly contributorIds: readonly string[];
|
|
1716
1715
|
readonly showAuthor: boolean;
|
|
1717
1716
|
readonly showContributors: boolean;
|
|
1717
|
+
readonly parentFolder?: string | null | undefined;
|
|
1718
1718
|
readonly draft: boolean;
|
|
1719
1719
|
readonly augments: readonly string[];
|
|
1720
1720
|
readonly multiLangContent: readonly {
|
|
1721
1721
|
readonly id: string;
|
|
1722
|
-
readonly content: string;
|
|
1723
1722
|
readonly contentLang: string;
|
|
1724
1723
|
readonly contentId: string;
|
|
1724
|
+
readonly content: string;
|
|
1725
1725
|
}[];
|
|
1726
1726
|
readonly defaultContent: {
|
|
1727
1727
|
readonly id: string;
|
|
1728
|
-
readonly content: string;
|
|
1729
1728
|
readonly contentLang: string;
|
|
1730
1729
|
readonly contentId: string;
|
|
1730
|
+
readonly content: string;
|
|
1731
1731
|
} | undefined;
|
|
1732
1732
|
readonly urlRoute: string;
|
|
1733
1733
|
readonly authorData: {
|
|
@@ -1772,19 +1772,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1772
1772
|
readonly updatedAt: Date;
|
|
1773
1773
|
readonly description: string;
|
|
1774
1774
|
readonly title: string;
|
|
1775
|
-
readonly tags: readonly string[];
|
|
1776
1775
|
readonly slug: string;
|
|
1777
|
-
readonly categories: readonly string[];
|
|
1778
|
-
readonly parentFolder?: string | null | undefined;
|
|
1779
1776
|
readonly package: string;
|
|
1780
1777
|
readonly showOnNav: boolean;
|
|
1781
1778
|
readonly publishedAt: Date;
|
|
1782
1779
|
readonly contentLang: string;
|
|
1783
1780
|
readonly heroImage?: string | null | undefined;
|
|
1781
|
+
readonly categories: readonly string[];
|
|
1782
|
+
readonly tags: readonly string[];
|
|
1784
1783
|
readonly authorId: string;
|
|
1785
1784
|
readonly contributorIds: readonly string[];
|
|
1786
1785
|
readonly showAuthor: boolean;
|
|
1787
1786
|
readonly showContributors: boolean;
|
|
1787
|
+
readonly parentFolder?: string | null | undefined;
|
|
1788
1788
|
readonly draft: boolean;
|
|
1789
1789
|
readonly augments: readonly string[];
|
|
1790
1790
|
};
|
|
@@ -1793,19 +1793,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1793
1793
|
readonly updatedAt: Date;
|
|
1794
1794
|
readonly description: string;
|
|
1795
1795
|
readonly title: string;
|
|
1796
|
-
readonly tags: readonly string[];
|
|
1797
1796
|
readonly slug: string;
|
|
1798
|
-
readonly categories: readonly string[];
|
|
1799
|
-
readonly parentFolder?: string | null | undefined;
|
|
1800
1797
|
readonly package: string;
|
|
1801
1798
|
readonly showOnNav: boolean;
|
|
1802
1799
|
readonly publishedAt: Date;
|
|
1803
1800
|
readonly contentLang: string;
|
|
1804
1801
|
readonly heroImage?: string | null | undefined;
|
|
1802
|
+
readonly categories: readonly string[];
|
|
1803
|
+
readonly tags: readonly string[];
|
|
1805
1804
|
readonly authorId: string;
|
|
1806
1805
|
readonly contributorIds: readonly string[];
|
|
1807
1806
|
readonly showAuthor: boolean;
|
|
1808
1807
|
readonly showContributors: boolean;
|
|
1808
|
+
readonly parentFolder?: string | null | undefined;
|
|
1809
1809
|
readonly draft: boolean;
|
|
1810
1810
|
readonly augments: readonly string[];
|
|
1811
1811
|
};
|
|
@@ -1823,19 +1823,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1823
1823
|
readonly updatedAt: Date;
|
|
1824
1824
|
readonly description: string;
|
|
1825
1825
|
readonly title: string;
|
|
1826
|
-
readonly tags: readonly string[];
|
|
1827
1826
|
readonly slug: string;
|
|
1828
|
-
readonly categories: readonly string[];
|
|
1829
|
-
readonly parentFolder?: string | null | undefined;
|
|
1830
1827
|
readonly package: string;
|
|
1831
1828
|
readonly showOnNav: boolean;
|
|
1832
1829
|
readonly publishedAt: Date;
|
|
1833
1830
|
readonly contentLang: string;
|
|
1834
1831
|
readonly heroImage?: string | null | undefined;
|
|
1832
|
+
readonly categories: readonly string[];
|
|
1833
|
+
readonly tags: readonly string[];
|
|
1835
1834
|
readonly authorId: string;
|
|
1836
1835
|
readonly contributorIds: readonly string[];
|
|
1837
1836
|
readonly showAuthor: boolean;
|
|
1838
1837
|
readonly showContributors: boolean;
|
|
1838
|
+
readonly parentFolder?: string | null | undefined;
|
|
1839
1839
|
readonly draft: boolean;
|
|
1840
1840
|
readonly augments: readonly string[];
|
|
1841
1841
|
};
|
|
@@ -1844,19 +1844,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1844
1844
|
readonly updatedAt: Date;
|
|
1845
1845
|
readonly description: string;
|
|
1846
1846
|
readonly title: string;
|
|
1847
|
-
readonly tags: readonly string[];
|
|
1848
1847
|
readonly slug: string;
|
|
1849
|
-
readonly categories: readonly string[];
|
|
1850
|
-
readonly parentFolder?: string | null | undefined;
|
|
1851
1848
|
readonly package: string;
|
|
1852
1849
|
readonly showOnNav: boolean;
|
|
1853
1850
|
readonly publishedAt: Date;
|
|
1854
1851
|
readonly contentLang: string;
|
|
1855
1852
|
readonly heroImage?: string | null | undefined;
|
|
1853
|
+
readonly categories: readonly string[];
|
|
1854
|
+
readonly tags: readonly string[];
|
|
1856
1855
|
readonly authorId: string;
|
|
1857
1856
|
readonly contributorIds: readonly string[];
|
|
1858
1857
|
readonly showAuthor: boolean;
|
|
1859
1858
|
readonly showContributors: boolean;
|
|
1859
|
+
readonly parentFolder?: string | null | undefined;
|
|
1860
1860
|
readonly draft: boolean;
|
|
1861
1861
|
readonly augments: readonly string[];
|
|
1862
1862
|
};
|
|
@@ -1883,19 +1883,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1883
1883
|
readonly updatedAt: Date;
|
|
1884
1884
|
readonly description: string;
|
|
1885
1885
|
readonly title: string;
|
|
1886
|
-
readonly tags: readonly string[];
|
|
1887
1886
|
readonly slug: string;
|
|
1888
|
-
readonly categories: readonly string[];
|
|
1889
|
-
readonly parentFolder?: string | null | undefined;
|
|
1890
1887
|
readonly package: string;
|
|
1891
1888
|
readonly showOnNav: boolean;
|
|
1892
1889
|
readonly publishedAt: Date;
|
|
1893
1890
|
readonly contentLang: string;
|
|
1894
1891
|
readonly heroImage?: string | null | undefined;
|
|
1892
|
+
readonly categories: readonly string[];
|
|
1893
|
+
readonly tags: readonly string[];
|
|
1895
1894
|
readonly authorId: string;
|
|
1896
1895
|
readonly contributorIds: readonly string[];
|
|
1897
1896
|
readonly showAuthor: boolean;
|
|
1898
1897
|
readonly showContributors: boolean;
|
|
1898
|
+
readonly parentFolder?: string | null | undefined;
|
|
1899
1899
|
readonly draft: boolean;
|
|
1900
1900
|
readonly augments: readonly string[];
|
|
1901
1901
|
};
|
|
@@ -1904,19 +1904,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1904
1904
|
readonly updatedAt: Date;
|
|
1905
1905
|
readonly description: string;
|
|
1906
1906
|
readonly title: string;
|
|
1907
|
-
readonly tags: readonly string[];
|
|
1908
1907
|
readonly slug: string;
|
|
1909
|
-
readonly categories: readonly string[];
|
|
1910
|
-
readonly parentFolder?: string | null | undefined;
|
|
1911
1908
|
readonly package: string;
|
|
1912
1909
|
readonly showOnNav: boolean;
|
|
1913
1910
|
readonly publishedAt: Date;
|
|
1914
1911
|
readonly contentLang: string;
|
|
1915
1912
|
readonly heroImage?: string | null | undefined;
|
|
1913
|
+
readonly categories: readonly string[];
|
|
1914
|
+
readonly tags: readonly string[];
|
|
1916
1915
|
readonly authorId: string;
|
|
1917
1916
|
readonly contributorIds: readonly string[];
|
|
1918
1917
|
readonly showAuthor: boolean;
|
|
1919
1918
|
readonly showContributors: boolean;
|
|
1919
|
+
readonly parentFolder?: string | null | undefined;
|
|
1920
1920
|
readonly draft: boolean;
|
|
1921
1921
|
readonly augments: readonly string[];
|
|
1922
1922
|
};
|
|
@@ -1934,19 +1934,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1934
1934
|
readonly updatedAt: Date;
|
|
1935
1935
|
readonly description: string;
|
|
1936
1936
|
readonly title: string;
|
|
1937
|
-
readonly tags: readonly string[];
|
|
1938
1937
|
readonly slug: string;
|
|
1939
|
-
readonly categories: readonly string[];
|
|
1940
|
-
readonly parentFolder?: string | null | undefined;
|
|
1941
1938
|
readonly package: string;
|
|
1942
1939
|
readonly showOnNav: boolean;
|
|
1943
1940
|
readonly publishedAt: Date;
|
|
1944
1941
|
readonly contentLang: string;
|
|
1945
1942
|
readonly heroImage?: string | null | undefined;
|
|
1943
|
+
readonly categories: readonly string[];
|
|
1944
|
+
readonly tags: readonly string[];
|
|
1946
1945
|
readonly authorId: string;
|
|
1947
1946
|
readonly contributorIds: readonly string[];
|
|
1948
1947
|
readonly showAuthor: boolean;
|
|
1949
1948
|
readonly showContributors: boolean;
|
|
1949
|
+
readonly parentFolder?: string | null | undefined;
|
|
1950
1950
|
readonly draft: boolean;
|
|
1951
1951
|
readonly augments: readonly string[];
|
|
1952
1952
|
};
|
|
@@ -1955,19 +1955,19 @@ export declare const restClient: Effect.Effect<{
|
|
|
1955
1955
|
readonly updatedAt: Date;
|
|
1956
1956
|
readonly description: string;
|
|
1957
1957
|
readonly title: string;
|
|
1958
|
-
readonly tags: readonly string[];
|
|
1959
1958
|
readonly slug: string;
|
|
1960
|
-
readonly categories: readonly string[];
|
|
1961
|
-
readonly parentFolder?: string | null | undefined;
|
|
1962
1959
|
readonly package: string;
|
|
1963
1960
|
readonly showOnNav: boolean;
|
|
1964
1961
|
readonly publishedAt: Date;
|
|
1965
1962
|
readonly contentLang: string;
|
|
1966
1963
|
readonly heroImage?: string | null | undefined;
|
|
1964
|
+
readonly categories: readonly string[];
|
|
1965
|
+
readonly tags: readonly string[];
|
|
1967
1966
|
readonly authorId: string;
|
|
1968
1967
|
readonly contributorIds: readonly string[];
|
|
1969
1968
|
readonly showAuthor: boolean;
|
|
1970
1969
|
readonly showContributors: boolean;
|
|
1970
|
+
readonly parentFolder?: string | null | undefined;
|
|
1971
1971
|
readonly draft: boolean;
|
|
1972
1972
|
readonly augments: readonly string[];
|
|
1973
1973
|
};
|
|
@@ -1978,33 +1978,33 @@ export declare const restClient: Effect.Effect<{
|
|
|
1978
1978
|
readonly id: string;
|
|
1979
1979
|
};
|
|
1980
1980
|
readonly payload: {
|
|
1981
|
-
readonly content?: {
|
|
1982
|
-
readonly id?: string | undefined;
|
|
1983
|
-
readonly content?: string | undefined;
|
|
1984
|
-
readonly contentLang?: string | undefined;
|
|
1985
|
-
readonly contentId?: string | undefined;
|
|
1986
|
-
} | undefined;
|
|
1987
1981
|
readonly data?: {
|
|
1988
1982
|
readonly id?: string | undefined;
|
|
1989
1983
|
readonly updatedAt?: Date | undefined;
|
|
1990
1984
|
readonly description?: string | undefined;
|
|
1991
1985
|
readonly title?: string | undefined;
|
|
1992
|
-
readonly tags?: readonly string[] | undefined;
|
|
1993
1986
|
readonly slug?: string | undefined;
|
|
1994
|
-
readonly categories?: readonly string[] | undefined;
|
|
1995
|
-
readonly parentFolder?: string | null | undefined;
|
|
1996
1987
|
readonly package?: string | undefined;
|
|
1997
1988
|
readonly showOnNav?: boolean | undefined;
|
|
1998
1989
|
readonly publishedAt?: Date | undefined;
|
|
1999
1990
|
readonly contentLang?: string | undefined;
|
|
2000
1991
|
readonly heroImage?: string | null | undefined;
|
|
1992
|
+
readonly categories?: readonly string[] | undefined;
|
|
1993
|
+
readonly tags?: readonly string[] | undefined;
|
|
2001
1994
|
readonly authorId?: string | undefined;
|
|
2002
1995
|
readonly contributorIds?: readonly string[] | undefined;
|
|
2003
1996
|
readonly showAuthor?: boolean | undefined;
|
|
2004
1997
|
readonly showContributors?: boolean | undefined;
|
|
1998
|
+
readonly parentFolder?: string | null | undefined;
|
|
2005
1999
|
readonly draft?: boolean | undefined;
|
|
2006
2000
|
readonly augments?: readonly string[] | undefined;
|
|
2007
2001
|
} | undefined;
|
|
2002
|
+
readonly content?: {
|
|
2003
|
+
readonly id?: string | undefined;
|
|
2004
|
+
readonly contentLang?: string | undefined;
|
|
2005
|
+
readonly contentId?: string | undefined;
|
|
2006
|
+
readonly content?: string | undefined;
|
|
2007
|
+
} | undefined;
|
|
2008
2008
|
};
|
|
2009
2009
|
readonly withResponse?: WithResponse | undefined;
|
|
2010
2010
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -2016,9 +2016,9 @@ export declare const restClient: Effect.Effect<{
|
|
|
2016
2016
|
readonly urlParams: {
|
|
2017
2017
|
readonly title?: string | undefined;
|
|
2018
2018
|
readonly slug?: string | undefined;
|
|
2019
|
-
readonly author?: string | undefined;
|
|
2020
2019
|
readonly parentFolder?: string | undefined;
|
|
2021
2020
|
readonly draft?: boolean | undefined;
|
|
2021
|
+
readonly author?: string | undefined;
|
|
2022
2022
|
readonly published?: boolean | undefined;
|
|
2023
2023
|
};
|
|
2024
2024
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -2027,17 +2027,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
2027
2027
|
readonly updatedAt: Date;
|
|
2028
2028
|
readonly description: string;
|
|
2029
2029
|
readonly title: string;
|
|
2030
|
-
readonly
|
|
2030
|
+
readonly slug: string;
|
|
2031
|
+
readonly package: string;
|
|
2032
|
+
readonly showOnNav: boolean;
|
|
2033
|
+
readonly publishedAt: Date;
|
|
2034
|
+
readonly contentLang: string;
|
|
2035
|
+
readonly heroImage?: string | null | undefined;
|
|
2036
|
+
readonly categories: readonly {
|
|
2031
2037
|
readonly id: number;
|
|
2032
2038
|
readonly name: string;
|
|
2033
2039
|
readonly description: string;
|
|
2040
|
+
readonly parent?: number | null | undefined;
|
|
2034
2041
|
readonly slug: string;
|
|
2035
2042
|
readonly meta: {
|
|
2036
2043
|
readonly [x: string]: unknown;
|
|
2037
2044
|
};
|
|
2038
2045
|
}[];
|
|
2039
|
-
readonly
|
|
2040
|
-
readonly categories: readonly {
|
|
2046
|
+
readonly tags: readonly {
|
|
2041
2047
|
readonly id: number;
|
|
2042
2048
|
readonly name: string;
|
|
2043
2049
|
readonly description: string;
|
|
@@ -2045,31 +2051,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
2045
2051
|
readonly meta: {
|
|
2046
2052
|
readonly [x: string]: unknown;
|
|
2047
2053
|
};
|
|
2048
|
-
readonly parent?: number | null | undefined;
|
|
2049
2054
|
}[];
|
|
2050
|
-
readonly parentFolder?: string | null | undefined;
|
|
2051
|
-
readonly package: string;
|
|
2052
|
-
readonly showOnNav: boolean;
|
|
2053
|
-
readonly publishedAt: Date;
|
|
2054
|
-
readonly contentLang: string;
|
|
2055
|
-
readonly heroImage?: string | null | undefined;
|
|
2056
2055
|
readonly authorId: string;
|
|
2057
2056
|
readonly contributorIds: readonly string[];
|
|
2058
2057
|
readonly showAuthor: boolean;
|
|
2059
2058
|
readonly showContributors: boolean;
|
|
2059
|
+
readonly parentFolder?: string | null | undefined;
|
|
2060
2060
|
readonly draft: boolean;
|
|
2061
2061
|
readonly augments: readonly string[];
|
|
2062
2062
|
readonly multiLangContent: readonly {
|
|
2063
2063
|
readonly id: string;
|
|
2064
|
-
readonly content: string;
|
|
2065
2064
|
readonly contentLang: string;
|
|
2066
2065
|
readonly contentId: string;
|
|
2066
|
+
readonly content: string;
|
|
2067
2067
|
}[];
|
|
2068
2068
|
readonly defaultContent: {
|
|
2069
2069
|
readonly id: string;
|
|
2070
|
-
readonly content: string;
|
|
2071
2070
|
readonly contentLang: string;
|
|
2072
2071
|
readonly contentId: string;
|
|
2072
|
+
readonly content: string;
|
|
2073
2073
|
} | undefined;
|
|
2074
2074
|
readonly urlRoute: string;
|
|
2075
2075
|
readonly authorData: {
|
|
@@ -2099,17 +2099,23 @@ export declare const restClient: Effect.Effect<{
|
|
|
2099
2099
|
readonly updatedAt: Date;
|
|
2100
2100
|
readonly description: string;
|
|
2101
2101
|
readonly title: string;
|
|
2102
|
-
readonly
|
|
2102
|
+
readonly slug: string;
|
|
2103
|
+
readonly package: string;
|
|
2104
|
+
readonly showOnNav: boolean;
|
|
2105
|
+
readonly publishedAt: Date;
|
|
2106
|
+
readonly contentLang: string;
|
|
2107
|
+
readonly heroImage?: string | null | undefined;
|
|
2108
|
+
readonly categories: readonly {
|
|
2103
2109
|
readonly id: number;
|
|
2104
2110
|
readonly name: string;
|
|
2105
2111
|
readonly description: string;
|
|
2112
|
+
readonly parent?: number | null | undefined;
|
|
2106
2113
|
readonly slug: string;
|
|
2107
2114
|
readonly meta: {
|
|
2108
2115
|
readonly [x: string]: unknown;
|
|
2109
2116
|
};
|
|
2110
2117
|
}[];
|
|
2111
|
-
readonly
|
|
2112
|
-
readonly categories: readonly {
|
|
2118
|
+
readonly tags: readonly {
|
|
2113
2119
|
readonly id: number;
|
|
2114
2120
|
readonly name: string;
|
|
2115
2121
|
readonly description: string;
|
|
@@ -2117,31 +2123,25 @@ export declare const restClient: Effect.Effect<{
|
|
|
2117
2123
|
readonly meta: {
|
|
2118
2124
|
readonly [x: string]: unknown;
|
|
2119
2125
|
};
|
|
2120
|
-
readonly parent?: number | null | undefined;
|
|
2121
2126
|
}[];
|
|
2122
|
-
readonly parentFolder?: string | null | undefined;
|
|
2123
|
-
readonly package: string;
|
|
2124
|
-
readonly showOnNav: boolean;
|
|
2125
|
-
readonly publishedAt: Date;
|
|
2126
|
-
readonly contentLang: string;
|
|
2127
|
-
readonly heroImage?: string | null | undefined;
|
|
2128
2127
|
readonly authorId: string;
|
|
2129
2128
|
readonly contributorIds: readonly string[];
|
|
2130
2129
|
readonly showAuthor: boolean;
|
|
2131
2130
|
readonly showContributors: boolean;
|
|
2131
|
+
readonly parentFolder?: string | null | undefined;
|
|
2132
2132
|
readonly draft: boolean;
|
|
2133
2133
|
readonly augments: readonly string[];
|
|
2134
2134
|
readonly multiLangContent: readonly {
|
|
2135
2135
|
readonly id: string;
|
|
2136
|
-
readonly content: string;
|
|
2137
2136
|
readonly contentLang: string;
|
|
2138
2137
|
readonly contentId: string;
|
|
2138
|
+
readonly content: string;
|
|
2139
2139
|
}[];
|
|
2140
2140
|
readonly defaultContent: {
|
|
2141
2141
|
readonly id: string;
|
|
2142
|
-
readonly content: string;
|
|
2143
2142
|
readonly contentLang: string;
|
|
2144
2143
|
readonly contentId: string;
|
|
2144
|
+
readonly content: string;
|
|
2145
2145
|
} | undefined;
|
|
2146
2146
|
readonly urlRoute: string;
|
|
2147
2147
|
readonly authorData: {
|
|
@@ -2169,33 +2169,33 @@ export declare const restClient: Effect.Effect<{
|
|
|
2169
2169
|
}[], 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>;
|
|
2170
2170
|
readonly createPage: <WithResponse extends boolean = false>(request: {
|
|
2171
2171
|
readonly payload: {
|
|
2172
|
-
readonly content?: {
|
|
2173
|
-
readonly id?: string | undefined;
|
|
2174
|
-
readonly content?: string | undefined;
|
|
2175
|
-
readonly contentLang?: string | undefined;
|
|
2176
|
-
readonly contentId?: string | undefined;
|
|
2177
|
-
} | undefined;
|
|
2178
2172
|
readonly data?: {
|
|
2179
2173
|
readonly id?: string | undefined;
|
|
2180
2174
|
readonly updatedAt?: Date | undefined;
|
|
2181
2175
|
readonly description?: string | undefined;
|
|
2182
2176
|
readonly title?: string | undefined;
|
|
2183
|
-
readonly tags?: readonly string[] | undefined;
|
|
2184
2177
|
readonly slug?: string | undefined;
|
|
2185
|
-
readonly categories?: readonly string[] | undefined;
|
|
2186
|
-
readonly parentFolder?: string | null | undefined;
|
|
2187
2178
|
readonly package?: string | undefined;
|
|
2188
2179
|
readonly showOnNav?: boolean | undefined;
|
|
2189
2180
|
readonly publishedAt?: Date | undefined;
|
|
2190
2181
|
readonly contentLang?: string | undefined;
|
|
2191
2182
|
readonly heroImage?: string | null | undefined;
|
|
2183
|
+
readonly categories?: readonly string[] | undefined;
|
|
2184
|
+
readonly tags?: readonly string[] | undefined;
|
|
2192
2185
|
readonly authorId?: string | undefined;
|
|
2193
2186
|
readonly contributorIds?: readonly string[] | undefined;
|
|
2194
2187
|
readonly showAuthor?: boolean | undefined;
|
|
2195
2188
|
readonly showContributors?: boolean | undefined;
|
|
2189
|
+
readonly parentFolder?: string | null | undefined;
|
|
2196
2190
|
readonly draft?: boolean | undefined;
|
|
2197
2191
|
readonly augments?: readonly string[] | undefined;
|
|
2198
2192
|
} | undefined;
|
|
2193
|
+
readonly content?: {
|
|
2194
|
+
readonly id?: string | undefined;
|
|
2195
|
+
readonly contentLang?: string | undefined;
|
|
2196
|
+
readonly contentId?: string | undefined;
|
|
2197
|
+
readonly content?: string | undefined;
|
|
2198
|
+
} | undefined;
|
|
2199
2199
|
};
|
|
2200
2200
|
readonly withResponse?: WithResponse | undefined;
|
|
2201
2201
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -2559,19 +2559,19 @@ export declare const apiClients: {
|
|
|
2559
2559
|
readonly updatedAt?: Date | undefined;
|
|
2560
2560
|
readonly description?: string | undefined;
|
|
2561
2561
|
readonly title?: string | undefined;
|
|
2562
|
-
readonly tags?: readonly string[] | undefined;
|
|
2563
2562
|
readonly slug?: string | undefined;
|
|
2564
|
-
readonly categories?: readonly string[] | undefined;
|
|
2565
|
-
readonly parentFolder?: string | null | undefined;
|
|
2566
2563
|
readonly package?: string | undefined;
|
|
2567
2564
|
readonly showOnNav?: boolean | undefined;
|
|
2568
2565
|
readonly publishedAt?: Date | undefined;
|
|
2569
2566
|
readonly contentLang?: string | undefined;
|
|
2570
2567
|
readonly heroImage?: string | null | undefined;
|
|
2568
|
+
readonly categories?: readonly string[] | undefined;
|
|
2569
|
+
readonly tags?: readonly string[] | undefined;
|
|
2571
2570
|
readonly authorId?: string | undefined;
|
|
2572
2571
|
readonly contributorIds?: readonly string[] | undefined;
|
|
2573
2572
|
readonly showAuthor?: boolean | undefined;
|
|
2574
2573
|
readonly showContributors?: boolean | undefined;
|
|
2574
|
+
readonly parentFolder?: string | null | undefined;
|
|
2575
2575
|
readonly draft?: boolean | undefined;
|
|
2576
2576
|
readonly augments?: readonly string[] | undefined;
|
|
2577
2577
|
};
|
|
@@ -2586,24 +2586,24 @@ export declare const apiClients: {
|
|
|
2586
2586
|
readonly id: string;
|
|
2587
2587
|
readonly updatedAt?: Date | undefined;
|
|
2588
2588
|
readonly description?: string | undefined;
|
|
2589
|
-
readonly content: string;
|
|
2590
2589
|
readonly title?: string | undefined;
|
|
2591
|
-
readonly tags?: readonly string[] | undefined;
|
|
2592
2590
|
readonly slug?: string | undefined;
|
|
2593
|
-
readonly categories?: readonly string[] | undefined;
|
|
2594
|
-
readonly parentFolder?: string | null | undefined;
|
|
2595
2591
|
readonly package?: string | undefined;
|
|
2596
2592
|
readonly showOnNav?: boolean | undefined;
|
|
2597
2593
|
readonly publishedAt?: Date | undefined;
|
|
2598
2594
|
readonly contentLang?: string | undefined;
|
|
2599
2595
|
readonly heroImage?: string | null | undefined;
|
|
2596
|
+
readonly categories?: readonly string[] | undefined;
|
|
2597
|
+
readonly tags?: readonly string[] | undefined;
|
|
2600
2598
|
readonly authorId?: string | undefined;
|
|
2601
2599
|
readonly contributorIds?: readonly string[] | undefined;
|
|
2602
2600
|
readonly showAuthor?: boolean | undefined;
|
|
2603
2601
|
readonly showContributors?: boolean | undefined;
|
|
2602
|
+
readonly parentFolder?: string | null | undefined;
|
|
2604
2603
|
readonly draft?: boolean | undefined;
|
|
2605
2604
|
readonly augments?: readonly string[] | undefined;
|
|
2606
2605
|
readonly contentId: string;
|
|
2606
|
+
readonly content: string;
|
|
2607
2607
|
readonly pluginFields: {
|
|
2608
2608
|
readonly [x: string]: FormDataEntryValue | null;
|
|
2609
2609
|
};
|
|
@@ -2661,7 +2661,7 @@ export declare const apiClients: {
|
|
|
2661
2661
|
readonly revertToDiff: <WithResponse extends boolean = false>(request: {
|
|
2662
2662
|
readonly payload: {
|
|
2663
2663
|
readonly id: string;
|
|
2664
|
-
readonly type: "
|
|
2664
|
+
readonly type: "data" | "content" | "both";
|
|
2665
2665
|
};
|
|
2666
2666
|
readonly withResponse?: WithResponse | undefined;
|
|
2667
2667
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -2854,14 +2854,14 @@ export declare const apiClients: {
|
|
|
2854
2854
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
2855
2855
|
readonly id: string;
|
|
2856
2856
|
readonly name: string;
|
|
2857
|
-
readonly slug?: string | undefined;
|
|
2858
2857
|
readonly type: "folder" | "page";
|
|
2858
|
+
readonly slug?: string | undefined;
|
|
2859
2859
|
readonly isDraft?: boolean | null | undefined;
|
|
2860
2860
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
2861
2861
|
readonly id: string;
|
|
2862
2862
|
readonly name: string;
|
|
2863
|
-
readonly slug?: string | undefined;
|
|
2864
2863
|
readonly type: "folder" | "page";
|
|
2864
|
+
readonly slug?: string | undefined;
|
|
2865
2865
|
readonly isDraft?: boolean | null | undefined;
|
|
2866
2866
|
}[], 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>;
|
|
2867
2867
|
};
|
|
@@ -2871,11 +2871,11 @@ export declare const apiClients: {
|
|
|
2871
2871
|
readonly id: number;
|
|
2872
2872
|
readonly name: string;
|
|
2873
2873
|
readonly description: string;
|
|
2874
|
+
readonly type: "tags";
|
|
2874
2875
|
readonly slug: string;
|
|
2875
2876
|
readonly meta: {
|
|
2876
2877
|
readonly [x: string]: unknown;
|
|
2877
2878
|
};
|
|
2878
|
-
readonly type: "tags";
|
|
2879
2879
|
readonly mode: "create" | "edit";
|
|
2880
2880
|
};
|
|
2881
2881
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -2884,12 +2884,12 @@ export declare const apiClients: {
|
|
|
2884
2884
|
readonly id: number;
|
|
2885
2885
|
readonly name: string;
|
|
2886
2886
|
readonly description: string;
|
|
2887
|
+
readonly type: "categories";
|
|
2888
|
+
readonly parent?: number | null | undefined;
|
|
2887
2889
|
readonly slug: string;
|
|
2888
2890
|
readonly meta: {
|
|
2889
2891
|
readonly [x: string]: unknown;
|
|
2890
2892
|
};
|
|
2891
|
-
readonly parent?: number | null | undefined;
|
|
2892
|
-
readonly type: "categories";
|
|
2893
2893
|
readonly mode: "create" | "edit";
|
|
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 ? [{
|
|
@@ -2915,23 +2915,23 @@ export declare const apiClients: {
|
|
|
2915
2915
|
readonly id: number;
|
|
2916
2916
|
readonly name: string;
|
|
2917
2917
|
readonly description: string;
|
|
2918
|
+
readonly type: "tag" | "category";
|
|
2919
|
+
readonly parent: number | null | undefined;
|
|
2918
2920
|
readonly slug: string;
|
|
2919
2921
|
readonly meta: {
|
|
2920
2922
|
readonly [x: string]: unknown;
|
|
2921
2923
|
};
|
|
2922
|
-
readonly parent: number | null | undefined;
|
|
2923
|
-
readonly type: "tag" | "category";
|
|
2924
2924
|
readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
|
|
2925
2925
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
2926
2926
|
readonly id: number;
|
|
2927
2927
|
readonly name: string;
|
|
2928
2928
|
readonly description: string;
|
|
2929
|
+
readonly type: "tag" | "category";
|
|
2930
|
+
readonly parent: number | null | undefined;
|
|
2929
2931
|
readonly slug: string;
|
|
2930
2932
|
readonly meta: {
|
|
2931
2933
|
readonly [x: string]: unknown;
|
|
2932
2934
|
};
|
|
2933
|
-
readonly parent: number | null | undefined;
|
|
2934
|
-
readonly type: "tag" | "category";
|
|
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>;
|
|
2937
2937
|
};
|
|
@@ -3060,6 +3060,7 @@ 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";
|
|
3063
3064
|
readonly data: {
|
|
3064
3065
|
readonly rows: readonly {
|
|
3065
3066
|
readonly [x: string]: unknown;
|
|
@@ -3078,9 +3079,9 @@ export declare const apiClients: {
|
|
|
3078
3079
|
};
|
|
3079
3080
|
readonly lastInsertRowid?: number | undefined;
|
|
3080
3081
|
};
|
|
3081
|
-
readonly type: "query";
|
|
3082
3082
|
} | {
|
|
3083
3083
|
readonly id: number;
|
|
3084
|
+
readonly type: "transaction";
|
|
3084
3085
|
readonly data: readonly {
|
|
3085
3086
|
readonly rows: readonly {
|
|
3086
3087
|
readonly [x: string]: unknown;
|
|
@@ -3099,13 +3100,13 @@ export declare const apiClients: {
|
|
|
3099
3100
|
};
|
|
3100
3101
|
readonly lastInsertRowid?: number | undefined;
|
|
3101
3102
|
}[];
|
|
3102
|
-
readonly type: "transaction";
|
|
3103
3103
|
} | {
|
|
3104
3104
|
readonly id: number;
|
|
3105
3105
|
readonly error: string;
|
|
3106
3106
|
readonly type: "query" | "transaction";
|
|
3107
3107
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3108
3108
|
readonly id: number;
|
|
3109
|
+
readonly type: "query";
|
|
3109
3110
|
readonly data: {
|
|
3110
3111
|
readonly rows: readonly {
|
|
3111
3112
|
readonly [x: string]: unknown;
|
|
@@ -3124,9 +3125,9 @@ export declare const apiClients: {
|
|
|
3124
3125
|
};
|
|
3125
3126
|
readonly lastInsertRowid?: number | undefined;
|
|
3126
3127
|
};
|
|
3127
|
-
readonly type: "query";
|
|
3128
3128
|
} | {
|
|
3129
3129
|
readonly id: number;
|
|
3130
|
+
readonly type: "transaction";
|
|
3130
3131
|
readonly data: readonly {
|
|
3131
3132
|
readonly rows: readonly {
|
|
3132
3133
|
readonly [x: string]: unknown;
|
|
@@ -3145,7 +3146,6 @@ export declare const apiClients: {
|
|
|
3145
3146
|
};
|
|
3146
3147
|
readonly lastInsertRowid?: number | undefined;
|
|
3147
3148
|
}[];
|
|
3148
|
-
readonly type: "transaction";
|
|
3149
3149
|
} | {
|
|
3150
3150
|
readonly id: number;
|
|
3151
3151
|
readonly error: string;
|
|
@@ -3168,8 +3168,8 @@ export declare const apiClients: {
|
|
|
3168
3168
|
} | {
|
|
3169
3169
|
readonly payload: {
|
|
3170
3170
|
readonly key: string;
|
|
3171
|
-
readonly action: "upload";
|
|
3172
3171
|
readonly contentType: string;
|
|
3172
|
+
readonly action: "upload";
|
|
3173
3173
|
};
|
|
3174
3174
|
readonly withResponse?: WithResponse | undefined;
|
|
3175
3175
|
} | {
|
|
@@ -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
|
} | {
|
|
@@ -3271,84 +3271,40 @@ 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
|
} | {
|
|
3279
3279
|
readonly deletedCount: number;
|
|
3280
3280
|
} | {
|
|
3281
|
-
readonly mappings: readonly {
|
|
3282
|
-
readonly url: string;
|
|
3283
|
-
readonly isPermanent: boolean;
|
|
3284
|
-
readonly expiresAt?: number | undefined;
|
|
3285
|
-
}[];
|
|
3286
|
-
} | {
|
|
3287
|
-
readonly message: string;
|
|
3288
|
-
readonly success: boolean;
|
|
3289
|
-
readonly provider: string;
|
|
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
|
-
readonly storageManagerUpload: <WithResponse extends boolean = false>(request: {
|
|
3292
|
-
readonly headers: {
|
|
3293
|
-
readonly 'x-storage-key': string;
|
|
3294
|
-
};
|
|
3295
|
-
readonly payload: Uint8Array<ArrayBufferLike>;
|
|
3296
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3297
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3298
|
-
readonly key: string;
|
|
3299
|
-
readonly message: string;
|
|
3300
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3301
|
-
readonly key: string;
|
|
3302
|
-
readonly message: string;
|
|
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
|
-
};
|
|
3305
|
-
}, never, never>;
|
|
3306
|
-
rest: Effect.Effect<{
|
|
3307
|
-
readonly restV1Public: {
|
|
3308
|
-
readonly getTags: <WithResponse extends boolean = false>(request: {
|
|
3309
|
-
readonly urlParams: {
|
|
3310
|
-
readonly name?: string | undefined;
|
|
3311
|
-
};
|
|
3312
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3313
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3314
|
-
readonly id: number;
|
|
3315
|
-
readonly name: string;
|
|
3316
|
-
readonly description: string;
|
|
3317
|
-
readonly slug: string;
|
|
3318
|
-
readonly meta: {
|
|
3319
|
-
readonly [x: string]: unknown;
|
|
3320
|
-
};
|
|
3321
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3322
|
-
readonly id: number;
|
|
3323
|
-
readonly name: string;
|
|
3324
|
-
readonly description: string;
|
|
3325
|
-
readonly slug: string;
|
|
3326
|
-
readonly meta: {
|
|
3327
|
-
readonly [x: string]: unknown;
|
|
3328
|
-
};
|
|
3329
|
-
}[], 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>;
|
|
3330
|
-
readonly getTag: <WithResponse extends boolean = false>(request: {
|
|
3331
|
-
readonly path: {
|
|
3332
|
-
readonly id: number;
|
|
3281
|
+
readonly mappings: readonly {
|
|
3282
|
+
readonly url: string;
|
|
3283
|
+
readonly isPermanent: boolean;
|
|
3284
|
+
readonly expiresAt?: number | undefined;
|
|
3285
|
+
}[];
|
|
3286
|
+
} | {
|
|
3287
|
+
readonly message: string;
|
|
3288
|
+
readonly success: boolean;
|
|
3289
|
+
readonly provider: string;
|
|
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
|
+
readonly storageManagerUpload: <WithResponse extends boolean = false>(request: {
|
|
3292
|
+
readonly headers: {
|
|
3293
|
+
readonly 'x-storage-key': string;
|
|
3333
3294
|
};
|
|
3295
|
+
readonly payload: Uint8Array<ArrayBufferLike>;
|
|
3334
3296
|
readonly withResponse?: WithResponse | undefined;
|
|
3335
3297
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3336
|
-
readonly
|
|
3337
|
-
readonly
|
|
3338
|
-
readonly description: string;
|
|
3339
|
-
readonly slug: string;
|
|
3340
|
-
readonly meta: {
|
|
3341
|
-
readonly [x: string]: unknown;
|
|
3342
|
-
};
|
|
3298
|
+
readonly key: string;
|
|
3299
|
+
readonly message: string;
|
|
3343
3300
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3344
|
-
readonly
|
|
3345
|
-
readonly
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
}, 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>;
|
|
3301
|
+
readonly key: string;
|
|
3302
|
+
readonly message: string;
|
|
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
|
+
};
|
|
3305
|
+
}, never, never>;
|
|
3306
|
+
rest: Effect.Effect<{
|
|
3307
|
+
readonly restV1Public: {
|
|
3352
3308
|
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
3353
3309
|
readonly urlParams: {
|
|
3354
3310
|
readonly name?: string | undefined;
|
|
@@ -3359,20 +3315,20 @@ export declare const apiClients: {
|
|
|
3359
3315
|
readonly id: number;
|
|
3360
3316
|
readonly name: string;
|
|
3361
3317
|
readonly description: string;
|
|
3318
|
+
readonly parent?: number | null | undefined;
|
|
3362
3319
|
readonly slug: string;
|
|
3363
3320
|
readonly meta: {
|
|
3364
3321
|
readonly [x: string]: unknown;
|
|
3365
3322
|
};
|
|
3366
|
-
readonly parent?: number | null | undefined;
|
|
3367
3323
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3368
3324
|
readonly id: number;
|
|
3369
3325
|
readonly name: string;
|
|
3370
3326
|
readonly description: string;
|
|
3327
|
+
readonly parent?: number | null | undefined;
|
|
3371
3328
|
readonly slug: string;
|
|
3372
3329
|
readonly meta: {
|
|
3373
3330
|
readonly [x: string]: unknown;
|
|
3374
3331
|
};
|
|
3375
|
-
readonly parent?: number | null | undefined;
|
|
3376
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>;
|
|
3377
3333
|
readonly getCategory: <WithResponse extends boolean = false>(request: {
|
|
3378
3334
|
readonly path: {
|
|
@@ -3383,20 +3339,20 @@ export declare const apiClients: {
|
|
|
3383
3339
|
readonly id: number;
|
|
3384
3340
|
readonly name: string;
|
|
3385
3341
|
readonly description: string;
|
|
3342
|
+
readonly parent?: number | null | undefined;
|
|
3386
3343
|
readonly slug: string;
|
|
3387
3344
|
readonly meta: {
|
|
3388
3345
|
readonly [x: string]: unknown;
|
|
3389
3346
|
};
|
|
3390
|
-
readonly parent?: number | null | undefined;
|
|
3391
3347
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3392
3348
|
readonly id: number;
|
|
3393
3349
|
readonly name: string;
|
|
3394
3350
|
readonly description: string;
|
|
3351
|
+
readonly parent?: number | null | undefined;
|
|
3395
3352
|
readonly slug: string;
|
|
3396
3353
|
readonly meta: {
|
|
3397
3354
|
readonly [x: string]: unknown;
|
|
3398
3355
|
};
|
|
3399
|
-
readonly parent?: number | null | undefined;
|
|
3400
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>;
|
|
3401
3357
|
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
3402
3358
|
readonly urlParams: {
|
|
@@ -3431,8 +3387,8 @@ export declare const apiClients: {
|
|
|
3431
3387
|
readonly urlParams: {
|
|
3432
3388
|
readonly title?: string | undefined;
|
|
3433
3389
|
readonly slug?: string | undefined;
|
|
3434
|
-
readonly author?: string | undefined;
|
|
3435
3390
|
readonly parentFolder?: string | undefined;
|
|
3391
|
+
readonly author?: string | undefined;
|
|
3436
3392
|
};
|
|
3437
3393
|
readonly withResponse?: WithResponse | undefined;
|
|
3438
3394
|
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
@@ -3440,17 +3396,23 @@ export declare const apiClients: {
|
|
|
3440
3396
|
readonly updatedAt: Date;
|
|
3441
3397
|
readonly description: string;
|
|
3442
3398
|
readonly title: string;
|
|
3443
|
-
readonly
|
|
3399
|
+
readonly slug: string;
|
|
3400
|
+
readonly package: string;
|
|
3401
|
+
readonly showOnNav: boolean;
|
|
3402
|
+
readonly publishedAt: Date;
|
|
3403
|
+
readonly contentLang: string;
|
|
3404
|
+
readonly heroImage?: string | null | undefined;
|
|
3405
|
+
readonly categories: readonly {
|
|
3444
3406
|
readonly id: number;
|
|
3445
3407
|
readonly name: string;
|
|
3446
3408
|
readonly description: string;
|
|
3409
|
+
readonly parent?: number | null | undefined;
|
|
3447
3410
|
readonly slug: string;
|
|
3448
3411
|
readonly meta: {
|
|
3449
3412
|
readonly [x: string]: unknown;
|
|
3450
3413
|
};
|
|
3451
3414
|
}[];
|
|
3452
|
-
readonly
|
|
3453
|
-
readonly categories: readonly {
|
|
3415
|
+
readonly tags: readonly {
|
|
3454
3416
|
readonly id: number;
|
|
3455
3417
|
readonly name: string;
|
|
3456
3418
|
readonly description: string;
|
|
@@ -3458,31 +3420,25 @@ export declare const apiClients: {
|
|
|
3458
3420
|
readonly meta: {
|
|
3459
3421
|
readonly [x: string]: unknown;
|
|
3460
3422
|
};
|
|
3461
|
-
readonly parent?: number | null | undefined;
|
|
3462
3423
|
}[];
|
|
3463
|
-
readonly parentFolder?: string | null | undefined;
|
|
3464
|
-
readonly package: string;
|
|
3465
|
-
readonly showOnNav: boolean;
|
|
3466
|
-
readonly publishedAt: Date;
|
|
3467
|
-
readonly contentLang: string;
|
|
3468
|
-
readonly heroImage?: string | null | undefined;
|
|
3469
3424
|
readonly authorId: string;
|
|
3470
3425
|
readonly contributorIds: readonly string[];
|
|
3471
3426
|
readonly showAuthor: boolean;
|
|
3472
3427
|
readonly showContributors: boolean;
|
|
3428
|
+
readonly parentFolder?: string | null | undefined;
|
|
3473
3429
|
readonly draft: boolean;
|
|
3474
3430
|
readonly augments: readonly string[];
|
|
3475
3431
|
readonly multiLangContent: readonly {
|
|
3476
3432
|
readonly id: string;
|
|
3477
|
-
readonly content: string;
|
|
3478
3433
|
readonly contentLang: string;
|
|
3479
3434
|
readonly contentId: string;
|
|
3435
|
+
readonly content: string;
|
|
3480
3436
|
}[];
|
|
3481
3437
|
readonly defaultContent: {
|
|
3482
3438
|
readonly id: string;
|
|
3483
|
-
readonly content: string;
|
|
3484
3439
|
readonly contentLang: string;
|
|
3485
3440
|
readonly contentId: string;
|
|
3441
|
+
readonly content: string;
|
|
3486
3442
|
} | undefined;
|
|
3487
3443
|
readonly urlRoute: string;
|
|
3488
3444
|
readonly authorData: {
|
|
@@ -3512,17 +3468,23 @@ export declare const apiClients: {
|
|
|
3512
3468
|
readonly updatedAt: Date;
|
|
3513
3469
|
readonly description: string;
|
|
3514
3470
|
readonly title: string;
|
|
3515
|
-
readonly
|
|
3471
|
+
readonly slug: string;
|
|
3472
|
+
readonly package: string;
|
|
3473
|
+
readonly showOnNav: boolean;
|
|
3474
|
+
readonly publishedAt: Date;
|
|
3475
|
+
readonly contentLang: string;
|
|
3476
|
+
readonly heroImage?: string | null | undefined;
|
|
3477
|
+
readonly categories: readonly {
|
|
3516
3478
|
readonly id: number;
|
|
3517
3479
|
readonly name: string;
|
|
3518
3480
|
readonly description: string;
|
|
3481
|
+
readonly parent?: number | null | undefined;
|
|
3519
3482
|
readonly slug: string;
|
|
3520
3483
|
readonly meta: {
|
|
3521
3484
|
readonly [x: string]: unknown;
|
|
3522
3485
|
};
|
|
3523
3486
|
}[];
|
|
3524
|
-
readonly
|
|
3525
|
-
readonly categories: readonly {
|
|
3487
|
+
readonly tags: readonly {
|
|
3526
3488
|
readonly id: number;
|
|
3527
3489
|
readonly name: string;
|
|
3528
3490
|
readonly description: string;
|
|
@@ -3530,31 +3492,25 @@ export declare const apiClients: {
|
|
|
3530
3492
|
readonly meta: {
|
|
3531
3493
|
readonly [x: string]: unknown;
|
|
3532
3494
|
};
|
|
3533
|
-
readonly parent?: number | null | undefined;
|
|
3534
3495
|
}[];
|
|
3535
|
-
readonly parentFolder?: string | null | undefined;
|
|
3536
|
-
readonly package: string;
|
|
3537
|
-
readonly showOnNav: boolean;
|
|
3538
|
-
readonly publishedAt: Date;
|
|
3539
|
-
readonly contentLang: string;
|
|
3540
|
-
readonly heroImage?: string | null | undefined;
|
|
3541
3496
|
readonly authorId: string;
|
|
3542
3497
|
readonly contributorIds: readonly string[];
|
|
3543
3498
|
readonly showAuthor: boolean;
|
|
3544
3499
|
readonly showContributors: boolean;
|
|
3500
|
+
readonly parentFolder?: string | null | undefined;
|
|
3545
3501
|
readonly draft: boolean;
|
|
3546
3502
|
readonly augments: readonly string[];
|
|
3547
3503
|
readonly multiLangContent: readonly {
|
|
3548
3504
|
readonly id: string;
|
|
3549
|
-
readonly content: string;
|
|
3550
3505
|
readonly contentLang: string;
|
|
3551
3506
|
readonly contentId: string;
|
|
3507
|
+
readonly content: string;
|
|
3552
3508
|
}[];
|
|
3553
3509
|
readonly defaultContent: {
|
|
3554
3510
|
readonly id: string;
|
|
3555
|
-
readonly content: string;
|
|
3556
3511
|
readonly contentLang: string;
|
|
3557
3512
|
readonly contentId: string;
|
|
3513
|
+
readonly content: string;
|
|
3558
3514
|
} | undefined;
|
|
3559
3515
|
readonly urlRoute: string;
|
|
3560
3516
|
readonly authorData: {
|
|
@@ -3590,17 +3546,23 @@ export declare const apiClients: {
|
|
|
3590
3546
|
readonly updatedAt: Date;
|
|
3591
3547
|
readonly description: string;
|
|
3592
3548
|
readonly title: string;
|
|
3593
|
-
readonly
|
|
3549
|
+
readonly slug: string;
|
|
3550
|
+
readonly package: string;
|
|
3551
|
+
readonly showOnNav: boolean;
|
|
3552
|
+
readonly publishedAt: Date;
|
|
3553
|
+
readonly contentLang: string;
|
|
3554
|
+
readonly heroImage?: string | null | undefined;
|
|
3555
|
+
readonly categories: readonly {
|
|
3594
3556
|
readonly id: number;
|
|
3595
3557
|
readonly name: string;
|
|
3596
3558
|
readonly description: string;
|
|
3559
|
+
readonly parent?: number | null | undefined;
|
|
3597
3560
|
readonly slug: string;
|
|
3598
3561
|
readonly meta: {
|
|
3599
3562
|
readonly [x: string]: unknown;
|
|
3600
3563
|
};
|
|
3601
3564
|
}[];
|
|
3602
|
-
readonly
|
|
3603
|
-
readonly categories: readonly {
|
|
3565
|
+
readonly tags: readonly {
|
|
3604
3566
|
readonly id: number;
|
|
3605
3567
|
readonly name: string;
|
|
3606
3568
|
readonly description: string;
|
|
@@ -3608,31 +3570,25 @@ export declare const apiClients: {
|
|
|
3608
3570
|
readonly meta: {
|
|
3609
3571
|
readonly [x: string]: unknown;
|
|
3610
3572
|
};
|
|
3611
|
-
readonly parent?: number | null | undefined;
|
|
3612
3573
|
}[];
|
|
3613
|
-
readonly parentFolder?: string | null | undefined;
|
|
3614
|
-
readonly package: string;
|
|
3615
|
-
readonly showOnNav: boolean;
|
|
3616
|
-
readonly publishedAt: Date;
|
|
3617
|
-
readonly contentLang: string;
|
|
3618
|
-
readonly heroImage?: string | null | undefined;
|
|
3619
3574
|
readonly authorId: string;
|
|
3620
3575
|
readonly contributorIds: readonly string[];
|
|
3621
3576
|
readonly showAuthor: boolean;
|
|
3622
3577
|
readonly showContributors: boolean;
|
|
3578
|
+
readonly parentFolder?: string | null | undefined;
|
|
3623
3579
|
readonly draft: boolean;
|
|
3624
3580
|
readonly augments: readonly string[];
|
|
3625
3581
|
readonly multiLangContent: readonly {
|
|
3626
3582
|
readonly id: string;
|
|
3627
|
-
readonly content: string;
|
|
3628
3583
|
readonly contentLang: string;
|
|
3629
3584
|
readonly contentId: string;
|
|
3585
|
+
readonly content: string;
|
|
3630
3586
|
}[];
|
|
3631
3587
|
readonly defaultContent: {
|
|
3632
3588
|
readonly id: string;
|
|
3633
|
-
readonly content: string;
|
|
3634
3589
|
readonly contentLang: string;
|
|
3635
3590
|
readonly contentId: string;
|
|
3591
|
+
readonly content: string;
|
|
3636
3592
|
} | undefined;
|
|
3637
3593
|
readonly urlRoute: string;
|
|
3638
3594
|
readonly authorData: {
|
|
@@ -3662,17 +3618,23 @@ export declare const apiClients: {
|
|
|
3662
3618
|
readonly updatedAt: Date;
|
|
3663
3619
|
readonly description: string;
|
|
3664
3620
|
readonly title: string;
|
|
3665
|
-
readonly
|
|
3621
|
+
readonly slug: string;
|
|
3622
|
+
readonly package: string;
|
|
3623
|
+
readonly showOnNav: boolean;
|
|
3624
|
+
readonly publishedAt: Date;
|
|
3625
|
+
readonly contentLang: string;
|
|
3626
|
+
readonly heroImage?: string | null | undefined;
|
|
3627
|
+
readonly categories: readonly {
|
|
3666
3628
|
readonly id: number;
|
|
3667
3629
|
readonly name: string;
|
|
3668
3630
|
readonly description: string;
|
|
3631
|
+
readonly parent?: number | null | undefined;
|
|
3669
3632
|
readonly slug: string;
|
|
3670
3633
|
readonly meta: {
|
|
3671
3634
|
readonly [x: string]: unknown;
|
|
3672
3635
|
};
|
|
3673
3636
|
}[];
|
|
3674
|
-
readonly
|
|
3675
|
-
readonly categories: readonly {
|
|
3637
|
+
readonly tags: readonly {
|
|
3676
3638
|
readonly id: number;
|
|
3677
3639
|
readonly name: string;
|
|
3678
3640
|
readonly description: string;
|
|
@@ -3680,31 +3642,25 @@ export declare const apiClients: {
|
|
|
3680
3642
|
readonly meta: {
|
|
3681
3643
|
readonly [x: string]: unknown;
|
|
3682
3644
|
};
|
|
3683
|
-
readonly parent?: number | null | undefined;
|
|
3684
3645
|
}[];
|
|
3685
|
-
readonly parentFolder?: string | null | undefined;
|
|
3686
|
-
readonly package: string;
|
|
3687
|
-
readonly showOnNav: boolean;
|
|
3688
|
-
readonly publishedAt: Date;
|
|
3689
|
-
readonly contentLang: string;
|
|
3690
|
-
readonly heroImage?: string | null | undefined;
|
|
3691
3646
|
readonly authorId: string;
|
|
3692
3647
|
readonly contributorIds: readonly string[];
|
|
3693
3648
|
readonly showAuthor: boolean;
|
|
3694
3649
|
readonly showContributors: boolean;
|
|
3650
|
+
readonly parentFolder?: string | null | undefined;
|
|
3695
3651
|
readonly draft: boolean;
|
|
3696
3652
|
readonly augments: readonly string[];
|
|
3697
3653
|
readonly multiLangContent: readonly {
|
|
3698
3654
|
readonly id: string;
|
|
3699
|
-
readonly content: string;
|
|
3700
3655
|
readonly contentLang: string;
|
|
3701
3656
|
readonly contentId: string;
|
|
3657
|
+
readonly content: string;
|
|
3702
3658
|
}[];
|
|
3703
3659
|
readonly defaultContent: {
|
|
3704
3660
|
readonly id: string;
|
|
3705
|
-
readonly content: string;
|
|
3706
3661
|
readonly contentLang: string;
|
|
3707
3662
|
readonly contentId: string;
|
|
3663
|
+
readonly content: string;
|
|
3708
3664
|
} | undefined;
|
|
3709
3665
|
readonly urlRoute: string;
|
|
3710
3666
|
readonly authorData: {
|
|
@@ -3730,6 +3686,50 @@ export declare const apiClients: {
|
|
|
3730
3686
|
readonly notifications?: string | null | undefined;
|
|
3731
3687
|
}[];
|
|
3732
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
|
+
readonly getTags: <WithResponse extends boolean = false>(request: {
|
|
3690
|
+
readonly urlParams: {
|
|
3691
|
+
readonly name?: string | undefined;
|
|
3692
|
+
};
|
|
3693
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3694
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3695
|
+
readonly id: number;
|
|
3696
|
+
readonly name: string;
|
|
3697
|
+
readonly description: string;
|
|
3698
|
+
readonly slug: string;
|
|
3699
|
+
readonly meta: {
|
|
3700
|
+
readonly [x: string]: unknown;
|
|
3701
|
+
};
|
|
3702
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3703
|
+
readonly id: number;
|
|
3704
|
+
readonly name: string;
|
|
3705
|
+
readonly description: string;
|
|
3706
|
+
readonly slug: string;
|
|
3707
|
+
readonly meta: {
|
|
3708
|
+
readonly [x: string]: unknown;
|
|
3709
|
+
};
|
|
3710
|
+
}[], 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>;
|
|
3711
|
+
readonly getTag: <WithResponse extends boolean = false>(request: {
|
|
3712
|
+
readonly path: {
|
|
3713
|
+
readonly id: number;
|
|
3714
|
+
};
|
|
3715
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3716
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3717
|
+
readonly id: number;
|
|
3718
|
+
readonly name: string;
|
|
3719
|
+
readonly description: string;
|
|
3720
|
+
readonly slug: string;
|
|
3721
|
+
readonly meta: {
|
|
3722
|
+
readonly [x: string]: unknown;
|
|
3723
|
+
};
|
|
3724
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3725
|
+
readonly id: number;
|
|
3726
|
+
readonly name: string;
|
|
3727
|
+
readonly description: string;
|
|
3728
|
+
readonly slug: string;
|
|
3729
|
+
readonly meta: {
|
|
3730
|
+
readonly [x: string]: unknown;
|
|
3731
|
+
};
|
|
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
3735
|
readonly getUsers: <WithResponse extends boolean = false>(request: {
|
|
@@ -3839,6 +3839,67 @@ export declare const apiClients: {
|
|
|
3839
3839
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3840
3840
|
readonly message: string;
|
|
3841
3841
|
}, 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>;
|
|
3842
|
+
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
3843
|
+
readonly urlParams: {
|
|
3844
|
+
readonly name?: string | undefined;
|
|
3845
|
+
readonly parent?: string | undefined;
|
|
3846
|
+
};
|
|
3847
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3848
|
+
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
3849
|
+
readonly id: string;
|
|
3850
|
+
readonly name: string;
|
|
3851
|
+
readonly parent?: string | null | undefined;
|
|
3852
|
+
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3853
|
+
readonly id: string;
|
|
3854
|
+
readonly name: string;
|
|
3855
|
+
readonly parent?: string | null | undefined;
|
|
3856
|
+
}[], 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>;
|
|
3857
|
+
readonly createFolder: <WithResponse extends boolean = false>(request: {
|
|
3858
|
+
readonly payload: {
|
|
3859
|
+
readonly name: string;
|
|
3860
|
+
readonly parent?: string | null | undefined;
|
|
3861
|
+
};
|
|
3862
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3863
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3864
|
+
readonly message: string;
|
|
3865
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3866
|
+
readonly message: string;
|
|
3867
|
+
}, 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>;
|
|
3868
|
+
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
3869
|
+
readonly path: {
|
|
3870
|
+
readonly id: string;
|
|
3871
|
+
};
|
|
3872
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3873
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3874
|
+
readonly id: string;
|
|
3875
|
+
readonly name: string;
|
|
3876
|
+
readonly parent?: string | null | undefined;
|
|
3877
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3878
|
+
readonly id: string;
|
|
3879
|
+
readonly name: string;
|
|
3880
|
+
readonly parent?: string | null | undefined;
|
|
3881
|
+
}, 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>;
|
|
3882
|
+
readonly updateFolder: <WithResponse extends boolean = false>(request: {
|
|
3883
|
+
readonly path: {
|
|
3884
|
+
readonly id: string;
|
|
3885
|
+
};
|
|
3886
|
+
readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
|
|
3887
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3888
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3889
|
+
readonly message: string;
|
|
3890
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3891
|
+
readonly message: string;
|
|
3892
|
+
}, 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>;
|
|
3893
|
+
readonly deleteFolder: <WithResponse extends boolean = false>(request: {
|
|
3894
|
+
readonly path: {
|
|
3895
|
+
readonly id: string;
|
|
3896
|
+
};
|
|
3897
|
+
readonly withResponse?: WithResponse | undefined;
|
|
3898
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3899
|
+
readonly success: boolean;
|
|
3900
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3901
|
+
readonly success: boolean;
|
|
3902
|
+
}, 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>;
|
|
3842
3903
|
readonly deleteCategory: <WithResponse extends boolean = false>(request: {
|
|
3843
3904
|
readonly path: {
|
|
3844
3905
|
readonly id: number;
|
|
@@ -3858,20 +3919,20 @@ export declare const apiClients: {
|
|
|
3858
3919
|
readonly id: number;
|
|
3859
3920
|
readonly name: string;
|
|
3860
3921
|
readonly description: string;
|
|
3922
|
+
readonly parent?: number | null | undefined;
|
|
3861
3923
|
readonly slug: string;
|
|
3862
3924
|
readonly meta: {
|
|
3863
3925
|
readonly [x: string]: unknown;
|
|
3864
3926
|
};
|
|
3865
|
-
readonly parent?: number | null | undefined;
|
|
3866
3927
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3867
3928
|
readonly id: number;
|
|
3868
3929
|
readonly name: string;
|
|
3869
3930
|
readonly description: string;
|
|
3931
|
+
readonly parent?: number | null | undefined;
|
|
3870
3932
|
readonly slug: string;
|
|
3871
3933
|
readonly meta: {
|
|
3872
3934
|
readonly [x: string]: unknown;
|
|
3873
3935
|
};
|
|
3874
|
-
readonly parent?: number | null | undefined;
|
|
3875
3936
|
}, 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>;
|
|
3876
3937
|
readonly updateCategory: <WithResponse extends boolean = false>(request: {
|
|
3877
3938
|
readonly path: {
|
|
@@ -3881,31 +3942,31 @@ export declare const apiClients: {
|
|
|
3881
3942
|
readonly id?: number | undefined;
|
|
3882
3943
|
readonly name?: string | undefined;
|
|
3883
3944
|
readonly description?: string | undefined;
|
|
3945
|
+
readonly parent?: number | null | undefined;
|
|
3884
3946
|
readonly slug?: string | undefined;
|
|
3885
3947
|
readonly meta?: {
|
|
3886
3948
|
readonly [x: string]: unknown;
|
|
3887
3949
|
} | undefined;
|
|
3888
|
-
readonly parent?: number | null | undefined;
|
|
3889
3950
|
};
|
|
3890
3951
|
readonly withResponse?: WithResponse | undefined;
|
|
3891
3952
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3892
3953
|
readonly id: number;
|
|
3893
3954
|
readonly name: string;
|
|
3894
3955
|
readonly description: string;
|
|
3956
|
+
readonly parent?: number | null | undefined;
|
|
3895
3957
|
readonly slug: string;
|
|
3896
3958
|
readonly meta: {
|
|
3897
3959
|
readonly [x: string]: unknown;
|
|
3898
3960
|
};
|
|
3899
|
-
readonly parent?: number | null | undefined;
|
|
3900
3961
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3901
3962
|
readonly id: number;
|
|
3902
3963
|
readonly name: string;
|
|
3903
3964
|
readonly description: string;
|
|
3965
|
+
readonly parent?: number | null | undefined;
|
|
3904
3966
|
readonly slug: string;
|
|
3905
3967
|
readonly meta: {
|
|
3906
3968
|
readonly [x: string]: unknown;
|
|
3907
3969
|
};
|
|
3908
|
-
readonly parent?: number | null | undefined;
|
|
3909
3970
|
}, 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>;
|
|
3910
3971
|
readonly getCategories: <WithResponse extends boolean = false>(request: {
|
|
3911
3972
|
readonly urlParams: {
|
|
@@ -3917,109 +3978,48 @@ export declare const apiClients: {
|
|
|
3917
3978
|
readonly id: number;
|
|
3918
3979
|
readonly name: string;
|
|
3919
3980
|
readonly description: string;
|
|
3981
|
+
readonly parent?: number | null | undefined;
|
|
3920
3982
|
readonly slug: string;
|
|
3921
3983
|
readonly meta: {
|
|
3922
3984
|
readonly [x: string]: unknown;
|
|
3923
3985
|
};
|
|
3924
|
-
readonly parent?: number | null | undefined;
|
|
3925
3986
|
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
3926
3987
|
readonly id: number;
|
|
3927
3988
|
readonly name: string;
|
|
3928
3989
|
readonly description: string;
|
|
3990
|
+
readonly parent?: number | null | undefined;
|
|
3929
3991
|
readonly slug: string;
|
|
3930
3992
|
readonly meta: {
|
|
3931
3993
|
readonly [x: string]: unknown;
|
|
3932
3994
|
};
|
|
3933
|
-
readonly parent?: number | null | undefined;
|
|
3934
3995
|
}[], 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>;
|
|
3935
3996
|
readonly createCategory: <WithResponse extends boolean = false>(request: {
|
|
3936
3997
|
readonly payload: {
|
|
3937
3998
|
readonly name: string;
|
|
3938
3999
|
readonly description: string;
|
|
4000
|
+
readonly parent?: number | null | undefined;
|
|
3939
4001
|
readonly slug: string;
|
|
3940
4002
|
readonly meta: string;
|
|
3941
|
-
readonly parent?: number | null | undefined;
|
|
3942
4003
|
};
|
|
3943
4004
|
readonly withResponse?: WithResponse | undefined;
|
|
3944
4005
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3945
4006
|
readonly id: number;
|
|
3946
4007
|
readonly name: string;
|
|
3947
4008
|
readonly description: string;
|
|
4009
|
+
readonly parent?: number | null | undefined;
|
|
3948
4010
|
readonly slug: string;
|
|
3949
4011
|
readonly meta: {
|
|
3950
4012
|
readonly [x: string]: unknown;
|
|
3951
4013
|
};
|
|
3952
|
-
readonly parent?: number | null | undefined;
|
|
3953
4014
|
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3954
4015
|
readonly id: number;
|
|
3955
4016
|
readonly name: string;
|
|
3956
4017
|
readonly description: string;
|
|
4018
|
+
readonly parent?: number | null | undefined;
|
|
3957
4019
|
readonly slug: string;
|
|
3958
4020
|
readonly meta: {
|
|
3959
4021
|
readonly [x: string]: unknown;
|
|
3960
4022
|
};
|
|
3961
|
-
readonly parent?: number | null | undefined;
|
|
3962
|
-
}, 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>;
|
|
3963
|
-
readonly deleteFolder: <WithResponse extends boolean = false>(request: {
|
|
3964
|
-
readonly path: {
|
|
3965
|
-
readonly id: string;
|
|
3966
|
-
};
|
|
3967
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3968
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3969
|
-
readonly success: boolean;
|
|
3970
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3971
|
-
readonly success: boolean;
|
|
3972
|
-
}, 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>;
|
|
3973
|
-
readonly getFolder: <WithResponse extends boolean = false>(request: {
|
|
3974
|
-
readonly path: {
|
|
3975
|
-
readonly id: string;
|
|
3976
|
-
};
|
|
3977
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3978
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3979
|
-
readonly id: string;
|
|
3980
|
-
readonly name: string;
|
|
3981
|
-
readonly parent?: string | null | undefined;
|
|
3982
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3983
|
-
readonly id: string;
|
|
3984
|
-
readonly name: string;
|
|
3985
|
-
readonly parent?: string | null | undefined;
|
|
3986
|
-
}, 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>;
|
|
3987
|
-
readonly updateFolder: <WithResponse extends boolean = false>(request: {
|
|
3988
|
-
readonly path: {
|
|
3989
|
-
readonly id: string;
|
|
3990
|
-
};
|
|
3991
|
-
readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
|
|
3992
|
-
readonly withResponse?: WithResponse | undefined;
|
|
3993
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
3994
|
-
readonly message: string;
|
|
3995
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
3996
|
-
readonly message: string;
|
|
3997
|
-
}, 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>;
|
|
3998
|
-
readonly getFolders: <WithResponse extends boolean = false>(request: {
|
|
3999
|
-
readonly urlParams: {
|
|
4000
|
-
readonly name?: string | undefined;
|
|
4001
|
-
readonly parent?: string | undefined;
|
|
4002
|
-
};
|
|
4003
|
-
readonly withResponse?: WithResponse | undefined;
|
|
4004
|
-
}) => Effect.Effect<WithResponse extends true ? [readonly {
|
|
4005
|
-
readonly id: string;
|
|
4006
|
-
readonly name: string;
|
|
4007
|
-
readonly parent?: string | null | undefined;
|
|
4008
|
-
}[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
|
|
4009
|
-
readonly id: string;
|
|
4010
|
-
readonly name: string;
|
|
4011
|
-
readonly parent?: string | null | undefined;
|
|
4012
|
-
}[], 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>;
|
|
4013
|
-
readonly createFolder: <WithResponse extends boolean = false>(request: {
|
|
4014
|
-
readonly payload: {
|
|
4015
|
-
readonly name: string;
|
|
4016
|
-
readonly parent?: string | null | undefined;
|
|
4017
|
-
};
|
|
4018
|
-
readonly withResponse?: WithResponse | undefined;
|
|
4019
|
-
}) => Effect.Effect<WithResponse extends true ? [{
|
|
4020
|
-
readonly message: string;
|
|
4021
|
-
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
4022
|
-
readonly message: string;
|
|
4023
4023
|
}, 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>;
|
|
4024
4024
|
readonly deletePage: <WithResponse extends boolean = false>(request: {
|
|
4025
4025
|
readonly path: {
|
|
@@ -4044,17 +4044,23 @@ export declare const apiClients: {
|
|
|
4044
4044
|
readonly updatedAt: Date;
|
|
4045
4045
|
readonly description: string;
|
|
4046
4046
|
readonly title: string;
|
|
4047
|
-
readonly
|
|
4047
|
+
readonly slug: string;
|
|
4048
|
+
readonly package: string;
|
|
4049
|
+
readonly showOnNav: boolean;
|
|
4050
|
+
readonly publishedAt: Date;
|
|
4051
|
+
readonly contentLang: string;
|
|
4052
|
+
readonly heroImage?: string | null | undefined;
|
|
4053
|
+
readonly categories: readonly {
|
|
4048
4054
|
readonly id: number;
|
|
4049
4055
|
readonly name: string;
|
|
4050
4056
|
readonly description: string;
|
|
4057
|
+
readonly parent?: number | null | undefined;
|
|
4051
4058
|
readonly slug: string;
|
|
4052
4059
|
readonly meta: {
|
|
4053
4060
|
readonly [x: string]: unknown;
|
|
4054
4061
|
};
|
|
4055
4062
|
}[];
|
|
4056
|
-
readonly
|
|
4057
|
-
readonly categories: readonly {
|
|
4063
|
+
readonly tags: readonly {
|
|
4058
4064
|
readonly id: number;
|
|
4059
4065
|
readonly name: string;
|
|
4060
4066
|
readonly description: string;
|
|
@@ -4062,31 +4068,25 @@ export declare const apiClients: {
|
|
|
4062
4068
|
readonly meta: {
|
|
4063
4069
|
readonly [x: string]: unknown;
|
|
4064
4070
|
};
|
|
4065
|
-
readonly parent?: number | null | undefined;
|
|
4066
4071
|
}[];
|
|
4067
|
-
readonly parentFolder?: string | null | undefined;
|
|
4068
|
-
readonly package: string;
|
|
4069
|
-
readonly showOnNav: boolean;
|
|
4070
|
-
readonly publishedAt: Date;
|
|
4071
|
-
readonly contentLang: string;
|
|
4072
|
-
readonly heroImage?: string | null | undefined;
|
|
4073
4072
|
readonly authorId: string;
|
|
4074
4073
|
readonly contributorIds: readonly string[];
|
|
4075
4074
|
readonly showAuthor: boolean;
|
|
4076
4075
|
readonly showContributors: boolean;
|
|
4076
|
+
readonly parentFolder?: string | null | undefined;
|
|
4077
4077
|
readonly draft: boolean;
|
|
4078
4078
|
readonly augments: readonly string[];
|
|
4079
4079
|
readonly multiLangContent: readonly {
|
|
4080
4080
|
readonly id: string;
|
|
4081
|
-
readonly content: string;
|
|
4082
4081
|
readonly contentLang: string;
|
|
4083
4082
|
readonly contentId: string;
|
|
4083
|
+
readonly content: string;
|
|
4084
4084
|
}[];
|
|
4085
4085
|
readonly defaultContent: {
|
|
4086
4086
|
readonly id: string;
|
|
4087
|
-
readonly content: string;
|
|
4088
4087
|
readonly contentLang: string;
|
|
4089
4088
|
readonly contentId: string;
|
|
4089
|
+
readonly content: string;
|
|
4090
4090
|
} | undefined;
|
|
4091
4091
|
readonly urlRoute: string;
|
|
4092
4092
|
readonly authorData: {
|
|
@@ -4116,17 +4116,23 @@ export declare const apiClients: {
|
|
|
4116
4116
|
readonly updatedAt: Date;
|
|
4117
4117
|
readonly description: string;
|
|
4118
4118
|
readonly title: string;
|
|
4119
|
-
readonly
|
|
4119
|
+
readonly slug: string;
|
|
4120
|
+
readonly package: string;
|
|
4121
|
+
readonly showOnNav: boolean;
|
|
4122
|
+
readonly publishedAt: Date;
|
|
4123
|
+
readonly contentLang: string;
|
|
4124
|
+
readonly heroImage?: string | null | undefined;
|
|
4125
|
+
readonly categories: readonly {
|
|
4120
4126
|
readonly id: number;
|
|
4121
4127
|
readonly name: string;
|
|
4122
4128
|
readonly description: string;
|
|
4129
|
+
readonly parent?: number | null | undefined;
|
|
4123
4130
|
readonly slug: string;
|
|
4124
4131
|
readonly meta: {
|
|
4125
4132
|
readonly [x: string]: unknown;
|
|
4126
4133
|
};
|
|
4127
4134
|
}[];
|
|
4128
|
-
readonly
|
|
4129
|
-
readonly categories: readonly {
|
|
4135
|
+
readonly tags: readonly {
|
|
4130
4136
|
readonly id: number;
|
|
4131
4137
|
readonly name: string;
|
|
4132
4138
|
readonly description: string;
|
|
@@ -4134,31 +4140,25 @@ export declare const apiClients: {
|
|
|
4134
4140
|
readonly meta: {
|
|
4135
4141
|
readonly [x: string]: unknown;
|
|
4136
4142
|
};
|
|
4137
|
-
readonly parent?: number | null | undefined;
|
|
4138
4143
|
}[];
|
|
4139
|
-
readonly parentFolder?: string | null | undefined;
|
|
4140
|
-
readonly package: string;
|
|
4141
|
-
readonly showOnNav: boolean;
|
|
4142
|
-
readonly publishedAt: Date;
|
|
4143
|
-
readonly contentLang: string;
|
|
4144
|
-
readonly heroImage?: string | null | undefined;
|
|
4145
4144
|
readonly authorId: string;
|
|
4146
4145
|
readonly contributorIds: readonly string[];
|
|
4147
4146
|
readonly showAuthor: boolean;
|
|
4148
4147
|
readonly showContributors: boolean;
|
|
4148
|
+
readonly parentFolder?: string | null | undefined;
|
|
4149
4149
|
readonly draft: boolean;
|
|
4150
4150
|
readonly augments: readonly string[];
|
|
4151
4151
|
readonly multiLangContent: readonly {
|
|
4152
4152
|
readonly id: string;
|
|
4153
|
-
readonly content: string;
|
|
4154
4153
|
readonly contentLang: string;
|
|
4155
4154
|
readonly contentId: string;
|
|
4155
|
+
readonly content: string;
|
|
4156
4156
|
}[];
|
|
4157
4157
|
readonly defaultContent: {
|
|
4158
4158
|
readonly id: string;
|
|
4159
|
-
readonly content: string;
|
|
4160
4159
|
readonly contentLang: string;
|
|
4161
4160
|
readonly contentId: string;
|
|
4161
|
+
readonly content: string;
|
|
4162
4162
|
} | undefined;
|
|
4163
4163
|
readonly urlRoute: string;
|
|
4164
4164
|
readonly authorData: {
|
|
@@ -4203,19 +4203,19 @@ export declare const apiClients: {
|
|
|
4203
4203
|
readonly updatedAt: Date;
|
|
4204
4204
|
readonly description: string;
|
|
4205
4205
|
readonly title: string;
|
|
4206
|
-
readonly tags: readonly string[];
|
|
4207
4206
|
readonly slug: string;
|
|
4208
|
-
readonly categories: readonly string[];
|
|
4209
|
-
readonly parentFolder?: string | null | undefined;
|
|
4210
4207
|
readonly package: string;
|
|
4211
4208
|
readonly showOnNav: boolean;
|
|
4212
4209
|
readonly publishedAt: Date;
|
|
4213
4210
|
readonly contentLang: string;
|
|
4214
4211
|
readonly heroImage?: string | null | undefined;
|
|
4212
|
+
readonly categories: readonly string[];
|
|
4213
|
+
readonly tags: readonly string[];
|
|
4215
4214
|
readonly authorId: string;
|
|
4216
4215
|
readonly contributorIds: readonly string[];
|
|
4217
4216
|
readonly showAuthor: boolean;
|
|
4218
4217
|
readonly showContributors: boolean;
|
|
4218
|
+
readonly parentFolder?: string | null | undefined;
|
|
4219
4219
|
readonly draft: boolean;
|
|
4220
4220
|
readonly augments: readonly string[];
|
|
4221
4221
|
};
|
|
@@ -4224,19 +4224,19 @@ export declare const apiClients: {
|
|
|
4224
4224
|
readonly updatedAt: Date;
|
|
4225
4225
|
readonly description: string;
|
|
4226
4226
|
readonly title: string;
|
|
4227
|
-
readonly tags: readonly string[];
|
|
4228
4227
|
readonly slug: string;
|
|
4229
|
-
readonly categories: readonly string[];
|
|
4230
|
-
readonly parentFolder?: string | null | undefined;
|
|
4231
4228
|
readonly package: string;
|
|
4232
4229
|
readonly showOnNav: boolean;
|
|
4233
4230
|
readonly publishedAt: Date;
|
|
4234
4231
|
readonly contentLang: string;
|
|
4235
4232
|
readonly heroImage?: string | null | undefined;
|
|
4233
|
+
readonly categories: readonly string[];
|
|
4234
|
+
readonly tags: readonly string[];
|
|
4236
4235
|
readonly authorId: string;
|
|
4237
4236
|
readonly contributorIds: readonly string[];
|
|
4238
4237
|
readonly showAuthor: boolean;
|
|
4239
4238
|
readonly showContributors: boolean;
|
|
4239
|
+
readonly parentFolder?: string | null | undefined;
|
|
4240
4240
|
readonly draft: boolean;
|
|
4241
4241
|
readonly augments: readonly string[];
|
|
4242
4242
|
};
|
|
@@ -4254,19 +4254,19 @@ export declare const apiClients: {
|
|
|
4254
4254
|
readonly updatedAt: Date;
|
|
4255
4255
|
readonly description: string;
|
|
4256
4256
|
readonly title: string;
|
|
4257
|
-
readonly tags: readonly string[];
|
|
4258
4257
|
readonly slug: string;
|
|
4259
|
-
readonly categories: readonly string[];
|
|
4260
|
-
readonly parentFolder?: string | null | undefined;
|
|
4261
4258
|
readonly package: string;
|
|
4262
4259
|
readonly showOnNav: boolean;
|
|
4263
4260
|
readonly publishedAt: Date;
|
|
4264
4261
|
readonly contentLang: string;
|
|
4265
4262
|
readonly heroImage?: string | null | undefined;
|
|
4263
|
+
readonly categories: readonly string[];
|
|
4264
|
+
readonly tags: readonly string[];
|
|
4266
4265
|
readonly authorId: string;
|
|
4267
4266
|
readonly contributorIds: readonly string[];
|
|
4268
4267
|
readonly showAuthor: boolean;
|
|
4269
4268
|
readonly showContributors: boolean;
|
|
4269
|
+
readonly parentFolder?: string | null | undefined;
|
|
4270
4270
|
readonly draft: boolean;
|
|
4271
4271
|
readonly augments: readonly string[];
|
|
4272
4272
|
};
|
|
@@ -4275,19 +4275,19 @@ export declare const apiClients: {
|
|
|
4275
4275
|
readonly updatedAt: Date;
|
|
4276
4276
|
readonly description: string;
|
|
4277
4277
|
readonly title: string;
|
|
4278
|
-
readonly tags: readonly string[];
|
|
4279
4278
|
readonly slug: string;
|
|
4280
|
-
readonly categories: readonly string[];
|
|
4281
|
-
readonly parentFolder?: string | null | undefined;
|
|
4282
4279
|
readonly package: string;
|
|
4283
4280
|
readonly showOnNav: boolean;
|
|
4284
4281
|
readonly publishedAt: Date;
|
|
4285
4282
|
readonly contentLang: string;
|
|
4286
4283
|
readonly heroImage?: string | null | undefined;
|
|
4284
|
+
readonly categories: readonly string[];
|
|
4285
|
+
readonly tags: readonly string[];
|
|
4287
4286
|
readonly authorId: string;
|
|
4288
4287
|
readonly contributorIds: readonly string[];
|
|
4289
4288
|
readonly showAuthor: boolean;
|
|
4290
4289
|
readonly showContributors: boolean;
|
|
4290
|
+
readonly parentFolder?: string | null | undefined;
|
|
4291
4291
|
readonly draft: boolean;
|
|
4292
4292
|
readonly augments: readonly string[];
|
|
4293
4293
|
};
|
|
@@ -4314,19 +4314,19 @@ export declare const apiClients: {
|
|
|
4314
4314
|
readonly updatedAt: Date;
|
|
4315
4315
|
readonly description: string;
|
|
4316
4316
|
readonly title: string;
|
|
4317
|
-
readonly tags: readonly string[];
|
|
4318
4317
|
readonly slug: string;
|
|
4319
|
-
readonly categories: readonly string[];
|
|
4320
|
-
readonly parentFolder?: string | null | undefined;
|
|
4321
4318
|
readonly package: string;
|
|
4322
4319
|
readonly showOnNav: boolean;
|
|
4323
4320
|
readonly publishedAt: Date;
|
|
4324
4321
|
readonly contentLang: string;
|
|
4325
4322
|
readonly heroImage?: string | null | undefined;
|
|
4323
|
+
readonly categories: readonly string[];
|
|
4324
|
+
readonly tags: readonly string[];
|
|
4326
4325
|
readonly authorId: string;
|
|
4327
4326
|
readonly contributorIds: readonly string[];
|
|
4328
4327
|
readonly showAuthor: boolean;
|
|
4329
4328
|
readonly showContributors: boolean;
|
|
4329
|
+
readonly parentFolder?: string | null | undefined;
|
|
4330
4330
|
readonly draft: boolean;
|
|
4331
4331
|
readonly augments: readonly string[];
|
|
4332
4332
|
};
|
|
@@ -4335,19 +4335,19 @@ export declare const apiClients: {
|
|
|
4335
4335
|
readonly updatedAt: Date;
|
|
4336
4336
|
readonly description: string;
|
|
4337
4337
|
readonly title: string;
|
|
4338
|
-
readonly tags: readonly string[];
|
|
4339
4338
|
readonly slug: string;
|
|
4340
|
-
readonly categories: readonly string[];
|
|
4341
|
-
readonly parentFolder?: string | null | undefined;
|
|
4342
4339
|
readonly package: string;
|
|
4343
4340
|
readonly showOnNav: boolean;
|
|
4344
4341
|
readonly publishedAt: Date;
|
|
4345
4342
|
readonly contentLang: string;
|
|
4346
4343
|
readonly heroImage?: string | null | undefined;
|
|
4344
|
+
readonly categories: readonly string[];
|
|
4345
|
+
readonly tags: readonly string[];
|
|
4347
4346
|
readonly authorId: string;
|
|
4348
4347
|
readonly contributorIds: readonly string[];
|
|
4349
4348
|
readonly showAuthor: boolean;
|
|
4350
4349
|
readonly showContributors: boolean;
|
|
4350
|
+
readonly parentFolder?: string | null | undefined;
|
|
4351
4351
|
readonly draft: boolean;
|
|
4352
4352
|
readonly augments: readonly string[];
|
|
4353
4353
|
};
|
|
@@ -4365,19 +4365,19 @@ export declare const apiClients: {
|
|
|
4365
4365
|
readonly updatedAt: Date;
|
|
4366
4366
|
readonly description: string;
|
|
4367
4367
|
readonly title: string;
|
|
4368
|
-
readonly tags: readonly string[];
|
|
4369
4368
|
readonly slug: string;
|
|
4370
|
-
readonly categories: readonly string[];
|
|
4371
|
-
readonly parentFolder?: string | null | undefined;
|
|
4372
4369
|
readonly package: string;
|
|
4373
4370
|
readonly showOnNav: boolean;
|
|
4374
4371
|
readonly publishedAt: Date;
|
|
4375
4372
|
readonly contentLang: string;
|
|
4376
4373
|
readonly heroImage?: string | null | undefined;
|
|
4374
|
+
readonly categories: readonly string[];
|
|
4375
|
+
readonly tags: readonly string[];
|
|
4377
4376
|
readonly authorId: string;
|
|
4378
4377
|
readonly contributorIds: readonly string[];
|
|
4379
4378
|
readonly showAuthor: boolean;
|
|
4380
4379
|
readonly showContributors: boolean;
|
|
4380
|
+
readonly parentFolder?: string | null | undefined;
|
|
4381
4381
|
readonly draft: boolean;
|
|
4382
4382
|
readonly augments: readonly string[];
|
|
4383
4383
|
};
|
|
@@ -4386,19 +4386,19 @@ export declare const apiClients: {
|
|
|
4386
4386
|
readonly updatedAt: Date;
|
|
4387
4387
|
readonly description: string;
|
|
4388
4388
|
readonly title: string;
|
|
4389
|
-
readonly tags: readonly string[];
|
|
4390
4389
|
readonly slug: string;
|
|
4391
|
-
readonly categories: readonly string[];
|
|
4392
|
-
readonly parentFolder?: string | null | undefined;
|
|
4393
4390
|
readonly package: string;
|
|
4394
4391
|
readonly showOnNav: boolean;
|
|
4395
4392
|
readonly publishedAt: Date;
|
|
4396
4393
|
readonly contentLang: string;
|
|
4397
4394
|
readonly heroImage?: string | null | undefined;
|
|
4395
|
+
readonly categories: readonly string[];
|
|
4396
|
+
readonly tags: readonly string[];
|
|
4398
4397
|
readonly authorId: string;
|
|
4399
4398
|
readonly contributorIds: readonly string[];
|
|
4400
4399
|
readonly showAuthor: boolean;
|
|
4401
4400
|
readonly showContributors: boolean;
|
|
4401
|
+
readonly parentFolder?: string | null | undefined;
|
|
4402
4402
|
readonly draft: boolean;
|
|
4403
4403
|
readonly augments: readonly string[];
|
|
4404
4404
|
};
|
|
@@ -4409,33 +4409,33 @@ export declare const apiClients: {
|
|
|
4409
4409
|
readonly id: string;
|
|
4410
4410
|
};
|
|
4411
4411
|
readonly payload: {
|
|
4412
|
-
readonly content?: {
|
|
4413
|
-
readonly id?: string | undefined;
|
|
4414
|
-
readonly content?: string | undefined;
|
|
4415
|
-
readonly contentLang?: string | undefined;
|
|
4416
|
-
readonly contentId?: string | undefined;
|
|
4417
|
-
} | undefined;
|
|
4418
4412
|
readonly data?: {
|
|
4419
4413
|
readonly id?: string | undefined;
|
|
4420
4414
|
readonly updatedAt?: Date | undefined;
|
|
4421
4415
|
readonly description?: string | undefined;
|
|
4422
4416
|
readonly title?: string | undefined;
|
|
4423
|
-
readonly tags?: readonly string[] | undefined;
|
|
4424
4417
|
readonly slug?: string | undefined;
|
|
4425
|
-
readonly categories?: readonly string[] | undefined;
|
|
4426
|
-
readonly parentFolder?: string | null | undefined;
|
|
4427
4418
|
readonly package?: string | undefined;
|
|
4428
4419
|
readonly showOnNav?: boolean | undefined;
|
|
4429
4420
|
readonly publishedAt?: Date | undefined;
|
|
4430
4421
|
readonly contentLang?: string | undefined;
|
|
4431
4422
|
readonly heroImage?: string | null | undefined;
|
|
4423
|
+
readonly categories?: readonly string[] | undefined;
|
|
4424
|
+
readonly tags?: readonly string[] | undefined;
|
|
4432
4425
|
readonly authorId?: string | undefined;
|
|
4433
4426
|
readonly contributorIds?: readonly string[] | undefined;
|
|
4434
4427
|
readonly showAuthor?: boolean | undefined;
|
|
4435
4428
|
readonly showContributors?: boolean | undefined;
|
|
4429
|
+
readonly parentFolder?: string | null | undefined;
|
|
4436
4430
|
readonly draft?: boolean | undefined;
|
|
4437
4431
|
readonly augments?: readonly string[] | undefined;
|
|
4438
4432
|
} | undefined;
|
|
4433
|
+
readonly content?: {
|
|
4434
|
+
readonly id?: string | undefined;
|
|
4435
|
+
readonly contentLang?: string | undefined;
|
|
4436
|
+
readonly contentId?: string | undefined;
|
|
4437
|
+
readonly content?: string | undefined;
|
|
4438
|
+
} | undefined;
|
|
4439
4439
|
};
|
|
4440
4440
|
readonly withResponse?: WithResponse | undefined;
|
|
4441
4441
|
}) => Effect.Effect<WithResponse extends true ? [{
|
|
@@ -4447,9 +4447,9 @@ export declare const apiClients: {
|
|
|
4447
4447
|
readonly urlParams: {
|
|
4448
4448
|
readonly title?: string | undefined;
|
|
4449
4449
|
readonly slug?: string | undefined;
|
|
4450
|
-
readonly author?: string | undefined;
|
|
4451
4450
|
readonly parentFolder?: string | undefined;
|
|
4452
4451
|
readonly draft?: boolean | undefined;
|
|
4452
|
+
readonly author?: string | undefined;
|
|
4453
4453
|
readonly published?: boolean | undefined;
|
|
4454
4454
|
};
|
|
4455
4455
|
readonly withResponse?: WithResponse | undefined;
|
|
@@ -4458,17 +4458,23 @@ export declare const apiClients: {
|
|
|
4458
4458
|
readonly updatedAt: Date;
|
|
4459
4459
|
readonly description: string;
|
|
4460
4460
|
readonly title: string;
|
|
4461
|
-
readonly
|
|
4461
|
+
readonly slug: string;
|
|
4462
|
+
readonly package: string;
|
|
4463
|
+
readonly showOnNav: boolean;
|
|
4464
|
+
readonly publishedAt: Date;
|
|
4465
|
+
readonly contentLang: string;
|
|
4466
|
+
readonly heroImage?: string | null | undefined;
|
|
4467
|
+
readonly categories: readonly {
|
|
4462
4468
|
readonly id: number;
|
|
4463
4469
|
readonly name: string;
|
|
4464
4470
|
readonly description: string;
|
|
4471
|
+
readonly parent?: number | null | undefined;
|
|
4465
4472
|
readonly slug: string;
|
|
4466
4473
|
readonly meta: {
|
|
4467
4474
|
readonly [x: string]: unknown;
|
|
4468
4475
|
};
|
|
4469
4476
|
}[];
|
|
4470
|
-
readonly
|
|
4471
|
-
readonly categories: readonly {
|
|
4477
|
+
readonly tags: readonly {
|
|
4472
4478
|
readonly id: number;
|
|
4473
4479
|
readonly name: string;
|
|
4474
4480
|
readonly description: string;
|
|
@@ -4476,31 +4482,25 @@ export declare const apiClients: {
|
|
|
4476
4482
|
readonly meta: {
|
|
4477
4483
|
readonly [x: string]: unknown;
|
|
4478
4484
|
};
|
|
4479
|
-
readonly parent?: number | null | undefined;
|
|
4480
4485
|
}[];
|
|
4481
|
-
readonly parentFolder?: string | null | undefined;
|
|
4482
|
-
readonly package: string;
|
|
4483
|
-
readonly showOnNav: boolean;
|
|
4484
|
-
readonly publishedAt: Date;
|
|
4485
|
-
readonly contentLang: string;
|
|
4486
|
-
readonly heroImage?: string | null | undefined;
|
|
4487
4486
|
readonly authorId: string;
|
|
4488
4487
|
readonly contributorIds: readonly string[];
|
|
4489
4488
|
readonly showAuthor: boolean;
|
|
4490
4489
|
readonly showContributors: boolean;
|
|
4490
|
+
readonly parentFolder?: string | null | undefined;
|
|
4491
4491
|
readonly draft: boolean;
|
|
4492
4492
|
readonly augments: readonly string[];
|
|
4493
4493
|
readonly multiLangContent: readonly {
|
|
4494
4494
|
readonly id: string;
|
|
4495
|
-
readonly content: string;
|
|
4496
4495
|
readonly contentLang: string;
|
|
4497
4496
|
readonly contentId: string;
|
|
4497
|
+
readonly content: string;
|
|
4498
4498
|
}[];
|
|
4499
4499
|
readonly defaultContent: {
|
|
4500
4500
|
readonly id: string;
|
|
4501
|
-
readonly content: string;
|
|
4502
4501
|
readonly contentLang: string;
|
|
4503
4502
|
readonly contentId: string;
|
|
4503
|
+
readonly content: string;
|
|
4504
4504
|
} | undefined;
|
|
4505
4505
|
readonly urlRoute: string;
|
|
4506
4506
|
readonly authorData: {
|
|
@@ -4530,17 +4530,23 @@ export declare const apiClients: {
|
|
|
4530
4530
|
readonly updatedAt: Date;
|
|
4531
4531
|
readonly description: string;
|
|
4532
4532
|
readonly title: string;
|
|
4533
|
-
readonly
|
|
4533
|
+
readonly slug: string;
|
|
4534
|
+
readonly package: string;
|
|
4535
|
+
readonly showOnNav: boolean;
|
|
4536
|
+
readonly publishedAt: Date;
|
|
4537
|
+
readonly contentLang: string;
|
|
4538
|
+
readonly heroImage?: string | null | undefined;
|
|
4539
|
+
readonly categories: readonly {
|
|
4534
4540
|
readonly id: number;
|
|
4535
4541
|
readonly name: string;
|
|
4536
4542
|
readonly description: string;
|
|
4543
|
+
readonly parent?: number | null | undefined;
|
|
4537
4544
|
readonly slug: string;
|
|
4538
4545
|
readonly meta: {
|
|
4539
4546
|
readonly [x: string]: unknown;
|
|
4540
4547
|
};
|
|
4541
4548
|
}[];
|
|
4542
|
-
readonly
|
|
4543
|
-
readonly categories: readonly {
|
|
4549
|
+
readonly tags: readonly {
|
|
4544
4550
|
readonly id: number;
|
|
4545
4551
|
readonly name: string;
|
|
4546
4552
|
readonly description: string;
|
|
@@ -4548,31 +4554,25 @@ export declare const apiClients: {
|
|
|
4548
4554
|
readonly meta: {
|
|
4549
4555
|
readonly [x: string]: unknown;
|
|
4550
4556
|
};
|
|
4551
|
-
readonly parent?: number | null | undefined;
|
|
4552
4557
|
}[];
|
|
4553
|
-
readonly parentFolder?: string | null | undefined;
|
|
4554
|
-
readonly package: string;
|
|
4555
|
-
readonly showOnNav: boolean;
|
|
4556
|
-
readonly publishedAt: Date;
|
|
4557
|
-
readonly contentLang: string;
|
|
4558
|
-
readonly heroImage?: string | null | undefined;
|
|
4559
4558
|
readonly authorId: string;
|
|
4560
4559
|
readonly contributorIds: readonly string[];
|
|
4561
4560
|
readonly showAuthor: boolean;
|
|
4562
4561
|
readonly showContributors: boolean;
|
|
4562
|
+
readonly parentFolder?: string | null | undefined;
|
|
4563
4563
|
readonly draft: boolean;
|
|
4564
4564
|
readonly augments: readonly string[];
|
|
4565
4565
|
readonly multiLangContent: readonly {
|
|
4566
4566
|
readonly id: string;
|
|
4567
|
-
readonly content: string;
|
|
4568
4567
|
readonly contentLang: string;
|
|
4569
4568
|
readonly contentId: string;
|
|
4569
|
+
readonly content: string;
|
|
4570
4570
|
}[];
|
|
4571
4571
|
readonly defaultContent: {
|
|
4572
4572
|
readonly id: string;
|
|
4573
|
-
readonly content: string;
|
|
4574
4573
|
readonly contentLang: string;
|
|
4575
4574
|
readonly contentId: string;
|
|
4575
|
+
readonly content: string;
|
|
4576
4576
|
} | undefined;
|
|
4577
4577
|
readonly urlRoute: string;
|
|
4578
4578
|
readonly authorData: {
|
|
@@ -4600,33 +4600,33 @@ export declare const apiClients: {
|
|
|
4600
4600
|
}[], 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>;
|
|
4601
4601
|
readonly createPage: <WithResponse extends boolean = false>(request: {
|
|
4602
4602
|
readonly payload: {
|
|
4603
|
-
readonly content?: {
|
|
4604
|
-
readonly id?: string | undefined;
|
|
4605
|
-
readonly content?: string | undefined;
|
|
4606
|
-
readonly contentLang?: string | undefined;
|
|
4607
|
-
readonly contentId?: string | undefined;
|
|
4608
|
-
} | undefined;
|
|
4609
4603
|
readonly data?: {
|
|
4610
4604
|
readonly id?: string | undefined;
|
|
4611
4605
|
readonly updatedAt?: Date | undefined;
|
|
4612
4606
|
readonly description?: string | undefined;
|
|
4613
4607
|
readonly title?: string | undefined;
|
|
4614
|
-
readonly tags?: readonly string[] | undefined;
|
|
4615
4608
|
readonly slug?: string | undefined;
|
|
4616
|
-
readonly categories?: readonly string[] | undefined;
|
|
4617
|
-
readonly parentFolder?: string | null | undefined;
|
|
4618
4609
|
readonly package?: string | undefined;
|
|
4619
4610
|
readonly showOnNav?: boolean | undefined;
|
|
4620
4611
|
readonly publishedAt?: Date | undefined;
|
|
4621
4612
|
readonly contentLang?: string | undefined;
|
|
4622
4613
|
readonly heroImage?: string | null | undefined;
|
|
4614
|
+
readonly categories?: readonly string[] | undefined;
|
|
4615
|
+
readonly tags?: readonly string[] | undefined;
|
|
4623
4616
|
readonly authorId?: string | undefined;
|
|
4624
4617
|
readonly contributorIds?: readonly string[] | undefined;
|
|
4625
4618
|
readonly showAuthor?: boolean | undefined;
|
|
4626
4619
|
readonly showContributors?: boolean | undefined;
|
|
4620
|
+
readonly parentFolder?: string | null | undefined;
|
|
4627
4621
|
readonly draft?: boolean | undefined;
|
|
4628
4622
|
readonly augments?: readonly string[] | undefined;
|
|
4629
4623
|
} | undefined;
|
|
4624
|
+
readonly content?: {
|
|
4625
|
+
readonly id?: string | undefined;
|
|
4626
|
+
readonly contentLang?: string | undefined;
|
|
4627
|
+
readonly contentId?: string | undefined;
|
|
4628
|
+
readonly content?: string | undefined;
|
|
4629
|
+
} | undefined;
|
|
4630
4630
|
};
|
|
4631
4631
|
readonly withResponse?: WithResponse | undefined;
|
|
4632
4632
|
}) => Effect.Effect<WithResponse extends true ? [{
|