dineway 0.1.34 → 0.1.36
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/README.md +30 -4
- package/dist/api/route-utils.d.mts +2 -2
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-BaFOFZnE.mjs → api-K0U9SYx7.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/seed.mjs +1 -1
- package/dist/astro/middleware.mjs +4 -4
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +1 -1
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +1 -1
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
- package/dist/astro/routes/api/setup/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +1 -1
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/types.d.mts +2 -2
- package/dist/{bylines-CeNpt_vk.d.mts → bylines-C8EfvtqH.d.mts} +25 -25
- package/dist/cli/index.mjs +532 -114
- package/dist/db/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{preview-5HuX6fjF.mjs → preview-BhgxNRWI.mjs} +1 -1
- package/dist/{runner-lqEiJbO-.mjs → runner-S3smkgdc.mjs} +15 -2
- package/dist/{runtime-CP8eY2L-.d.mts → runtime-BM9sqnzO.d.mts} +2 -2
- package/dist/runtime.d.mts +2 -2
- package/dist/version-BCYrkQqz.mjs +6 -0
- package/package.json +1 -1
- package/dist/version-HcqOJZFv.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<
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -559,14 +559,14 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
559
559
|
boolean: "boolean";
|
|
560
560
|
file: "file";
|
|
561
561
|
url: "url";
|
|
562
|
+
image: "image";
|
|
562
563
|
slug: "slug";
|
|
564
|
+
datetime: "datetime";
|
|
563
565
|
text: "text";
|
|
564
566
|
integer: "integer";
|
|
565
|
-
datetime: "datetime";
|
|
566
567
|
select: "select";
|
|
567
568
|
multiSelect: "multiSelect";
|
|
568
569
|
portableText: "portableText";
|
|
569
|
-
image: "image";
|
|
570
570
|
reference: "reference";
|
|
571
571
|
json: "json";
|
|
572
572
|
repeater: "repeater";
|
|
@@ -589,9 +589,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
589
589
|
number: "number";
|
|
590
590
|
boolean: "boolean";
|
|
591
591
|
url: "url";
|
|
592
|
+
datetime: "datetime";
|
|
592
593
|
text: "text";
|
|
593
594
|
integer: "integer";
|
|
594
|
-
datetime: "datetime";
|
|
595
595
|
select: "select";
|
|
596
596
|
}>;
|
|
597
597
|
label: z.ZodString;
|
|
@@ -628,9 +628,9 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
628
628
|
number: "number";
|
|
629
629
|
boolean: "boolean";
|
|
630
630
|
url: "url";
|
|
631
|
+
datetime: "datetime";
|
|
631
632
|
text: "text";
|
|
632
633
|
integer: "integer";
|
|
633
|
-
datetime: "datetime";
|
|
634
634
|
select: "select";
|
|
635
635
|
}>;
|
|
636
636
|
label: z.ZodString;
|
|
@@ -686,14 +686,14 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
686
686
|
boolean: "boolean";
|
|
687
687
|
file: "file";
|
|
688
688
|
url: "url";
|
|
689
|
+
image: "image";
|
|
689
690
|
slug: "slug";
|
|
691
|
+
datetime: "datetime";
|
|
690
692
|
text: "text";
|
|
691
693
|
integer: "integer";
|
|
692
|
-
datetime: "datetime";
|
|
693
694
|
select: "select";
|
|
694
695
|
multiSelect: "multiSelect";
|
|
695
696
|
portableText: "portableText";
|
|
696
|
-
image: "image";
|
|
697
697
|
reference: "reference";
|
|
698
698
|
json: "json";
|
|
699
699
|
repeater: "repeater";
|
|
@@ -751,14 +751,14 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
751
751
|
boolean: "boolean";
|
|
752
752
|
file: "file";
|
|
753
753
|
url: "url";
|
|
754
|
+
image: "image";
|
|
754
755
|
slug: "slug";
|
|
756
|
+
datetime: "datetime";
|
|
755
757
|
text: "text";
|
|
756
758
|
integer: "integer";
|
|
757
|
-
datetime: "datetime";
|
|
758
759
|
select: "select";
|
|
759
760
|
multiSelect: "multiSelect";
|
|
760
761
|
portableText: "portableText";
|
|
761
|
-
image: "image";
|
|
762
762
|
reference: "reference";
|
|
763
763
|
json: "json";
|
|
764
764
|
repeater: "repeater";
|
|
@@ -805,14 +805,14 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
805
805
|
boolean: "boolean";
|
|
806
806
|
file: "file";
|
|
807
807
|
url: "url";
|
|
808
|
+
image: "image";
|
|
808
809
|
slug: "slug";
|
|
810
|
+
datetime: "datetime";
|
|
809
811
|
text: "text";
|
|
810
812
|
integer: "integer";
|
|
811
|
-
datetime: "datetime";
|
|
812
813
|
select: "select";
|
|
813
814
|
multiSelect: "multiSelect";
|
|
814
815
|
portableText: "portableText";
|
|
815
|
-
image: "image";
|
|
816
816
|
reference: "reference";
|
|
817
817
|
json: "json";
|
|
818
818
|
repeater: "repeater";
|
|
@@ -842,14 +842,14 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
842
842
|
boolean: "boolean";
|
|
843
843
|
file: "file";
|
|
844
844
|
url: "url";
|
|
845
|
+
image: "image";
|
|
845
846
|
slug: "slug";
|
|
847
|
+
datetime: "datetime";
|
|
846
848
|
text: "text";
|
|
847
849
|
integer: "integer";
|
|
848
|
-
datetime: "datetime";
|
|
849
850
|
select: "select";
|
|
850
851
|
multiSelect: "multiSelect";
|
|
851
852
|
portableText: "portableText";
|
|
852
|
-
image: "image";
|
|
853
853
|
reference: "reference";
|
|
854
854
|
json: "json";
|
|
855
855
|
repeater: "repeater";
|
|
@@ -890,8 +890,8 @@ declare const createCommentBody: z.ZodObject<{
|
|
|
890
890
|
}, z.core.$strip>;
|
|
891
891
|
declare const commentStatusBody: z.ZodObject<{
|
|
892
892
|
status: z.ZodEnum<{
|
|
893
|
-
approved: "approved";
|
|
894
893
|
pending: "pending";
|
|
894
|
+
approved: "approved";
|
|
895
895
|
spam: "spam";
|
|
896
896
|
trash: "trash";
|
|
897
897
|
}>;
|
|
@@ -907,8 +907,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
907
907
|
}, z.core.$strip>;
|
|
908
908
|
declare const commentListQuery: z.ZodObject<{
|
|
909
909
|
status: z.ZodOptional<z.ZodEnum<{
|
|
910
|
-
approved: "approved";
|
|
911
910
|
pending: "pending";
|
|
911
|
+
approved: "approved";
|
|
912
912
|
spam: "spam";
|
|
913
913
|
trash: "trash";
|
|
914
914
|
}>>;
|
|
@@ -942,8 +942,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
942
942
|
authorEmail: z.ZodString;
|
|
943
943
|
body: z.ZodString;
|
|
944
944
|
status: z.ZodEnum<{
|
|
945
|
-
approved: "approved";
|
|
946
945
|
pending: "pending";
|
|
946
|
+
approved: "approved";
|
|
947
947
|
spam: "spam";
|
|
948
948
|
trash: "trash";
|
|
949
949
|
}>;
|
|
@@ -974,8 +974,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
974
974
|
authorEmail: z.ZodString;
|
|
975
975
|
body: z.ZodString;
|
|
976
976
|
status: z.ZodEnum<{
|
|
977
|
-
approved: "approved";
|
|
978
977
|
pending: "pending";
|
|
978
|
+
approved: "approved";
|
|
979
979
|
spam: "spam";
|
|
980
980
|
trash: "trash";
|
|
981
981
|
}>;
|
|
@@ -1020,6 +1020,8 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1020
1020
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1021
1021
|
}, z.core.$strip>;
|
|
1022
1022
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1023
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1023
1025
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1024
1026
|
true: "true";
|
|
1025
1027
|
false: "false";
|
|
@@ -1033,8 +1035,6 @@ declare const contextEntryStaleQuery: z.ZodObject<{
|
|
|
1033
1035
|
system: "system";
|
|
1034
1036
|
}>>;
|
|
1035
1037
|
createdByActorId: z.ZodOptional<z.ZodString>;
|
|
1036
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1037
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1038
1038
|
now: z.ZodOptional<z.ZodString>;
|
|
1039
1039
|
}, z.core.$strip>;
|
|
1040
1040
|
declare const contextEntryDiffQuery: z.ZodObject<{
|
|
@@ -1115,8 +1115,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1115
1115
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1116
1116
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1117
1117
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1118
|
-
approved: "approved";
|
|
1119
1118
|
pending: "pending";
|
|
1119
|
+
approved: "approved";
|
|
1120
1120
|
rejected: "rejected";
|
|
1121
1121
|
}>>;
|
|
1122
1122
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1143,8 +1143,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
|
|
|
1143
1143
|
//#region src/api/schemas/review-requests.d.ts
|
|
1144
1144
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1145
1145
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1146
|
-
approved: "approved";
|
|
1147
1146
|
pending: "pending";
|
|
1147
|
+
approved: "approved";
|
|
1148
1148
|
rejected: "rejected";
|
|
1149
1149
|
}>>;
|
|
1150
1150
|
collection: z.ZodOptional<z.ZodString>;
|
|
@@ -1192,7 +1192,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1192
1192
|
}, z.core.$strip>;
|
|
1193
1193
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1194
1194
|
email: z.ZodString;
|
|
1195
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1195
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1196
1196
|
}, z.core.$strip>;
|
|
1197
1197
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1198
1198
|
token: z.ZodString;
|
|
@@ -1744,15 +1744,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
1744
1744
|
declare const userUpdateBody: z.ZodObject<{
|
|
1745
1745
|
name: z.ZodOptional<z.ZodString>;
|
|
1746
1746
|
email: z.ZodOptional<z.ZodString>;
|
|
1747
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1747
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1748
1748
|
}, z.core.$strip>;
|
|
1749
1749
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
1750
1750
|
domain: z.ZodString;
|
|
1751
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1751
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
|
|
1752
1752
|
}, z.core.$strip>;
|
|
1753
1753
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
1754
1754
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1755
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1755
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1756
1756
|
}, z.core.$strip>;
|
|
1757
1757
|
declare const userSchema: z.ZodObject<{
|
|
1758
1758
|
id: z.ZodString;
|