dineway 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +2 -2
- package/dist/{api-C3-s1R27.mjs → api-B660nbLj.mjs} +1 -1
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +1 -1
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware.mjs +7 -7
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
- package/dist/astro/routes/api/admin/briefing.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +3 -3
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +5 -5
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +5 -5
- package/dist/astro/routes/api/admin/context/diff.mjs +5 -5
- package/dist/astro/routes/api/admin/context/index.mjs +5 -5
- package/dist/astro/routes/api/admin/context/stale.mjs +5 -5
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +6 -6
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +6 -6
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/updates.mjs +3 -3
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/index.mjs +4 -4
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +3 -3
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +6 -4
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +6 -4
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +6 -6
- package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
- package/dist/astro/routes/api/media/_id_.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +2 -2
- package/dist/astro/routes/api/media.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_.mjs +5 -5
- package/dist/astro/routes/api/menus/index.mjs +5 -5
- package/dist/astro/routes/api/openapi.json.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
- package/dist/astro/routes/api/redirects/_id_.mjs +5 -5
- package/dist/astro/routes/api/redirects/index.mjs +5 -5
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/index.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/index.mjs +3 -3
- package/dist/astro/routes/api/search/enable.mjs +2 -2
- package/dist/astro/routes/api/search/index.mjs +2 -2
- package/dist/astro/routes/api/search/rebuild.mjs +2 -2
- package/dist/astro/routes/api/search/suggest.mjs +2 -2
- package/dist/astro/routes/api/sections/_slug_.mjs +5 -5
- package/dist/astro/routes/api/sections/index.mjs +5 -5
- package/dist/astro/routes/api/settings.mjs +5 -5
- package/dist/astro/routes/api/setup/admin-verify.mjs +2 -2
- package/dist/astro/routes/api/setup/admin.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/index.mjs +5 -5
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/index.mjs +5 -5
- package/dist/astro/types.d.mts +2 -2
- package/dist/{byline-fields-Co_MIUWm.mjs → byline-fields-BRUB-Vla.mjs} +1 -1
- package/dist/{byline-fields-bnvqaEuF.d.mts → byline-fields-DS-K2aXR.d.mts} +90 -53
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/client/index.d.mts +6 -4
- package/dist/client/index.mjs +5 -3
- package/dist/{context-m06dNjS1.mjs → context-BQ8O8pqD.mjs} +1 -1
- package/dist/{hitl-requests-D8pHHlSA.mjs → hitl-requests-01Xe2FfD.mjs} +1 -1
- package/dist/{hitl-route-helpers-BIzP0Opq.mjs → hitl-route-helpers-vdROIary.mjs} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +6 -6
- package/dist/{jsonld-CG-hNWNO.d.mts → jsonld-Bn0uJ5Yz.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-DM53lZ9z.mjs → mcp-reviewed-executor-BCR-Pgtg.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/page/index.d.mts +3 -3
- package/dist/plugin-utils.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{public-url-Cqi7Ds4u.d.mts → public-url-D_iHIBiH.d.mts} +1 -1
- package/dist/{publication-authorization-BYieJR6-.mjs → publication-authorization-DP_I_Emr.mjs} +38 -9
- package/dist/{redirects-CALMB6T5.mjs → redirects-CWGZMRsj.mjs} +31 -2
- package/dist/runtime.d.mts +2 -2
- package/dist/{site-context-Bz8hdcZH.mjs → site-context-qU_bKUMe.mjs} +1 -1
- package/dist/{types-C-3YPdr-.d.mts → types-y0lpkCXC.d.mts} +32 -7
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/version-u-P3k0nP.mjs +6 -0
- package/package.json +3 -3
- package/dist/version-D9xoSUza.mjs +0 -6
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -122,11 +122,21 @@ declare const contentScheduleBody: z.ZodObject<{
|
|
|
122
122
|
scheduledAt: z.ZodString;
|
|
123
123
|
reviewRequestId: z.ZodString;
|
|
124
124
|
releaseAuthorizationId: z.ZodOptional<z.ZodString>;
|
|
125
|
+
policyOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
126
|
+
policyId: z.ZodString;
|
|
127
|
+
warningCode: z.ZodString;
|
|
128
|
+
fingerprint: z.ZodString;
|
|
129
|
+
}, z.core.$strip>>>;
|
|
125
130
|
}, z.core.$strip>;
|
|
126
131
|
declare const contentPublishBody: z.ZodObject<{
|
|
127
132
|
publishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
128
133
|
reviewRequestId: z.ZodString;
|
|
129
134
|
releaseAuthorizationId: z.ZodOptional<z.ZodString>;
|
|
135
|
+
policyOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
136
|
+
policyId: z.ZodString;
|
|
137
|
+
warningCode: z.ZodString;
|
|
138
|
+
fingerprint: z.ZodString;
|
|
139
|
+
}, z.core.$strip>>>;
|
|
130
140
|
}, z.core.$strip>;
|
|
131
141
|
declare const contentPublicationReceiptSchema: z.ZodObject<{
|
|
132
142
|
id: z.ZodString;
|
|
@@ -144,6 +154,11 @@ declare const contentPublicationReceiptSchema: z.ZodObject<{
|
|
|
144
154
|
policyContributions: z.ZodArray<z.ZodObject<{
|
|
145
155
|
providerId: z.ZodString;
|
|
146
156
|
policyVersion: z.ZodString;
|
|
157
|
+
disposition: z.ZodEnum<{
|
|
158
|
+
enforced: "enforced";
|
|
159
|
+
not_applicable: "not_applicable";
|
|
160
|
+
overridden: "overridden";
|
|
161
|
+
}>;
|
|
147
162
|
fingerprint: z.ZodString;
|
|
148
163
|
reservationId: z.ZodNullable<z.ZodString>;
|
|
149
164
|
}, z.core.$strip>>;
|
|
@@ -171,10 +186,12 @@ declare const contentReleaseReadinessQuery: z.ZodObject<{
|
|
|
171
186
|
}, z.core.$strip>;
|
|
172
187
|
declare const contentReleaseReadinessResponseSchema: z.ZodObject<{
|
|
173
188
|
ready: z.ZodBoolean;
|
|
189
|
+
canForce: z.ZodBoolean;
|
|
174
190
|
generatedAt: z.ZodString;
|
|
175
191
|
nextAction: z.ZodEnum<{
|
|
176
192
|
publish: "publish";
|
|
177
193
|
schedule: "schedule";
|
|
194
|
+
confirm_policy_warnings: "confirm_policy_warnings";
|
|
178
195
|
fix_release_blockers: "fix_release_blockers";
|
|
179
196
|
}>;
|
|
180
197
|
target: z.ZodNullable<z.ZodObject<{
|
|
@@ -204,6 +221,21 @@ declare const contentReleaseReadinessResponseSchema: z.ZodObject<{
|
|
|
204
221
|
message: z.ZodString;
|
|
205
222
|
policyId: z.ZodOptional<z.ZodString>;
|
|
206
223
|
}, z.core.$strip>>;
|
|
224
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
225
|
+
severity: z.ZodLiteral<"warning">;
|
|
226
|
+
code: z.ZodString;
|
|
227
|
+
source: z.ZodEnum<{
|
|
228
|
+
content: "content";
|
|
229
|
+
editorial_review: "editorial_review";
|
|
230
|
+
release_hitl: "release_hitl";
|
|
231
|
+
authorization: "authorization";
|
|
232
|
+
policy: "policy";
|
|
233
|
+
}>;
|
|
234
|
+
message: z.ZodString;
|
|
235
|
+
policyId: z.ZodOptional<z.ZodString>;
|
|
236
|
+
fingerprint: z.ZodString;
|
|
237
|
+
overridable: z.ZodBoolean;
|
|
238
|
+
}, z.core.$strip>>;
|
|
207
239
|
}, z.core.$strip>;
|
|
208
240
|
declare const contentPreviewUrlBody: z.ZodObject<{
|
|
209
241
|
expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -460,6 +492,11 @@ declare const contentPublishResponseSchema: z.ZodObject<{
|
|
|
460
492
|
policyContributions: z.ZodArray<z.ZodObject<{
|
|
461
493
|
providerId: z.ZodString;
|
|
462
494
|
policyVersion: z.ZodString;
|
|
495
|
+
disposition: z.ZodEnum<{
|
|
496
|
+
enforced: "enforced";
|
|
497
|
+
not_applicable: "not_applicable";
|
|
498
|
+
overridden: "overridden";
|
|
499
|
+
}>;
|
|
463
500
|
fingerprint: z.ZodString;
|
|
464
501
|
reservationId: z.ZodNullable<z.ZodString>;
|
|
465
502
|
}, z.core.$strip>>;
|
|
@@ -809,18 +846,18 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
809
846
|
string: "string";
|
|
810
847
|
number: "number";
|
|
811
848
|
boolean: "boolean";
|
|
812
|
-
json: "json";
|
|
813
|
-
url: "url";
|
|
814
849
|
file: "file";
|
|
815
850
|
slug: "slug";
|
|
816
851
|
text: "text";
|
|
817
|
-
|
|
818
|
-
datetime: "datetime";
|
|
852
|
+
url: "url";
|
|
819
853
|
select: "select";
|
|
854
|
+
image: "image";
|
|
855
|
+
datetime: "datetime";
|
|
856
|
+
integer: "integer";
|
|
820
857
|
multiSelect: "multiSelect";
|
|
821
858
|
portableText: "portableText";
|
|
822
|
-
image: "image";
|
|
823
859
|
reference: "reference";
|
|
860
|
+
json: "json";
|
|
824
861
|
repeater: "repeater";
|
|
825
862
|
}>;
|
|
826
863
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -840,12 +877,12 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
840
877
|
string: "string";
|
|
841
878
|
number: "number";
|
|
842
879
|
boolean: "boolean";
|
|
843
|
-
url: "url";
|
|
844
880
|
text: "text";
|
|
845
|
-
|
|
846
|
-
datetime: "datetime";
|
|
881
|
+
url: "url";
|
|
847
882
|
select: "select";
|
|
848
883
|
image: "image";
|
|
884
|
+
datetime: "datetime";
|
|
885
|
+
integer: "integer";
|
|
849
886
|
}>;
|
|
850
887
|
label: z.ZodString;
|
|
851
888
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -867,18 +904,18 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
867
904
|
string: "string";
|
|
868
905
|
number: "number";
|
|
869
906
|
boolean: "boolean";
|
|
870
|
-
json: "json";
|
|
871
|
-
url: "url";
|
|
872
907
|
file: "file";
|
|
873
908
|
slug: "slug";
|
|
874
909
|
text: "text";
|
|
875
|
-
|
|
876
|
-
datetime: "datetime";
|
|
910
|
+
url: "url";
|
|
877
911
|
select: "select";
|
|
912
|
+
image: "image";
|
|
913
|
+
datetime: "datetime";
|
|
914
|
+
integer: "integer";
|
|
878
915
|
multiSelect: "multiSelect";
|
|
879
916
|
portableText: "portableText";
|
|
880
|
-
image: "image";
|
|
881
917
|
reference: "reference";
|
|
918
|
+
json: "json";
|
|
882
919
|
repeater: "repeater";
|
|
883
920
|
}>>;
|
|
884
921
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -898,12 +935,12 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
898
935
|
string: "string";
|
|
899
936
|
number: "number";
|
|
900
937
|
boolean: "boolean";
|
|
901
|
-
url: "url";
|
|
902
938
|
text: "text";
|
|
903
|
-
|
|
904
|
-
datetime: "datetime";
|
|
939
|
+
url: "url";
|
|
905
940
|
select: "select";
|
|
906
941
|
image: "image";
|
|
942
|
+
datetime: "datetime";
|
|
943
|
+
integer: "integer";
|
|
907
944
|
}>;
|
|
908
945
|
label: z.ZodString;
|
|
909
946
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -956,18 +993,18 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
956
993
|
string: "string";
|
|
957
994
|
number: "number";
|
|
958
995
|
boolean: "boolean";
|
|
959
|
-
json: "json";
|
|
960
|
-
url: "url";
|
|
961
996
|
file: "file";
|
|
962
997
|
slug: "slug";
|
|
963
998
|
text: "text";
|
|
964
|
-
|
|
965
|
-
datetime: "datetime";
|
|
999
|
+
url: "url";
|
|
966
1000
|
select: "select";
|
|
1001
|
+
image: "image";
|
|
1002
|
+
datetime: "datetime";
|
|
1003
|
+
integer: "integer";
|
|
967
1004
|
multiSelect: "multiSelect";
|
|
968
1005
|
portableText: "portableText";
|
|
969
|
-
image: "image";
|
|
970
1006
|
reference: "reference";
|
|
1007
|
+
json: "json";
|
|
971
1008
|
repeater: "repeater";
|
|
972
1009
|
}>;
|
|
973
1010
|
required: z.ZodBoolean;
|
|
@@ -1021,18 +1058,18 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
1021
1058
|
string: "string";
|
|
1022
1059
|
number: "number";
|
|
1023
1060
|
boolean: "boolean";
|
|
1024
|
-
json: "json";
|
|
1025
|
-
url: "url";
|
|
1026
1061
|
file: "file";
|
|
1027
1062
|
slug: "slug";
|
|
1028
1063
|
text: "text";
|
|
1029
|
-
|
|
1030
|
-
datetime: "datetime";
|
|
1064
|
+
url: "url";
|
|
1031
1065
|
select: "select";
|
|
1066
|
+
image: "image";
|
|
1067
|
+
datetime: "datetime";
|
|
1068
|
+
integer: "integer";
|
|
1032
1069
|
multiSelect: "multiSelect";
|
|
1033
1070
|
portableText: "portableText";
|
|
1034
|
-
image: "image";
|
|
1035
1071
|
reference: "reference";
|
|
1072
|
+
json: "json";
|
|
1036
1073
|
repeater: "repeater";
|
|
1037
1074
|
}>;
|
|
1038
1075
|
required: z.ZodBoolean;
|
|
@@ -1075,18 +1112,18 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1075
1112
|
string: "string";
|
|
1076
1113
|
number: "number";
|
|
1077
1114
|
boolean: "boolean";
|
|
1078
|
-
json: "json";
|
|
1079
|
-
url: "url";
|
|
1080
1115
|
file: "file";
|
|
1081
1116
|
slug: "slug";
|
|
1082
1117
|
text: "text";
|
|
1083
|
-
|
|
1084
|
-
datetime: "datetime";
|
|
1118
|
+
url: "url";
|
|
1085
1119
|
select: "select";
|
|
1120
|
+
image: "image";
|
|
1121
|
+
datetime: "datetime";
|
|
1122
|
+
integer: "integer";
|
|
1086
1123
|
multiSelect: "multiSelect";
|
|
1087
1124
|
portableText: "portableText";
|
|
1088
|
-
image: "image";
|
|
1089
1125
|
reference: "reference";
|
|
1126
|
+
json: "json";
|
|
1090
1127
|
repeater: "repeater";
|
|
1091
1128
|
}>;
|
|
1092
1129
|
required: z.ZodBoolean;
|
|
@@ -1112,18 +1149,18 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
1112
1149
|
string: "string";
|
|
1113
1150
|
number: "number";
|
|
1114
1151
|
boolean: "boolean";
|
|
1115
|
-
json: "json";
|
|
1116
|
-
url: "url";
|
|
1117
1152
|
file: "file";
|
|
1118
1153
|
slug: "slug";
|
|
1119
1154
|
text: "text";
|
|
1120
|
-
|
|
1121
|
-
datetime: "datetime";
|
|
1155
|
+
url: "url";
|
|
1122
1156
|
select: "select";
|
|
1157
|
+
image: "image";
|
|
1158
|
+
datetime: "datetime";
|
|
1159
|
+
integer: "integer";
|
|
1123
1160
|
multiSelect: "multiSelect";
|
|
1124
1161
|
portableText: "portableText";
|
|
1125
|
-
image: "image";
|
|
1126
1162
|
reference: "reference";
|
|
1163
|
+
json: "json";
|
|
1127
1164
|
repeater: "repeater";
|
|
1128
1165
|
}>;
|
|
1129
1166
|
required: z.ZodBoolean;
|
|
@@ -1176,10 +1213,10 @@ declare const commentStatusBody: z.ZodObject<{
|
|
|
1176
1213
|
declare const commentBulkBody: z.ZodObject<{
|
|
1177
1214
|
ids: z.ZodArray<z.ZodString>;
|
|
1178
1215
|
action: z.ZodEnum<{
|
|
1179
|
-
delete: "delete";
|
|
1180
1216
|
spam: "spam";
|
|
1181
1217
|
trash: "trash";
|
|
1182
1218
|
approve: "approve";
|
|
1219
|
+
delete: "delete";
|
|
1183
1220
|
}>;
|
|
1184
1221
|
}, z.core.$strip>;
|
|
1185
1222
|
declare const commentListQuery: z.ZodObject<{
|
|
@@ -1302,11 +1339,11 @@ declare const contextEntryStaleQuery: z.ZodObject<{
|
|
|
1302
1339
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1303
1340
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1304
1341
|
scope: z.ZodOptional<z.ZodString>;
|
|
1305
|
-
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1306
1342
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1307
1343
|
true: "true";
|
|
1308
1344
|
false: "false";
|
|
1309
1345
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1346
|
+
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1310
1347
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1311
1348
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1312
1349
|
user: "user";
|
|
@@ -1328,7 +1365,6 @@ declare const contextEntryDiffQuery: z.ZodObject<{
|
|
|
1328
1365
|
declare const contextEntryCreateBody: z.ZodObject<{
|
|
1329
1366
|
scope: z.ZodString;
|
|
1330
1367
|
contextType: z.ZodEnum<{
|
|
1331
|
-
decision: "decision";
|
|
1332
1368
|
brand_voice: "brand_voice";
|
|
1333
1369
|
seo_strategy: "seo_strategy";
|
|
1334
1370
|
audience: "audience";
|
|
@@ -1338,6 +1374,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1338
1374
|
migration_note: "migration_note";
|
|
1339
1375
|
plugin_note: "plugin_note";
|
|
1340
1376
|
agent_reasoning: "agent_reasoning";
|
|
1377
|
+
decision: "decision";
|
|
1341
1378
|
risk: "risk";
|
|
1342
1379
|
content_gap: "content_gap";
|
|
1343
1380
|
style_exception: "style_exception";
|
|
@@ -1352,7 +1389,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1352
1389
|
declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
1353
1390
|
scope: z.ZodOptional<z.ZodString>;
|
|
1354
1391
|
contextType: z.ZodOptional<z.ZodEnum<{
|
|
1355
|
-
decision: "decision";
|
|
1356
1392
|
brand_voice: "brand_voice";
|
|
1357
1393
|
seo_strategy: "seo_strategy";
|
|
1358
1394
|
audience: "audience";
|
|
@@ -1362,6 +1398,7 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
|
1362
1398
|
migration_note: "migration_note";
|
|
1363
1399
|
plugin_note: "plugin_note";
|
|
1364
1400
|
agent_reasoning: "agent_reasoning";
|
|
1401
|
+
decision: "decision";
|
|
1365
1402
|
risk: "risk";
|
|
1366
1403
|
content_gap: "content_gap";
|
|
1367
1404
|
style_exception: "style_exception";
|
|
@@ -1477,7 +1514,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1477
1514
|
}, z.core.$strip>;
|
|
1478
1515
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1479
1516
|
email: z.ZodString;
|
|
1480
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1517
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1481
1518
|
}, z.core.$strip>;
|
|
1482
1519
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1483
1520
|
token: z.ZodString;
|
|
@@ -1569,11 +1606,11 @@ declare const authMeActionBody: z.ZodObject<{
|
|
|
1569
1606
|
* from `referenceCollection` + `referenceId` (a translation_group id).
|
|
1570
1607
|
*/
|
|
1571
1608
|
declare const menuItemTypeEnum: z.ZodEnum<{
|
|
1572
|
-
collection: "collection";
|
|
1573
|
-
taxonomy: "taxonomy";
|
|
1574
1609
|
custom: "custom";
|
|
1575
1610
|
page: "page";
|
|
1576
1611
|
post: "post";
|
|
1612
|
+
taxonomy: "taxonomy";
|
|
1613
|
+
collection: "collection";
|
|
1577
1614
|
}>;
|
|
1578
1615
|
declare const createMenuBody: z.ZodObject<{
|
|
1579
1616
|
name: z.ZodString;
|
|
@@ -1586,11 +1623,11 @@ declare const updateMenuBody: z.ZodObject<{
|
|
|
1586
1623
|
}, z.core.$strict>;
|
|
1587
1624
|
declare const createMenuItemBody: z.ZodObject<{
|
|
1588
1625
|
type: z.ZodEnum<{
|
|
1589
|
-
collection: "collection";
|
|
1590
|
-
taxonomy: "taxonomy";
|
|
1591
1626
|
custom: "custom";
|
|
1592
1627
|
page: "page";
|
|
1593
1628
|
post: "post";
|
|
1629
|
+
taxonomy: "taxonomy";
|
|
1630
|
+
collection: "collection";
|
|
1594
1631
|
}>;
|
|
1595
1632
|
label: z.ZodString;
|
|
1596
1633
|
referenceCollection: z.ZodOptional<z.ZodString>;
|
|
@@ -1803,8 +1840,8 @@ declare const termGetResponseSchema: z.ZodObject<{
|
|
|
1803
1840
|
//#region src/api/schemas/sections.d.ts
|
|
1804
1841
|
declare const sectionsListQuery: z.ZodObject<{
|
|
1805
1842
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1806
|
-
user: "user";
|
|
1807
1843
|
theme: "theme";
|
|
1844
|
+
user: "user";
|
|
1808
1845
|
import: "import";
|
|
1809
1846
|
}>>;
|
|
1810
1847
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -2029,15 +2066,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
2029
2066
|
declare const userUpdateBody: z.ZodObject<{
|
|
2030
2067
|
name: z.ZodOptional<z.ZodString>;
|
|
2031
2068
|
email: z.ZodOptional<z.ZodString>;
|
|
2032
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
2069
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
2033
2070
|
}, z.core.$strip>;
|
|
2034
2071
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
2035
2072
|
domain: z.ZodString;
|
|
2036
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
2073
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
2037
2074
|
}, z.core.$strip>;
|
|
2038
2075
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
2039
2076
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2040
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
2077
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
2041
2078
|
}, z.core.$strip>;
|
|
2042
2079
|
declare const userSchema: z.ZodObject<{
|
|
2043
2080
|
id: z.ZodString;
|
|
@@ -2409,8 +2446,8 @@ declare const bylineFieldCreateBody: z.ZodObject<{
|
|
|
2409
2446
|
type: z.ZodEnum<{
|
|
2410
2447
|
string: "string";
|
|
2411
2448
|
boolean: "boolean";
|
|
2412
|
-
url: "url";
|
|
2413
2449
|
text: "text";
|
|
2450
|
+
url: "url";
|
|
2414
2451
|
select: "select";
|
|
2415
2452
|
}>;
|
|
2416
2453
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2439,8 +2476,8 @@ declare const bylineFieldDefinitionSchema: z.ZodObject<{
|
|
|
2439
2476
|
type: z.ZodEnum<{
|
|
2440
2477
|
string: "string";
|
|
2441
2478
|
boolean: "boolean";
|
|
2442
|
-
url: "url";
|
|
2443
2479
|
text: "text";
|
|
2480
|
+
url: "url";
|
|
2444
2481
|
select: "select";
|
|
2445
2482
|
}>;
|
|
2446
2483
|
required: z.ZodBoolean;
|
|
@@ -2460,8 +2497,8 @@ declare const bylineFieldListResponseSchema: z.ZodObject<{
|
|
|
2460
2497
|
type: z.ZodEnum<{
|
|
2461
2498
|
string: "string";
|
|
2462
2499
|
boolean: "boolean";
|
|
2463
|
-
url: "url";
|
|
2464
2500
|
text: "text";
|
|
2501
|
+
url: "url";
|
|
2465
2502
|
select: "select";
|
|
2466
2503
|
}>;
|
|
2467
2504
|
required: z.ZodBoolean;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import "../content-refresh-BmkilU5M.mjs";
|
|
|
22
22
|
import "../fts-manager-Zo9uhGel.mjs";
|
|
23
23
|
import { n as SchemaRegistry } from "../registry-SEJqFliS.mjs";
|
|
24
24
|
import "../settings-SVDAB7_W.mjs";
|
|
25
|
-
import { n as VERSION } from "../version-
|
|
25
|
+
import { n as VERSION } from "../version-u-P3k0nP.mjs";
|
|
26
26
|
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-CpGpyGcO.mjs";
|
|
27
27
|
import { t as IntegrationCredentialStore } from "../store-CCfMD6nw.mjs";
|
|
28
28
|
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-DKa3ZaJL.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-y0lpkCXC.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-DS-K2aXR.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
9
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
10
10
|
import { SubCommandsDef } from "citty";
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Lt as PublicationReadinessResult, Mt as PublicationPolicyOverride, zt as PublicationReceipt } from "../types-y0lpkCXC.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-DS-K2aXR.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
9
|
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-CXkC1F2Z.mjs";
|
|
10
10
|
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BYUu-wtj.mjs";
|
|
@@ -67,6 +67,7 @@ interface ContentPublishOptions {
|
|
|
67
67
|
reviewRequestId: string;
|
|
68
68
|
releaseAuthorizationId?: string;
|
|
69
69
|
publishedAt?: string;
|
|
70
|
+
policyOverrides?: PublicationPolicyOverride[];
|
|
70
71
|
locale?: string;
|
|
71
72
|
}
|
|
72
73
|
interface ContentReleaseReadinessOptions {
|
|
@@ -81,6 +82,7 @@ interface ContentScheduleOptions {
|
|
|
81
82
|
at: string;
|
|
82
83
|
reviewRequestId: string;
|
|
83
84
|
releaseAuthorizationId?: string;
|
|
85
|
+
policyOverrides?: PublicationPolicyOverride[];
|
|
84
86
|
locale?: string;
|
|
85
87
|
}
|
|
86
88
|
/** Collection metadata */
|
|
@@ -313,7 +315,7 @@ declare class DinewayClient {
|
|
|
313
315
|
delete(collection: string, id: string): Promise<void>;
|
|
314
316
|
/** Publish an exact, editorially approved Draft Revision */
|
|
315
317
|
publish(collection: string, id: string, options: ContentPublishOptions): Promise<PublicationReceipt>;
|
|
316
|
-
/** Inspect every current release blocker without creating governance state. */
|
|
318
|
+
/** Inspect every current release blocker and warning without creating governance state. */
|
|
317
319
|
releaseReadiness(collection: string, id: string, options?: ContentReleaseReadinessOptions): Promise<PublicationReadinessResult>;
|
|
318
320
|
/** Unpublish a content item */
|
|
319
321
|
unpublish(collection: string, id: string): Promise<void>;
|
|
@@ -397,4 +399,4 @@ declare class DinewayClient {
|
|
|
397
399
|
private getFieldSchemas;
|
|
398
400
|
}
|
|
399
401
|
//#endregion
|
|
400
|
-
export { ApiError, ClientResponse, Collection, CollectionWithFields, ContentItem, ContentPublishOptions, ContentReleaseReadinessOptions, ContentScheduleOptions, DinewayApiError, DinewayClient, DinewayClientError, DinewayClientOptions, Field, type Interceptor, ListResult, Manifest, MediaItem, Menu, MenuItem, MenuWithItems, PluginRequestOptions, type PortableTextBlock, type PublicationReadinessResult, type PublicationReceipt, SchemaExport, SearchResult, SetupLinkResult, Taxonomy, Term, createTransport, csrfInterceptor, devBypassInterceptor, markdownToPortableText, portableTextToMarkdown, tokenInterceptor };
|
|
402
|
+
export { ApiError, ClientResponse, Collection, CollectionWithFields, ContentItem, ContentPublishOptions, ContentReleaseReadinessOptions, ContentScheduleOptions, DinewayApiError, DinewayClient, DinewayClientError, DinewayClientOptions, Field, type Interceptor, ListResult, Manifest, MediaItem, Menu, MenuItem, MenuWithItems, PluginRequestOptions, type PortableTextBlock, type PublicationPolicyOverride, type PublicationReadinessResult, type PublicationReceipt, SchemaExport, SearchResult, SetupLinkResult, Taxonomy, Term, createTransport, csrfInterceptor, devBypassInterceptor, markdownToPortableText, portableTextToMarkdown, tokenInterceptor };
|
package/dist/client/index.mjs
CHANGED
|
@@ -199,10 +199,11 @@ var DinewayClient = class {
|
|
|
199
199
|
return (await this.request("POST", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}/publish${qs ? `?${qs}` : ""}`, {
|
|
200
200
|
reviewRequestId: options.reviewRequestId,
|
|
201
201
|
releaseAuthorizationId: options.releaseAuthorizationId,
|
|
202
|
-
publishedAt: options.publishedAt
|
|
202
|
+
publishedAt: options.publishedAt,
|
|
203
|
+
policyOverrides: options.policyOverrides
|
|
203
204
|
})).publicationReceipt;
|
|
204
205
|
}
|
|
205
|
-
/** Inspect every current release blocker without creating governance state. */
|
|
206
|
+
/** Inspect every current release blocker and warning without creating governance state. */
|
|
206
207
|
async releaseReadiness(collection, id, options = {}) {
|
|
207
208
|
const params = new URLSearchParams();
|
|
208
209
|
if (options.operation) params.set("operation", options.operation);
|
|
@@ -226,7 +227,8 @@ var DinewayClient = class {
|
|
|
226
227
|
await this.request("POST", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}/schedule${qs ? `?${qs}` : ""}`, {
|
|
227
228
|
scheduledAt: options.at,
|
|
228
229
|
reviewRequestId: options.reviewRequestId,
|
|
229
|
-
releaseAuthorizationId: options.releaseAuthorizationId
|
|
230
|
+
releaseAuthorizationId: options.releaseAuthorizationId,
|
|
231
|
+
policyOverrides: options.policyOverrides
|
|
230
232
|
});
|
|
231
233
|
}
|
|
232
234
|
/** Restore a trashed content item */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-
|
|
1
|
+
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-qU_bKUMe.mjs";
|
|
2
2
|
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-GFhLTLJo.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as HitlRequestService } from "./site-context-
|
|
1
|
+
import { b as HitlRequestService } from "./site-context-qU_bKUMe.mjs";
|
|
2
2
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CgO73K4e.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as WorkflowHitlCoordinator } from "./site-context-
|
|
1
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-qU_bKUMe.mjs";
|
|
2
2
|
import { t as apiError } from "./error-BW9f_ynq.mjs";
|
|
3
3
|
import { n as resolveActorIdentity } from "./actor-DA7yL9Yp.mjs";
|
|
4
4
|
import { p as logSiteActivitySafely } from "./activity-events-DEYmJhWd.mjs";
|