inferred-types 0.18.0 → 0.18.4

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.
Files changed (40) hide show
  1. package/dist/index.d.ts +41 -35
  2. package/dist/index.js +50 -28
  3. package/dist/index.mjs +37 -16
  4. package/on-hold/Builder/index.ts +15 -21
  5. package/on-hold/types/index.ts +15 -20
  6. package/package.json +17 -21
  7. package/pnpm-lock.yaml +1264 -2929
  8. package/src/Mutation/index.ts +16 -18
  9. package/src/index.ts +15 -19
  10. package/src/shared/index.ts +16 -18
  11. package/src/types/Where.ts +19 -15
  12. package/src/types/alphabetic/index.ts +10 -18
  13. package/src/types/dictionary/index.ts +16 -18
  14. package/src/types/fluent/index.ts +10 -17
  15. package/src/types/index.ts +10 -19
  16. package/src/types/kv/index.ts +16 -18
  17. package/src/types/lists/index.ts +16 -18
  18. package/src/types/string-literals/index.ts +16 -18
  19. package/src/types/tuples/index.ts +16 -18
  20. package/src/types/type-conversion/index.ts +10 -17
  21. package/src/utility/api/index.ts +16 -18
  22. package/src/utility/dictionary/index.ts +16 -21
  23. package/src/utility/dictionary/kv/index.ts +16 -18
  24. package/src/utility/index.ts +16 -20
  25. package/src/utility/lists/index.ts +16 -18
  26. package/src/utility/literals/index.ts +16 -18
  27. package/src/utility/map-reduce/index.ts +16 -18
  28. package/src/utility/modelling/index.ts +16 -18
  29. package/src/utility/runtime/conditions/index.ts +16 -18
  30. package/src/utility/runtime/ifTypeOf.ts +1 -5
  31. package/src/utility/runtime/index.ts +16 -20
  32. package/src/utility/state/Configurator.ts +12 -3
  33. package/src/utility/state/index.ts +16 -18
  34. package/tests/data/index.ts +9 -14
  35. package/tests/kv/dict-to-kv-and-back.spec.ts +24 -18
  36. package/.tsbuildinfo +0 -1
  37. package/src/errors/InferenceError.ts +0 -3
  38. package/src/errors/index.ts +0 -37
  39. package/src/utility/dictionary/dictFilter.ts +0 -19
  40. package/tests/kv/dictFilter.ts +0 -8
@@ -1,11 +1,9 @@
1
1
  // #autoindex
2
2
  // #region autoindexed files
3
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
4
+ // hash-code: 37b8bb67
3
5
 
4
- // index last changed at: 8th Aug, 2021, 04:22 PM ( GMT-7 )
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
- // Note:
17
- // -----
18
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the defined region in this file
39
- // will be preserved in situations where you need to do something paricularly awesome.
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: 1st Jan, 2022, 03:27 PM ( GMT-8 )
5
+ // hash-code: 3c8daf19
4
6
 
5
- // index last changed at: 10th Oct, 2021, 08:32 PM ( GMT-7 )
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
- // Note:
17
- // -----
18
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the "// #region" section in this file
44
- // will be preserved in situations where you need to do something paricularly awesome.
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
@@ -1,37 +1,35 @@
1
1
  // #autoindex
2
2
  // #region autoindexed files
3
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
4
+ // hash-code: d2d3ad38
3
5
 
4
- // index last changed at: 6th Jun, 2021, 06:00 PM ( GMT-7 )
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
- // Note:
12
- // -----
13
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the defined region in this file
34
- // will be preserved in situations where you need to do something paricularly awesome.
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,47 +1,42 @@
1
1
  // #autoindex
2
2
  // #region autoindexed files
3
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
4
+ // hash-code: c3587066
3
5
 
4
- // index last changed at: 7th Jul, 2021, 08:06 AM ( GMT-7 )
5
- // export: named; exclusions: index, private.
6
- // files: arrayToKeyLookup, dictFilter, dictionaryTransform, entries, mapValues, strArrayToDict, valuesOfProp.
7
- // directories: kv.
8
-
9
- // local file exports
6
+ // file exports
10
7
  export * from "./arrayToKeyLookup";
