@vnodes/types 0.0.23
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 +35 -0
- package/bin/version.mjs +12 -0
- package/dist/auth/access-token-payload.d.ts +5 -0
- package/dist/auth/access-token-payload.d.ts.map +1 -0
- package/dist/auth/access-token-payload.js +3 -0
- package/dist/auth/access-token-payload.js.map +1 -0
- package/dist/auth/user-credential.d.ts +5 -0
- package/dist/auth/user-credential.d.ts.map +1 -0
- package/dist/auth/user-credential.js +3 -0
- package/dist/auth/user-credential.js.map +1 -0
- package/dist/common/any.d.ts +3 -0
- package/dist/common/any.d.ts.map +1 -0
- package/dist/common/any.js +3 -0
- package/dist/common/any.js.map +1 -0
- package/dist/common/either.d.ts +6 -0
- package/dist/common/either.d.ts.map +1 -0
- package/dist/common/either.js +3 -0
- package/dist/common/either.js.map +1 -0
- package/dist/common/filter-fn.d.ts +2 -0
- package/dist/common/filter-fn.d.ts.map +1 -0
- package/dist/common/filter-fn.js +3 -0
- package/dist/common/filter-fn.js.map +1 -0
- package/dist/common/keys.d.ts +2 -0
- package/dist/common/keys.d.ts.map +1 -0
- package/dist/common/keys.js +3 -0
- package/dist/common/keys.js.map +1 -0
- package/dist/common/record.d.ts +5 -0
- package/dist/common/record.d.ts.map +1 -0
- package/dist/common/record.js +3 -0
- package/dist/common/record.js.map +1 -0
- package/dist/common/some.d.ts +2 -0
- package/dist/common/some.d.ts.map +1 -0
- package/dist/common/some.js +3 -0
- package/dist/common/some.js.map +1 -0
- package/dist/common/type.d.ts +4 -0
- package/dist/common/type.d.ts.map +1 -0
- package/dist/common/type.js +3 -0
- package/dist/common/type.js.map +1 -0
- package/dist/dev/package-json.d.ts +45 -0
- package/dist/dev/package-json.d.ts.map +1 -0
- package/dist/dev/package-json.js +5 -0
- package/dist/dev/package-json.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/names/names.d.ts +11 -0
- package/dist/names/names.d.ts.map +1 -0
- package/dist/names/names.js +3 -0
- package/dist/names/names.js.map +1 -0
- package/dist/ts/ts-scalar-types.d.ts +2 -0
- package/dist/ts/ts-scalar-types.d.ts.map +1 -0
- package/dist/ts/ts-scalar-types.js +3 -0
- package/dist/ts/ts-scalar-types.js.map +1 -0
- package/package.json +57 -0
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+

|
|
2
|
+

