wcz-test 6.9.2 → 6.9.3

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 (93) hide show
  1. package/dist/client.d.ts +725 -0
  2. package/dist/components.d.ts +134 -0
  3. package/dist/hooks.d.ts +192 -0
  4. package/dist/index.d.ts +74 -0
  5. package/dist/models.d.ts +476 -0
  6. package/dist/queries.d.ts +1956 -0
  7. package/dist/server.d.ts +41 -0
  8. package/dist/utils.d.ts +11 -0
  9. package/dist/vite.d.ts +5 -0
  10. package/package.json +1 -1
  11. package/dist/components/core/AppTitle.d.ts +0 -2
  12. package/dist/components/core/Fullscreen.d.ts +0 -3
  13. package/dist/components/core/Layout.d.ts +0 -8
  14. package/dist/components/core/ToolbarAccount.d.ts +0 -2
  15. package/dist/components/core/TypographyWithIcon.d.ts +0 -7
  16. package/dist/components/core/navigation/NavigationList.d.ts +0 -22
  17. package/dist/components/core/navigation/NavigationListItem.d.ts +0 -16
  18. package/dist/components/core/navigation/NavigationRail.d.ts +0 -12
  19. package/dist/components/data-grid/ChipInputCell.d.ts +0 -9
  20. package/dist/components/data-grid/EditableColumnHeader.d.ts +0 -2
  21. package/dist/components/file/Dropzone.d.ts +0 -8
  22. package/dist/components/file/FileViewer.d.ts +0 -20
  23. package/dist/components/file/fileViewer/FileViewerGrid.d.ts +0 -17
  24. package/dist/components/file/fileViewer/FileViewerList.d.ts +0 -12
  25. package/dist/components/file/fileViewer/ImageViewer.d.ts +0 -6
  26. package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +0 -15
  27. package/dist/components/form/FormAutocomplete.d.ts +0 -7
  28. package/dist/components/form/FormCheckbox.d.ts +0 -7
  29. package/dist/components/form/FormDatePicker.d.ts +0 -8
  30. package/dist/components/form/FormDateRangePicker.d.ts +0 -8
  31. package/dist/components/form/FormDateTimePicker.d.ts +0 -8
  32. package/dist/components/form/FormDateTimeRangePicker.d.ts +0 -8
  33. package/dist/components/form/FormNumberField.d.ts +0 -9
  34. package/dist/components/form/FormRadioGroup.d.ts +0 -13
  35. package/dist/components/form/FormSlider.d.ts +0 -7
  36. package/dist/components/form/FormSubmitButton.d.ts +0 -4
  37. package/dist/components/form/FormSwitch.d.ts +0 -7
  38. package/dist/components/form/FormTextField.d.ts +0 -7
  39. package/dist/components/form/FormTimePicker.d.ts +0 -8
  40. package/dist/components/form/FormTimeRangePicker.d.ts +0 -8
  41. package/dist/components/router/RouterButton.d.ts +0 -6
  42. package/dist/components/router/RouterError.d.ts +0 -7
  43. package/dist/components/router/RouterGridActionsCellItem.d.ts +0 -6
  44. package/dist/components/router/RouterIconButton.d.ts +0 -6
  45. package/dist/components/router/RouterLink.d.ts +0 -6
  46. package/dist/components/router/RouterListItemButton.d.ts +0 -6
  47. package/dist/components/router/RouterNotFound.d.ts +0 -1
  48. package/dist/components/router/RouterTab.d.ts +0 -6
  49. package/dist/contexts/DialogsContext.d.ts +0 -6
  50. package/dist/contexts/FileContext.d.ts +0 -13
  51. package/dist/env.d.ts +0 -10
  52. package/dist/exports/client.d.ts +0 -5
  53. package/dist/exports/components.d.ts +0 -14
  54. package/dist/exports/hooks.d.ts +0 -4
  55. package/dist/exports/index.d.ts +0 -3
  56. package/dist/exports/models.d.ts +0 -25
  57. package/dist/exports/queries.d.ts +0 -4
  58. package/dist/exports/server.d.ts +0 -3
  59. package/dist/exports/utils.d.ts +0 -3
  60. package/dist/exports/vite.d.ts +0 -1
  61. package/dist/hooks/DialogsHooks.d.ts +0 -42
  62. package/dist/hooks/FormHooks.d.ts +0 -52
  63. package/dist/hooks/ThemeHook.d.ts +0 -4
  64. package/dist/lib/auth/auth-client.d.ts +0 -688
  65. package/dist/lib/auth/auth.d.ts +0 -24
  66. package/dist/lib/db/index.d.ts +0 -4
  67. package/dist/lib/db/schemas/auth.d.ts +0 -606
  68. package/dist/lib/utils.d.ts +0 -50
  69. package/dist/lib/vite-plugin.d.ts +0 -2
  70. package/dist/models/Navigation.d.ts +0 -18
  71. package/dist/models/User.d.ts +0 -8
  72. package/dist/models/approval/Approval.d.ts +0 -177
  73. package/dist/models/approval/ApprovalEmployee.d.ts +0 -7
  74. package/dist/models/approval/ApprovalFlow.d.ts +0 -49
  75. package/dist/models/approval/ApprovalFlowStep.d.ts +0 -29
  76. package/dist/models/approval/ApprovalRequestType.d.ts +0 -5
  77. package/dist/models/approval/ApprovalStatus.d.ts +0 -9
  78. package/dist/models/approval/ApprovalStepResult.d.ts +0 -11
  79. package/dist/models/approval/StepApprovalOrder.d.ts +0 -6
  80. package/dist/models/email/Email.d.ts +0 -13
  81. package/dist/models/email/EmailAttachment.d.ts +0 -6
  82. package/dist/models/file/FileActions.d.ts +0 -6
  83. package/dist/models/file/FileMeta.d.ts +0 -15
  84. package/dist/models/peoplesoft/Department.d.ts +0 -58
  85. package/dist/models/peoplesoft/Employee.d.ts +0 -46
  86. package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +0 -6
  87. package/dist/models/peoplesoft/EmployeeStatus.d.ts +0 -6
  88. package/dist/providers/DialogsProvider.d.ts +0 -6
  89. package/dist/providers/LayoutProvider.d.ts +0 -11
  90. package/dist/queries/Approval.d.ts +0 -585
  91. package/dist/queries/ApprovalHooks.d.ts +0 -315
  92. package/dist/queries/FileHooks.d.ts +0 -151
  93. package/dist/queries/PeopleSoftHooks.d.ts +0 -537
