inferred-types 0.22.0 → 0.22.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +88 -47
- package/dist/index.js +40 -16
- package/dist/index.mjs +39 -15
- package/package.json +18 -14
- package/src/Mutation/index.ts +6 -29
- package/src/index.ts +6 -29
- package/src/shared/index.ts +6 -29
- package/src/types/Keys.ts +10 -6
- package/src/types/alphabetic/CamelCase.ts +1 -1
- package/src/types/alphabetic/alpha-characters.ts +33 -9
- package/src/types/alphabetic/index.ts +6 -29
- package/src/types/dictionary/DictChangeValue.ts +26 -0
- package/src/types/dictionary/MutableProps.ts +19 -0
- package/src/types/dictionary/index.ts +8 -29
- package/src/types/dictionary/props.ts +1 -1
- package/src/types/fluent/index.ts +6 -29
- package/src/types/functions/index.ts +6 -29
- package/src/types/index.ts +6 -29
- package/src/types/kv/index.ts +6 -29
- package/src/types/lists/index.ts +6 -29
- package/src/types/string-literals/index.ts +6 -29
- package/src/types/tuples/index.ts +6 -29
- package/src/types/type-conversion/index.ts +6 -29
- package/src/utility/api/index.ts +6 -29
- package/src/utility/dictionary/defineProperties.ts +35 -0
- package/src/utility/dictionary/index.ts +7 -29
- package/src/utility/dictionary/kv/index.ts +6 -29
- package/src/utility/errors/ReadOnlyViolation.ts +3 -0
- package/src/utility/errors/index.ts +12 -0
- package/src/utility/index.ts +7 -29
- package/src/utility/lists/index.ts +6 -29
- package/src/utility/literals/index.ts +6 -29
- package/src/utility/map-reduce/index.ts +6 -29
- package/src/utility/modelling/index.ts +6 -29
- package/src/utility/runtime/conditions/index.ts +6 -30
- package/src/utility/runtime/ifTypeOf.ts +4 -3
- package/src/utility/runtime/index.ts +6 -29
- package/src/utility/state/index.ts +6 -29
- package/tests/data/index.ts +6 -29
- package/tests/dictionary/DictChangeValue.test.ts +30 -0
- package/tests/dictionary/DictReturnValues.test.ts +5 -1
- package/tests/dictionary/MutableProps.test.ts +30 -0
- package/src/utility/runtime/conditions/isLiteral.ts +0 -7
package/src/types/Keys.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
2
|
* A Utility class that provides the same functionality as the built-in
|
|
3
3
|
* `keyof` TS operator but can also:
|
|
4
|
-
*
|
|
4
|
+
*
|
|
5
5
|
* - receive an array of strings and convert that into a union type.
|
|
6
6
|
* - you can exclude literal string from the returned result
|
|
7
|
-
*
|
|
7
|
+
*
|
|
8
8
|
* ```ts
|
|
9
9
|
* const t1 = { foo: 1, bar: 2 };
|
|
10
10
|
* // "foo" | "bar"
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
export type Keys<
|
|
18
18
|
T extends Record<string, any> | readonly string[],
|
|
19
19
|
W extends string | undefined = undefined
|
|
20
|
-
|
|
21
|
-
? W extends string
|
|
22
|
-
|
|
20
|
+
> = T extends readonly string[]
|
|
21
|
+
? W extends string
|
|
22
|
+
? Exclude<T[number], W>
|
|
23
|
+
: T[number]
|
|
24
|
+
: W extends string
|
|
25
|
+
? Exclude<keyof T & string, W>
|
|
26
|
+
: keyof T & string;
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
export type LowerAlpha =
|
|
1
|
+
export type LowerAlpha =
|
|
2
|
+
| "a"
|
|
3
|
+
| "b"
|
|
4
|
+
| "c"
|
|
5
|
+
| "d"
|
|
6
|
+
| "e"
|
|
7
|
+
| "f"
|
|
8
|
+
| "g"
|
|
9
|
+
| "h"
|
|
10
|
+
| "i"
|
|
11
|
+
| "j"
|
|
12
|
+
| "k"
|
|
13
|
+
| "l"
|
|
14
|
+
| "m"
|
|
15
|
+
| "n"
|
|
16
|
+
| "o"
|
|
17
|
+
| "p"
|
|
18
|
+
| "q"
|
|
19
|
+
| "r"
|
|
20
|
+
| "s"
|
|
21
|
+
| "t"
|
|
22
|
+
| "u"
|
|
23
|
+
| "v"
|
|
24
|
+
| "w"
|
|
25
|
+
| "x"
|
|
26
|
+
| "y"
|
|
27
|
+
| "z";
|
|
2
28
|
|
|
3
29
|
/** Uppercase alphabetic character */
|
|
4
30
|
export type UpperAlpha = Uppercase<LowerAlpha>;
|
|
@@ -8,7 +34,6 @@ export type UpperAlpha = Uppercase<LowerAlpha>;
|
|
|
8
34
|
*/
|
|
9
35
|
export type Alpha = UpperAlpha | LowerAlpha;
|
|
10
36
|
|
|
11
|
-
|
|
12
37
|
export type Whitespace = " " | "\n" | "\t";
|
|
13
38
|
|
|
14
39
|
export type Punctuation = "." | "," | ";" | "!" | "?";
|
|
@@ -17,18 +42,18 @@ export type Punctuation = "." | "," | ";" | "!" | "?";
|
|
|
17
42
|
*/
|
|
18
43
|
export type StringDelimiter = "_" | "-" | "/" | "\\";
|
|
19
44
|
|
|
20
|
-
export type
|
|
45
|
+
export type OpeningBracket = "(" | "[" | "{";
|
|
21
46
|
export type ClosingBracket = ")" | "]" | "}";
|
|
22
47
|
|
|
23
48
|
/**
|
|
24
|
-
*
|
|
49
|
+
* Opening and closing parenthesis
|
|
25
50
|
*/
|
|
26
51
|
export type Parenthesis = "(" | ")";
|
|
27
52
|
|
|
28
53
|
/**
|
|
29
|
-
*
|
|
54
|
+
* Opening and closing brackets
|
|
30
55
|
*/
|
|
31
|
-
export type Bracket =
|
|
56
|
+
export type Bracket = OpeningBracket | ClosingBracket;
|
|
32
57
|
|
|
33
58
|
/**
|
|
34
59
|
* Numeric string characters
|
|
@@ -40,10 +65,9 @@ export type NumericString = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8"
|
|
|
40
65
|
*/
|
|
41
66
|
export type AlphaNumeric = Alpha | NumericString;
|
|
42
67
|
|
|
43
|
-
|
|
44
68
|
export type SpecialCharacters = "@" | "~" | "^" | "#" | "&" | "*";
|
|
45
69
|
|
|
46
70
|
/**
|
|
47
|
-
* Non-alphabetic characters including whitespace, string numerals, and
|
|
71
|
+
* Non-alphabetic characters including whitespace, string numerals, and
|
|
48
72
|
*/
|
|
49
|
-
export type NonAlpha = Whitespace | Punctuation | NumericString | Bracket | SpecialCharacters;
|
|
73
|
+
export type NonAlpha = Whitespace | Punctuation | NumericString | Bracket | SpecialCharacters;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #autoindex, exclude: Alpha
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: b32382ed
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./AllCaps";
|
|
@@ -19,30 +19,7 @@ export * from "./Pluralize";
|
|
|
19
19
|
export * from "./SnakeCase";
|
|
20
20
|
export * from "./alpha-characters";
|
|
21
21
|
|
|
22
|
-
// #endregion
|
|
22
|
+
// #endregion auto-indexed files
|
|
23
23
|
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
28
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
29
|
-
//
|
|
30
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
31
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
32
|
-
// converts the default export to the name of the file
|
|
33
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
34
|
-
// file's symbols should be offset by the file's name
|
|
35
|
-
//
|
|
36
|
-
// You may also exclude certain files or directories by adding it to the
|
|
37
|
-
// autoindex command. As an example:
|
|
38
|
-
//
|
|
39
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
40
|
-
//
|
|
41
|
-
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
42
|
-
// below this file will not reference this autoindex file:
|
|
43
|
-
//
|
|
44
|
-
// - autoindex:named, orphan
|
|
45
|
-
//
|
|
46
|
-
// All content outside the "// #region" section in this file will be
|
|
47
|
-
// preserved in situations where you need to do something paricularly awesome.
|
|
48
|
-
// Keep on being awesome.
|
|
24
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
25
|
+
// for more info
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SimplifyObject } from "../SimplifyObject";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Allow a dictionary have it's value's type changed to `T` while maintaining the keys in
|
|
5
|
+
* the original object `I` so long as the original value for the KV pair extends `V`.
|
|
6
|
+
*
|
|
7
|
+
* If `V` is not specified then it defaults to _any_ and therefore all KVs are preserved.
|
|
8
|
+
*/
|
|
9
|
+
export type DictChangeValue<
|
|
10
|
+
/** the object who's value-type we're changing */
|
|
11
|
+
I extends Record<string, any>,
|
|
12
|
+
/** the return type that functions should be modified to have */
|
|
13
|
+
T extends any,
|
|
14
|
+
/**
|
|
15
|
+
*The type we expect in the value; if the value extends type `V` then the value will
|
|
16
|
+
* be converted to type `O`; if not then the KV pair will be discarded
|
|
17
|
+
*/
|
|
18
|
+
V extends any = any
|
|
19
|
+
> = SimplifyObject<
|
|
20
|
+
{
|
|
21
|
+
[K in keyof I]: I[K] extends V
|
|
22
|
+
? // it's a function (or at least the scoped down type of function we're looking for)
|
|
23
|
+
Record<K, T>
|
|
24
|
+
: never;
|
|
25
|
+
}[keyof I]
|
|
26
|
+
>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ExpandRecursively } from "../ExpandRecursively";
|
|
2
|
+
import { Keys } from "../Keys";
|
|
3
|
+
import { Mutable } from "../Mutable";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Given a dictionary of type `<T>`, this utility function will
|
|
7
|
+
* make the `<M>` generic property _mutable_ and all other _read-only_.
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* // { foo: string, bar?: Readonly<number> }
|
|
11
|
+
* type Example = MutableProps<{
|
|
12
|
+
* foo: Readonly<string>,
|
|
13
|
+
* bar?: number
|
|
14
|
+
* }, "foo">;
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export type MutableProps<T extends {}, M extends keyof T & string> = ExpandRecursively<
|
|
18
|
+
Mutable<Pick<T, M>> & Readonly<Pick<T, Keys<T, M>>>
|
|
19
|
+
>;
|
|
@@ -1,41 +1,20 @@
|
|
|
1
1
|
// #autoindex
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: 55881f7d
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./DictPartialApplication";
|
|
8
|
+
export * from "./DictChangeValue";
|
|
8
9
|
export * from "./DictPrependWithFn";
|
|
9
10
|
export * from "./DictReturnValues";
|
|
10
11
|
export * from "./Get";
|
|
12
|
+
export * from "./MutableProps";
|
|
11
13
|
export * from "./RequireProps";
|
|
12
14
|
export * from "./SameKeys";
|
|
13
15
|
export * from "./props";
|
|
14
16
|
|
|
15
|
-
// #endregion
|
|
17
|
+
// #endregion auto-indexed files
|
|
16
18
|
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
21
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
22
|
-
//
|
|
23
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
24
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
25
|
-
// converts the default export to the name of the file
|
|
26
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
27
|
-
// file's symbols should be offset by the file's name
|
|
28
|
-
//
|
|
29
|
-
// You may also exclude certain files or directories by adding it to the
|
|
30
|
-
// autoindex command. As an example:
|
|
31
|
-
//
|
|
32
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
33
|
-
//
|
|
34
|
-
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
35
|
-
// below this file will not reference this autoindex file:
|
|
36
|
-
//
|
|
37
|
-
// - autoindex:named, orphan
|
|
38
|
-
//
|
|
39
|
-
// All content outside the "// #region" section in this file will be
|
|
40
|
-
// preserved in situations where you need to do something paricularly awesome.
|
|
41
|
-
// Keep on being awesome.
|
|
19
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
20
|
+
// for more info
|
|
@@ -1,35 +1,12 @@
|
|
|
1
1
|
// #autoindex
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: 9dbff34
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./fluent";
|
|
8
8
|
|
|
9
|
-
// #endregion
|
|
9
|
+
// #endregion auto-indexed files
|
|
10
10
|
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
15
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
16
|
-
//
|
|
17
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
18
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
19
|
-
// converts the default export to the name of the file
|
|
20
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
21
|
-
// file's symbols should be offset by the file's name
|
|
22
|
-
//
|
|
23
|
-
// You may also exclude certain files or directories by adding it to the
|
|
24
|
-
// autoindex command. As an example:
|
|
25
|
-
//
|
|
26
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
27
|
-
//
|
|
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
|
-
// Keep on being awesome.
|
|
11
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
12
|
+
// for more info
|
|
@@ -1,35 +1,12 @@
|
|
|
1
1
|
// #autoindex
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: 57dfa865
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./FinalReturn";
|
|
8
8
|
|
|
9
|
-
// #endregion
|
|
9
|
+
// #endregion auto-indexed files
|
|
10
10
|
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
15
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
16
|
-
//
|
|
17
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
18
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
19
|
-
// converts the default export to the name of the file
|
|
20
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
21
|
-
// file's symbols should be offset by the file's name
|
|
22
|
-
//
|
|
23
|
-
// You may also exclude certain files or directories by adding it to the
|
|
24
|
-
// autoindex command. As an example:
|
|
25
|
-
//
|
|
26
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
27
|
-
//
|
|
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
|
-
// Keep on being awesome.
|
|
11
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
12
|
+
// for more info
|
package/src/types/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #autoindex
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: fbd4603a
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./Api";
|
|
@@ -42,30 +42,7 @@ export * from "./string-literals/index";
|
|
|
42
42
|
export * from "./tuples/index";
|
|
43
43
|
export * from "./type-conversion/index";
|
|
44
44
|
|
|
45
|
-
// #endregion
|
|
45
|
+
// #endregion auto-indexed files
|
|
46
46
|
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
51
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
52
|
-
//
|
|
53
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
54
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
55
|
-
// converts the default export to the name of the file
|
|
56
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
57
|
-
// file's symbols should be offset by the file's name
|
|
58
|
-
//
|
|
59
|
-
// You may also exclude certain files or directories by adding it to the
|
|
60
|
-
// autoindex command. As an example:
|
|
61
|
-
//
|
|
62
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
63
|
-
//
|
|
64
|
-
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
65
|
-
// below this file will not reference this autoindex file:
|
|
66
|
-
//
|
|
67
|
-
// - autoindex:named, orphan
|
|
68
|
-
//
|
|
69
|
-
// All content outside the "// #region" section in this file will be
|
|
70
|
-
// preserved in situations where you need to do something paricularly awesome.
|
|
71
|
-
// Keep on being awesome.
|
|
47
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
48
|
+
// for more info
|
package/src/types/kv/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #autoindex
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: 744ff3bf
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./DictFromKv";
|
|
@@ -9,30 +9,7 @@ export * from "./KeyValue";
|
|
|
9
9
|
export * from "./KvFrom";
|
|
10
10
|
export * from "./KvTuple";
|
|
11
11
|
|
|
12
|
-
// #endregion
|
|
12
|
+
// #endregion auto-indexed files
|
|
13
13
|
|
|
14
|
-
//
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
18
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
19
|
-
//
|
|
20
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
21
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
22
|
-
// converts the default export to the name of the file
|
|
23
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
24
|
-
// file's symbols should be offset by the file's name
|
|
25
|
-
//
|
|
26
|
-
// You may also exclude certain files or directories by adding it to the
|
|
27
|
-
// autoindex command. As an example:
|
|
28
|
-
//
|
|
29
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
30
|
-
//
|
|
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
|
-
// Keep on being awesome.
|
|
14
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
15
|
+
// for more info
|
package/src/types/lists/index.ts
CHANGED
|
@@ -1,36 +1,13 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
|
|
3
|
-
// #region
|
|
4
|
-
// index last changed at:
|
|
5
|
-
// hash-code:
|
|
3
|
+
// #region auto-indexed files
|
|
4
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
5
|
+
// hash-code: 582c0cf0
|
|
6
6
|
|
|
7
7
|
// file exports
|
|
8
8
|
export * from "./UniqueForProp";
|
|
9
9
|
|
|
10
|
-
// #endregion
|
|
10
|
+
// #endregion auto-indexed files
|
|
11
11
|
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
//
|
|
15
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
16
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
17
|
-
//
|
|
18
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
19
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
20
|
-
// converts the default export to the name of the file
|
|
21
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
22
|
-
// file's symbols should be offset by the file's name
|
|
23
|
-
//
|
|
24
|
-
// You may also exclude certain files or directories by adding it to the
|
|
25
|
-
// autoindex command. As an example:
|
|
26
|
-
//
|
|
27
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
28
|
-
//
|
|
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
|
-
// Keep on being awesome.
|
|
12
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
13
|
+
// for more info
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #autoindex
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: d0cf1562
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./Break";
|
|
@@ -15,30 +15,7 @@ export * from "./TrimLeft";
|
|
|
15
15
|
export * from "./TrimRight";
|
|
16
16
|
export * from "./form-fields";
|
|
17
17
|
|
|
18
|
-
// #endregion
|
|
18
|
+
// #endregion auto-indexed files
|
|
19
19
|
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
24
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
25
|
-
//
|
|
26
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
27
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
28
|
-
// converts the default export to the name of the file
|
|
29
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
30
|
-
// file's symbols should be offset by the file's name
|
|
31
|
-
//
|
|
32
|
-
// You may also exclude certain files or directories by adding it to the
|
|
33
|
-
// autoindex command. As an example:
|
|
34
|
-
//
|
|
35
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
36
|
-
//
|
|
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
|
-
// Keep on being awesome.
|
|
20
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
21
|
+
// for more info
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #autoindex
|
|
2
|
-
// #region
|
|
3
|
-
// index last changed at:
|
|
4
|
-
// hash-code:
|
|
2
|
+
// #region auto-indexed files
|
|
3
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
+
// hash-code: 582cd3f6
|
|
5
5
|
|
|
6
6
|
// file exports
|
|
7
7
|
export * from "./DictArray";
|
|
@@ -11,30 +11,7 @@ export * from "./FirstOfEach";
|
|
|
11
11
|
export * from "./FromDictArray";
|
|
12
12
|
export * from "./SecondOfEach";
|
|
13
13
|
|
|
14
|
-
// #endregion
|
|
14
|
+
// #endregion auto-indexed files
|
|
15
15
|
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
20
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
21
|
-
//
|
|
22
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
23
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
24
|
-
// converts the default export to the name of the file
|
|
25
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
26
|
-
// file's symbols should be offset by the file's name
|
|
27
|
-
//
|
|
28
|
-
// You may also exclude certain files or directories by adding it to the
|
|
29
|
-
// autoindex command. As an example:
|
|
30
|
-
//
|
|
31
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
32
|
-
//
|
|
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
|
-
// Keep on being awesome.
|
|
16
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
17
|
+
// for more info
|
|
@@ -1,38 +1,15 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
|
|
3
|
-
// #region
|
|
4
|
-
// index last changed at:
|
|
5
|
-
// hash-code:
|
|
3
|
+
// #region auto-indexed files
|
|
4
|
+
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
5
|
+
// hash-code: 200001fa
|
|
6
6
|
|
|
7
7
|
// file exports
|
|
8
8
|
export * from "./TupleToUnion";
|
|
9
9
|
export * from "./UnionToIntersection";
|
|
10
10
|
export * from "./UnionToTuple";
|
|
11
11
|
|
|
12
|
-
// #endregion
|
|
12
|
+
// #endregion auto-indexed files
|
|
13
13
|
|
|
14
|
-
//
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
// By default it assumes that exports are named exports but this can be changed by
|
|
18
|
-
// adding a modifier to the '// #autoindex' syntax:
|
|
19
|
-
//
|
|
20
|
-
// - autoindex:named same as default, exports "named symbols"
|
|
21
|
-
// - autoindex:default assumes each file is exporting a default export and
|
|
22
|
-
// converts the default export to the name of the file
|
|
23
|
-
// - autoindex:offset assumes files export "named symbols" but that each
|
|
24
|
-
// file's symbols should be offset by the file's name
|
|
25
|
-
//
|
|
26
|
-
// You may also exclude certain files or directories by adding it to the
|
|
27
|
-
// autoindex command. As an example:
|
|
28
|
-
//
|
|
29
|
-
// - autoindex:named, exclude: foo,bar,baz
|
|
30
|
-
//
|
|
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
|
-
// Keep on being awesome.
|
|
14
|
+
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
15
|
+
// for more info
|