inferred-types 0.16.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.
Files changed (191) hide show
  1. package/.tsbuildinfo +1 -0
  2. package/dist/{types/utility/state/KeyStorage.d.ts → index.d.ts} +9780 -8195
  3. package/dist/index.js +687 -0
  4. package/dist/index.mjs +603 -0
  5. package/on-hold/Builder/index.ts +15 -21
  6. package/on-hold/types/index.ts +15 -20
  7. package/package.json +25 -36
  8. package/pnpm-lock.yaml +1680 -3233
  9. package/src/Mutation/index.ts +16 -18
  10. package/src/index.ts +15 -19
  11. package/src/shared/index.ts +16 -18
  12. package/src/types/Not.ts +3 -1
  13. package/src/types/Transformer.ts +1 -2
  14. package/src/types/Where.ts +36 -0
  15. package/src/types/alphabetic/PascalCase.ts +5 -4
  16. package/src/types/alphabetic/index.ts +16 -20
  17. package/src/types/dictionary/index.ts +16 -18
  18. package/src/types/{fluent.ts → fluent/fluent.ts} +8 -9
  19. package/src/types/fluent/index.ts +35 -0
  20. package/src/types/index.ts +18 -22
  21. package/src/types/kv/index.ts +16 -18
  22. package/src/types/lists/index.ts +16 -18
  23. package/src/types/ruleset-types.ts +1 -1
  24. package/src/types/string-literals/index.ts +16 -18
  25. package/src/types/tuples/index.ts +16 -18
  26. package/src/types/{SameKeys.ts → type-conversion/SameKeys.ts} +0 -0
  27. package/src/types/type-conversion/WrapValue.ts +15 -0
  28. package/src/types/type-conversion/index.ts +18 -18
  29. package/src/utility/api/index.ts +16 -18
  30. package/src/utility/dictionary/index.ts +16 -20
  31. package/src/utility/dictionary/kv/index.ts +16 -18
  32. package/src/utility/index.ts +16 -20
  33. package/src/utility/lists/index.ts +16 -18
  34. package/src/utility/literals/index.ts +16 -18
  35. package/src/utility/map-reduce/index.ts +16 -18
  36. package/src/utility/modelling/index.ts +16 -18
  37. package/src/utility/runtime/conditions/index.ts +16 -18
  38. package/src/utility/runtime/ifTypeOf.ts +1 -5
  39. package/src/utility/runtime/index.ts +16 -20
  40. package/src/utility/state/index.ts +16 -18
  41. package/tests/Where.spec.ts +39 -0
  42. package/tests/data/index.ts +9 -14
  43. package/tests/kv/dict-to-kv-and-back.spec.ts +6 -2
  44. package/tsconfig.json +4 -3
  45. package/dist/cjs/index.js +0 -1
  46. package/dist/es/index.js +0 -1
  47. package/dist/tsconfig.tsbuildinfo +0 -1
  48. package/dist/types/Mutation/MutationFunction.d.ts +0 -16
  49. package/dist/types/Mutation/MutationIdentity.d.ts +0 -30
  50. package/dist/types/Mutation/index.d.ts +0 -2
  51. package/dist/types/errors/InferenceError.d.ts +0 -1
  52. package/dist/types/errors/index.d.ts +0 -1
  53. package/dist/types/index.d.ts +0 -4
  54. package/dist/types/shared/index.d.ts +0 -3
  55. package/dist/types/shared/randomString.d.ts +0 -1
  56. package/dist/types/shared/uuid.d.ts +0 -1
  57. package/dist/types/shared/valueTypes.d.ts +0 -27
  58. package/dist/types/types/Api.d.ts +0 -10
  59. package/dist/types/types/Constructor.d.ts +0 -5
  60. package/dist/types/types/EnumValues.d.ts +0 -14
  61. package/dist/types/types/ExpandRecursively.d.ts +0 -3
  62. package/dist/types/types/First.d.ts +0 -4
  63. package/dist/types/types/FunctionType.d.ts +0 -9
  64. package/dist/types/types/If.d.ts +0 -10
  65. package/dist/types/types/Include.d.ts +0 -16
  66. package/dist/types/types/Includes.d.ts +0 -5
  67. package/dist/types/types/KeyedRecord.d.ts +0 -22
  68. package/dist/types/types/Keys.d.ts +0 -17
  69. package/dist/types/types/Length.d.ts +0 -8
  70. package/dist/types/types/Mutable.d.ts +0 -6
  71. package/dist/types/types/Narrowable.d.ts +0 -5
  72. package/dist/types/types/Not.d.ts +0 -11
  73. package/dist/types/types/Numeric.d.ts +0 -14
  74. package/dist/types/types/Opaque.d.ts +0 -12
  75. package/dist/types/types/Retain.d.ts +0 -16
  76. package/dist/types/types/SameKeys.d.ts +0 -11
  77. package/dist/types/types/Transformer.d.ts +0 -11
  78. package/dist/types/types/TypeGuard.d.ts +0 -7
  79. package/dist/types/types/alphabetic/AllCaps.d.ts +0 -12
  80. package/dist/types/types/alphabetic/CamelCase.d.ts +0 -2
  81. package/dist/types/types/alphabetic/CapFirstAlpha.d.ts +0 -13
  82. package/dist/types/types/alphabetic/CapitalizeWords.d.ts +0 -4
  83. package/dist/types/types/alphabetic/DashToSnake.d.ts +0 -1
  84. package/dist/types/types/alphabetic/DashUppercase.d.ts +0 -14
  85. package/dist/types/types/alphabetic/Dasherize.d.ts +0 -15
  86. package/dist/types/types/alphabetic/HasUppercase.d.ts +0 -13
  87. package/dist/types/types/alphabetic/Intrinsic.d.ts +0 -4
  88. package/dist/types/types/alphabetic/IsCapitalized.d.ts +0 -15
  89. package/dist/types/types/alphabetic/KebabCase.d.ts +0 -12
  90. package/dist/types/types/alphabetic/LowerAllCaps.d.ts +0 -4
  91. package/dist/types/types/alphabetic/PascalCase.d.ts +0 -16
  92. package/dist/types/types/alphabetic/Pluralize.d.ts +0 -36
  93. package/dist/types/types/alphabetic/SnakeCase.d.ts +0 -14
  94. package/dist/types/types/alphabetic/alpha-characters.d.ts +0 -36
  95. package/dist/types/types/alphabetic/index.d.ts +0 -16
  96. package/dist/types/types/append-types.d.ts +0 -9
  97. package/dist/types/types/dictionary/Get.d.ts +0 -7
  98. package/dist/types/types/dictionary/index.d.ts +0 -1
  99. package/dist/types/types/fluent.d.ts +0 -51
  100. package/dist/types/types/index.d.ts +0 -35
  101. package/dist/types/types/kv/DictFromKv.d.ts +0 -6
  102. package/dist/types/types/kv/KeyValue.d.ts +0 -11
  103. package/dist/types/types/kv/KvFrom.d.ts +0 -13
  104. package/dist/types/types/kv/KvTuple.d.ts +0 -14
  105. package/dist/types/types/kv/index.d.ts +0 -4
  106. package/dist/types/types/lists/UniqueForProp.d.ts +0 -14
  107. package/dist/types/types/lists/index.d.ts +0 -1
  108. package/dist/types/types/maybe.d.ts +0 -8
  109. package/dist/types/types/props.d.ts +0 -100
  110. package/dist/types/types/ruleset-types.d.ts +0 -59
  111. package/dist/types/types/runtime.d.ts +0 -33
  112. package/dist/types/types/string-literals/Break.d.ts +0 -12
  113. package/dist/types/types/string-literals/Concat.d.ts +0 -8
  114. package/dist/types/types/string-literals/LeftWhitespace.d.ts +0 -9
  115. package/dist/types/types/string-literals/Replace.d.ts +0 -11
  116. package/dist/types/types/string-literals/RightWhitespace.d.ts +0 -9
  117. package/dist/types/types/string-literals/StringLength.d.ts +0 -10
  118. package/dist/types/types/string-literals/Trim.d.ts +0 -11
  119. package/dist/types/types/string-literals/TrimLeft.d.ts +0 -11
  120. package/dist/types/types/string-literals/TrimRight.d.ts +0 -11
  121. package/dist/types/types/string-literals/form-fields.d.ts +0 -12
  122. package/dist/types/types/string-literals/index.d.ts +0 -10
  123. package/dist/types/types/tuples/DictArray.d.ts +0 -19
  124. package/dist/types/types/tuples/FirstKey.d.ts +0 -8
  125. package/dist/types/types/tuples/FirstKeyValue.d.ts +0 -8
  126. package/dist/types/types/tuples/FirstOfEach.d.ts +0 -11
  127. package/dist/types/types/tuples/FromDictArray.d.ts +0 -10
  128. package/dist/types/types/tuples/SecondOfEach.d.ts +0 -10
  129. package/dist/types/types/tuples/index.d.ts +0 -6
  130. package/dist/types/types/type-conversion/TupleToUnion.d.ts +0 -10
  131. package/dist/types/types/type-conversion/UnionToIntersection.d.ts +0 -5
  132. package/dist/types/types/type-conversion/UnionToTuple.d.ts +0 -9
  133. package/dist/types/types/type-conversion/index.d.ts +0 -3
  134. package/dist/types/types/type-testing.d.ts +0 -13
  135. package/dist/types/utility/api/api.d.ts +0 -2
  136. package/dist/types/utility/api/index.d.ts +0 -1
  137. package/dist/types/utility/createFnWithProps.d.ts +0 -1
  138. package/dist/types/utility/dictionary/arrayToKeyLookup.d.ts +0 -9
  139. package/dist/types/utility/dictionary/dictFilter.d.ts +0 -8
  140. package/dist/types/utility/dictionary/dictionaryTransform.d.ts +0 -9
  141. package/dist/types/utility/dictionary/entries.d.ts +0 -17
  142. package/dist/types/utility/dictionary/index.d.ts +0 -8
  143. package/dist/types/utility/dictionary/kv/dictToKv.d.ts +0 -16
  144. package/dist/types/utility/dictionary/kv/filterDictArray.d.ts +0 -9
  145. package/dist/types/utility/dictionary/kv/index.d.ts +0 -4
  146. package/dist/types/utility/dictionary/kv/kv.d.ts +0 -10
  147. package/dist/types/utility/dictionary/kv/kvToDict.d.ts +0 -15
  148. package/dist/types/utility/dictionary/mapValues.d.ts +0 -13
  149. package/dist/types/utility/dictionary/strArrayToDict.d.ts +0 -6
  150. package/dist/types/utility/dictionary/valuesOfProp.d.ts +0 -1
  151. package/dist/types/utility/index.d.ts +0 -11
  152. package/dist/types/utility/keys.d.ts +0 -5
  153. package/dist/types/utility/lists/groupBy.d.ts +0 -12
  154. package/dist/types/utility/lists/index.d.ts +0 -1
  155. package/dist/types/utility/literals/ExplicitFunction.d.ts +0 -6
  156. package/dist/types/utility/literals/arrayToObject.d.ts +0 -41
  157. package/dist/types/utility/literals/defineType.d.ts +0 -8
  158. package/dist/types/utility/literals/identity.d.ts +0 -6
  159. package/dist/types/utility/literals/index.d.ts +0 -5
  160. package/dist/types/utility/literals/literal.d.ts +0 -41
  161. package/dist/types/utility/map-reduce/filter.d.ts +0 -26
  162. package/dist/types/utility/map-reduce/index.d.ts +0 -1
  163. package/dist/types/utility/modelling/Model.d.ts +0 -22
  164. package/dist/types/utility/modelling/index.d.ts +0 -1
  165. package/dist/types/utility/ruleset.d.ts +0 -18
  166. package/dist/types/utility/runtime/condition.d.ts +0 -3
  167. package/dist/types/utility/runtime/conditions/index.d.ts +0 -12
  168. package/dist/types/utility/runtime/conditions/isArray.d.ts +0 -2
  169. package/dist/types/utility/runtime/conditions/isBoolean.d.ts +0 -5
  170. package/dist/types/utility/runtime/conditions/isFalse.d.ts +0 -4
  171. package/dist/types/utility/runtime/conditions/isFunction.d.ts +0 -15
  172. package/dist/types/utility/runtime/conditions/isLiteral.d.ts +0 -2
  173. package/dist/types/utility/runtime/conditions/isNull.d.ts +0 -1
  174. package/dist/types/utility/runtime/conditions/isNumber.d.ts +0 -1
  175. package/dist/types/utility/runtime/conditions/isObject.d.ts +0 -10
  176. package/dist/types/utility/runtime/conditions/isString.d.ts +0 -2
  177. package/dist/types/utility/runtime/conditions/isSymbol.d.ts +0 -1
  178. package/dist/types/utility/runtime/conditions/isTrue.d.ts +0 -20
  179. package/dist/types/utility/runtime/conditions/isUndefined.d.ts +0 -1
  180. package/dist/types/utility/runtime/ifTypeOf.d.ts +0 -23
  181. package/dist/types/utility/runtime/index.d.ts +0 -5
  182. package/dist/types/utility/runtime/type.d.ts +0 -27
  183. package/dist/types/utility/runtime/withValue.d.ts +0 -19
  184. package/dist/types/utility/state/Configurator.d.ts +0 -36
  185. package/dist/types/utility/state/FluentConfigurator.d.ts +0 -27
  186. package/dist/types/utility/state/index.d.ts +0 -3
  187. package/src/errors/InferenceError.ts +0 -3
  188. package/src/errors/index.ts +0 -37
  189. package/src/types/alphabetic/Intrinsic.ts +0 -6
  190. package/tests/FluentApi-spec.ts +0 -90
  191. package/tests/FluentConfigurator-spec.hold +0 -88