|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img srcset="./assets/favicon.png, https://vnodes.github.io/vnodes/libs/types/assets/favicon.png" alt="Logo" width="200" height="200" style="border-radius: 100%"/>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
## @vnodes/types
|
|
12
|
+
|
|
13
|
+
Common types and enums
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pnpm add @vnodes/types
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## 💖 Support My Work
|
|
22
|
+
|
|
23
|
+
If you find my open-source contributions or the **@vnodes/types** project helpful, consider supporting my work. Your sponsorship helps me maintain these projects and explore new enterprise patterns.
|
|
24
|
+
|
|
25
|
+
[](https://cash.app/$puqlib)
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 🤝 Connect with Me
|
|
30
|
+
|
|
31
|
+
<p align="left">
|
|
32
|
+
<a href="mailto:robert.brightline+vnodes-types@gmail.com">
|
|
33
|
+
<img src="https://img.shields.io/badge/Email-D14836?style=for-the-badge&logo=gmail&logoColor=white" />
|
|
34
|
+
</a>
|
|
35
|
+
</p>
|
package/bin/version.mjs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { readFileSync } from 'node:fs';
|
|
4
|
+
import { dirname, join } from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
|
|
7
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
+
const __dirname = dirname(__filename);
|
|
9
|
+
const packageJsonPath = join(__dirname, '..', 'package.json');
|
|
10
|
+
const packageJson = readFileSync(packageJsonPath, { encoding: 'utf-8' });
|
|
11
|
+
const version = JSON.parse(packageJson).version;
|
|
12
|
+
console.log(version);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access-token-payload.d.ts","sourceRoot":"","sources":["../../src/auth/access-token-payload.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/auth/access-token-payload.ts"],"sourcesContent":["export type AccessTokenPayload = {\n sub: number;\n version: string;\n};\n"],"names":[],"mappings":"AAAA,WAGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-credential.d.ts","sourceRoot":"","sources":["../../src/auth/user-credential.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/auth/user-credential.ts"],"sourcesContent":["export type UserCredential = {\n username: string;\n password: string;\n};\n"],"names":[],"mappings":"AAAA,WAGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../src/common/any.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAE1D,MAAM,MAAM,GAAG,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/common/any.ts"],"sourcesContent":["/** biome-ignore-all lint/suspicious/noExplicitAny: Any */\n\nexport type Any = any;\n"],"names":[],"mappings":"AAAA,wDAAwD,GAExD,WAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"either.d.ts","sourceRoot":"","sources":["../../src/common/either.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI;KACnB,CAAC,IAAI,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;SACxB,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;KACrC;CACJ,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/common/either.ts"],"sourcesContent":["export type Either<T> = {\n [K in keyof T]: Pick<T, K> & {\n [P in Exclude<keyof T, K>]?: never;\n };\n}[keyof T];\n"],"names":[],"mappings":"AAAA,WAIW"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-fn.d.ts","sourceRoot":"","sources":["../../src/common/filter-fn.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,KAAK,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/common/filter-fn.ts"],"sourcesContent":["export type FilterFn<T> = (value: T, index?: number, data?: T[]) => boolean;\n"],"names":[],"mappings":"AAAA,WAA4E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/common/keys.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/common/keys.ts"],"sourcesContent":["export type Keys<T> = Array<keyof T>;\n"],"names":[],"mappings":"AAAA,WAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../src/common/record.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;AACnD,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AACrD,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AACrD,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/common/record.ts"],"sourcesContent":["export type TypedRecord<T, V> = Record<keyof T, V>;\nexport type StringRecord<T> = TypedRecord<T, string>;\nexport type NumberRecord<T> = TypedRecord<T, number>;\nexport type BooleanRecord<T> = TypedRecord<T, boolean>;\n"],"names":[],"mappings":"AAGA,WAAuD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"some.d.ts","sourceRoot":"","sources":["../../src/common/some.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/common/some.ts"],"sourcesContent":["export type Some<T> = T | undefined | null;\n"],"names":[],"mappings":"AAAA,WAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/common/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,CAAC,CAAC,IAAI;IAClB,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/common/type.ts"],"sourcesContent":["export type Type<T> = {\n new (...args: any[]): T;\n};\n"],"names":[],"mappings":"AAAA,WAEE"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Any } from '../common/any.js';
|
|
2
|
+
/**
|
|
3
|
+
* A type-safe representation of a standard package.json file.
|
|
4
|
+
*/
|
|
5
|
+
export type PackageJson = {
|
|
6
|
+
name: string;
|
|
7
|
+
version: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
main?: string;
|
|
10
|
+
module?: string;
|
|
11
|
+
types?: string;
|
|
12
|
+
typings?: string;
|
|
13
|
+
bin?: string | Record<string, string>;
|
|
14
|
+
scripts?: Record<string, string>;
|
|
15
|
+
dependencies?: Record<string, string>;
|
|
16
|
+
devDependencies?: Record<string, string>;
|
|
17
|
+
peerDependencies?: Record<string, string>;
|
|
18
|
+
optionalDependencies?: Record<string, string>;
|
|
19
|
+
funding?: string[];
|
|
20
|
+
engines?: {
|
|
21
|
+
node?: string;
|
|
22
|
+
npm?: string;
|
|
23
|
+
[key: string]: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
repository?: string | {
|
|
26
|
+
type: string;
|
|
27
|
+
url: string;
|
|
28
|
+
directory?: string;
|
|
29
|
+
};
|
|
30
|
+
keywords?: string[];
|
|
31
|
+
author?: string | {
|
|
32
|
+
name: string;
|
|
33
|
+
email?: string;
|
|
34
|
+
url?: string;
|
|
35
|
+
};
|
|
36
|
+
license?: string;
|
|
37
|
+
bugs?: string | {
|
|
38
|
+
url?: string;
|
|
39
|
+
email?: string;
|
|
40
|
+
};
|
|
41
|
+
homepage?: string;
|
|
42
|
+
icon?: string;
|
|
43
|
+
[customTool: string]: Any;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=package-json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../../src/dev/package-json.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE;QACN,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;KACrC,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACxE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/dev/package-json.ts"],"sourcesContent":["import type { Any } from '../common/any.js';\n\n/**\n * A type-safe representation of a standard package.json file.\n */\nexport type PackageJson = {\n name: string;\n version: string;\n description?: string;\n main?: string;\n module?: string;\n types?: string;\n typings?: string;\n bin?: string | Record<string, string>;\n scripts?: Record<string, string>;\n dependencies?: Record<string, string>;\n devDependencies?: Record<string, string>;\n peerDependencies?: Record<string, string>;\n optionalDependencies?: Record<string, string>;\n funding?: string[];\n engines?: {\n node?: string;\n npm?: string;\n [key: string]: string | undefined;\n };\n repository?: string | { type: string; url: string; directory?: string };\n keywords?: string[];\n author?: string | { name: string; email?: string; url?: string };\n license?: string;\n bugs?: string | { url?: string; email?: string };\n homepage?: string;\n icon?: string;\n [customTool: string]: Any;\n};\n"],"names":[],"mappings":"AAEA;;CAEC,GACD,WA4BE"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './auth/access-token-payload.js';
|
|
2
|
+
export * from './auth/user-credential.js';
|
|
3
|
+
export * from './common/any.js';
|
|
4
|
+
export * from './common/either.js';
|
|
5
|
+
export * from './common/filter-fn.js';
|
|
6
|
+
export * from './common/keys.js';
|
|
7
|
+
export * from './common/record.js';
|
|
8
|
+
export * from './common/some.js';
|
|
9
|
+
export * from './common/type.js';
|
|
10
|
+
export * from './dev/package-json.js';
|
|
11
|
+
export * from './names/names.js';
|
|
12
|
+
export * from './ts/ts-scalar-types.js';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @index(['./**/*.ts', '!./**/*.{spec,test}.ts'], f => `export * from '${f.path}.js'`)
|
|
2
|
+
export * from './auth/access-token-payload.js';
|
|
3
|
+
export * from './auth/user-credential.js';
|
|
4
|
+
export * from './common/any.js';
|
|
5
|
+
export * from './common/either.js';
|
|
6
|
+
export * from './common/filter-fn.js';
|
|
7
|
+
export * from './common/keys.js';
|
|
8
|
+
export * from './common/record.js';
|
|
9
|
+
export * from './common/some.js';
|
|
10
|
+
export * from './common/type.js';
|
|
11
|
+
export * from './dev/package-json.js';
|
|
12
|
+
export * from './names/names.js';
|
|
13
|
+
export * from './ts/ts-scalar-types.js';
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @index(['./**/*.ts', '!./**/*.{spec,test}.ts'], f => `export * from '${f.path}.js'`)\nexport * from './auth/access-token-payload.js';\nexport * from './auth/user-credential.js';\nexport * from './common/any.js';\nexport * from './common/either.js';\nexport * from './common/filter-fn.js';\nexport * from './common/keys.js';\nexport * from './common/record.js';\nexport * from './common/some.js';\nexport * from './common/type.js';\nexport * from './dev/package-json.js';\nexport * from './names/names.js';\nexport * from './ts/ts-scalar-types.js';\n"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,cAAc,iCAAiC;AAC/C,cAAc,4BAA4B;AAC1C,cAAc,kBAAkB;AAChC,cAAc,qBAAqB;AACnC,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,qBAAqB;AACnC,cAAc,mBAAmB;AACjC,cAAc,mBAAmB;AACjC,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,0BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"names.d.ts","sourceRoot":"","sources":["../../src/names/names.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/names/names.ts"],"sourcesContent":["export type Names = {\n camel: string;\n pascal: string;\n kebab: string;\n snake: string;\n constant: string;\n title: string;\n sentence: string;\n dot: string;\n};\n"],"names":[],"mappings":"AAAA,WASE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-scalar-types.d.ts","sourceRoot":"","sources":["../../src/ts/ts-scalar-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/ts/ts-scalar-types.ts"],"sourcesContent":["export type TSScalarTypes = 'string' | 'number' | 'boolean' | 'Date' | 'BigInt';\n"],"names":[],"mappings":"AAAA,WAAgF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vnodes/types",
|
|
3
|
+
"version": "0.0.23",
|
|
4
|
+
"description": "@vnodes/types",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"types"
|
|
7
|
+
],
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Robert Brightline",
|
|
10
|
+
"email": "robert.brightline+vnodes-types@gmail.com",
|
|
11
|
+
"url": "https://vnodes.github.io/vnodes"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://vnodes.github.io/vnodes/libs/types",
|
|
14
|
+
"icon": "https://vnodes.github.io/vnodes/libs/types/assets/favicon.png",
|
|
15
|
+
"funding": [
|
|
16
|
+
"https://cash.app/$puqlib"
|
|
17
|
+
],
|
|
18
|
+
"bin": {
|
|
19
|
+
"version": "./bin/version.mjs"
|
|
20
|
+
},
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
".": {
|
|
28
|
+
"@vnodes/source": "./src/index.ts",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.js",
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"bin",
|
|
37
|
+
"!**/*.tsbuildinfo"
|
|
38
|
+
],
|
|
39
|
+
"nx": {
|
|
40
|
+
"sourceRoot": "libs/types/src",
|
|
41
|
+
"targets": {
|
|
42
|
+
"build": {},
|
|
43
|
+
"doc": {},
|
|
44
|
+
"lint": {}
|
|
45
|
+
},
|
|
46
|
+
"tags": [
|
|
47
|
+
"lib"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@swc/helpers": "~0.5.18"
|
|
52
|
+
},
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public",
|
|
55
|
+
"tag": "latest"
|
|
56
|
+
}
|
|
57
|
+
}
|