sa2kit 1.4.2 → 1.5.1
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/ConfigService-7MEZXKJ5.js +21 -0
- package/dist/ConfigService-7MEZXKJ5.js.map +1 -0
- package/dist/ConfigService-BV57YYFW.mjs +4 -0
- package/dist/ConfigService-BV57YYFW.mjs.map +1 -0
- package/dist/ConfigService-BxK06xP6.d.mts +262 -0
- package/dist/ConfigService-BxK06xP6.d.ts +262 -0
- package/dist/audioDetection/index.d.mts +449 -0
- package/dist/audioDetection/index.d.ts +449 -0
- package/dist/audioDetection/index.js +1244 -0
- package/dist/audioDetection/index.js.map +1 -0
- package/dist/audioDetection/index.mjs +1227 -0
- package/dist/audioDetection/index.mjs.map +1 -0
- package/dist/chunk-5XUE72Y3.mjs +1001 -0
- package/dist/chunk-5XUE72Y3.mjs.map +1 -0
- package/dist/chunk-DQVPZTVC.js +1009 -0
- package/dist/chunk-DQVPZTVC.js.map +1 -0
- package/dist/chunk-NEPD75MX.mjs +467 -0
- package/dist/chunk-NEPD75MX.mjs.map +1 -0
- package/dist/chunk-OEDY7GI4.js +473 -0
- package/dist/chunk-OEDY7GI4.js.map +1 -0
- package/dist/chunk-TFQF2HDO.mjs +354 -0
- package/dist/chunk-TFQF2HDO.mjs.map +1 -0
- package/dist/chunk-TOC5FSHP.js +358 -0
- package/dist/chunk-TOC5FSHP.js.map +1 -0
- package/dist/imageCrop/index.d.mts +165 -0
- package/dist/imageCrop/index.d.ts +165 -0
- package/dist/imageCrop/index.js +559 -0
- package/dist/imageCrop/index.js.map +1 -0
- package/dist/imageCrop/index.mjs +540 -0
- package/dist/imageCrop/index.mjs.map +1 -0
- package/dist/index.d.mts +139 -0
- package/dist/index.d.ts +139 -0
- package/dist/index.js +670 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +662 -0
- package/dist/index.mjs.map +1 -1
- package/dist/mmd/index.d.mts +113 -2
- package/dist/mmd/index.d.ts +113 -2
- package/dist/mmd/index.js +484 -2
- package/dist/mmd/index.js.map +1 -1
- package/dist/mmd/index.mjs +482 -4
- package/dist/mmd/index.mjs.map +1 -1
- package/dist/testYourself/admin/index.d.mts +58 -0
- package/dist/testYourself/admin/index.d.ts +58 -0
- package/dist/testYourself/admin/index.js +17 -0
- package/dist/testYourself/admin/index.js.map +1 -0
- package/dist/testYourself/admin/index.mjs +4 -0
- package/dist/testYourself/admin/index.mjs.map +1 -0
- package/dist/testYourself/index.d.mts +6 -98
- package/dist/testYourself/index.d.ts +6 -98
- package/dist/testYourself/index.js +90 -334
- package/dist/testYourself/index.js.map +1 -1
- package/dist/testYourself/index.mjs +47 -333
- package/dist/testYourself/index.mjs.map +1 -1
- package/dist/testYourself/server/index.d.mts +1029 -0
- package/dist/testYourself/server/index.d.ts +1029 -0
- package/dist/testYourself/server/index.js +42 -0
- package/dist/testYourself/server/index.js.map +1 -0
- package/dist/testYourself/server/index.mjs +5 -0
- package/dist/testYourself/server/index.mjs.map +1 -0
- package/dist/universalFile/server/index.js +5 -5
- package/dist/universalFile/server/index.mjs +1 -1
- package/package.json +62 -20
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOEDY7GI4_js = require('../../chunk-OEDY7GI4.js');
|
|
4
|
+
var chunkTOC5FSHP_js = require('../../chunk-TOC5FSHP.js');
|
|
5
|
+
require('../../chunk-DGUM43GV.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "DatabaseConfigAdapter", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkOEDY7GI4_js.DatabaseConfigAdapter; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "createDatabaseConfigAdapter", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkOEDY7GI4_js.createDatabaseConfigAdapter; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "testYourselfConfigShares", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkOEDY7GI4_js.testYourselfConfigShares; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "testYourselfConfigUsage", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkOEDY7GI4_js.testYourselfConfigUsage; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "testYourselfConfigs", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkOEDY7GI4_js.testYourselfConfigs; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "ConfigService", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkTOC5FSHP_js.ConfigService; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "createConfigService", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkTOC5FSHP_js.createConfigService; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "getDefaultConfigService", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkTOC5FSHP_js.getDefaultConfigService; }
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DatabaseConfigAdapter, createDatabaseConfigAdapter, testYourselfConfigShares, testYourselfConfigUsage, testYourselfConfigs } from '../../chunk-NEPD75MX.mjs';
|
|
2
|
+
export { ConfigService, createConfigService, getDefaultConfigService } from '../../chunk-TFQF2HDO.mjs';
|
|
3
|
+
import '../../chunk-BJTO5JO5.mjs';
|
|
4
|
+
//# sourceMappingURL=index.mjs.map
|
|
5
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkTKCYPDWU_js = require('../../chunk-TKCYPDWU.js');
|
|
4
3
|
var chunk3RFBUDRA_js = require('../../chunk-3RFBUDRA.js');
|
|
4
|
+
var chunkTKCYPDWU_js = require('../../chunk-TKCYPDWU.js');
|
|
5
5
|
var chunkKH6RQ4J5_js = require('../../chunk-KH6RQ4J5.js');
|
|
6
6
|
var chunk6PRFP5EG_js = require('../../chunk-6PRFP5EG.js');
|
|
7
7
|
var chunkZRAW3HXA_js = require('../../chunk-ZRAW3HXA.js');
|
|
@@ -5504,14 +5504,14 @@ var fileThumbnailsRelations = drizzleOrm.relations(fileThumbnails, ({ one }) =>
|
|
|
5504
5504
|
})
|
|
5505
5505
|
}));
|
|
5506
5506
|
|
|
5507
|
-
Object.defineProperty(exports, "LocalStorageProvider", {
|
|
5508
|
-
enumerable: true,
|
|
5509
|
-
get: function () { return chunkTKCYPDWU_js.LocalStorageProvider; }
|
|
5510
|
-
});
|
|
5511
5507
|
Object.defineProperty(exports, "AliyunOSSProvider", {
|
|
5512
5508
|
enumerable: true,
|
|
5513
5509
|
get: function () { return chunk3RFBUDRA_js.AliyunOSSProvider; }
|
|
5514
5510
|
});
|
|
5511
|
+
Object.defineProperty(exports, "LocalStorageProvider", {
|
|
5512
|
+
enumerable: true,
|
|
5513
|
+
get: function () { return chunkTKCYPDWU_js.LocalStorageProvider; }
|
|
5514
|
+
});
|
|
5515
5515
|
exports.AliyunCDNProvider = AliyunCDNProvider;
|
|
5516
5516
|
exports.ApiError = ApiError;
|
|
5517
5517
|
exports.ApiErrorCode = ApiErrorCode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { LocalStorageProvider } from '../../chunk-GSTLV3MB.mjs';
|
|
2
1
|
export { AliyunOSSProvider } from '../../chunk-YVBU7QDJ.mjs';
|
|
2
|
+
export { LocalStorageProvider } from '../../chunk-GSTLV3MB.mjs';
|
|
3
3
|
import { CDNProviderError } from '../../chunk-ZGVB35L2.mjs';
|
|
4
4
|
import { createLogger } from '../../chunk-KQGP6BTS.mjs';
|
|
5
5
|
import { StorageProviderError, FileUploadError, FileProcessingError } from '../../chunk-CIVO4R6N.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sa2kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "A modern, type-safe React utility library with cross-platform support and platform adapters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -168,6 +168,16 @@
|
|
|
168
168
|
"import": "./dist/mmd/server/index.mjs",
|
|
169
169
|
"require": "./dist/mmd/server/index.js"
|
|
170
170
|
},
|
|
171
|
+
"./audioDetection": {
|
|
172
|
+
"types": "./dist/audioDetection/index.d.ts",
|
|
173
|
+
"import": "./dist/audioDetection/index.mjs",
|
|
174
|
+
"require": "./dist/audioDetection/index.js"
|
|
175
|
+
},
|
|
176
|
+
"./imageCrop": {
|
|
177
|
+
"types": "./dist/imageCrop/index.d.ts",
|
|
178
|
+
"import": "./dist/imageCrop/index.mjs",
|
|
179
|
+
"require": "./dist/imageCrop/index.js"
|
|
180
|
+
},
|
|
171
181
|
"./storage/hooks": {
|
|
172
182
|
"types": "./dist/storage/index.d.ts",
|
|
173
183
|
"import": "./dist/storage/index.mjs",
|
|
@@ -177,6 +187,36 @@
|
|
|
177
187
|
"types": "./dist/testYourself/index.d.ts",
|
|
178
188
|
"import": "./dist/testYourself/index.mjs",
|
|
179
189
|
"require": "./dist/testYourself/index.js"
|
|
190
|
+
},
|
|
191
|
+
"./testYourself/admin": {
|
|
192
|
+
"types": "./dist/testYourself/admin/index.d.ts",
|
|
193
|
+
"import": "./dist/testYourself/admin/index.mjs",
|
|
194
|
+
"require": "./dist/testYourself/admin/index.js"
|
|
195
|
+
},
|
|
196
|
+
"./testYourself/server": {
|
|
197
|
+
"types": "./dist/testYourself/server/index.d.ts",
|
|
198
|
+
"import": "./dist/testYourself/server/index.mjs",
|
|
199
|
+
"require": "./dist/testYourself/server/index.js"
|
|
200
|
+
},
|
|
201
|
+
"./ai/ocr": {
|
|
202
|
+
"types": "./dist/ai/ocr/index.d.ts",
|
|
203
|
+
"import": "./dist/ai/ocr/index.mjs",
|
|
204
|
+
"require": "./dist/ai/ocr/index.js"
|
|
205
|
+
},
|
|
206
|
+
"./ai/background-removal": {
|
|
207
|
+
"types": "./dist/ai/background-removal/index.d.ts",
|
|
208
|
+
"import": "./dist/ai/background-removal/index.mjs",
|
|
209
|
+
"require": "./dist/ai/background-removal/index.js"
|
|
210
|
+
},
|
|
211
|
+
"./ai/sentiment-analysis": {
|
|
212
|
+
"types": "./dist/ai/sentiment-analysis/index.d.ts",
|
|
213
|
+
"import": "./dist/ai/sentiment-analysis/index.mjs",
|
|
214
|
+
"require": "./dist/ai/sentiment-analysis/index.js"
|
|
215
|
+
},
|
|
216
|
+
"./ai/text-generation": {
|
|
217
|
+
"types": "./dist/ai/text-generation/index.d.ts",
|
|
218
|
+
"import": "./dist/ai/text-generation/index.mjs",
|
|
219
|
+
"require": "./dist/ai/text-generation/index.js"
|
|
180
220
|
}
|
|
181
221
|
},
|
|
182
222
|
"files": [
|
|
@@ -185,23 +225,6 @@
|
|
|
185
225
|
"README.md",
|
|
186
226
|
"LICENSE"
|
|
187
227
|
],
|
|
188
|
-
"scripts": {
|
|
189
|
-
"dev": "NODE_OPTIONS='--max-old-space-size=4096' tsup --watch",
|
|
190
|
-
"build": "NODE_OPTIONS='--max-old-space-size=4096' tsup",
|
|
191
|
-
"type-check": "tsc --noEmit",
|
|
192
|
-
"lint": "eslint src --ext .ts,.tsx",
|
|
193
|
-
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
194
|
-
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
195
|
-
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
|
|
196
|
-
"test": "vitest run",
|
|
197
|
-
"test:watch": "vitest",
|
|
198
|
-
"test:ui": "vitest --ui",
|
|
199
|
-
"test:coverage": "vitest --coverage",
|
|
200
|
-
"clean": "rm -rf dist",
|
|
201
|
-
"prepublishOnly": "pnpm run build && pnpm run test",
|
|
202
|
-
"publish:beta": "npm publish --tag beta --access public",
|
|
203
|
-
"publish:latest": "npm publish --access public"
|
|
204
|
-
},
|
|
205
228
|
"peerDependencies": {
|
|
206
229
|
"lucide-react": "^0.263.0 || ^0.300.0 || ^0.400.0 || ^0.500.0",
|
|
207
230
|
"react": ">=18.0.0",
|
|
@@ -252,20 +275,39 @@
|
|
|
252
275
|
"engines": {
|
|
253
276
|
"node": ">=18.0.0"
|
|
254
277
|
},
|
|
255
|
-
"packageManager": "pnpm@9.15.2",
|
|
256
278
|
"dependencies": {
|
|
257
279
|
"@dnd-kit/core": "^6.3.1",
|
|
258
280
|
"@dnd-kit/sortable": "^10.0.0",
|
|
259
281
|
"@dnd-kit/utilities": "^3.2.2",
|
|
282
|
+
"@imgly/background-removal": "^1.7.0",
|
|
283
|
+
"@xenova/transformers": "^2.17.2",
|
|
260
284
|
"adm-zip": "^0.5.16",
|
|
261
285
|
"bcryptjs": "^3.0.3",
|
|
262
286
|
"framer-motion": "^12.23.24",
|
|
263
287
|
"jsonwebtoken": "^9.0.2",
|
|
264
288
|
"jszip": "^3.10.1",
|
|
289
|
+
"onnxruntime-web": "1.21.0",
|
|
265
290
|
"postgres": "^3.4.7",
|
|
291
|
+
"tesseract.js": "^7.0.0",
|
|
266
292
|
"three": "^0.181.2",
|
|
267
293
|
"three-stdlib": "^2.36.0",
|
|
268
294
|
"uuid": "^13.0.0",
|
|
269
295
|
"xlsx": "^0.18.5"
|
|
296
|
+
},
|
|
297
|
+
"scripts": {
|
|
298
|
+
"dev": "NODE_OPTIONS='--max-old-space-size=4096' tsup --watch",
|
|
299
|
+
"build": "NODE_OPTIONS='--max-old-space-size=4096' tsup",
|
|
300
|
+
"type-check": "tsc --noEmit",
|
|
301
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
302
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
303
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
304
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
|
|
305
|
+
"test": "vitest run",
|
|
306
|
+
"test:watch": "vitest",
|
|
307
|
+
"test:ui": "vitest --ui",
|
|
308
|
+
"test:coverage": "vitest --coverage",
|
|
309
|
+
"clean": "rm -rf dist",
|
|
310
|
+
"publish:beta": "npm publish --tag beta --access public",
|
|
311
|
+
"publish:latest": "npm publish --access public"
|
|
270
312
|
}
|
|
271
|
-
}
|
|
313
|
+
}
|