@@ -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
- // index last changed at: 8th Aug, 2021, 05:44 PM ( GMT-7 )
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
- // 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,6 +1,6 @@
1
1
  import type { TypeCondition } from "~/utility/runtime/ifTypeOf";
2
2
  import { OptionalKeys } from "./props";
3
- import { SameKeys } from "./SameKeys";
3
+ import { SameKeys } from "./type-conversion/SameKeys";
4
4
 
5
5
  /**
6
6
  * **RuleDefinition**
@@ -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
- // index last changed at: 7th Jul, 2021, 02:55 PM ( GMT-7 )
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
- // Note:
21
- // -----
22
- // This file was created by running: "dd devops autoindex"; it assumes you have
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
- // and converts the default export to the name of the
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
- // Also be aware that all of your content outside the defined region in this file
43
- // will be preserved in situations where you need to do something paricularly awesome.
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
- // 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
@@ -0,0 +1,15 @@
1
+ type ValueFunction<T extends any> = <R extends any>(v: T) => R;
2
+
3
+ /**
4
+ * **SameKeys**
5
+ *
6
+ * Given a dictionary `T` and a type-strong wrapper function `F`, returns a dictionary with the
7
+ * same keys but
8
+ *
9
+ * Note: meant to be used as part of an _extends_ clause in most cases.
10
+ */
11
+ export type WrapValue<T extends {}, F extends ValueFunction<T>> = {
12
+ [P in keyof T]: ReturnType<F>;
13
+ };
14
+
15
+
@@ -1,40 +1,40 @@
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
- // index last changed at: 8th Aug, 2021, 04:13 PM ( GMT-7 )
6
- // export: named; exclusions: index, private.
7
- // files: TupleToUnion, UnionToIntersection, UnionToTuple.
8
-
9
- // local file exports
7
+ // file exports
8
+ export * from "./SameKeys";
10
9
  export * from "./TupleToUnion";
