@hed-hog/core 0.0.360 → 0.0.361

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.
Files changed (62) hide show
  1. package/dist/ai/ai.service.d.ts +1 -1
  2. package/dist/auth/auth.controller.d.ts +26 -26
  3. package/dist/auth/auth.service.d.ts +34 -34
  4. package/dist/challenge/challenge.service.d.ts +12 -12
  5. package/dist/core/system.controller.d.ts +2 -2
  6. package/dist/core/system.service.d.ts +2 -2
  7. package/dist/dashboard/dashboard/dashboard.controller.d.ts +66 -66
  8. package/dist/dashboard/dashboard/dashboard.service.d.ts +66 -66
  9. package/dist/dashboard/dashboard-component/dashboard-component.controller.d.ts +26 -26
  10. package/dist/dashboard/dashboard-component/dashboard-component.service.d.ts +26 -26
  11. package/dist/dashboard/dashboard-component-role/dashboard-component-role.controller.d.ts +34 -34
  12. package/dist/dashboard/dashboard-component-role/dashboard-component-role.service.d.ts +34 -34
  13. package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +8 -8
  14. package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +8 -8
  15. package/dist/dashboard/dashboard-item/dashboard-item.controller.d.ts +5 -5
  16. package/dist/dashboard/dashboard-item/dashboard-item.service.d.ts +5 -5
  17. package/dist/dashboard/dashboard-role/dashboard-role.controller.d.ts +25 -25
  18. package/dist/dashboard/dashboard-role/dashboard-role.service.d.ts +25 -25
  19. package/dist/file/file.controller.d.ts +6 -6
  20. package/dist/file/file.service.d.ts +50 -24
  21. package/dist/file/file.service.d.ts.map +1 -1
  22. package/dist/file/file.service.js +37 -0
  23. package/dist/file/file.service.js.map +1 -1
  24. package/dist/integration-profile/integration-profile.controller.d.ts +15 -15
  25. package/dist/integration-profile/integration-profile.service.d.ts +15 -15
  26. package/dist/locale/locale.controller.d.ts +4 -4
  27. package/dist/locale/locale.service.d.ts +4 -4
  28. package/dist/mail/mail.controller.d.ts +7 -7
  29. package/dist/mail/mail.service.d.ts +7 -7
  30. package/dist/mail-sent/mail-sent.controller.d.ts +12 -12
  31. package/dist/mail-sent/mail-sent.service.d.ts +12 -12
  32. package/dist/mcp/mcp-api-key.controller.d.ts +2 -2
  33. package/dist/mcp/mcp-api-key.service.d.ts +2 -2
  34. package/dist/mcp-chat/mcp-chat.controller.d.ts +8 -8
  35. package/dist/mcp-chat/mcp-chat.service.d.ts +8 -8
  36. package/dist/menu/menu.controller.d.ts +10 -10
  37. package/dist/menu/menu.service.d.ts +10 -10
  38. package/dist/notification/notification.controller.d.ts +36 -36
  39. package/dist/notification/notification.service.d.ts +36 -36
  40. package/dist/profile/profile.controller.d.ts +16 -16
  41. package/dist/profile/profile.service.d.ts +16 -16
  42. package/dist/role/role.controller.d.ts +6 -6
  43. package/dist/role/role.service.d.ts +6 -6
  44. package/dist/screen/screen.controller.d.ts +3 -3
  45. package/dist/screen/screen.service.d.ts +3 -3
  46. package/dist/session/session.controller.d.ts +2 -2
  47. package/dist/session/session.service.d.ts +6 -6
  48. package/dist/setting/setting.controller.d.ts +18 -18
  49. package/dist/setting/setting.service.d.ts +18 -18
  50. package/dist/setting/setting.service.d.ts.map +1 -1
  51. package/dist/setting/setting.service.js +0 -1
  52. package/dist/setting/setting.service.js.map +1 -1
  53. package/dist/user/user.controller.d.ts +29 -29
  54. package/dist/user/user.service.d.ts +67 -67
  55. package/dist/webhook-integration/webhook-integration.controller.d.ts +2 -2
  56. package/dist/webhook-integration/webhook-integration.service.d.ts +2 -2
  57. package/hedhog/data/setting_group.yaml +0 -26
  58. package/hedhog/frontend/app/configurations/[slug]/components/setting-field.tsx.ejs +1 -33
  59. package/hedhog/table/setting_runtime_state.yaml +9 -0
  60. package/package.json +4 -3
  61. package/src/file/file.service.ts +88 -0
  62. package/src/setting/setting.service.ts +0 -1
