wcz-test 6.4.6 → 6.4.9

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/utils.js CHANGED
@@ -1,36 +1,13 @@
1
1
  import {
2
- WISTRON_PRIMARY_COLOR,
3
- WISTRON_SECONDARY_COLOR,
4
- authClient
5
- } from "./chunk-TVEJZEZT.js";
6
- import {
7
- Platform,
8
- httpClient,
9
- rootRouteHead
10
- } from "./chunk-GBRG7C6R.js";
11
- import "./chunk-YHTLF4NN.js";
2
+ httpClient
3
+ } from "./chunk-T723TJ46.js";
4
+ import "./chunk-MZYWQKGY.js";
12
5
  import "./chunk-5WRI5ZAA.js";
13
6
 
14
7
  // src/utils.ts
15
8
  import { uuidv7 } from "uuidv7";
16
- import { createEnv } from "@t3-oss/env-core";
17
- import { t } from "i18next";
18
- import { default as default2 } from "i18next";
19
- import { initReactI18next, useTranslation } from "react-i18next";
20
- import { default as default3 } from "i18next-browser-languagedetector";
21
9
  export {
22
- default3 as LanguageDetector,
23
- Platform,
24
- WISTRON_PRIMARY_COLOR,
25
- WISTRON_SECONDARY_COLOR,
26
- authClient,
27
- createEnv,
28
10
  httpClient,
29
- default2 as i18n,
30
- initReactI18next,
31
- rootRouteHead,
32
- t,
33
- useTranslation,
34
11
  uuidv7
35
12
  };
36
13
  //# sourceMappingURL=utils.js.map
package/dist/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils.ts"],"sourcesContent":["export { Platform, rootRouteHead, httpClient } from \"./lib/utils\";\r\nexport { authClient } from \"./lib/auth/auth-client\";\r\nexport { WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR } from \"./hooks/ThemeHook\";\r\n\r\n// UUID\r\nexport { uuidv7 } from \"uuidv7\";\r\n\r\n// ENV\r\nexport { createEnv } from \"@t3-oss/env-core\";\r\n\r\n// Internationalization\r\nexport { t } from \"i18next\";\r\nexport { default as i18n } from \"i18next\";\r\nexport { initReactI18next, useTranslation } from \"react-i18next\";\r\nexport { default as LanguageDetector } from \"i18next-browser-languagedetector\";\r\n"],"mappings":";;;;;;;;;;;;;;AAKA,SAAS,cAAc;AAGvB,SAAS,iBAAiB;AAG1B,SAAS,SAAS;AAClB,SAAoB,WAAXA,gBAAuB;AAChC,SAAS,kBAAkB,sBAAsB;AACjD,SAAoB,WAAXA,gBAAmC;","names":["default"]}
1
+ {"version":3,"sources":["../src/utils.ts"],"sourcesContent":["export { httpClient } from \"./lib/utils\";\r\nexport { uuidv7 } from \"uuidv7\";\r\n"],"mappings":";;;;;;;AACA,SAAS,cAAc;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wcz-test",
3
- "version": "6.4.6",
3
+ "version": "6.4.9",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -8,6 +8,10 @@
8
8
  "module": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
10
10
  "exports": {
11
+ "./client-utils": {
12
+ "types": "./dist/client-utils.d.ts",
13
+ "import": "./dist/client-utils.js"
14
+ },
11
15
  "./components": {
12
16
  "types": "./dist/components.d.ts",
13
17
  "import": "./dist/components.js"
@@ -24,14 +28,14 @@
24
28
  "types": "./dist/models.d.ts",
25
29
  "import": "./dist/models.js"
26
30
  },
27
- "./pg": {
28
- "types": "./dist/pg.d.ts",
29
- "import": "./dist/pg.js"
30
- },
31
31
  "./queries": {
32
32
  "types": "./dist/queries.d.ts",
33
33
  "import": "./dist/queries.js"
34
34
  },
35
+ "./server-utils": {
36
+ "types": "./dist/server-utils.d.ts",
37
+ "import": "./dist/server-utils.js"
38
+ },
35
39
  "./utils": {
36
40
  "types": "./dist/utils.d.ts",
37
41
  "import": "./dist/utils.js"
@@ -53,15 +57,16 @@
53
57
  "@t3-oss/env-core": "^0.13.8",
54
58
  "@types/pg": "^8.15.6",
55
59
  "axios": "^1.13.2",
60
+ "better-auth": "^1.3.34",
56
61
  "file-saver": "^2.0.5",
62
+ "i18next": "^25.6.2",
63
+ "i18next-browser-languagedetector": "^8.2.0",
57
64
  "pg": "^8.16.3",
58
65
  "react-dropzone": "^14.3.8",
66
+ "react-i18next": "^16.3.0",
59
67
  "react-number-format": "^5.4.4",
60
68
  "tus-js-client": "^4.3.1",
61
- "uuidv7": "^1.0.2",
62
- "i18next": "^25.6.2",
63
- "i18next-browser-languagedetector": "^8.2.0",
64
- "react-i18next": "^16.3.0"
69
+ "uuidv7": "^1.0.2"
65
70
  },
66
71
  "devDependencies": {
67
72
  "@tanstack/eslint-config": "^0.3.2",
@@ -96,9 +101,8 @@
96
101
  "@tanstack/react-router": "1.x",
97
102
  "@tanstack/react-router-ssr-query": "1.x",
98
103
  "@tanstack/react-start": "1.x",
99
- "better-auth": "1.x",
100
104
  "dayjs": "1.x",
101
- "drizzle-orm": "^0.44.7",
105
+ "drizzle-orm": "0.x",
102
106
  "react": "19.x",
103
107
  "react-dom": "19.x",
104
108
  "zod": "4.x"
package/dist/pg.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from 'pg';
package/dist/pg.js DELETED
@@ -1,3 +0,0 @@
1
- // src/pg.ts
2
- export * from "pg";
3
- //# sourceMappingURL=pg.js.map
package/dist/pg.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/pg.ts"],"sourcesContent":["export * from \"pg\";\r\n"],"mappings":";AAAA,cAAc;","names":[]}
@@ -205,11 +205,11 @@ declare const ApprovalSchema: z__default.ZodObject<{
205
205
  type Approval = z__default.infer<typeof ApprovalSchema>;
206
206
  declare const CreateApprovalSchema: z__default.ZodObject<{
207
207
  number: z__default.ZodOptional<z__default.ZodString>;
208
+ id: z__default.ZodUUID;
208
209
  type: z__default.ZodOptional<z__default.ZodDefault<z__default.ZodEnum<{
209
210
  Single: "Single";
210
211
  Batch: "Batch";
211
212
  }>>>;
212
- id: z__default.ZodUUID;
213
213
  applicationName: z__default.ZodString;
214
214
  emailBody: z__default.ZodString;
215
215
  approvalFlows: z__default.ZodArray<z__default.ZodObject<{