11
- export * from "./dictFilter";
12
8
  export * from "./dictionaryTransform";
13
9
  export * from "./entries";
14
10
  export * from "./mapValues";
15
11
  export * from "./strArrayToDict";
16
12
  export * from "./valuesOfProp";
17
-
18
13
  // directory exports
19
14
  export * from "./kv/index";
20
15
 
21
- // Note:
22
- // -----
23
- // This file was created by running: "dd devops autoindex"; it assumes you have
24
- // the 'do-devops' pkg installed as a dev dep.
16
+ // #endregion
17
+
18
+ // This file was created by running: "dd autoindex"; it assumes you have
19
+ // the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
25
20
  //
26
21
  // By default it assumes that exports are named exports but this can be changed by
27
22
  // adding a modifier to the '// #autoindex' syntax:
28
23
  //
29
24
  // - autoindex:named same as default, exports "named symbols"
30
- // - autoindex:default assumes each file is exporting a default export
31
- // and converts the default export to the name of the
32
- // file
25
+ // - autoindex:default assumes each file is exporting a default export and
26
+ // converts the default export to the name of the file
33
27
  // - autoindex:offset assumes files export "named symbols" but that each
34
28
  // file's symbols should be offset by the file's name
35
- // (useful for files which might symbols which collide
36
- // or where the namespacing helps consumers)
37
29
  //
38
30
  // You may also exclude certain files or directories by adding it to the
39
31
  // autoindex command. As an example:
40
32
  //
41
33
  // - autoindex:named, exclude: foo,bar,baz
42
34
  //
43
- // Also be aware that all of your content outside the defined region in this file
44
- // will be preserved in situations where you need to do something paricularly awesome.
35
+ // Inversely, if you state a file to be an "orphan" then autoindex files
36
+ // below this file will not reference this autoindex file:
37
+ //
38
+ // - autoindex:named, orphan
39
+ //
40
+ // All content outside the "// #region" section in this file will be
41
+ // preserved in situations where you need to do something paricularly awesome.
45
42
  // Keep on being awesome.
46
-
47
- // #endregion
@@ -1,40 +1,38 @@
1
1
  // #autoindex
2
2
  // #region autoindexed files
3
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
4
+ // hash-code: e1ea6f41
3
5
 
4
- // index last changed at: 8th Aug, 2021, 05:39 PM ( GMT-7 )
5
- // export: named; exclusions: index, private.
6
- // files: dictToKv, filterDictArray, kv, kvToDict.
7
-
8
- // local file exports
6
+ // file exports
9
7
  export * from "./dictToKv";
10
8
  export * from "./filterDictArray";
11
9
  export * from "./kv";
12
10
  export * from "./kvToDict";
13
11
 
14
- // Note:
15
- // -----
16
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the defined region in this file
37
- // will be preserved in situations where you need to do something paricularly awesome.
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,17 +1,13 @@
1
1
  // #autoindex
2
2
 
3
3
  // #region autoindexed files
4
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
5
+ // hash-code: 6886d37a
4
6
 
5
- // index last changed at: 8th Aug, 2021, 10:32 AM ( GMT-7 )
6
- // export: named; exclusions: index, private.
7
- // files: createFnWithProps, keys, ruleset.
8
- // directories: api, dictionary, lists, literals, map-reduce, modelling, runtime, state.
9
-
10
- // local file exports
7
+ // file exports
11
8
  export * from "./createFnWithProps";
12
9
  export * from "./keys";
13
10
  export * from "./ruleset";
14
-
15
11
  // directory exports
16
12
  export * from "./api/index";
17
13
  export * from "./dictionary/index";
@@ -22,30 +18,30 @@ export * from "./modelling/index";
22
18
  export * from "./runtime/index";
23
19
  export * from "./state/index";
24
20
 
25
- // Note:
26
- // -----
27
- // This file was created by running: "dd devops autoindex"; it assumes you have
28
- // the 'do-devops' pkg installed as a dev dep.
21
+ // #endregion
22
+
23
+ // This file was created by running: "dd autoindex"; it assumes you have
24
+ // the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
29
25
  //