11
10
  export * from "./UnionToIntersection";
12
11
  export * from "./UnionToTuple";
12
+ export * from "./WrapValue";
13
+
14
+ // #endregion
13
15
 
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.
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.
18
18
  //
19
19
  // By default it assumes that exports are named exports but this can be changed by
20
20
  // adding a modifier to the '// #autoindex' syntax:
21
21
  //
22
22
  // - 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
23
+ // - autoindex:default assumes each file is exporting a default export and
24
+ // converts the default export to the name of the file
26
25
  // - autoindex:offset assumes files export "named symbols" but that each
27
26
  // 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
27
  //
31
28
  // You may also exclude certain files or directories by adding it to the
32
29
  // autoindex command. As an example:
33
30
  //
34
31
  // - autoindex:named, exclude: foo,bar,baz
35
32
  //
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.
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.
38
40
  // Keep on being awesome.
39
-
40
- // #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: 3537087800
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,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: 1609486729
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
8
  export * from "./dictFilter";
12
9
  export * from "./dictionaryTransform";
@@ -14,34 +11,33 @@ export * from "./entries";
14
11
  export * from "./mapValues";
15
12
  export * from "./strArrayToDict";
16
13
  export * from "./valuesOfProp";
17
-
18
14
  // directory exports
19
15
  export * from "./kv/index";
