@brix-sdk/platform-shared 1.0.0
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/README.md +58 -0
- package/dist/chunk-4CV4JOE5.js +24 -0
- package/dist/chunk-4CV4JOE5.js.map +1 -0
- package/dist/chunk-5CQ3FANY.js +162 -0
- package/dist/chunk-5CQ3FANY.js.map +1 -0
- package/dist/chunk-DJX6ASLI.js +143 -0
- package/dist/chunk-DJX6ASLI.js.map +1 -0
- package/dist/chunk-GNCIKXWI.js +3 -0
- package/dist/chunk-GNCIKXWI.js.map +1 -0
- package/dist/chunk-OGZE7TFO.js +509 -0
- package/dist/chunk-OGZE7TFO.js.map +1 -0
- package/dist/constants/index.d.ts +325 -0
- package/dist/constants/index.js +4 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/http/index.d.ts +1 -0
- package/dist/http/index.js +4 -0
- package/dist/http/index.js.map +1 -0
- package/dist/id/index.d.ts +57 -0
- package/dist/id/index.js +64 -0
- package/dist/id/index.js.map +1 -0
- package/dist/id-BFKGN254.d.ts +178 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/types/index.d.ts +174 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/index.d.ts +795 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +72 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { assert, assertNotNull, camelCase, cancelableDelay, capitalize, checkPasswordStrength, debounce, deepClone, deepMerge, delay, delayWith, formatCurrency, formatDate, formatDuration, formatFileSize, formatNumber, formatPercent, formatRelativeTime, isArray, isBoolean, isEmpty, isFunction, isInRange, isInteger, isNotNullOrUndefined, isNullOrUndefined, isNumber, isNumeric, isObject, isPositive, isPromise, isString, isValidBankCard, isValidEmail, isValidIPv4, isValidIdCard, isValidJSON, isValidPhone, isValidUnifiedCreditCode, isValidUrl, kebabCase, nextTick, parseFileSize, requestIdleCallback, throttle, truncate, withTimeout } from '../chunk-OGZE7TFO.js';
|
|
2
|
+
export { SimpleSnowflake, createDailySequenceIdGenerator, createSequenceIdGenerator, extractTimestampFromId, generateNanoId, generateShortId, generateSnowflakeId, generateTimestampId, generateUUID, isValidUUID } from '../chunk-DJX6ASLI.js';
|
|
3
|
+
import '../chunk-4CV4JOE5.js';
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@brix-sdk/platform-shared",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Platform Shared Module - Cross-platform shared types, constants and utility functions",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./types": {
|
|
15
|
+
"import": "./dist/types/index.js",
|
|
16
|
+
"types": "./dist/types/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./constants": {
|
|
19
|
+
"import": "./dist/constants/index.js",
|
|
20
|
+
"types": "./dist/constants/index.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./utils": {
|
|
23
|
+
"import": "./dist/utils/index.js",
|
|
24
|
+
"types": "./dist/utils/index.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./id": {
|
|
27
|
+
"import": "./dist/id/index.js",
|
|
28
|
+
"types": "./dist/id/index.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./http": {
|
|
31
|
+
"import": "./dist/http/index.js",
|
|
32
|
+
"types": "./dist/http/index.d.ts"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsup",
|
|
40
|
+
"dev": "tsup --watch",
|
|
41
|
+
"clean": "rimraf dist",
|
|
42
|
+
"typecheck": "tsc --noEmit"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@brix-sdk/infra-adapter-http-web": "link:../../../../infra-adapters/packages/web/infra-adapter-http-web",
|
|
46
|
+
"@brix-sdk/runtime-sdk-api-web": "workspace:*"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"rimraf": "^5.0.5",
|
|
50
|
+
"tsup": "^8.0.1",
|
|
51
|
+
"typescript": "^5.3.2"
|
|
52
|
+
},
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public"
|
|
55
|
+
},
|
|
56
|
+
"repository": {
|
|
57
|
+
"type": "git",
|
|
58
|
+
"url": "https://github.com/brix-platform/platform-commons.git",
|
|
59
|
+
"directory": "packages/client/platform-shared"
|
|
60
|
+
},
|
|
61
|
+
"keywords": [
|
|
62
|
+
"brix",
|
|
63
|
+
"platform",
|
|
64
|
+
"shared",
|
|
65
|
+
"types",
|
|
66
|
+
"utils",
|
|
67
|
+
"id",
|
|
68
|
+
"http"
|
|
69
|
+
],
|
|
70
|
+
"author": "Brix Platform Authors",
|
|
71
|
+
"license": "Apache-2.0"
|
|
72
|
+
}
|