@xylabs/typeof 4.5.10 → 4.6.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/dist/{neutral → types}/ObjectTypeShape.d.ts +1 -1
- package/dist/types/ObjectTypeShape.d.ts.map +1 -0
- package/package.json +5 -5
- package/src/ObjectTypeShape.ts +1 -1
- package/dist/neutral/ObjectTypeShape.d.ts.map +0 -1
- /package/dist/{neutral → types}/TypeOfTypes.d.ts +0 -0
- /package/dist/{neutral → types}/TypeOfTypes.d.ts.map +0 -0
- /package/dist/{neutral → types}/Typed.d.ts +0 -0
- /package/dist/{neutral → types}/Typed.d.ts.map +0 -0
- /package/dist/{neutral → types}/ifDefined.d.ts +0 -0
- /package/dist/{neutral → types}/ifDefined.d.ts.map +0 -0
- /package/dist/{neutral → types}/ifTypeOf.d.ts +0 -0
- /package/dist/{neutral → types}/ifTypeOf.d.ts.map +0 -0
- /package/dist/{neutral → types}/index.d.ts +0 -0
- /package/dist/{neutral → types}/index.d.ts.map +0 -0
- /package/dist/{neutral → types}/isType.d.ts +0 -0
- /package/dist/{neutral → types}/isType.d.ts.map +0 -0
- /package/dist/{neutral → types}/typeOf.d.ts +0 -0
- /package/dist/{neutral → types}/typeOf.d.ts.map +0 -0
- /package/dist/{neutral → types}/validateType.d.ts +0 -0
- /package/dist/{neutral → types}/validateType.d.ts.map +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type FieldType = 'string' | 'number' | 'object' | 'symbol' | '
|
|
1
|
+
export type FieldType = 'string' | 'number' | 'object' | 'symbol' | 'undefined' | 'null' | 'array' | 'function';
|
|
2
2
|
export type ObjectTypeShape = Record<string | number | symbol, FieldType>;
|
|
3
3
|
//# sourceMappingURL=ObjectTypeShape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObjectTypeShape.d.ts","sourceRoot":"","sources":["../../src/ObjectTypeShape.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAA;AAE/G,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,SAAS,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/typeof",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typeof",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"type": "module",
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
|
-
"types": "./dist/
|
|
31
|
+
"types": "./dist/types/index.d.ts",
|
|
32
32
|
"default": "./dist/neutral/index.mjs"
|
|
33
33
|
},
|
|
34
34
|
"./package.json": "./package.json"
|
|
35
35
|
},
|
|
36
36
|
"module": "dist/neutral/index.mjs",
|
|
37
|
-
"types": "dist/
|
|
37
|
+
"types": "dist/types/index.d.ts",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
40
|
-
"@xylabs/tsconfig": "^
|
|
39
|
+
"@xylabs/ts-scripts-yarn3": "^6.0.5",
|
|
40
|
+
"@xylabs/tsconfig": "^6.0.5",
|
|
41
41
|
"typescript": "^5.8.2"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
package/src/ObjectTypeShape.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type FieldType = 'string' | 'number' | 'object' | 'symbol' | '
|
|
1
|
+
export type FieldType = 'string' | 'number' | 'object' | 'symbol' | 'undefined' | 'null' | 'array' | 'function'
|
|
2
2
|
|
|
3
3
|
export type ObjectTypeShape = Record<string | number | symbol, FieldType>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTypeShape.d.ts","sourceRoot":"","sources":["../../src/ObjectTypeShape.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAA;AAE1H,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,SAAS,CAAC,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|