@@ -10,8 +10,8 @@ export declare class IntegrationProfileController {
10
10
  constructor(integrationProfileService: IntegrationProfileService);
11
11
  listTypes(): Promise<{
12
12
  id: number;
13
- icon: string;
14
13
  slug: string;
14
+ icon: string;
15
15
  integration_type_locale: {
16
16
  name: string;
17
17
  locale: {
@@ -22,13 +22,13 @@ export declare class IntegrationProfileController {
22
22
  listProviders(typeId?: string, typeSlug?: string): Promise<{
23
23
  id: number;
24
24
  slug: string;
25
- type_id: number;
26
25
  integration_provider_locale: {
27
26
  name: string;
28
27
  locale: {
29
28
  code: string;
30
29
  };
31
30
  }[];
31
+ type_id: number;
32
32
  }[]>;
33
33
  list(paginationParams: any, typeId?: string, typeSlug?: string, providerSlug?: string): Promise<{
34
34
  total: any;
@@ -51,8 +51,8 @@ export declare class IntegrationProfileController {
51
51
  }[];
52
52
  };
53
53
  integration_type: {
54
- icon: string;
55
54
  slug: string;
55
+ icon: string;
56
56
  integration_type_locale: {
57
57
  name: string;
58
58
  locale: {
@@ -61,41 +61,41 @@ export declare class IntegrationProfileController {
61
61
  }[];
62
62
  };
63
63
  } & {
64
- name: string;
65
64
  id: number;
66
65
  created_at: Date;
66
+ name: string;
67
67
  updated_at: Date;
68
- slug: string;
69
- is_active: boolean;
70
68
  provider_id: number;
71
- type_id: number;
69
+ slug: string;
72
70
  config: import("@prisma/client/runtime/library").JsonValue | null;
71
+ type_id: number;
72
+ is_active: boolean;
73
73
  }>;
74
74
  create(data: CreateDTO): Promise<{
75
- name: string;
76
75
  id: number;
77
76
  created_at: Date;
77
+ name: string;
78
78
  updated_at: Date;
79
- slug: string;
80
- is_active: boolean;
81
79
  provider_id: number;
82
- type_id: number;
80
+ slug: string;
83
81
  config: import("@prisma/client/runtime/library").JsonValue | null;
82
+ type_id: number;
83
+ is_active: boolean;
84
84
  }>;
85
85
  test(data: CreateDTO): Promise<{
86
86
  success: boolean;
87
87
  destination: string;
88
88
  }>;
89
89
  update(id: number, data: UpdateDTO): Promise<{
90
- name: string;
91
90
  id: number;
92
91
  created_at: Date;
92
+ name: string;
93
93
  updated_at: Date;
94
- slug: string;
95
- is_active: boolean;
96
94
  provider_id: number;
97
- type_id: number;
95
+ slug: string;
98
96
  config: import("@prisma/client/runtime/library").JsonValue | null;
97
+ type_id: number;
98
+ is_active: boolean;
99
99
  }>;
100
100
  delete(data: DeleteDTO): Promise<{
101
101
  count: number;
@@ -25,8 +25,8 @@ export declare class IntegrationProfileService {
25
25
  constructor(prismaService: PrismaService, paginationService: PaginationService);
26
26
  listTypes(): Promise<{
27
27
  id: number;
28
- icon: string;
29
28
  slug: string;
29
+ icon: string;
30
30
  integration_type_locale: {
31
31
  name: string;
32
32
  locale: {
@@ -37,13 +37,13 @@ export declare class IntegrationProfileService {
37
37
  listProviders(typeId?: number, typeSlug?: string): Promise<{
38
38
  id: number;
39
39
  slug: string;
40
- type_id: number;
41
40
  integration_provider_locale: {
42
41
  name: string;
43
42
  locale: {
44
43
  code: string;
45
44
  };
46
45
  }[];
46
+ type_id: number;
47
47
  }[]>;
48
48
  list(paginationParams: PaginationDTO, typeId?: number, typeSlug?: string, providerSlug?: string): Promise<{
49
49
  total: any;
@@ -65,8 +65,8 @@ export declare class IntegrationProfileService {
65
65
  }[];
66
66
  };
67
67
  integration_type: {
68
- icon: string;
69
68
  slug: string;
69
+ icon: string;
70
70
  integration_type_locale: {
71
71
  name: string;
72
72
  locale: {
@@ -75,40 +75,40 @@ export declare class IntegrationProfileService {
75
75
  }[];
76
76
  };
77
77
  } & {
78
- name: string;
79
78
  id: number;
80
79
  created_at: Date;
80
+ name: string;
81
81
  updated_at: Date;
82
- slug: string;
83
- is_active: boolean;
84
82
  provider_id: number;
85
- type_id: number;
83
+ slug: string;
86
84
  config: import("@prisma/client/runtime/library").JsonValue | null;
85
+ type_id: number;
86
+ is_active: boolean;
87
87
  }>;
88
88
  create(data: CreateDTO): Promise<{
89
- name: string;
90
89
  id: number;
91
90
  created_at: Date;
91
+ name: string;
92
92
  updated_at: Date;
93
- slug: string;
94
- is_active: boolean;
95
93
  provider_id: number;
96
- type_id: number;
94
+ slug: string;
97
95
  config: import("@prisma/client/runtime/library").JsonValue | null;
96
+ type_id: number;
97
+ is_active: boolean;
98
98
  }>;
99
99
  update({ id, data }: {
100
100
  id: number;
101
101
  data: UpdateDTO;
102
102
  }): Promise<{
103
- name: string;
104
103
  id: number;
105
104
  created_at: Date;
105
+ name: string;
106
106
  updated_at: Date;
107
- slug: string;
108
- is_active: boolean;
109
107
  provider_id: number;
110
- type_id: number;
108
+ slug: string;
111
109
  config: import("@prisma/client/runtime/library").JsonValue | null;
110
+ type_id: number;
111
+ is_active: boolean;
112
112
  }>;
113
113
  delete({ ids }: DeleteDTO): Promise<{
114
114
  count: number;
@@ -14,13 +14,13 @@ export declare class LocaleController {
14
14
  data: any[];
15
15
  }>;
16
16
  create(dto: CreateLocaleDTO): Promise<{
17
- code: string;
18
- name: string;
19
17
  id: number;
20
- region: string;
21
- enabled: boolean;
22
18
  created_at: Date;
19
+ name: string;
23
20
  updated_at: Date;
21
+ code: string;
22
+ region: string;
23
+ enabled: boolean;
24
24
  }>;
25
25
  }
26
26
  //# sourceMappingURL=locale.controller.d.ts.map
@@ -15,13 +15,13 @@ export declare class LocaleService {
15
15
  data: any[];
16
16
  }>;
17
17
  create(dto: CreateLocaleDTO): Promise<{
18
- code: string;
19
- name: string;
20
18
  id: number;
21
- region: string;
22
- enabled: boolean;
23
19
  created_at: Date;
20
+ name: string;
24
21
  updated_at: Date;
22
+ code: string;
23
+ region: string;
24
+ enabled: boolean;
25
25
  }>;
26
26
  }
27
27
  //# sourceMappingURL=locale.service.d.ts.map
@@ -25,8 +25,8 @@ export declare class MailController {
25
25
  subject: string;
26
26
  body: string;
27
27
  mail_var: {
28
- name: string;
29
28
  id: number;
29
+ name: string;
30
30
  }[];
31
31
  locale: {
32
32
  code: string;
@@ -38,17 +38,17 @@ export declare class MailController {
38
38
  create(data: CreateDTO): Promise<{
39
39
  mail_locale: {
40
40
  id: number;
41
- body: string;
42
41
  created_at: Date;
43
42
  updated_at: Date;
43
+ mail_id: number;
44
44
  subject: string;
45
+ body: string;
45
46
  locale_id: number;
46
- mail_id: number;
47
47
  }[];
48
48
  mail_var: {
49
- name: string;
50
49
  id: number;
51
50
  created_at: Date;
51
+ name: string;
52
52
  updated_at: Date;
53
53
  mail_id: number;
54
54
  }[];
@@ -67,17 +67,17 @@ export declare class MailController {
67
67
  update(id: number, data: UpdateDTO): Promise<{
68
68
  mail_locale: {
69
69
  id: number;
70
- body: string;
71
70
  created_at: Date;
72
71
  updated_at: Date;
72
+ mail_id: number;
73
73
  subject: string;
74
+ body: string;
74
75
  locale_id: number;
75
- mail_id: number;
76
76
  }[];
77
77
  mail_var: {
78
- name: string;
79
78
  id: number;
80
79
  created_at: Date;
80
+ name: string;
81
81
  updated_at: Date;
82
82
  mail_id: number;
83
83
  }[];
@@ -54,8 +54,8 @@ export declare class MailService implements OnModuleInit {
54
54
  subject: string;
55
55
  body: string;
56
56
  mail_var: {
57
- name: string;
58
57
  id: number;
58
+ name: string;
59
59
  }[];
60
60
  locale: {
61
61
  code: string;
@@ -66,17 +66,17 @@ export declare class MailService implements OnModuleInit {
66
66
  create(data: CreateDTO): Promise<{
67
67
  mail_locale: {
68
68
  id: number;
69
- body: string;
70
69
  created_at: Date;
71
70
  updated_at: Date;
71
+ mail_id: number;
72
72
  subject: string;
73
+ body: string;
73
74
  locale_id: number;
74
- mail_id: number;
75
75
  }[];
76
76
  mail_var: {
77
- name: string;
78
77
  id: number;
79
78
  created_at: Date;
79
+ name: string;
80
80
  updated_at: Date;
81
81
  mail_id: number;
82
82
  }[];
@@ -92,17 +92,17 @@ export declare class MailService implements OnModuleInit {
92
92
  }): Promise<{
93
93
  mail_locale: {
94
94
  id: number;
95
- body: string;
96
95
  created_at: Date;
97
96
  updated_at: Date;
97
+ mail_id: number;
98
98
  subject: string;
99
+ body: string;
99
100
  locale_id: number;
100
- mail_id: number;
101
101
  }[];
102
102
  mail_var: {
103
- name: string;
104
103
  id: number;
105
104
  created_at: Date;
105
+ name: string;
106
106
  updated_at: Date;
107
107
  mail_id: number;
108
108
  }[];
@@ -38,39 +38,39 @@ export declare class MailSentController {
38
38
  }>;
39
39
  get(id: number, locale: string): Promise<{
40
40
  id: number;
41
- body: string;
42
- from: string;
43
- to: string | null;
44
41
  created_at: Date;
45
42
  updated_at: Date;
43
+ mail_id: number;
46
44
  subject: string;
45
+ from: string;
46
+ to: string | null;
47
47
  cc: string | null;
48
48
  bcc: string | null;
49
- mail_id: number;
49
+ body: string;
50
50
  }>;
51
51
  create(data: CreateDTO): Promise<{
52
52
  id: number;
53
- body: string;
54
- from: string;
55
- to: string | null;
56
53
  created_at: Date;
57
54
  updated_at: Date;
55
+ mail_id: number;
58
56
  subject: string;
57
+ from: string;
58
+ to: string | null;
59
59
  cc: string | null;
60
60
  bcc: string | null;
61
- mail_id: number;
61
+ body: string;
62
62
  }>;
63
63
  update(locale: string, id: number, data: UpdateDTO): Promise<{
64
64
  id: number;
65
- body: string;
66
- from: string;
67
- to: string | null;
68
65
  created_at: Date;
69
66
  updated_at: Date;
67
+ mail_id: number;
70
68
  subject: string;
69
+ from: string;
70
+ to: string | null;
71
71
  cc: string | null;
72
72
  bcc: string | null;
73
- mail_id: number;
73
+ body: string;
74
74
  }>;
75
75
  delete(locale: string, data: DeleteDTO): Promise<{
76
76
  count: number;
@@ -42,42 +42,42 @@ export declare class MailSentService {
42
42
  }>;
43
43
  get(locale: string, id: number): Promise<{
44
44
  id: number;
45
- body: string;
46
- from: string;
47
- to: string | null;
48
45
  created_at: Date;
49
46
  updated_at: Date;
47
+ mail_id: number;
50
48
  subject: string;
49
+ from: string;
50
+ to: string | null;
51
51
  cc: string | null;
52
52
  bcc: string | null;
53
- mail_id: number;
53
+ body: string;
54
54
  }>;
55
55
  create({ body, from, mail_id, subject, bcc, cc, to }: CreateDTO): Promise<{
56
56
  id: number;
57
- body: string;
58
- from: string;
59
- to: string | null;
60
57
  created_at: Date;
61
58
  updated_at: Date;
59
+ mail_id: number;
62
60
  subject: string;
61
+ from: string;
62
+ to: string | null;
63
63
  cc: string | null;
64
64
  bcc: string | null;
65
- mail_id: number;
65
+ body: string;
66
66
  }>;
67
67
  update(locale: string, { id, data }: {
68
68
  id: number;
69
69
  data: UpdateDTO;
70
70
  }): Promise<{
71
71
  id: number;
72
- body: string;
73
- from: string;
74
- to: string | null;
75
72
  created_at: Date;
76
73
  updated_at: Date;
74
+ mail_id: number;
77
75
  subject: string;
76
+ from: string;
77
+ to: string | null;
78
78
  cc: string | null;
79
79
  bcc: string | null;
80
- mail_id: number;
80
+ body: string;
81
81
  }>;
82
82
  delete(locale: string, { ids }: DeleteDTO): Promise<{
83
83
  count: number;
@@ -19,10 +19,10 @@ export declare class McpApiKeyController {
19
19
  type?: 'mcp' | 'api';
20
20
  }): Promise<{
21
21
  rawToken: string;
22
- name: string;
23
- type: string;
24
22
  id: number;
25
23
  created_at: Date;
24
+ name: string;
25
+ type: string;
26
26
  token_prefix: string;
27
27
  }>;
28
28
  revoke({ id: userId }: {
@@ -15,10 +15,10 @@ export declare class McpApiKeyService {
15
15
  }>;
16
16
  create(userId: number, name: string, type?: 'mcp' | 'api'): Promise<{
17
17
  rawToken: string;
18
- name: string;
19
- type: string;
20
18
  id: number;
21
19
  created_at: Date;
20
+ name: string;
21
+ type: string;
22
22
  token_prefix: string;
23
23
  }>;
24
24
  revoke(userId: number, id: number): Promise<{
@@ -10,18 +10,18 @@ export declare class McpChatController {
10
10
  id: number;
11
11
  }): Promise<{
12
12
  id: number;
13
- title: string;
14
13
  created_at: Date;
15
14
  updated_at: Date;
15
+ title: string;
16
16
  }[]>;
17
17
  createConversation({ id }: {
18
18
  id: number;
19
19
  }, dto: CreateConversationDTO): Promise<{
20
20
  id: number;
21
- title: string | null;
22
21
  user_id: number;
23
22
  created_at: Date;
24
23
  updated_at: Date;
24
+ title: string | null;
25
25
  }>;
26
26
  deleteConversations({ id }: {
27
27
  id: number;
@@ -32,24 +32,24 @@ export declare class McpChatController {
32
32
  id: number;
33
33
  }, conversationId: number): Promise<{
34
34
  id: number;
35
- content: string;
36
- role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
37
35
  created_at: Date;
38
36
  updated_at: Date;
39
- conversation_id: number;
37
+ role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
40
38
  tool_name: string | null;
39
+ conversation_id: number;
40
+ content: string;
41
41
  tool_call_id: string | null;
42
42
  }[]>;
43
43
  sendMessage({ id }: {
44
44
  id: number;
45
45
  }, conversationId: number, dto: SendMessageDTO, locale: string): Promise<{
46
46
  id: number;
47
- content: string;
48
- role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
49
47
  created_at: Date;
50
48
  updated_at: Date;
51
- conversation_id: number;
49
+ role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
52
50
  tool_name: string | null;
51
+ conversation_id: number;
52
+ content: string;
53
53
  tool_call_id: string | null;
54
54
  }[]>;
55
55
  sendMessageStream({ id }: {
@@ -10,38 +10,38 @@ export declare class McpChatService {
10
10
  constructor(prisma: PrismaService, setting: SettingService, registry: McpRegistryService);
11
11
  listConversations(userId: number): Promise<{
12
12
  id: number;
13
- title: string;
14
13
  created_at: Date;
15
14
  updated_at: Date;
15
+ title: string;
16
16
  }[]>;
17
17
  createConversation(userId: number, dto: CreateConversationDTO): Promise<{
18
18
  id: number;
19
- title: string | null;
20
19
  user_id: number;
21
20
  created_at: Date;
22
21
  updated_at: Date;
22
+ title: string | null;
23
23
  }>;
24
24
  deleteConversations(userId: number, ids: number[]): Promise<{
25
25
  count: number;
26
26
  }>;
27
27
  getMessages(conversationId: number, userId: number): Promise<{
28
28
  id: number;
29
- content: string;
30
- role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
31
29
  created_at: Date;
32
30
  updated_at: Date;
33
- conversation_id: number;
31
+ role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
34
32
  tool_name: string | null;
33
+ conversation_id: number;
34
+ content: string;
35
35
  tool_call_id: string | null;
36
36
  }[]>;
37
37
  sendMessage(conversationId: number, userId: number, locale: string, message: string): Promise<{
38
38
  id: number;
39
- content: string;
40
- role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
41
39
  created_at: Date;
42
40
  updated_at: Date;
43
- conversation_id: number;
41
+ role: import("@prisma/client").$Enums.mcp_conversation_message_role_422a6ea954_enum;
44
42
  tool_name: string | null;
43
+ conversation_id: number;
44
+ content: string;
45
45
  tool_call_id: string | null;
46
46
  }[]>;
47
47
  private runOpenAiLoop;
@@ -41,42 +41,42 @@ export declare class MenuController {
41
41
  code: string;
42
42
  };
43
43
  } & {
44
- name: string;
45
44
  id: number;
46
45
  created_at: Date;
46
+ name: string;
47
47
  updated_at: Date;
48
48
  locale_id: number;
49
49
  menu_id: number;
50
50
  })[];
51
51
  } & {
52
52
  id: number;
53
- url: string | null;
54
- order: number;
55
- icon: string;
56
53
  created_at: Date;
57
54
  updated_at: Date;
58
55
  slug: string;
56
+ order: number;
57
+ url: string | null;
58
+ icon: string;
59
59
  menu_id: number | null;
60
60
  }>;
61
61
  create(locale: any, data: CreateDTO): Promise<{
62
62
  id: number;
63
- url: string | null;
64
- order: number;
65
- icon: string;
66
63
  created_at: Date;
67
64
  updated_at: Date;
68
65
  slug: string;
66
+ order: number;
67
+ url: string | null;
68
+ icon: string;
69
69
  menu_id: number | null;
70
70
  }>;
71
71
  updateOrder(locale: any, data: OrderDTO): Promise<void>;
72
72
  update(locale: any, menuId: number, data: UpdateDTO): Promise<{
73
73
  id: number;
74
- url: string | null;
75
- order: number;
76
- icon: string;
77
74
  created_at: Date;
78
75
  updated_at: Date;
79
76
  slug: string;
77
+ order: number;
78
+ url: string | null;
79
+ icon: string;
80
80
  menu_id: number | null;
81
81
  }>;
82
82
  delete(locale: any, data: DeleteDTO): Promise<{
@@ -55,31 +55,31 @@ export declare class MenuService {
55
55
  code: string;
56
56
  };
57
57
  } & {
58
- name: string;
59
58
  id: number;
60
59
  created_at: Date;
60
+ name: string;
61
61
  updated_at: Date;
62
62
  locale_id: number;
63
63
  menu_id: number;
64
64
  })[];
65
65
  } & {
66
66
  id: number;
67
- url: string | null;
68
- order: number;
69
- icon: string;
70
67
  created_at: Date;
71
68
  updated_at: Date;
72
69
  slug: string;
70
+ order: number;
71
+ url: string | null;
72
+ icon: string;
73
73
  menu_id: number | null;
74
74
  }>;
75
75
  create(_locale: string, { slug, url, icon, order, menu_id, locale }: CreateDTO): Promise<{
76
76
  id: number;
77
- url: string | null;
78
- order: number;
79
- icon: string;
80
77
  created_at: Date;
81
78
  updated_at: Date;
82
79
  slug: string;
80
+ order: number;
81
+ url: string | null;
82
+ icon: string;
83
83
  menu_id: number | null;
84
84
  }>;
85
85
  update(locale: string, { id, data }: {
@@ -87,12 +87,12 @@ export declare class MenuService {
87
87
  data: UpdateDTO;
88
88
  }): Promise<{
89
89
  id: number;
90
- url: string | null;
91
- order: number;
92
- icon: string;
93
90
  created_at: Date;
94
91
  updated_at: Date;
95
92
  slug: string;
93
+ order: number;
94
+ url: string | null;
95
+ icon: string;
96
96
  menu_id: number | null;
97
97
  }>;
98
98
  delete(locale: string, { ids }: DeleteDTO): Promise<{