inferred-types 0.18.1 → 0.18.2
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/.tsbuildinfo +1 -1
- package/dist/index.d.ts +37 -24
- package/dist/index.js +47 -19
- package/dist/index.mjs +32 -6
- package/on-hold/Builder/index.ts +15 -21
- package/on-hold/types/index.ts +15 -20
- package/package.json +5 -5
- package/pnpm-lock.yaml +61 -276
- package/src/Mutation/index.ts +16 -18
- package/src/index.ts +15 -19
- package/src/shared/index.ts +16 -18
- package/src/types/alphabetic/index.ts +10 -18
- package/src/types/dictionary/index.ts +16 -18
- package/src/types/fluent/index.ts +10 -17
- package/src/types/index.ts +10 -19
- package/src/types/kv/index.ts +16 -18
- package/src/types/lists/index.ts +16 -18
- package/src/types/string-literals/index.ts +16 -18
- package/src/types/tuples/index.ts +16 -18
- package/src/types/type-conversion/index.ts +10 -17
- package/src/utility/api/index.ts +16 -18
- package/src/utility/dictionary/index.ts +16 -20
- package/src/utility/dictionary/kv/index.ts +16 -18
- package/src/utility/index.ts +16 -20
- package/src/utility/lists/index.ts +16 -18
- package/src/utility/literals/index.ts +16 -18
- package/src/utility/map-reduce/index.ts +16 -18
- package/src/utility/modelling/index.ts +16 -18
- package/src/utility/runtime/conditions/index.ts +16 -18
- package/src/utility/runtime/ifTypeOf.ts +1 -5
- package/src/utility/runtime/index.ts +16 -20
- package/src/utility/state/index.ts +16 -18
- package/tests/data/index.ts +9 -14
- package/tests/kv/dict-to-kv-and-back.spec.ts +6 -2
- package/src/errors/InferenceError.ts +0 -3
- package/src/errors/index.ts +0 -37
package/src/shared/index.ts
CHANGED
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
// #autoindex: orphan
|
|
2
2
|
|
|
3
3
|
// #region autoindexed files
|
|
4
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
5
|
+
// hash-code: 1491784011
|
|
4
6
|
|
|
5
|
-
//
|
|
6
|
-
// export: named; exclusions: index, private.
|
|
7
|
-
// files: randomString, uuid, valueTypes.
|
|
8
|
-
|
|
9
|
-
// local file exports
|
|
7
|
+
// file exports
|
|
10
8
|
export * from "./randomString";
|
|
11
9
|
export * from "./uuid";
|
|
12
10
|
export * from "./valueTypes";
|
|
13
11
|
|
|
14
|
-
//
|
|
15
|
-
|
|
16
|
-
// This file was created by running: "dd
|
|
17
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
12
|
+
// #endregion
|
|
13
|
+
|
|
14
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
15
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
18
16
|
//
|
|
19
17
|
// By default it assumes that exports are named exports but this can be changed by
|
|
20
18
|
// adding a modifier to the '// #autoindex' syntax:
|
|
21
19
|
//
|
|
22
20
|
// - autoindex:named same as default, exports "named symbols"
|
|
23
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
24
|
-
//
|
|
25
|
-
// file
|
|
21
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
22
|
+
// converts the default export to the name of the file
|
|
26
23
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
27
24
|
// file's symbols should be offset by the file's name
|
|
28
|
-
// (useful for files which might symbols which collide
|
|
29
|
-
// or where the namespacing helps consumers)
|
|
30
25
|
//
|
|
31
26
|
// You may also exclude certain files or directories by adding it to the
|
|
32
27
|
// autoindex command. As an example:
|
|
33
28
|
//
|
|
34
29
|
// - autoindex:named, exclude: foo,bar,baz
|
|
35
30
|
//
|
|
36
|
-
//
|
|
37
|
-
//
|
|
31
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
32
|
+
// below this file will not reference this autoindex file:
|
|
33
|
+
//
|
|
34
|
+
// - autoindex:named, orphan
|
|
35
|
+
//
|
|
36
|
+
// All content outside the "// #region" section in this file will be
|
|
37
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
38
38
|
// Keep on being awesome.
|
|
39
|
-
|
|
40
|
-
// #endregion
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
// #autoindex, exclude: Alpha
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 265264203
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: Alpha, index, private.
|
|
6
|
-
// files: AllCaps, CamelCase, CapFirstAlpha, CapitalizeWords, DashToSnake, DashUppercase, Dasherize, HasUppercase, IsCapitalized, KebabCase, LowerAllCaps, PascalCase, Pluralize, SnakeCase, alpha-characters.
|
|
7
|
-
|
|
8
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
9
7
|
export * from "./AllCaps";
|
|
10
8
|
export * from "./CamelCase";
|
|
11
|
-
export * from "./CapFirstAlpha";
|
|
12
9
|
export * from "./CapitalizeWords";
|
|
13
10
|
export * from "./DashToSnake";
|
|
14
11
|
export * from "./DashUppercase";
|
|
@@ -22,22 +19,19 @@ export * from "./Pluralize";
|
|
|
22
19
|
export * from "./SnakeCase";
|
|
23
20
|
export * from "./alpha-characters";
|
|
24
21
|
|
|
25
|
-
//
|
|
26
|
-
|
|
27
|
-
// This file was created by running: "dd
|
|
22
|
+
// #endregion
|
|
23
|
+
|
|
24
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
28
25
|
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
29
26
|
//
|
|
30
27
|
// By default it assumes that exports are named exports but this can be changed by
|
|
31
28
|
// adding a modifier to the '// #autoindex' syntax:
|
|
32
29
|
//
|
|
33
30
|
// - autoindex:named same as default, exports "named symbols"
|
|
34
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
35
|
-
//
|
|
36
|
-
// file
|
|
31
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
32
|
+
// converts the default export to the name of the file
|
|
37
33
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
38
34
|
// file's symbols should be offset by the file's name
|
|
39
|
-
// (useful for files which might symbols which collide
|
|
40
|
-
// or where the namespacing helps consumers)
|
|
41
35
|
//
|
|
42
36
|
// You may also exclude certain files or directories by adding it to the
|
|
43
37
|
// autoindex command. As an example:
|
|
@@ -49,8 +43,6 @@ export * from "./alpha-characters";
|
|
|
49
43
|
//
|
|
50
44
|
// - autoindex:named, orphan
|
|
51
45
|
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
46
|
+
// All content outside the "// #region" section in this file will be
|
|
47
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
54
48
|
// Keep on being awesome.
|
|
55
|
-
|
|
56
|
-
// #endregion
|
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 1199590002
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: index, private.
|
|
6
|
-
// files: Get.
|
|
7
|
-
|
|
8
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
9
7
|
export * from "./Get";
|
|
10
8
|
|
|
11
|
-
//
|
|
12
|
-
|
|
13
|
-
// This file was created by running: "dd
|
|
14
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
9
|
+
// #endregion
|
|
10
|
+
|
|
11
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
12
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
15
13
|
//
|
|
16
14
|
// By default it assumes that exports are named exports but this can be changed by
|
|
17
15
|
// adding a modifier to the '// #autoindex' syntax:
|
|
18
16
|
//
|
|
19
17
|
// - autoindex:named same as default, exports "named symbols"
|
|
20
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
21
|
-
//
|
|
22
|
-
// file
|
|
18
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
19
|
+
// converts the default export to the name of the file
|
|
23
20
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
24
21
|
// file's symbols should be offset by the file's name
|
|
25
|
-
// (useful for files which might symbols which collide
|
|
26
|
-
// or where the namespacing helps consumers)
|
|
27
22
|
//
|
|
28
23
|
// You may also exclude certain files or directories by adding it to the
|
|
29
24
|
// autoindex command. As an example:
|
|
30
25
|
//
|
|
31
26
|
// - autoindex:named, exclude: foo,bar,baz
|
|
32
27
|
//
|
|
33
|
-
//
|
|
34
|
-
//
|
|
28
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
29
|
+
// below this file will not reference this autoindex file:
|
|
30
|
+
//
|
|
31
|
+
// - autoindex:named, orphan
|
|
32
|
+
//
|
|
33
|
+
// All content outside the "// #region" section in this file will be
|
|
34
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
35
35
|
// Keep on being awesome.
|
|
36
|
-
|
|
37
|
-
// #endregion
|
|
@@ -1,29 +1,24 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 3321613880
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: index, private.
|
|
6
|
-
// files: fluent.
|
|
7
|
-
|
|
8
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
9
7
|
export * from "./fluent";
|
|
10
8
|
|
|
11
|
-
//
|
|
12
|
-
|
|
13
|
-
// This file was created by running: "dd
|
|
9
|
+
// #endregion
|
|
10
|
+
|
|
11
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
14
12
|
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
15
13
|
//
|
|
16
14
|
// By default it assumes that exports are named exports but this can be changed by
|
|
17
15
|
// adding a modifier to the '// #autoindex' syntax:
|
|
18
16
|
//
|
|
19
17
|
// - autoindex:named same as default, exports "named symbols"
|
|
20
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
21
|
-
//
|
|
22
|
-
// file
|
|
18
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
19
|
+
// converts the default export to the name of the file
|
|
23
20
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
24
21
|
// file's symbols should be offset by the file's name
|
|
25
|
-
// (useful for files which might symbols which collide
|
|
26
|
-
// or where the namespacing helps consumers)
|
|
27
22
|
//
|
|
28
23
|
// You may also exclude certain files or directories by adding it to the
|
|
29
24
|
// autoindex command. As an example:
|
|
@@ -35,8 +30,6 @@ export * from "./fluent";
|
|
|
35
30
|
//
|
|
36
31
|
// - autoindex:named, orphan
|
|
37
32
|
//
|
|
38
|
-
//
|
|
39
|
-
//
|
|
33
|
+
// All content outside the "// #region" section in this file will be
|
|
34
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
40
35
|
// Keep on being awesome.
|
|
41
|
-
|
|
42
|
-
// #endregion
|
package/src/types/index.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 2121148832
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: index, private.
|
|
6
|
-
// files: Api, Constructor, EnumValues, ExpandRecursively, First, FunctionType, If, Include, Includes, KeyedRecord, Keys, Length, Mutable, Narrowable, Not, Numeric, Opaque, Retain, Transformer, TypeGuard, Where, append-types, maybe, props, ruleset-types, runtime, type-testing.
|
|
7
|
-
// directories: alphabetic, dictionary, fluent, kv, lists, string-literals, tuples, type-conversion.
|
|
8
|
-
|
|
9
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
10
7
|
export * from "./Api";
|
|
11
8
|
export * from "./Constructor";
|
|
12
9
|
export * from "./EnumValues";
|
|
@@ -34,7 +31,6 @@ export * from "./props";
|
|
|
34
31
|
export * from "./ruleset-types";
|
|
35
32
|
export * from "./runtime";
|
|
36
33
|
export * from "./type-testing";
|
|
37
|
-
|
|
38
34
|
// directory exports
|
|
39
35
|
export * from "./alphabetic/index";
|
|
40
36
|
export * from "./dictionary/index";
|
|
@@ -45,22 +41,19 @@ export * from "./string-literals/index";
|
|
|
45
41
|
export * from "./tuples/index";
|
|
46
42
|
export * from "./type-conversion/index";
|
|
47
43
|
|
|
48
|
-
//
|
|
49
|
-
|
|
50
|
-
// This file was created by running: "dd
|
|
44
|
+
// #endregion
|
|
45
|
+
|
|
46
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
51
47
|
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
52
48
|
//
|
|
53
49
|
// By default it assumes that exports are named exports but this can be changed by
|
|
54
50
|
// adding a modifier to the '// #autoindex' syntax:
|
|
55
51
|
//
|
|
56
52
|
// - autoindex:named same as default, exports "named symbols"
|
|
57
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
58
|
-
//
|
|
59
|
-
// file
|
|
53
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
54
|
+
// converts the default export to the name of the file
|
|
60
55
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
61
56
|
// file's symbols should be offset by the file's name
|
|
62
|
-
// (useful for files which might symbols which collide
|
|
63
|
-
// or where the namespacing helps consumers)
|
|
64
57
|
//
|
|
65
58
|
// You may also exclude certain files or directories by adding it to the
|
|
66
59
|
// autoindex command. As an example:
|
|
@@ -72,8 +65,6 @@ export * from "./type-conversion/index";
|
|
|
72
65
|
//
|
|
73
66
|
// - autoindex:named, orphan
|
|
74
67
|
//
|
|
75
|
-
//
|
|
76
|
-
//
|
|
68
|
+
// All content outside the "// #region" section in this file will be
|
|
69
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
77
70
|
// Keep on being awesome.
|
|
78
|
-
|
|
79
|
-
// #endregion
|
package/src/types/kv/index.ts
CHANGED
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 2882639582
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: index, private.
|
|
6
|
-
// files: DictFromKv, KeyValue, KvFrom, KvTuple.
|
|
7
|
-
|
|
8
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
9
7
|
export * from "./DictFromKv";
|
|
10
8
|
export * from "./KeyValue";
|
|
11
9
|
export * from "./KvFrom";
|
|
12
10
|
export * from "./KvTuple";
|
|
13
11
|
|
|
14
|
-
//
|
|
15
|
-
|
|
16
|
-
// This file was created by running: "dd
|
|
17
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
12
|
+
// #endregion
|
|
13
|
+
|
|
14
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
15
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
18
16
|
//
|
|
19
17
|
// By default it assumes that exports are named exports but this can be changed by
|
|
20
18
|
// adding a modifier to the '// #autoindex' syntax:
|
|
21
19
|
//
|
|
22
20
|
// - autoindex:named same as default, exports "named symbols"
|
|
23
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
24
|
-
//
|
|
25
|
-
// file
|
|
21
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
22
|
+
// converts the default export to the name of the file
|
|
26
23
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
27
24
|
// file's symbols should be offset by the file's name
|
|
28
|
-
// (useful for files which might symbols which collide
|
|
29
|
-
// or where the namespacing helps consumers)
|
|
30
25
|
//
|
|
31
26
|
// You may also exclude certain files or directories by adding it to the
|
|
32
27
|
// autoindex command. As an example:
|
|
33
28
|
//
|
|
34
29
|
// - autoindex:named, exclude: foo,bar,baz
|
|
35
30
|
//
|
|
36
|
-
//
|
|
37
|
-
//
|
|
31
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
32
|
+
// below this file will not reference this autoindex file:
|
|
33
|
+
//
|
|
34
|
+
// - autoindex:named, orphan
|
|
35
|
+
//
|
|
36
|
+
// All content outside the "// #region" section in this file will be
|
|
37
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
38
38
|
// Keep on being awesome.
|
|
39
|
-
|
|
40
|
-
// #endregion
|
package/src/types/lists/index.ts
CHANGED
|
@@ -1,38 +1,36 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
|
|
3
3
|
// #region autoindexed files
|
|
4
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
5
|
+
// hash-code: 1638858978
|
|
4
6
|
|
|
5
|
-
//
|
|
6
|
-
// export: named; exclusions: index, private.
|
|
7
|
-
// files: UniqueForProp.
|
|
8
|
-
|
|
9
|
-
// local file exports
|
|
7
|
+
// file exports
|
|
10
8
|
export * from "./UniqueForProp";
|
|
11
9
|
|
|
12
|
-
//
|
|
13
|
-
|
|
14
|
-
// This file was created by running: "dd
|
|
15
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
10
|
+
// #endregion
|
|
11
|
+
|
|
12
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
13
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
16
14
|
//
|
|
17
15
|
// By default it assumes that exports are named exports but this can be changed by
|
|
18
16
|
// adding a modifier to the '// #autoindex' syntax:
|
|
19
17
|
//
|
|
20
18
|
// - autoindex:named same as default, exports "named symbols"
|
|
21
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
22
|
-
//
|
|
23
|
-
// file
|
|
19
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
20
|
+
// converts the default export to the name of the file
|
|
24
21
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
25
22
|
// file's symbols should be offset by the file's name
|
|
26
|
-
// (useful for files which might symbols which collide
|
|
27
|
-
// or where the namespacing helps consumers)
|
|
28
23
|
//
|
|
29
24
|
// You may also exclude certain files or directories by adding it to the
|
|
30
25
|
// autoindex command. As an example:
|
|
31
26
|
//
|
|
32
27
|
// - autoindex:named, exclude: foo,bar,baz
|
|
33
28
|
//
|
|
34
|
-
//
|
|
35
|
-
//
|
|
29
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
30
|
+
// below this file will not reference this autoindex file:
|
|
31
|
+
//
|
|
32
|
+
// - autoindex:named, orphan
|
|
33
|
+
//
|
|
34
|
+
// All content outside the "// #region" section in this file will be
|
|
35
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
36
36
|
// Keep on being awesome.
|
|
37
|
-
|
|
38
|
-
// #endregion
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 2819423703
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: index, private.
|
|
6
|
-
// files: Break, Concat, LeftWhitespace, Replace, RightWhitespace, StringLength, Trim, TrimLeft, TrimRight, form-fields.
|
|
7
|
-
|
|
8
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
9
7
|
export * from "./Break";
|
|
10
8
|
export * from "./Concat";
|
|
11
9
|
export * from "./LeftWhitespace";
|
|
@@ -17,30 +15,30 @@ export * from "./TrimLeft";
|
|
|
17
15
|
export * from "./TrimRight";
|
|
18
16
|
export * from "./form-fields";
|
|
19
17
|
|
|
20
|
-
//
|
|
21
|
-
|
|
22
|
-
// This file was created by running: "dd
|
|
23
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
18
|
+
// #endregion
|
|
19
|
+
|
|
20
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
21
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
24
22
|
//
|
|
25
23
|
// By default it assumes that exports are named exports but this can be changed by
|
|
26
24
|
// adding a modifier to the '// #autoindex' syntax:
|
|
27
25
|
//
|
|
28
26
|
// - autoindex:named same as default, exports "named symbols"
|
|
29
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
30
|
-
//
|
|
31
|
-
// file
|
|
27
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
28
|
+
// converts the default export to the name of the file
|
|
32
29
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
33
30
|
// file's symbols should be offset by the file's name
|
|
34
|
-
// (useful for files which might symbols which collide
|
|
35
|
-
// or where the namespacing helps consumers)
|
|
36
31
|
//
|
|
37
32
|
// You may also exclude certain files or directories by adding it to the
|
|
38
33
|
// autoindex command. As an example:
|
|
39
34
|
//
|
|
40
35
|
// - autoindex:named, exclude: foo,bar,baz
|
|
41
36
|
//
|
|
42
|
-
//
|
|
43
|
-
//
|
|
37
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
38
|
+
// below this file will not reference this autoindex file:
|
|
39
|
+
//
|
|
40
|
+
// - autoindex:named, orphan
|
|
41
|
+
//
|
|
42
|
+
// All content outside the "// #region" section in this file will be
|
|
43
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
44
44
|
// Keep on being awesome.
|
|
45
|
-
|
|
46
|
-
// #endregion
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 934853479
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: index, private.
|
|
6
|
-
// files: DictArray, FirstKey, FirstKeyValue, FirstOfEach, FromDictArray, SecondOfEach.
|
|
7
|
-
|
|
8
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
9
7
|
export * from "./DictArray";
|
|
10
8
|
export * from "./FirstKey";
|
|
11
9
|
export * from "./FirstKeyValue";
|
|
@@ -13,30 +11,30 @@ export * from "./FirstOfEach";
|
|
|
13
11
|
export * from "./FromDictArray";
|
|
14
12
|
export * from "./SecondOfEach";
|
|
15
13
|
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
// This file was created by running: "dd
|
|
19
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
14
|
+
// #endregion
|
|
15
|
+
|
|
16
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
17
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
20
18
|
//
|
|
21
19
|
// By default it assumes that exports are named exports but this can be changed by
|
|
22
20
|
// adding a modifier to the '// #autoindex' syntax:
|
|
23
21
|
//
|
|
24
22
|
// - autoindex:named same as default, exports "named symbols"
|
|
25
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
26
|
-
//
|
|
27
|
-
// file
|
|
23
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
24
|
+
// converts the default export to the name of the file
|
|
28
25
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
29
26
|
// file's symbols should be offset by the file's name
|
|
30
|
-
// (useful for files which might symbols which collide
|
|
31
|
-
// or where the namespacing helps consumers)
|
|
32
27
|
//
|
|
33
28
|
// You may also exclude certain files or directories by adding it to the
|
|
34
29
|
// autoindex command. As an example:
|
|
35
30
|
//
|
|
36
31
|
// - autoindex:named, exclude: foo,bar,baz
|
|
37
32
|
//
|
|
38
|
-
//
|
|
39
|
-
//
|
|
33
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
34
|
+
// below this file will not reference this autoindex file:
|
|
35
|
+
//
|
|
36
|
+
// - autoindex:named, orphan
|
|
37
|
+
//
|
|
38
|
+
// All content outside the "// #region" section in this file will be
|
|
39
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
40
40
|
// Keep on being awesome.
|
|
41
|
-
|
|
42
|
-
// #endregion
|
|
@@ -1,34 +1,29 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
|
|
3
3
|
// #region autoindexed files
|
|
4
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
5
|
+
// hash-code: 1015918361
|
|
4
6
|
|
|
5
|
-
//
|
|
6
|
-
// export: named; exclusions: index, private.
|
|
7
|
-
// files: SameKeys, TupleToUnion, UnionToIntersection, UnionToTuple, WrapValue.
|
|
8
|
-
|
|
9
|
-
// local file exports
|
|
7
|
+
// file exports
|
|
10
8
|
export * from "./SameKeys";
|
|
11
9
|
export * from "./TupleToUnion";
|
|
12
10
|
export * from "./UnionToIntersection";
|
|
13
11
|
export * from "./UnionToTuple";
|
|
14
12
|
export * from "./WrapValue";
|
|
15
13
|
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
// This file was created by running: "dd
|
|
14
|
+
// #endregion
|
|
15
|
+
|
|
16
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
19
17
|
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
20
18
|
//
|
|
21
19
|
// By default it assumes that exports are named exports but this can be changed by
|
|
22
20
|
// adding a modifier to the '// #autoindex' syntax:
|
|
23
21
|
//
|
|
24
22
|
// - autoindex:named same as default, exports "named symbols"
|
|
25
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
26
|
-
//
|
|
27
|
-
// file
|
|
23
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
24
|
+
// converts the default export to the name of the file
|
|
28
25
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
29
26
|
// file's symbols should be offset by the file's name
|
|
30
|
-
// (useful for files which might symbols which collide
|
|
31
|
-
// or where the namespacing helps consumers)
|
|
32
27
|
//
|
|
33
28
|
// You may also exclude certain files or directories by adding it to the
|
|
34
29
|
// autoindex command. As an example:
|
|
@@ -40,8 +35,6 @@ export * from "./WrapValue";
|
|
|
40
35
|
//
|
|
41
36
|
// - autoindex:named, orphan
|
|
42
37
|
//
|
|
43
|
-
//
|
|
44
|
-
//
|
|
38
|
+
// All content outside the "// #region" section in this file will be
|
|
39
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
45
40
|
// Keep on being awesome.
|
|
46
|
-
|
|
47
|
-
// #endregion
|
package/src/utility/api/index.ts
CHANGED
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
// #region autoindexed files
|
|
3
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
4
|
+
// hash-code: 3537087800
|
|
3
5
|
|
|
4
|
-
//
|
|
5
|
-
// export: named; exclusions: index, private.
|
|
6
|
-
// files: api.
|
|
7
|
-
|
|
8
|
-
// local file exports
|
|
6
|
+
// file exports
|
|
9
7
|
export * from "./api";
|
|
10
8
|
|
|
11
|
-
//
|
|
12
|
-
|
|
13
|
-
// This file was created by running: "dd
|
|
14
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
9
|
+
// #endregion
|
|
10
|
+
|
|
11
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
12
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
15
13
|
//
|
|
16
14
|
// By default it assumes that exports are named exports but this can be changed by
|
|
17
15
|
// adding a modifier to the '// #autoindex' syntax:
|
|
18
16
|
//
|
|
19
17
|
// - autoindex:named same as default, exports "named symbols"
|
|
20
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
21
|
-
//
|
|
22
|
-
// file
|
|
18
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
19
|
+
// converts the default export to the name of the file
|
|
23
20
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
24
21
|
// file's symbols should be offset by the file's name
|
|
25
|
-
// (useful for files which might symbols which collide
|
|
26
|
-
// or where the namespacing helps consumers)
|
|
27
22
|
//
|
|
28
23
|
// You may also exclude certain files or directories by adding it to the
|
|
29
24
|
// autoindex command. As an example:
|
|
30
25
|
//
|
|
31
26
|
// - autoindex:named, exclude: foo,bar,baz
|
|
32
27
|
//
|
|
33
|
-
//
|
|
34
|
-
//
|
|
28
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
29
|
+
// below this file will not reference this autoindex file:
|
|
30
|
+
//
|
|
31
|
+
// - autoindex:named, orphan
|
|
32
|
+
//
|
|
33
|
+
// All content outside the "// #region" section in this file will be
|
|
34
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
35
35
|
// Keep on being awesome.
|
|
36
|
-
|
|
37
|
-
// #endregion
|