30
26
  // By default it assumes that exports are named exports but this can be changed by
31
27
  // adding a modifier to the '// #autoindex' syntax:
32
28
  //
33
29
  // - autoindex:named same as default, exports "named symbols"
34
- // - autoindex:default assumes each file is exporting a default export
35
- // and converts the default export to the name of the
36
- // file
30
+ // - autoindex:default assumes each file is exporting a default export and
31
+ // converts the default export to the name of the file
37
32
  // - autoindex:offset assumes files export "named symbols" but that each
38
33
  // 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
34
  //
42
35
  // You may also exclude certain files or directories by adding it to the
43
36
  // autoindex command. As an example:
44
37
  //
45
38
  // - autoindex:named, exclude: foo,bar,baz
46
39
  //
47
- // Also be aware that all of your content outside the defined region in this file
48
- // will be preserved in situations where you need to do something paricularly awesome.
40
+ // Inversely, if you state a file to be an "orphan" then autoindex files
41
+ // below this file will not reference this autoindex file:
42
+ //
43
+ // - autoindex:named, orphan
44
+ //
45
+ // All content outside the "// #region" section in this file will be
46
+ // preserved in situations where you need to do something paricularly awesome.
49
47
  // Keep on being awesome.
50
-
51
- // #endregion
@@ -1,38 +1,36 @@
1
1
  // #autoindex
2
2
 
3
3
  // #region autoindexed files
4
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
5
+ // hash-code: 150c313
4
6
 
5
- // index last changed at: 8th Aug, 2021, 10:32 AM ( GMT-7 )
6
- // export: named; exclusions: index, private.
7
- // files: groupBy.
8
-
9
- // local file exports
7
+ // file exports
10
8
  export * from "./groupBy";
11
9
 
12
- // Note:
13
- // -----
14
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the defined region in this file
35
- // will be preserved in situations where you need to do something paricularly awesome.
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,41 +1,39 @@
1
1
  // #autoindex
2
2
  // #region autoindexed files
3
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
4
+ // hash-code: b7a5f43
3
5
 
4
- // index last changed at: 6th Jun, 2021, 11:21 PM ( GMT-7 )
5
- // export: named; exclusions: index, private.
6
- // files: ExplicitFunction, arrayToObject, defineType, identity, literal.
7
-
8
- // local file exports
6
+ // file exports
9
7
  export * from "./ExplicitFunction";
10
8
  export * from "./arrayToObject";
11
9
  export * from "./defineType";
12
10
  export * from "./identity";
13
11
  export * from "./literal";
14
12
 
15
- // Note:
16
- // -----
17
- // This file was created by running: "dd devops autoindex"; it assumes you have
18
- // the 'do-devops' pkg installed as a dev dep.
13
+ // #endregion
14
+
15
+ // This file was created by running: "dd autoindex"; it assumes you have
16
+ // the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
19
17
  //
20
18
  // By default it assumes that exports are named exports but this can be changed by
21
19
  // adding a modifier to the '// #autoindex' syntax:
22
20
  //
23
21
  // - autoindex:named same as default, exports "named symbols"
24
- // - autoindex:default assumes each file is exporting a default export
25
- // and converts the default export to the name of the
26
- // file
22
+ // - autoindex:default assumes each file is exporting a default export and
23
+ // converts the default export to the name of the file
27
24
  // - autoindex:offset assumes files export "named symbols" but that each
28
25
  // file's symbols should be offset by the file's name
29
- // (useful for files which might symbols which collide
30
- // or where the namespacing helps consumers)
31
26
  //
32
27
  // You may also exclude certain files or directories by adding it to the
33
28
  // autoindex command. As an example:
34
29
  //
35
30
  // - autoindex:named, exclude: foo,bar,baz
36
31
  //