20
16
 
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.
17
+ // #endregion
18
+
19
+ // This file was created by running: "dd autoindex"; it assumes you have
20
+ // the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
25
21
  //
26
22
  // By default it assumes that exports are named exports but this can be changed by
27
23
  // adding a modifier to the '// #autoindex' syntax:
28
24
  //
29
25
  // - 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
26
+ // - autoindex:default assumes each file is exporting a default export and
27
+ // converts the default export to the name of the file
33
28
  // - autoindex:offset assumes files export "named symbols" but that each
34
29
  // 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
30
  //
38
31
  // You may also exclude certain files or directories by adding it to the
39
32
  // autoindex command. As an example:
40
33
  //
41
34
  // - autoindex:named, exclude: foo,bar,baz
42
35
  //
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.
36
+ // Inversely, if you state a file to be an "orphan" then autoindex files
37
+ // below this file will not reference this autoindex file:
38
+ //
39
+ // - autoindex:named, orphan
40
+ //
41
+ // All content outside the "// #region" section in this file will be
42
+ // preserved in situations where you need to do something paricularly awesome.
45
43
  // Keep on being awesome.
46
-
47
- // #endregion
@@ -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: 3790237505
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: 12th Dec, 2021, 09:28 AM ( GMT-8 )
5
+ // hash-code: 1753666426
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: 12th Dec, 2021, 09:28 AM ( GMT-8 )
5
+ // hash-code: 22070035
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: 12th Dec, 2021, 09:28 AM ( GMT-8 )
4
+ // hash-code: 192569155
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