@djangocfg/ext-support 1.0.17 → 1.0.20
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/config.cjs +3 -2
- package/dist/config.js +3 -2
- package/dist/hooks.cjs +5 -4
- package/dist/hooks.js +5 -4
- package/dist/index.cjs +5 -4
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -4
- package/package.json +10 -9
- package/src/api/generated/ext_support/_utils/schemas/Message.schema.ts +1 -1
- package/src/api/generated/ext_support/_utils/schemas/Ticket.schema.ts +1 -1
- package/src/config.ts +1 -0
package/dist/config.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var import_ext_base = require("@djangocfg/ext-base");
|
|
|
27
27
|
// package.json
|
|
28
28
|
var package_default = {
|
|
29
29
|
name: "@djangocfg/ext-support",
|
|
30
|
-
version: "1.0.
|
|
30
|
+
version: "1.0.20",
|
|
31
31
|
description: "Support ticket system extension for DjangoCFG",
|
|
32
32
|
keywords: [
|
|
33
33
|
"django",
|
|
@@ -96,8 +96,9 @@ var package_default = {
|
|
|
96
96
|
"p-retry": "^7.0.0",
|
|
97
97
|
react: "^19",
|
|
98
98
|
"react-hook-form": "^7.69.0",
|
|
99
|
+
"@hookform/resolvers": "^5.2.2",
|
|
99
100
|
swr: "^2.3.7",
|
|
100
|
-
zod: "^4.
|
|
101
|
+
zod: "^4.3.4"
|
|
101
102
|
},
|
|
102
103
|
devDependencies: {
|
|
103
104
|
"@djangocfg/api": "workspace:*",
|
package/dist/config.js
CHANGED
|
@@ -4,7 +4,7 @@ import { createExtensionConfig } from "@djangocfg/ext-base";
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@djangocfg/ext-support",
|
|
7
|
-
version: "1.0.
|
|
7
|
+
version: "1.0.20",
|
|
8
8
|
description: "Support ticket system extension for DjangoCFG",
|
|
9
9
|
keywords: [
|
|
10
10
|
"django",
|
|
@@ -73,8 +73,9 @@ var package_default = {
|
|
|
73
73
|
"p-retry": "^7.0.0",
|
|
74
74
|
react: "^19",
|
|
75
75
|
"react-hook-form": "^7.69.0",
|
|
76
|
+
"@hookform/resolvers": "^5.2.2",
|
|
76
77
|
swr: "^2.3.7",
|
|
77
|
-
zod: "^4.
|
|
78
|
+
zod: "^4.3.4"
|
|
78
79
|
},
|
|
79
80
|
devDependencies: {
|
|
80
81
|
"@djangocfg/api": "workspace:*",
|
package/dist/hooks.cjs
CHANGED
|
@@ -892,7 +892,7 @@ var MessageSchema = zod.z.object({
|
|
|
892
892
|
sender: SenderSchema,
|
|
893
893
|
is_from_author: zod.z.boolean(),
|
|
894
894
|
text: zod.z.string(),
|
|
895
|
-
created_at: zod.z.
|
|
895
|
+
created_at: zod.z.string().datetime({ offset: true })
|
|
896
896
|
});
|
|
897
897
|
var MessageCreateSchema = zod.z.object({
|
|
898
898
|
text: zod.z.string()
|
|
@@ -919,7 +919,7 @@ var TicketSchema = zod.z.object({
|
|
|
919
919
|
user: zod.z.int(),
|
|
920
920
|
subject: zod.z.string().max(255),
|
|
921
921
|
status: zod.z.nativeEnum(TicketStatus).optional(),
|
|
922
|
-
created_at: zod.z.
|
|
922
|
+
created_at: zod.z.string().datetime({ offset: true }),
|
|
923
923
|
unanswered_messages_count: zod.z.int()
|
|
924
924
|
});
|
|
925
925
|
|
|
@@ -2656,7 +2656,7 @@ var SupportLayout = () => {
|
|
|
2656
2656
|
// package.json
|
|
2657
2657
|
var package_default = {
|
|
2658
2658
|
name: "@djangocfg/ext-support",
|
|
2659
|
-
version: "1.0.
|
|
2659
|
+
version: "1.0.20",
|
|
2660
2660
|
description: "Support ticket system extension for DjangoCFG",
|
|
2661
2661
|
keywords: [
|
|
2662
2662
|
"django",
|
|
@@ -2725,8 +2725,9 @@ var package_default = {
|
|
|
2725
2725
|
"p-retry": "^7.0.0",
|
|
2726
2726
|
react: "^19",
|
|
2727
2727
|
"react-hook-form": "^7.69.0",
|
|
2728
|
+
"@hookform/resolvers": "^5.2.2",
|
|
2728
2729
|
swr: "^2.3.7",
|
|
2729
|
-
zod: "^4.
|
|
2730
|
+
zod: "^4.3.4"
|
|
2730
2731
|
},
|
|
2731
2732
|
devDependencies: {
|
|
2732
2733
|
"@djangocfg/api": "workspace:*",
|
package/dist/hooks.js
CHANGED
|
@@ -882,7 +882,7 @@ var MessageSchema = z.object({
|
|
|
882
882
|
sender: SenderSchema,
|
|
883
883
|
is_from_author: z.boolean(),
|
|
884
884
|
text: z.string(),
|
|
885
|
-
created_at: z.
|
|
885
|
+
created_at: z.string().datetime({ offset: true })
|
|
886
886
|
});
|
|
887
887
|
var MessageCreateSchema = z.object({
|
|
888
888
|
text: z.string()
|
|
@@ -909,7 +909,7 @@ var TicketSchema = z.object({
|
|
|
909
909
|
user: z.int(),
|
|
910
910
|
subject: z.string().max(255),
|
|
911
911
|
status: z.nativeEnum(TicketStatus).optional(),
|
|
912
|
-
created_at: z.
|
|
912
|
+
created_at: z.string().datetime({ offset: true }),
|
|
913
913
|
unanswered_messages_count: z.int()
|
|
914
914
|
});
|
|
915
915
|
|
|
@@ -2646,7 +2646,7 @@ var SupportLayout = () => {
|
|
|
2646
2646
|
// package.json
|
|
2647
2647
|
var package_default = {
|
|
2648
2648
|
name: "@djangocfg/ext-support",
|
|
2649
|
-
version: "1.0.
|
|
2649
|
+
version: "1.0.20",
|
|
2650
2650
|
description: "Support ticket system extension for DjangoCFG",
|
|
2651
2651
|
keywords: [
|
|
2652
2652
|
"django",
|
|
@@ -2715,8 +2715,9 @@ var package_default = {
|
|
|
2715
2715
|
"p-retry": "^7.0.0",
|
|
2716
2716
|
react: "^19",
|
|
2717
2717
|
"react-hook-form": "^7.69.0",
|
|
2718
|
+
"@hookform/resolvers": "^5.2.2",
|
|
2718
2719
|
swr: "^2.3.7",
|
|
2719
|
-
zod: "^4.
|
|
2720
|
+
zod: "^4.3.4"
|
|
2720
2721
|
},
|
|
2721
2722
|
devDependencies: {
|
|
2722
2723
|
"@djangocfg/api": "workspace:*",
|
package/dist/index.cjs
CHANGED
|
@@ -892,7 +892,7 @@ var MessageSchema = zod.z.object({
|
|
|
892
892
|
sender: SenderSchema,
|
|
893
893
|
is_from_author: zod.z.boolean(),
|
|
894
894
|
text: zod.z.string(),
|
|
895
|
-
created_at: zod.z.
|
|
895
|
+
created_at: zod.z.string().datetime({ offset: true })
|
|
896
896
|
});
|
|
897
897
|
var MessageCreateSchema = zod.z.object({
|
|
898
898
|
text: zod.z.string()
|
|
@@ -919,7 +919,7 @@ var TicketSchema = zod.z.object({
|
|
|
919
919
|
user: zod.z.int(),
|
|
920
920
|
subject: zod.z.string().max(255),
|
|
921
921
|
status: zod.z.nativeEnum(TicketStatus).optional(),
|
|
922
|
-
created_at: zod.z.
|
|
922
|
+
created_at: zod.z.string().datetime({ offset: true }),
|
|
923
923
|
unanswered_messages_count: zod.z.int()
|
|
924
924
|
});
|
|
925
925
|
|
|
@@ -2656,7 +2656,7 @@ var SupportLayout = () => {
|
|
|
2656
2656
|
// package.json
|
|
2657
2657
|
var package_default = {
|
|
2658
2658
|
name: "@djangocfg/ext-support",
|
|
2659
|
-
version: "1.0.
|
|
2659
|
+
version: "1.0.20",
|
|
2660
2660
|
description: "Support ticket system extension for DjangoCFG",
|
|
2661
2661
|
keywords: [
|
|
2662
2662
|
"django",
|
|
@@ -2725,8 +2725,9 @@ var package_default = {
|
|
|
2725
2725
|
"p-retry": "^7.0.0",
|
|
2726
2726
|
react: "^19",
|
|
2727
2727
|
"react-hook-form": "^7.69.0",
|
|
2728
|
+
"@hookform/resolvers": "^5.2.2",
|
|
2728
2729
|
swr: "^2.3.7",
|
|
2729
|
-
zod: "^4.
|
|
2730
|
+
zod: "^4.3.4"
|
|
2730
2731
|
},
|
|
2731
2732
|
devDependencies: {
|
|
2732
2733
|
"@djangocfg/api": "workspace:*",
|
package/dist/index.d.cts
CHANGED
|
@@ -670,7 +670,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
670
670
|
}, z.core.$strip>;
|
|
671
671
|
is_from_author: z.ZodBoolean;
|
|
672
672
|
text: z.ZodString;
|
|
673
|
-
created_at: z.
|
|
673
|
+
created_at: z.ZodString;
|
|
674
674
|
}, z.core.$strip>;
|
|
675
675
|
/**
|
|
676
676
|
* Infer TypeScript type from Zod schema
|
|
@@ -748,7 +748,7 @@ declare const PaginatedMessageListSchema: z.ZodObject<{
|
|
|
748
748
|
}, z.core.$strip>;
|
|
749
749
|
is_from_author: z.ZodBoolean;
|
|
750
750
|
text: z.ZodString;
|
|
751
|
-
created_at: z.
|
|
751
|
+
created_at: z.ZodString;
|
|
752
752
|
}, z.core.$strip>>;
|
|
753
753
|
}, z.core.$strip>;
|
|
754
754
|
/**
|
|
@@ -770,7 +770,7 @@ declare const PaginatedTicketListSchema: z.ZodObject<{
|
|
|
770
770
|
user: z.ZodInt;
|
|
771
771
|
subject: z.ZodString;
|
|
772
772
|
status: z.ZodOptional<z.ZodEnum<typeof TicketStatus>>;
|
|
773
|
-
created_at: z.
|
|
773
|
+
created_at: z.ZodString;
|
|
774
774
|
unanswered_messages_count: z.ZodInt;
|
|
775
775
|
}, z.core.$strip>>;
|
|
776
776
|
}, z.core.$strip>;
|
|
@@ -840,7 +840,7 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
840
840
|
user: z.ZodInt;
|
|
841
841
|
subject: z.ZodString;
|
|
842
842
|
status: z.ZodOptional<z.ZodEnum<typeof TicketStatus>>;
|
|
843
|
-
created_at: z.
|
|
843
|
+
created_at: z.ZodString;
|
|
844
844
|
unanswered_messages_count: z.ZodInt;
|
|
845
845
|
}, z.core.$strip>;
|
|
846
846
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -670,7 +670,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
670
670
|
}, z.core.$strip>;
|
|
671
671
|
is_from_author: z.ZodBoolean;
|
|
672
672
|
text: z.ZodString;
|
|
673
|
-
created_at: z.
|
|
673
|
+
created_at: z.ZodString;
|
|
674
674
|
}, z.core.$strip>;
|
|
675
675
|
/**
|
|
676
676
|
* Infer TypeScript type from Zod schema
|
|
@@ -748,7 +748,7 @@ declare const PaginatedMessageListSchema: z.ZodObject<{
|
|
|
748
748
|
}, z.core.$strip>;
|
|
749
749
|
is_from_author: z.ZodBoolean;
|
|
750
750
|
text: z.ZodString;
|
|
751
|
-
created_at: z.
|
|
751
|
+
created_at: z.ZodString;
|
|
752
752
|
}, z.core.$strip>>;
|
|
753
753
|
}, z.core.$strip>;
|
|
754
754
|
/**
|
|
@@ -770,7 +770,7 @@ declare const PaginatedTicketListSchema: z.ZodObject<{
|
|
|
770
770
|
user: z.ZodInt;
|
|
771
771
|
subject: z.ZodString;
|
|
772
772
|
status: z.ZodOptional<z.ZodEnum<typeof TicketStatus>>;
|
|
773
|
-
created_at: z.
|
|
773
|
+
created_at: z.ZodString;
|
|
774
774
|
unanswered_messages_count: z.ZodInt;
|
|
775
775
|
}, z.core.$strip>>;
|
|
776
776
|
}, z.core.$strip>;
|
|
@@ -840,7 +840,7 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
840
840
|
user: z.ZodInt;
|
|
841
841
|
subject: z.ZodString;
|
|
842
842
|
status: z.ZodOptional<z.ZodEnum<typeof TicketStatus>>;
|
|
843
|
-
created_at: z.
|
|
843
|
+
created_at: z.ZodString;
|
|
844
844
|
unanswered_messages_count: z.ZodInt;
|
|
845
845
|
}, z.core.$strip>;
|
|
846
846
|
/**
|
package/dist/index.js
CHANGED
|
@@ -882,7 +882,7 @@ var MessageSchema = z.object({
|
|
|
882
882
|
sender: SenderSchema,
|
|
883
883
|
is_from_author: z.boolean(),
|
|
884
884
|
text: z.string(),
|
|
885
|
-
created_at: z.
|
|
885
|
+
created_at: z.string().datetime({ offset: true })
|
|
886
886
|
});
|
|
887
887
|
var MessageCreateSchema = z.object({
|
|
888
888
|
text: z.string()
|
|
@@ -909,7 +909,7 @@ var TicketSchema = z.object({
|
|
|
909
909
|
user: z.int(),
|
|
910
910
|
subject: z.string().max(255),
|
|
911
911
|
status: z.nativeEnum(TicketStatus).optional(),
|
|
912
|
-
created_at: z.
|
|
912
|
+
created_at: z.string().datetime({ offset: true }),
|
|
913
913
|
unanswered_messages_count: z.int()
|
|
914
914
|
});
|
|
915
915
|
|
|
@@ -2646,7 +2646,7 @@ var SupportLayout = () => {
|
|
|
2646
2646
|
// package.json
|
|
2647
2647
|
var package_default = {
|
|
2648
2648
|
name: "@djangocfg/ext-support",
|
|
2649
|
-
version: "1.0.
|
|
2649
|
+
version: "1.0.20",
|
|
2650
2650
|
description: "Support ticket system extension for DjangoCFG",
|
|
2651
2651
|
keywords: [
|
|
2652
2652
|
"django",
|
|
@@ -2715,8 +2715,9 @@ var package_default = {
|
|
|
2715
2715
|
"p-retry": "^7.0.0",
|
|
2716
2716
|
react: "^19",
|
|
2717
2717
|
"react-hook-form": "^7.69.0",
|
|
2718
|
+
"@hookform/resolvers": "^5.2.2",
|
|
2718
2719
|
swr: "^2.3.7",
|
|
2719
|
-
zod: "^4.
|
|
2720
|
+
zod: "^4.3.4"
|
|
2720
2721
|
},
|
|
2721
2722
|
devDependencies: {
|
|
2722
2723
|
"@djangocfg/api": "workspace:*",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/ext-support",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Support ticket system extension for DjangoCFG",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"django",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"check": "tsc --noEmit"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@djangocfg/api": "^2.1.
|
|
63
|
-
"@djangocfg/ext-base": "^1.0.
|
|
64
|
-
"@djangocfg/ui-core": "^2.1.
|
|
62
|
+
"@djangocfg/api": "^2.1.109",
|
|
63
|
+
"@djangocfg/ext-base": "^1.0.15",
|
|
64
|
+
"@djangocfg/ui-core": "^2.1.109",
|
|
65
65
|
"consola": "^3.4.2",
|
|
66
66
|
"lucide-react": "^0.545.0",
|
|
67
67
|
"moment": "^2.30.1",
|
|
@@ -69,14 +69,15 @@
|
|
|
69
69
|
"p-retry": "^7.0.0",
|
|
70
70
|
"react": "^19",
|
|
71
71
|
"react-hook-form": "^7.69.0",
|
|
72
|
+
"@hookform/resolvers": "^5.2.2",
|
|
72
73
|
"swr": "^2.3.7",
|
|
73
|
-
"zod": "^4.
|
|
74
|
+
"zod": "^4.3.4"
|
|
74
75
|
},
|
|
75
76
|
"devDependencies": {
|
|
76
|
-
"@djangocfg/api": "^2.1.
|
|
77
|
-
"@djangocfg/ext-base": "^1.0.
|
|
78
|
-
"@djangocfg/ui-core": "^2.1.
|
|
79
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
77
|
+
"@djangocfg/api": "^2.1.109",
|
|
78
|
+
"@djangocfg/ext-base": "^1.0.15",
|
|
79
|
+
"@djangocfg/ui-core": "^2.1.109",
|
|
80
|
+
"@djangocfg/typescript-config": "^2.1.109",
|
|
80
81
|
"@types/node": "^24.7.2",
|
|
81
82
|
"@types/react": "^19.0.0",
|
|
82
83
|
"consola": "^3.4.2",
|
|
@@ -11,7 +11,7 @@ export const TicketSchema = z.object({
|
|
|
11
11
|
user: z.int(),
|
|
12
12
|
subject: z.string().max(255),
|
|
13
13
|
status: z.nativeEnum(Enums.TicketStatus).optional(),
|
|
14
|
-
created_at: z.
|
|
14
|
+
created_at: z.string().datetime({ offset: true }),
|
|
15
15
|
unanswered_messages_count: z.int(),
|
|
16
16
|
})
|
|
17
17
|
|