@@ -1,18 +0,0 @@
1
- import { LinkOptions } from '@tanstack/react-router';
2
- export interface NavigationPageItem extends Partial<Pick<LinkOptions, "to" | "href" | "params" | "search">> {
3
- title: string;
4
- icon: React.ReactNode;
5
- children?: Array<NavigationItem>;
6
- hidden?: boolean;
7
- }
8
- export interface NavigationDivider {
9
- kind: "divider";
10
- hidden?: boolean;
11
- }
12
- export interface NavigationHeader {
13
- kind: "header";
14
- title: string;
15
- hidden?: boolean;
16
- }
17
- export type NavigationItem = NavigationPageItem | NavigationDivider | NavigationHeader;
18
- export type Navigation = Array<NavigationItem>;
@@ -1,8 +0,0 @@
1
- export interface User {
2
- employeeId: string;
3
- name: string;
4
- department: string;
5
- email?: string;
6
- company: string;
7
- category: string;
8
- }
@@ -1,177 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const ApprovalSchema: z.ZodObject<{
3
- id: z.ZodUUID;
4
- number: z.ZodOptional<z.ZodString>;
5
- applicationName: z.ZodString;
6
- type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
- Single: "Single";
8
- Batch: "Batch";
9
- }>>>;
10
- status: z.ZodEnum<{
11
- WaitingForApproval: "WaitingForApproval";
12
- Approved: "Approved";
13
- Rejected: "Rejected";
14
- Withdrawn: "Withdrawn";
15
- Cancelled: "Cancelled";
16
- PartiallyApproved: "PartiallyApproved";
17
- }>;
18
- emailBody: z.ZodString;
19
- created: z.ZodDate;
20
- createdBy: z.ZodCustom<{
21
- employeeId: string;
22
- name: string;
23
- email: string;
24
- }, {
25
- employeeId: string;
26
- name: string;
27
- email: string;
28
- }>;
29
- updated: z.ZodDate;
30
- updatedBy: z.ZodCustom<{
31
- employeeId: string;
32
- name: string;
33
- email: string;
34
- }, {
35
- employeeId: string;
36
- name: string;
37
- email: string;
38
- }>;
39
- approvalFlows: z.ZodArray<z.ZodCustom<{
40
- id: string;
41
- approvalStage: number;
42
- approvalSequence: number;
43
- stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
44
- steps: {
45
- id: string;
46
- order: number;
47
- approver: {
48
- employeeId: string;
49
- name: string;
50
- email: string;
51
- };
52
- approverRole?: string | undefined;
53
- actualApprover?: {
54
- employeeId: string;
55
- name: string;
56
- email: string;
57
- } | undefined;
58
- result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
59
- resultDate?: Date | undefined;
60
- resultComment?: string | undefined;
61
- }[];
62
- batchSequence?: number | undefined;
63
- isActive?: boolean | undefined;
64
- }, {
65
- id: string;
66
- approvalStage: number;
67
- approvalSequence: number;
68
- stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
69
- steps: {
70
- id: string;
71
- order: number;
72
- approver: {
73
- employeeId: string;
74
- name: string;
75
- email: string;
76
- };
77
- approverRole?: string | undefined;
78
- actualApprover?: {
79
- employeeId: string;
80
- name: string;
81
- email: string;
82
- } | undefined;
83
- result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
84
- resultDate?: Date | undefined;
85
- resultComment?: string | undefined;
86
- }[];
87
- batchSequence?: number | undefined;
88
- isActive?: boolean | undefined;
89
- }>>;
90
- currentApprovers: z.ZodArray<z.ZodCustom<{
91
- employeeId: string;
92
- name: string;
93
- email: string;
94
- }, {
95
- employeeId: string;
96
- name: string;
97
- email: string;
98
- }>>;
99
- }, z.core.$strip>;
100
- export type Approval = z.infer<typeof ApprovalSchema>;
101
- export declare const CreateApprovalSchema: z.ZodObject<{
102
- number: z.ZodOptional<z.ZodString>;
103
- id: z.ZodUUID;
104
- type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
105
- Single: "Single";
106
- Batch: "Batch";
107
- }>>>;
108
- applicationName: z.ZodString;
109
- emailBody: z.ZodString;
110
- approvalFlows: z.ZodArray<z.ZodObject<{
111
- stepApprovalOrder: z.ZodEnum<{
112
- Serial: "Serial";
113
- Parallel: "Parallel";
114
- OneOfThem: "OneOfThem";
115
- }>;
116
- approvalStage: z.ZodNumber;
117
- batchSequence: z.ZodOptional<z.ZodNumber>;
118
- steps: z.ZodArray<z.ZodObject<{
119
- approver: z.ZodObject<{
120
- employeeId: z.ZodString;
121
- name: z.ZodString;
122
- email: z.ZodEmail;
123
- }, z.core.$strip>;
124
- approverRole: z.ZodOptional<z.ZodDefault<z.ZodString>>;
125
- }, z.core.$strip>>;
126
- }, z.core.$strip>>;
127
- }, z.core.$strip>;
128
- export type CreateApproval = z.infer<typeof CreateApprovalSchema>;
129
- export declare const ApproveApprovalSchema: z.ZodObject<{
130
- id: z.ZodUUID;
131
- result: z.ZodEnum<{
132
- NotAvailable: "NotAvailable";
133
- FutureApproval: "FutureApproval";
134
- WaitingForApproval: "WaitingForApproval";
135
- Approved: "Approved";
136
- Rejected: "Rejected";
137
- Skipped: "Skipped";
138
- Withdrawn: "Withdrawn";
139
- Cancelled: "Cancelled";
140
- }>;
141
- resultComment: z.ZodOptional<z.ZodString>;
142
- emailBody: z.ZodString;
143
- }, z.core.$strip>;
144
- export type ApproveApproval = z.infer<typeof ApproveApprovalSchema>;
145
- export declare const ResubmitApprovalSchema: z.ZodObject<{
146
- id: z.ZodUUID;
147
- approvalFlows: z.ZodArray<z.ZodObject<{
148
- stepApprovalOrder: z.ZodEnum<{
149
- Serial: "Serial";
150
- Parallel: "Parallel";
151
- OneOfThem: "OneOfThem";
152
- }>;
153
- approvalStage: z.ZodNumber;
154
- batchSequence: z.ZodOptional<z.ZodNumber>;
155
- steps: z.ZodArray<z.ZodObject<{
156
- approver: z.ZodObject<{
157
- employeeId: z.ZodString;
158
- name: z.ZodString;
159
- email: z.ZodEmail;
160
- }, z.core.$strip>;
161
- approverRole: z.ZodOptional<z.ZodDefault<z.ZodString>>;
162
- }, z.core.$strip>>;
163
- }, z.core.$strip>>;
164
- }, z.core.$strip>;
165
- export type ResubmitApproval = z.infer<typeof ResubmitApprovalSchema>;
166
- export declare const CancelApprovalSchema: z.ZodObject<{
167
- id: z.ZodUUID;
168
- comment: z.ZodString;
169
- emailBody: z.ZodString;
170
- }, z.core.$strip>;
171
- export type CancelApproval = z.infer<typeof CancelApprovalSchema>;
172
- export declare const WithdrawApprovalSchema: z.ZodObject<{
173
- id: z.ZodUUID;
174
- comment: z.ZodString;
175
- emailBody: z.ZodString;
176
- }, z.core.$strip>;
177
- export type WithdrawApproval = z.infer<typeof WithdrawApprovalSchema>;
@@ -1,7 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const ApprovalEmployeeSchema: z.ZodObject<{
3
- employeeId: z.ZodString;
4
- name: z.ZodString;
5
- email: z.ZodEmail;
6
- }, z.core.$strip>;
7
- export type ApprovalEmployee = z.infer<typeof ApprovalEmployeeSchema>;
@@ -1,49 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const ApprovalFlowSchema: z.ZodObject<{
3
- id: z.ZodUUID;
4
- approvalStage: z.ZodNumber;
5
- batchSequence: z.ZodOptional<z.ZodNumber>;
6
- approvalSequence: z.ZodNumber;
7
- stepApprovalOrder: z.ZodEnum<{
8
- Serial: "Serial";
9
- Parallel: "Parallel";
10
- OneOfThem: "OneOfThem";
11
- }>;
12
- steps: z.ZodArray<z.ZodCustom<{
13
- id: string;
14
- order: number;
15
- approver: {
16
- employeeId: string;
17
- name: string;
18
- email: string;
19
- };
20
- approverRole?: string | undefined;
21
- actualApprover?: {
22
- employeeId: string;
23
- name: string;
24
- email: string;
25
- } | undefined;
26
- result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
27
- resultDate?: Date | undefined;
28
- resultComment?: string | undefined;
29
- }, {
30
- id: string;
31
- order: number;
32
- approver: {
33
- employeeId: string;
34
- name: string;
35
- email: string;
36
- };
37
- approverRole?: string | undefined;
38
- actualApprover?: {
39
- employeeId: string;
40
- name: string;
41
- email: string;
42
- } | undefined;
43
- result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
44
- resultDate?: Date | undefined;
45
- resultComment?: string | undefined;
46
- }>>;
47
- isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
48
- }, z.core.$strip>;
49
- export type ApprovalFlow = z.infer<typeof ApprovalFlowSchema>;
@@ -1,29 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const ApprovalFlowStepSchema: z.ZodObject<{
3
- id: z.ZodUUID;
4
- order: z.ZodNumber;
5
- approverRole: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
- approver: z.ZodObject<{
7
- employeeId: z.ZodString;
8
- name: z.ZodString;
9
- email: z.ZodEmail;
10
- }, z.core.$strip>;
11
- actualApprover: z.ZodOptional<z.ZodObject<{
12
- employeeId: z.ZodString;
13
- name: z.ZodString;
14
- email: z.ZodEmail;
15
- }, z.core.$strip>>;
16
- result: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
17
- NotAvailable: "NotAvailable";
18
- FutureApproval: "FutureApproval";
19
- WaitingForApproval: "WaitingForApproval";
20
- Approved: "Approved";
21
- Rejected: "Rejected";
22
- Skipped: "Skipped";
23
- Withdrawn: "Withdrawn";
24
- Cancelled: "Cancelled";
25
- }>>>;
26
- resultDate: z.ZodOptional<z.ZodDate>;
27
- resultComment: z.ZodOptional<z.ZodString>;
28
- }, z.core.$strip>;
29
- export type ApprovalFlowStep = z.infer<typeof ApprovalFlowStepSchema>;
@@ -1,5 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const ApprovalRequestType: z.ZodEnum<{
3
- Single: "Single";
4
- Batch: "Batch";
5
- }>;
@@ -1,9 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const ApprovalStatus: z.ZodEnum<{
3
- WaitingForApproval: "WaitingForApproval";
4
- Approved: "Approved";
5
- Rejected: "Rejected";
6
- Withdrawn: "Withdrawn";
7
- Cancelled: "Cancelled";
8
- PartiallyApproved: "PartiallyApproved";
9
- }>;
@@ -1,11 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const ApprovalStepResult: z.ZodEnum<{
3
- NotAvailable: "NotAvailable";
4
- FutureApproval: "FutureApproval";
5
- WaitingForApproval: "WaitingForApproval";
6
- Approved: "Approved";
7
- Rejected: "Rejected";
8
- Skipped: "Skipped";
9
- Withdrawn: "Withdrawn";
10
- Cancelled: "Cancelled";
11
- }>;
@@ -1,6 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const StepApprovalOrder: z.ZodEnum<{
3
- Serial: "Serial";
4
- Parallel: "Parallel";
5
- OneOfThem: "OneOfThem";
6
- }>;
@@ -1,13 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const EmailSchema: z.ZodObject<{
3
- subject: z.ZodString;
4
- body: z.ZodString;
5
- to: z.ZodArray<z.ZodEmail>;
6
- bcc: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
7
- cc: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
8
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
- appName: z.ZodString;
10
- subId: z.ZodUUID;
11
- }, z.core.$strip>>>;
12
- }, z.core.$strip>;
13
- export type Email = z.infer<typeof EmailSchema>;
@@ -1,6 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const EmailAttachmentSchema: z.ZodObject<{
3
- appName: z.ZodString;
4
- subId: z.ZodUUID;
5
- }, z.core.$strip>;
6
- export type EmailAttachment = z.infer<typeof EmailAttachmentSchema>;
@@ -1,6 +0,0 @@
1
- import * as z from "zod";
2
- export declare const FileActionsSchema: z.ZodObject<{
3
- download: z.ZodOptional<z.ZodBoolean>;
4
- delete: z.ZodOptional<z.ZodBoolean>;
5
- }, z.core.$strip>;
6
- export type FileActions = z.infer<typeof FileActionsSchema>;
@@ -1,15 +0,0 @@
1
- import * as z from "zod";
2
- export declare const FileMetaSchema: z.ZodObject<{
3
- id: z.ZodUUID;
4
- subId: z.ZodUUID;
5
- appName: z.ZodString;
6
- fileName: z.ZodString;
7
- fileExtension: z.ZodString;
8
- fileSize: z.ZodNumber;
9
- mediaSubType: z.ZodString;
10
- mediaType: z.ZodString;
11
- mimeType: z.ZodString;
12
- createdBy: z.ZodString;
13
- createdDate: z.ZodDate;
14
- }, z.core.$strip>;
15
- export type FileMeta = z.infer<typeof FileMetaSchema>;
@@ -1,58 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const DepartmentSchema: z.ZodObject<{
3
- departmentId: z.ZodString;
4
- description: z.ZodString;
5
- managerId: z.ZodString;
6
- managerRecordNumber: z.ZodString;
7
- treeLevel: z.ZodNumber;
8
- upperDepartmentId: z.ZodString;
9
- companyCode: z.ZodString;
10
- location: z.ZodString;
11
- salLocation: z.ZodString;
12
- plantId: z.ZodString;
13
- manager: z.ZodObject<{
14
- badgeId: z.ZodString;
15
- category: z.ZodString;
16
- categoryGroup: z.ZodEnum<{
17
- IDL: "IDL";
18
- FD: "FD";
19
- FI: "FI";
20
- }>;
21
- companyCode: z.ZodString;
22
- contactPhone: z.ZodString;
23
- departmentId: z.ZodString;
24
- departmentDescription: z.ZodString;
25
- emailString: z.ZodString;
26
- employeeId: z.ZodString;
27
- extensionNumber: z.ZodString;
28
- firstName: z.ZodString;
29
- gender: z.ZodString;
30
- hiredDate: z.ZodDate;
31
- lastName: z.ZodString;
32
- managerId: z.ZodString;
33
- middleName: z.ZodString;
34
- name: z.ZodString;
35
- nameTitleCase: z.ZodString;
36
- nfcSn: z.ZodString;
37
- plantId: z.ZodString;
38
- position: z.ZodString;
39
- previousEmployeeIds: z.ZodNullable<z.ZodString>;
40
- reHiredDate: z.ZodNullable<z.ZodDate>;
41
- recordNumber: z.ZodNumber;
42
- status: z.ZodEnum<{
43
- Active: "Active";
44
- Terminated: "Terminated";
45
- "Leave of Absence": "Leave of Absence";
46
- }>;
47
- supervisorId: z.ZodString;
48
- terminationDate: z.ZodNullable<z.ZodDate>;
49
- terminationFutureDate: z.ZodNullable<z.ZodDate>;
50
- type: z.ZodString;
51
- upperDepartmentId: z.ZodString;
52
- jobCode: z.ZodString;
53
- jobDescription: z.ZodString;
54
- terminationReason: z.ZodNullable<z.ZodString>;
55
- supervisorRecordNumber: z.ZodNumber;
56
- }, z.core.$strip>;
57
- }, z.core.$strip>;
58
- export type Department = z.infer<typeof DepartmentSchema>;
@@ -1,46 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const EmployeeSchema: z.ZodObject<{
3
- badgeId: z.ZodString;
4
- category: z.ZodString;
5
- categoryGroup: z.ZodEnum<{
6
- IDL: "IDL";
7
- FD: "FD";
8
- FI: "FI";
9
- }>;
10
- companyCode: z.ZodString;
11
- contactPhone: z.ZodString;
12
- departmentId: z.ZodString;
13
- departmentDescription: z.ZodString;
14
- emailString: z.ZodString;
15
- employeeId: z.ZodString;
16
- extensionNumber: z.ZodString;
17
- firstName: z.ZodString;
18
- gender: z.ZodString;
19
- hiredDate: z.ZodDate;
20
- lastName: z.ZodString;
21
- managerId: z.ZodString;
22
- middleName: z.ZodString;
23
- name: z.ZodString;
24
- nameTitleCase: z.ZodString;
25
- nfcSn: z.ZodString;
26
- plantId: z.ZodString;
27
- position: z.ZodString;
28
- previousEmployeeIds: z.ZodNullable<z.ZodString>;
29
- reHiredDate: z.ZodNullable<z.ZodDate>;
30
- recordNumber: z.ZodNumber;
31
- status: z.ZodEnum<{
32
- Active: "Active";
33
- Terminated: "Terminated";
34
- "Leave of Absence": "Leave of Absence";
35
- }>;
36
- supervisorId: z.ZodString;
37
- terminationDate: z.ZodNullable<z.ZodDate>;
38
- terminationFutureDate: z.ZodNullable<z.ZodDate>;
39
- type: z.ZodString;
40
- upperDepartmentId: z.ZodString;
41
- jobCode: z.ZodString;
42
- jobDescription: z.ZodString;
43
- terminationReason: z.ZodNullable<z.ZodString>;
44
- supervisorRecordNumber: z.ZodNumber;
45
- }, z.core.$strip>;
46
- export type Employee = z.infer<typeof EmployeeSchema>;
@@ -1,6 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const EmployeeCategoryGroup: z.ZodEnum<{
3
- IDL: "IDL";
4
- FD: "FD";
5
- FI: "FI";
6
- }>;
@@ -1,6 +0,0 @@
1
- import { default as z } from 'zod';
2
- export declare const EmployeeStatus: z.ZodEnum<{
3
- Active: "Active";
4
- Terminated: "Terminated";
5
- "Leave of Absence": "Leave of Absence";
6
- }>;
@@ -1,6 +0,0 @@
1
- export interface DialogProviderProps {
2
- children?: React.ReactNode;
3
- unmountAfter?: number;
4
- }
5
- declare function DialogsProvider({ children, unmountAfter }: Readonly<DialogProviderProps>): import("react/jsx-runtime").JSX.Element;
6
- export { DialogsProvider };
@@ -1,11 +0,0 @@
1
- import { CssVarsThemeOptions } from '@mui/material';
2
- import { Navigation } from '../models/Navigation';
3
- import { FC, ReactNode } from 'react';
4
- interface ProvidersProps {
5
- navigation?: Navigation;
6
- theme?: Pick<CssVarsThemeOptions, "colorSchemes" | "components">;
7
- children: ReactNode;
8
- }
9
- export declare const LayoutProvider: FC<ProvidersProps>;
10
- export declare const setSSRLanguage: import('@tanstack/start-client-core').OptionalFetcher<undefined, undefined, Promise<void>>;
11
- export {};