37
- // Also be aware that all of your content outside the defined region in this file
38
- // will be preserved in situations where you need to do something paricularly awesome.
32
+ // Inversely, if you state a file to be an "orphan" then autoindex files
33
+ // below this file will not reference this autoindex file:
34
+ //
35
+ // - autoindex:named, orphan
36
+ //
37
+ // All content outside the "// #region" section in this file will be
38
+ // preserved in situations where you need to do something paricularly awesome.
39
39
  // Keep on being awesome.
40
-
41
- // #endregion
@@ -1,37 +1,35 @@
1
1
  // #autoindex
2
2
  // #region autoindexed files
3
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
4
+ // hash-code: 73454cdf
3
5
 
4
- // index last changed at: 6th Jun, 2021, 04:31 PM ( GMT-7 )
5
- // export: named; exclusions: index, private.
6
- // files: filter.
7
-
8
- // local file exports
6
+ // file exports
9
7
  export * from "./filter";
10
8
 
11
- // Note:
12
- // -----
13
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the defined region in this file
34
- // will be preserved in situations where you need to do something paricularly awesome.
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,37 +1,35 @@
1
1
  // #autoindex, exclude: IoModel
2
2
  // #region autoindexed files
3
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
4
+ // hash-code: 34d6be17
3
5
 
4
- // index last changed at: 7th Jul, 2021, 02:32 PM ( GMT-7 )
5
- // export: named; exclusions: IoModel, index, private.
6
- // files: Model.
7
-
8
- // local file exports
6
+ // file exports
9
7
  export * from "./Model";
10
8
 
11
- // Note:
12
- // -----
13
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the defined region in this file
34
- // will be preserved in situations where you need to do something paricularly awesome.
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,12 +1,10 @@
1
1
  // #autoindex
2
2
 
3
3
  // #region autoindexed files
4
+ // index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 )
5
+ // hash-code: a3788912
4
6
 
5
- // index last changed at: 8th Aug, 2021, 08:15 PM ( GMT-7 )
6
- // export: named; exclusions: index, private.
7
- // files: isArray, isBoolean, isFalse, isFunction, isLiteral, isNull, isNumber, isObject, isString, isSymbol, isTrue, isUndefined.
8
-
9
- // local file exports
7
+ // file exports
10
8
  export * from "./isArray";
11
9
  export * from "./isBoolean";
12
10
  export * from "./isFalse";
@@ -20,30 +18,30 @@ export * from "./isSymbol";
20
18
  export * from "./isTrue";
21
19
  export * from "./isUndefined";
22
20
 
23
- // Note:
24
- // -----
25
- // This file was created by running: "dd devops autoindex"; it assumes you have
26
- // the 'do-devops' pkg installed as a dev dep.
21
+ // #endregion
22
+
23
+ // This file was created by running: "dd autoindex"; it assumes you have
24
+ // the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
27
25
  //
28
26
  // By default it assumes that exports are named exports but this can be changed by
29
27
  // adding a modifier to the '// #autoindex' syntax:
30
28
  //
31
29
  // - autoindex:named same as default, exports "named symbols"
32
- // - autoindex:default assumes each file is exporting a default export
33
- // and converts the default export to the name of the
34
- // file
30
+ // - autoindex:default assumes each file is exporting a default export and
31
+ // converts the default export to the name of the file
35
32
  // - autoindex:offset assumes files export "named symbols" but that each
36
33
  // file's symbols should be offset by the file's name
37
- // (useful for files which might symbols which collide
38
- // or where the namespacing helps consumers)
39
34
  //
40
35
  // You may also exclude certain files or directories by adding it to the
41
36
  // autoindex command. As an example:
42
37
  //
43
38
  // - autoindex:named, exclude: foo,bar,baz
44
39
  //
45
- // Also be aware that all of your content outside the defined region in this file
46
- // will be preserved in situations where you need to do something paricularly awesome.
40
+ // Inversely, if you state a file to be an "orphan" then autoindex files
41
+ // below this file will not reference this autoindex file:
42
+ //
43
+ // - autoindex:named, orphan
44
+ //
45
+ // All content outside the "// #region" section in this file will be
46
+ // preserved in situations where you need to do something paricularly awesome.
47
47
  // Keep on being awesome.
48
-
49
- // #endregion