@esposter/shared 2.15.0 → 2.16.0

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 (3) hide show
  1. package/dist/index.d.ts +160 -296
  2. package/dist/index.js +14101 -5469
  3. package/package.json +3 -2
package/dist/index.d.ts CHANGED
@@ -1,48 +1,6 @@
1
1
  import { z } from "zod";
2
- import { TableEntity } from "@azure/data-tables";
3
-
4
- //#region src/models/azure/BinaryOperator.d.ts
5
- declare enum BinaryOperator {
6
- eq = "eq",
7
- ge = "ge",
8
- gt = "gt",
9
- le = "le",
10
- lt = "lt",
11
- ne = "ne",
12
- }
13
- //#endregion
14
- //#region src/models/azure/SearchOperator.d.ts
15
- declare enum SearchOperator {
16
- arrayContains = "arrayContains",
17
- }
18
- //#endregion
19
- //#region src/models/azure/SerializableValue.d.ts
20
- declare const SERIALIZABLE_VALUE_MAX_LENGTH = 100;
21
- type SerializableValue = boolean | Date | null | number | string;
22
- declare const serializableValueSchema: z.ZodType<SerializableValue>;
23
- //#endregion
24
- //#region src/models/azure/Clause.d.ts
25
- type Clause = {
26
- key: string;
27
- not?: boolean;
28
- } & ({
29
- operator: BinaryOperator;
30
- value: SerializableValue;
31
- } | {
32
- operator: Exclude<SearchOperator, SearchOperator.arrayContains>;
33
- value: SerializableValue;
34
- } | {
35
- operator: SearchOperator.arrayContains;
36
- value: SerializableValue[];
37
- });
38
- //#endregion
39
- //#region src/models/azure/UnaryOperator.d.ts
40
- declare enum UnaryOperator {
41
- and = "and",
42
- not = "not",
43
- or = "or",
44
- }
45
- //#endregion
2
+ import { HTMLElement } from "node-html-parser";
3
+
46
4
  //#region src/models/shared/Operation.d.ts
47
5
  declare enum Operation {
48
6
  Create = "Create",
@@ -59,16 +17,47 @@ declare class InvalidOperationError extends Error {
59
17
  }
60
18
  //#endregion
61
19
  //#region src/models/error/NotFoundError.d.ts
62
- declare class NotFoundError<T extends string = string> extends Error {
63
- constructor(name: T, id: string);
20
+ declare class NotFoundError<T$1 extends string = string> extends Error {
21
+ constructor(name: T$1, id: string);
64
22
  }
65
23
  //#endregion
66
24
  //#region src/models/error/NotInitializedError.d.ts
67
- declare class NotInitializedError<T extends string = string> extends Error {
68
- constructor(name: T);
25
+ declare class NotInitializedError<T$1 extends string = string> extends Error {
26
+ constructor(name: T$1);
69
27
  }
70
28
  //#endregion
71
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/primitive.d.ts
29
+ //#region src/models/router/RoutePath.d.ts
30
+ declare const RoutePath: {
31
+ readonly About: "/about";
32
+ readonly Anime: "/anime";
33
+ readonly Calendar: "/calendar";
34
+ readonly Clicker: "/clicker";
35
+ readonly Dashboard: "/dashboard";
36
+ readonly DashboardEditor: "/dashboard/editor";
37
+ readonly Docs: "/docs";
38
+ readonly Dungeons: "/dungeons";
39
+ readonly EmailEditor: "/email-editor";
40
+ readonly FlowchartEditor: "/flowchart-editor";
41
+ readonly Github: "https://github.com/Esposter/Esposter";
42
+ readonly Index: "/";
43
+ readonly Login: "/login";
44
+ readonly Messages: (id: string) => string;
45
+ readonly MessagesIndex: "/messages";
46
+ readonly MessagesInvite: (code: string) => string;
47
+ readonly MessagesMessage: (id: string, rowKey: string) => string;
48
+ readonly Post: (id: string) => string;
49
+ readonly PostCreate: "/post/create";
50
+ readonly PostUpdate: (id: string) => string;
51
+ readonly PrivacyPolicy: "/privacy-policy";
52
+ readonly Survey: (id: string) => string;
53
+ readonly Surveyer: "/surveyer";
54
+ readonly TableEditor: "/table-editor";
55
+ readonly UserSettings: "/user/settings";
56
+ readonly WebpageEditor: "/webpage-editor";
57
+ };
58
+ type RoutePath = typeof RoutePath;
59
+ //#endregion
60
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/primitive.d.ts
72
61
  /**
73
62
  Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
74
63
 
@@ -76,18 +65,18 @@ Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/
76
65
  */
77
66
  type Primitive = null | undefined | string | number | boolean | symbol | bigint;
78
67
  //#endregion
79
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/basic.d.ts
68
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/basic.d.ts
80
69
  /**
81
70
  Matches a [`class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
82
71
 
83
72
  @category Class
84
73
  */
85
- type Class<T, Arguments extends unknown[] = any[]> = {
86
- prototype: Pick<T, keyof T>;
87
- new (...arguments_: Arguments): T;
74
+ type Class<T$1, Arguments extends unknown[] = any[]> = {
75
+ prototype: Pick<T$1, keyof T$1>;
76
+ new (...arguments_: Arguments): T$1;
88
77
  };
89
78
  //#endregion
90
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/is-any.d.ts
79
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/is-any.d.ts
91
80
  /**
92
81
  Returns a boolean for whether the given type is `any`.
93
82
 
@@ -116,9 +105,9 @@ const anyA = get(anyObject, 'a');
116
105
  @category Type Guard
117
106
  @category Utilities
118
107
  */
119
- type IsAny<T> = 0 extends 1 & NoInfer<T> ? true : false;
108
+ type IsAny<T$1> = 0 extends 1 & NoInfer<T$1> ? true : false;
120
109
  //#endregion
121
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/is-optional-key-of.d.ts
110
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/is-optional-key-of.d.ts
122
111
  /**
123
112
  Returns a boolean for whether the given key is an optional key of type.
124
113
 
@@ -159,9 +148,9 @@ type T5 = IsOptionalKeyOf<User | Admin, 'surname'>;
159
148
  @category Type Guard
160
149
  @category Utilities
161
150
  */
162
- type IsOptionalKeyOf<Type extends object, Key extends keyof Type> = IsAny<Type | Key> extends true ? never : Key extends keyof Type ? Type extends Record<Key, Type[Key]> ? false : true : false;
151
+ type IsOptionalKeyOf<Type extends object, Key$1 extends keyof Type> = IsAny<Type | Key$1> extends true ? never : Key$1 extends keyof Type ? Type extends Record<Key$1, Type[Key$1]> ? false : true : false;
163
152
  //#endregion
164
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/optional-keys-of.d.ts
153
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/optional-keys-of.d.ts
165
154
  /**
166
155
  Extract all optional keys from the given type.
167
156
 
@@ -199,7 +188,7 @@ type OptionalKeysOf<Type extends object> = Type extends unknown // For distribut
199
188
  ? (keyof { [Key in keyof Type as IsOptionalKeyOf<Type, Key> extends false ? never : Key]: never }) & keyof Type // Intersect with `keyof Type` to ensure result of `OptionalKeysOf<Type>` is always assignable to `keyof Type`
200
189
  : never;
201
190
  //#endregion
202
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/required-keys-of.d.ts
191
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/required-keys-of.d.ts
203
192
  /**
204
193
  Extract all required keys from the given type.
205
194
 
@@ -227,7 +216,7 @@ const validator2 = createValidation<User>('surname', value => value.length < 25)
227
216
  type RequiredKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
228
217
  ? Exclude<keyof Type, OptionalKeysOf<Type>> : never;
229
218
  //#endregion
230
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/is-never.d.ts
219
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/is-never.d.ts
231
220
  /**
232
221
  Returns a boolean for whether the given type is `never`.
233
222
 
@@ -269,9 +258,9 @@ endIfEqual('abc', '123');
269
258
  @category Type Guard
270
259
  @category Utilities
271
260
  */
272
- type IsNever<T> = [T] extends [never] ? true : false;
261
+ type IsNever<T$1> = [T$1] extends [never] ? true : false;
273
262
  //#endregion
274
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/if.d.ts
263
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/if.d.ts
275
264
  /**
276
265
  An if-else-like type that resolves depending on whether the given `boolean` type is `true` or `false`.
277
266
 
@@ -331,7 +320,7 @@ type B = IfEqual<string, number, 'equal', 'not equal'>;
331
320
  */
332
321
  type If<Type extends boolean, IfBranch, ElseBranch> = IsNever<Type> extends true ? ElseBranch : Type extends true ? IfBranch : ElseBranch;
333
322
  //#endregion
334
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/internal/type.d.ts
323
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/internal/type.d.ts
335
324
  /**
336
325
  Matches any primitive, `void`, `Date`, or `RegExp` value.
337
326
  */
@@ -344,41 +333,12 @@ Needed to handle the case of a single call signature with properties.
344
333
  Multiple call signatures cannot currently be supported due to a TypeScript limitation.
345
334
  @see https://github.com/microsoft/TypeScript/issues/29732
346
335
  */
347
- type HasMultipleCallSignatures<T extends (...arguments_: any[]) => unknown> = T extends {
336
+ type HasMultipleCallSignatures<T$1 extends (...arguments_: any[]) => unknown> = T$1 extends {
348
337
  (...arguments_: infer A): unknown;
349
338
  (...arguments_: infer B): unknown;
350
339
  } ? B extends A ? A extends B ? false : true : true : false;
351
340
  //#endregion
352
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/is-equal.d.ts
353
- /**
354
- Returns a boolean for whether the two given types are equal.
355
-
356
- @link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
357
- @link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
358
-
359
- Use-cases:
360
- - If you want to make a conditional branch based on the result of a comparison of two types.
361
-
362
- @example
363
- ```
364
- import type {IsEqual} from 'type-fest';
365
-
366
- // This type returns a boolean for whether the given array includes the given item.
367
- // `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
368
- type Includes<Value extends readonly any[], Item> =
369
- Value extends readonly [Value[0], ...infer rest]
370
- ? IsEqual<Value[0], Item> extends true
371
- ? true
372
- : Includes<rest, Item>
373
- : false;
374
- ```
375
-
376
- @category Type Guard
377
- @category Utilities
378
- */
379
- type IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false;
380
- //#endregion
381
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/simplify.d.ts
341
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/simplify.d.ts
382
342
  /**
383
343
  Useful to flatten the type output to improve type hints shown in editors. And also to transform an interface into a type to aide with assignability.
384
344
 
@@ -436,9 +396,40 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
436
396
  @see SimplifyDeep
437
397
  @category Object
438
398
  */
439
- type Simplify<T> = { [KeyType in keyof T]: T[KeyType] } & {};
399
+ type Simplify<T$1> = { [KeyType in keyof T$1]: T$1[KeyType] } & {};
400
+ //#endregion
401
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/is-equal.d.ts
402
+ /**
403
+ Returns a boolean for whether the two given types are equal.
404
+
405
+ @link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
406
+ @link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
407
+
408
+ Use-cases:
409
+ - If you want to make a conditional branch based on the result of a comparison of two types.
410
+
411
+ @example
412
+ ```
413
+ import type {IsEqual} from 'type-fest';
414
+
415
+ // This type returns a boolean for whether the given array includes the given item.
416
+ // `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
417
+ type Includes<Value extends readonly any[], Item> =
418
+ Value extends readonly [Value[0], ...infer rest]
419
+ ? IsEqual<Value[0], Item> extends true
420
+ ? true
421
+ : Includes<rest, Item>
422
+ : false;
423
+ ```
424
+
425
+ @category Type Guard
426
+ @category Utilities
427
+ */
428
+ type IsEqual<A$1, B$1> = [A$1, B$1] extends [infer AA, infer BB] ? [AA] extends [never] ? [BB] extends [never] ? true : false : [BB] extends [never] ? false : _IsEqual<AA, BB> : false;
429
+ // This version fails the `equalWrappedTupleIntersectionToBeNeverAndNeverExpanded` test in `test-d/is-equal.ts`.
430
+ type _IsEqual<A$1, B$1> = (<G>() => G extends A$1 & G | G ? 1 : 2) extends (<G>() => G extends B$1 & G | G ? 1 : 2) ? true : false;
440
431
  //#endregion
441
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/omit-index-signature.d.ts
432
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/omit-index-signature.d.ts
442
433
  /**
443
434
  Omit any index signatures from the given object type, leaving only explicitly defined properties.
444
435
 
@@ -531,7 +522,7 @@ type ExampleWithoutIndexSignatures = OmitIndexSignature<Example>;
531
522
  */
532
523
  type OmitIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? never : KeyType]: ObjectType[KeyType] };
533
524
  //#endregion
534
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/pick-index-signature.d.ts
525
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/pick-index-signature.d.ts
535
526
  /**
536
527
  Pick only index signatures from the given object type, leaving out all explicitly defined properties.
537
528
 
@@ -579,7 +570,7 @@ type ExampleIndexSignature = PickIndexSignature<Example>;
579
570
  */
580
571
  type PickIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? KeyType : never]: ObjectType[KeyType] };
581
572
  //#endregion
582
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/merge.d.ts
573
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/merge.d.ts
583
574
  // Merges two objects without worrying about index signatures.
584
575
  type SimpleMerge<Destination, Source> = { [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key] } & Source;
585
576
 
@@ -619,7 +610,7 @@ export type FooBar = Merge<Foo, Bar>;
619
610
  */
620
611
  type Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
621
612
  //#endregion
622
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/internal/object.d.ts
613
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/internal/object.d.ts
623
614
  /**
624
615
  Merges user specified options with default options.
625
616
 
@@ -674,7 +665,7 @@ type Result = ApplyDefaultOptions<PathsOptions, DefaultPathsOptions, SpecifiedOp
674
665
  */
675
666
  type ApplyDefaultOptions<Options extends object, Defaults extends Simplify<Omit<Required<Options>, RequiredKeysOf<Options>> & Partial<Record<RequiredKeysOf<Options>, never>>>, SpecifiedOptions extends Options> = If<IsAny<SpecifiedOptions>, Defaults, If<IsNever<SpecifiedOptions>, Defaults, Simplify<Merge<Defaults, { [Key in keyof SpecifiedOptions as Key extends OptionalKeysOf<Options> ? undefined extends SpecifiedOptions[Key] ? never : Key : Key]: SpecifiedOptions[Key] }> & Required<Options>>>>;
676
667
  //#endregion
677
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/except.d.ts
668
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/except.d.ts
678
669
  /**
679
670
  Filter out keys from an object.
680
671
 
@@ -702,7 +693,7 @@ type Filtered = Filter<'bar', 'foo'>;
702
693
 
703
694
  @see {Except}
704
695
  */
705
- type Filter$1<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
696
+ type Filter<KeyType$1, ExcludeType> = IsEqual<KeyType$1, ExcludeType> extends true ? never : (KeyType$1 extends ExcludeType ? never : KeyType$1);
706
697
  type ExceptOptions = {
707
698
  /**
708
699
  Disallow assigning non-specified properties.
@@ -769,9 +760,9 @@ type PostPayload = Except<UserData, 'email'>;
769
760
  @category Object
770
761
  */
771
762
  type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {}> = _Except<ObjectType, KeysType, ApplyDefaultOptions<ExceptOptions, DefaultExceptOptions, Options>>;
772
- type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = { [KeyType in keyof ObjectType as Filter$1<KeyType, KeysType>]: ObjectType[KeyType] } & (Options['requireExactProps'] extends true ? Partial<Record<KeysType, never>> : {});
763
+ type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = { [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType] } & (Options['requireExactProps'] extends true ? Partial<Record<KeysType, never>> : {});
773
764
  //#endregion
774
- //#region ../../node_modules/.pnpm/type-fest@5.0.1/node_modules/type-fest/source/required-deep.d.ts
765
+ //#region ../../node_modules/.pnpm/type-fest@5.1.0/node_modules/type-fest/source/required-deep.d.ts
775
766
  /**
776
767
  Create a type from another type with all keys and nested keys set to required.
777
768
 
@@ -813,11 +804,20 @@ Note that types containing overloaded functions are not made deeply required due
813
804
  @category Set
814
805
  @category Map
815
806
  */
816
- type RequiredDeep<T> = T extends BuiltIns ? T : T extends Map<infer KeyType, infer ValueType> ? Map<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends Set<infer ItemType> ? Set<RequiredDeep<ItemType>> : T extends ReadonlyMap<infer KeyType, infer ValueType> ? ReadonlyMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends ReadonlySet<infer ItemType> ? ReadonlySet<RequiredDeep<ItemType>> : T extends WeakMap<infer KeyType, infer ValueType> ? WeakMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends WeakSet<infer ItemType> ? WeakSet<RequiredDeep<ItemType>> : T extends Promise<infer ValueType> ? Promise<RequiredDeep<ValueType>> : T extends ((...arguments_: any[]) => unknown) ? {} extends RequiredObjectDeep<T> ? T : HasMultipleCallSignatures<T> extends true ? T : ((...arguments_: Parameters<T>) => ReturnType<T>) & RequiredObjectDeep<T> : T extends object ? RequiredObjectDeep<T> : unknown;
807
+ type RequiredDeep<T$1> = T$1 extends BuiltIns ? T$1 : T$1 extends Map<infer KeyType, infer ValueType> ? Map<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T$1 extends Set<infer ItemType> ? Set<RequiredDeep<ItemType>> : T$1 extends ReadonlyMap<infer KeyType, infer ValueType> ? ReadonlyMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T$1 extends ReadonlySet<infer ItemType> ? ReadonlySet<RequiredDeep<ItemType>> : T$1 extends WeakMap<infer KeyType, infer ValueType> ? WeakMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T$1 extends WeakSet<infer ItemType> ? WeakSet<RequiredDeep<ItemType>> : T$1 extends Promise<infer ValueType> ? Promise<RequiredDeep<ValueType>> : T$1 extends ((...arguments_: any[]) => unknown) ? IsNever<keyof T$1> extends true ? T$1 : HasMultipleCallSignatures<T$1> extends true ? T$1 : ((...arguments_: Parameters<T$1>) => ReturnType<T$1>) & RequiredObjectDeep<T$1> : T$1 extends object ? RequiredObjectDeep<T$1> : unknown;
817
808
  type RequiredObjectDeep<ObjectType extends object> = { [KeyType in keyof ObjectType]-?: RequiredDeep<ObjectType[KeyType]> };
818
809
  //#endregion
819
810
  //#region src/util/types/PropertyNames.d.ts
820
- type PropertyNames<T> = RequiredDeep<{ [P in keyof T]: P }>;
811
+ type PropertyNames<T$1> = RequiredDeep<{ [P in keyof T$1]: P }>;
812
+ //#endregion
813
+ //#region src/models/shared/ItemEntityType.d.ts
814
+ interface ItemEntityType<T$1 extends string> {
815
+ type: T$1;
816
+ }
817
+ declare const ItemEntityTypePropertyNames: PropertyNames<ItemEntityType<string>>;
818
+ declare const createItemEntityTypeSchema: <T extends z.ZodType<string>>(schema: T) => z.ZodObject<{
819
+ type: T;
820
+ }>;
821
821
  //#endregion
822
822
  //#region src/models/shared/ItemMetadata.d.ts
823
823
  declare class ItemMetadata {
@@ -841,46 +841,49 @@ declare abstract class Serializable {
841
841
  type DeepOmitArray<TArray extends unknown[], TKey> = { [P in keyof TArray]: DeepOmit<TArray[P], TKey> };
842
842
  //#endregion
843
843
  //#region src/util/types/DeepOmit.d.ts
844
- type DeepOmit<T, TKey> = T extends Primitive ? T : { [P in Exclude<keyof T, TKey>]: T[P] extends infer TP ? TP extends Date | Function | Primitive ? TP : TP extends unknown[] ? DeepOmitArray<TP, TKey> : Record<string, unknown> extends TP ? TP : DeepOmit<TP, TKey> : never };
844
+ type DeepOmit<T$1, TKey> = T$1 extends Primitive ? T$1 : { [P in Exclude<keyof T$1, TKey>]: T$1[P] extends infer TP ? TP extends Date | Function | Primitive ? TP : TP extends unknown[] ? DeepOmitArray<TP, TKey> : Record<string, unknown> extends TP ? TP : DeepOmit<TP, TKey> : never };
845
845
  //#endregion
846
846
  //#region src/util/types/DeepOptionalProperties.d.ts
847
- type DeepOptionalProperties<T> = { [K in keyof T as undefined extends T[K] ? K : never]?: DeepOptionalProperties<T[K]> };
847
+ type DeepOptionalProperties<T$1> = { [K in keyof T$1 as undefined extends T$1[K] ? K : never]?: DeepOptionalProperties<T$1[K]> };
848
848
  //#endregion
849
849
  //#region src/util/types/DeepRequiredProperties.d.ts
850
- type DeepRequiredProperties<T> = { [K in keyof T as undefined extends T[K] ? never : K]: DeepRequiredProperties<T[K]> };
850
+ type DeepRequiredProperties<T$1> = { [K in keyof T$1 as undefined extends T$1[K] ? never : K]: DeepRequiredProperties<T$1[K]> };
851
851
  //#endregion
852
852
  //#region src/util/types/DeepOptionalUndefined.d.ts
853
- type DeepOptionalUndefined<T> = T extends ((...args: unknown[]) => unknown) ? T : T extends (infer U)[] ? DeepOptionalUndefined<U>[] : T extends readonly (infer U)[] ? readonly DeepOptionalUndefined<U>[] : T extends Date ? T : T extends object ? keyof T extends never ? never : DeepOptionalProperties<T> extends Record<never, unknown> ? DeepRequiredProperties<T> : DeepRequiredProperties<T> extends Record<never, unknown> ? DeepOptionalProperties<T> : DeepOptionalProperties<T> & DeepRequiredProperties<T> : T;
853
+ type DeepOptionalUndefined<T$1> = T$1 extends ((...args: unknown[]) => unknown) ? T$1 : T$1 extends (infer U)[] ? DeepOptionalUndefined<U>[] : T$1 extends readonly (infer U)[] ? readonly DeepOptionalUndefined<U>[] : T$1 extends Date ? T$1 : T$1 extends object ? keyof T$1 extends never ? never : DeepOptionalProperties<T$1> extends Record<never, unknown> ? DeepRequiredProperties<T$1> : DeepRequiredProperties<T$1> extends Record<never, unknown> ? DeepOptionalProperties<T$1> : DeepOptionalProperties<T$1> & DeepRequiredProperties<T$1> : T$1;
854
854
  //#endregion
855
855
  //#region src/models/shared/ToData.d.ts
856
- type ToData<T extends Serializable> = DeepOptionalUndefined<DeepOmit<T, "toJSON">>;
857
- //#endregion
858
- //#region src/services/azure/constants.d.ts
859
- declare const RangeOperators: (BinaryOperator | SearchOperator)[];
860
- declare const CLAUSE_REGEX: RegExp;
856
+ type ToData<T$1 extends Serializable> = DeepOptionalUndefined<DeepOmit<T$1, "toJSON">>;
861
857
  //#endregion
862
- //#region src/services/azure/deserializeClause.d.ts
863
- declare const deserializeClause: (string: string) => Extract<Clause, {
864
- operator: BinaryOperator;
865
- }>;
866
- //#endregion
867
- //#region src/services/azure/deserializeValue.d.ts
868
- declare const deserializeValue: (string: string) => SerializableValue;
869
- //#endregion
870
- //#region src/services/azure/escapeValue.d.ts
871
- declare const escapeValue: (value: string) => string;
872
- //#endregion
873
- //#region src/services/azure/serializeClause.d.ts
874
- declare const serializeClause: (clause: Clause) => string;
875
- //#endregion
876
- //#region src/services/azure/serializeClauses.d.ts
877
- declare const serializeClauses: (clauses: Clause[]) => string;
858
+ //#region src/models/shared/WithMetadata.d.ts
859
+ interface WithMetadata<TBase$1 extends Class<NonNullable<unknown>>> {
860
+ new (...args: ConstructorParameters<TBase$1>): InstanceType<TBase$1> & ItemMetadata;
861
+ prototype: InstanceType<TBase$1> & ItemMetadata;
862
+ }
878
863
  //#endregion
879
- //#region src/services/azure/serializeValue.d.ts
880
- declare const serializeValue: (value: SerializableValue) => string;
864
+ //#region src/services/app/constants.d.ts
865
+ declare const SITE_NAME = "Esposter";
881
866
  //#endregion
882
867
  //#region src/services/message/constants.d.ts
883
- declare const MENTION_MAX_LENGTH = 100;
868
+ declare const MENTION_ID_ATTRIBUTE = "data-id";
869
+ declare const MENTION_LABEL_ATTRIBUTE = "data-label";
870
+ declare const MENTION_TYPE_ATTRIBUTE = "data-type";
871
+ declare const MENTION_TYPE = "mention";
872
+ declare const PUSH_NOTIFICATION_MAX_LENGTH = 100;
873
+ //#endregion
874
+ //#region src/services/message/getCreateMessageNotificationPayload.d.ts
875
+ declare const getCreateMessageNotificationPayload: (message: string, {
876
+ icon,
877
+ title,
878
+ url
879
+ }: {
880
+ icon?: null | string;
881
+ title?: null | string;
882
+ url: string;
883
+ }) => string | undefined;
884
+ //#endregion
885
+ //#region src/services/message/getMentions.d.ts
886
+ declare const getMentions: (message: string) => HTMLElement[];
884
887
  //#endregion
885
888
  //#region src/services/prettier/css.d.ts
886
889
  declare const css: typeof String.raw;
@@ -889,14 +892,10 @@ declare const css: typeof String.raw;
889
892
  declare const html: typeof String.raw;
890
893
  //#endregion
891
894
  //#region src/services/shared/applyItemMetadataMixin.d.ts
892
- interface WithMetadata<TBase extends Class<NonNullable<unknown>>> {
893
- new (...args: ConstructorParameters<TBase>): InstanceType<TBase> & ItemMetadata;
894
- prototype: InstanceType<TBase> & ItemMetadata;
895
- }
896
895
  declare const applyItemMetadataMixin: <TBase extends Class<NonNullable<unknown>>>(Base: TBase) => WithMetadata<TBase>;
897
896
  //#endregion
898
- //#region src/services/user/constants.d.ts
899
- declare const USER_NAME_MAX_LENGTH = 100;
897
+ //#region src/services/survey/constants.d.ts
898
+ declare const SURVEY_DISPLAY_NAME = "Surveyer";
900
899
  //#endregion
901
900
  //#region src/util/environment/getIsServer.d.ts
902
901
  declare const getIsServer: () => boolean;
@@ -910,8 +909,11 @@ declare const getPropertyNames: <T>() => PropertyNames<T>;
910
909
  //#region src/util/object/isPlainObject.d.ts
911
910
  declare const isPlainObject: (data: unknown) => data is object;
912
911
  //#endregion
912
+ //#region src/util/object/jsonDateParse.d.ts
913
+ declare const jsonDateParse: (text: string) => any;
914
+ //#endregion
913
915
  //#region src/util/types/MergeObjectsStrict.d.ts
914
- type MergeObjectsStrict<T extends object[]> = T extends [infer TFirst, infer TSecond, ...infer TRemaining] ? TSecond extends { [K in keyof TSecond]: K extends keyof TFirst ? never : TSecond[K] } ? TRemaining extends object[] ? MergeObjectsStrict<[TSecond, ...TRemaining]> & TFirst : TFirst & TSecond : never : T extends [infer TFirst] ? TFirst : never;
916
+ type MergeObjectsStrict<T$1 extends object[]> = T$1 extends [infer TFirst, infer TSecond, ...infer TRemaining] ? TSecond extends { [K in keyof TSecond]: K extends keyof TFirst ? never : TSecond[K] } ? TRemaining extends object[] ? MergeObjectsStrict<[TSecond, ...TRemaining]> & TFirst : TFirst & TSecond : never : T$1 extends [infer TFirst] ? TFirst : never;
915
917
  //#endregion
916
918
  //#region src/util/object/mergeObjectsStrict.d.ts
917
919
  declare const mergeObjectsStrict: <T extends object[]>(...objects: T) => MergeObjectsStrict<T>;
@@ -922,6 +924,9 @@ declare const getRawData: <T>(data: T) => T;
922
924
  //#region src/util/reactivity/toRawDeep.d.ts
923
925
  declare const toRawDeep: <T extends object>(data: T) => T;
924
926
  //#endregion
927
+ //#region src/util/regex/escapeRegExp.d.ts
928
+ declare const escapeRegExp: (string: string) => string;
929
+ //#endregion
925
930
  //#region src/util/text/capitalize.d.ts
926
931
  declare const capitalize: (string: string) => string;
927
932
  //#endregion
@@ -934,6 +939,9 @@ type CamelToKebab<S extends string> = S extends `${infer T}${infer U}` ? U exten
934
939
  //#region src/util/text/toKebabCase.d.ts
935
940
  declare const toKebabCase: <T extends string>(string: T) => CamelToKebab<T>;
936
941
  //#endregion
942
+ //#region src/util/text/truncate.d.ts
943
+ declare const truncate: (string: string, length: number) => string;
944
+ //#endregion
937
945
  //#region src/util/text/uncapitalize.d.ts
938
946
  declare const uncapitalize: <T extends string>(string: T) => Uncapitalize<T>;
939
947
  //#endregion
@@ -944,10 +952,10 @@ declare const hrtime: (previousHrTime?: [number, number]) => [number, number];
944
952
  declare const now: () => string;
945
953
  //#endregion
946
954
  //#region src/util/types/FunctionProperties.d.ts
947
- type FunctionProperties<T> = { [K in keyof T]: T[K] extends Function ? K : never };
955
+ type FunctionProperties<T$1> = { [K in keyof T$1]: T$1[K] extends Function ? K : never };
948
956
  //#endregion
949
957
  //#region src/util/types/ExcludeFunctionProperties.d.ts
950
- type ExcludeFunctionProperties<T> = Except<T, FunctionProperties<T>[keyof T]>;
958
+ type ExcludeFunctionProperties<T$1> = Except<T$1, FunctionProperties<T$1>[keyof T$1]>;
951
959
  //#endregion
952
960
  //#region src/util/types/KebabToCamel.d.ts
953
961
  type KebabToCamel<S extends string> = S extends `${infer T}-${infer U}` ? `${T}${Capitalize<KebabToCamel<U>>}` : S;
@@ -955,174 +963,30 @@ type KebabToCamel<S extends string> = S extends `${infer T}-${infer U}` ? `${T}$
955
963
  //#region src/util/types/MapValue.d.ts
956
964
  type MapValue<BaseType> = BaseType extends Map<unknown, infer ValueType> ? ValueType : never;
957
965
  //#endregion
966
+ //#region src/util/types/PartialByKeys.d.ts
967
+ type PartialByKeys<T$1, K$1 extends keyof T$1 = keyof T$1> = Except<T$1, K$1> & Partial<Pick<T$1, Extract<keyof T$1, K$1>>>;
968
+ //#endregion
958
969
  //#region src/util/types/TupleSplitHead.d.ts
959
- type TupleSplitHead<T extends unknown[], N extends number> = T["length"] extends N ? T : T extends [...infer R, unknown] ? TupleSplitHead<R, N> : never;
970
+ type TupleSplitHead<T$1 extends unknown[], N extends number> = T$1["length"] extends N ? T$1 : T$1 extends [...infer R, unknown] ? TupleSplitHead<R, N> : never;
960
971
  //#endregion
961
972
  //#region src/util/types/TupleSplitTail.d.ts
962
- type TupleSplitTail<T, N extends number, O extends unknown[] = []> = O["length"] extends N ? T : T extends [infer F, ...infer R] ? TupleSplitTail<[...R], N, [...O, F]> : never;
973
+ type TupleSplitTail<T$1, N extends number, O extends unknown[] = []> = O["length"] extends N ? T$1 : T$1 extends [infer F, ...infer R] ? TupleSplitTail<[...R], N, [...O, F]> : never;
963
974
  //#endregion
964
975
  //#region src/util/types/TupleSplit.d.ts
965
- type TupleSplit<T extends unknown[], N extends number> = [TupleSplitHead<T, N>, TupleSplitTail<T, N>];
976
+ type TupleSplit<T$1 extends unknown[], N extends number> = [TupleSplitHead<T$1, N>, TupleSplitTail<T$1, N>];
966
977
  //#endregion
967
978
  //#region src/util/types/SkipFirst.d.ts
968
- type SkipFirst<T extends unknown[], N extends number> = TupleSplit<T, N>[1];
979
+ type SkipFirst<T$1 extends unknown[], N extends number> = TupleSplit<T$1, N>[1];
969
980
  //#endregion
970
981
  //#region src/util/types/TakeFirst.d.ts
971
- type TakeFirst<T extends unknown[], N extends number> = TupleSplit<T, N>[0];
982
+ type TakeFirst<T$1 extends unknown[], N extends number> = TupleSplit<T$1, N>[0];
972
983
  //#endregion
973
984
  //#region src/util/types/TupleSlice.d.ts
974
- type TupleSlice<T extends unknown[], S extends number, E extends number = T["length"]> = SkipFirst<TakeFirst<T, E>, S>;
985
+ type TupleSlice<T$1 extends unknown[], S extends number, E extends number = T$1["length"]> = SkipFirst<TakeFirst<T$1, E>, S>;
975
986
  //#endregion
976
987
  //#region src/util/validation/exhaustiveGuard.d.ts
977
988
  declare const exhaustiveGuard: (value: never) => never;
978
989
  //#endregion
979
- //#region src/models/azure/table/CompositeKey.d.ts
980
- declare class CompositeKey implements OmitIndexSignature<TableEntity> {
981
- partitionKey: string;
982
- rowKey: string;
983
- }
984
- declare const CompositeKeyPropertyNames: PropertyNames<CompositeKey>;
985
- //#endregion
986
- //#region src/models/azure/table/CompositeKeyEntity.d.ts
987
- interface CompositeKeyEntityConstraint extends z.ZodRawShape {
988
- partitionKey: z.ZodString | z.ZodUUID;
989
- rowKey: z.ZodString | z.ZodUUID;
990
- }
991
- declare class CompositeKeyEntity extends Serializable implements CompositeKey {
992
- partitionKey: string;
993
- rowKey: string;
994
- }
995
- declare const createCompositeKeyEntitySchema: <TEntity extends CompositeKeyEntityConstraint>(schema: z.ZodObject<TEntity>) => z.ZodObject<TEntity>;
996
- //#endregion
997
- //#region src/models/azure/table/AzureEntity.d.ts
998
- declare const AzureEntity: ReturnType<typeof applyItemMetadataMixin<typeof CompositeKeyEntity>>;
999
- type AzureEntity = typeof AzureEntity.prototype;
1000
- declare const createAzureEntitySchema: <TEntity extends CompositeKeyEntityConstraint>(schema: z.ZodObject<TEntity>) => z.ZodObject<TEntity & typeof itemMetadataSchema.shape>;
1001
- //#endregion
1002
- //#region src/models/azure/table/FileEntity.d.ts
1003
- declare class FileEntity {
1004
- filename: string;
1005
- id: string;
1006
- mimetype: string;
1007
- size: number;
1008
- constructor(init?: Partial<FileEntity>);
1009
- }
1010
- declare const FileEntityPropertyNames: PropertyNames<FileEntity>;
1011
- declare const fileEntitySchema: z.ZodObject<{
1012
- filename: z.ZodString;
1013
- id: z.ZodUUID;
1014
- mimetype: z.ZodString;
1015
- size: z.ZodNumber;
1016
- }>;
1017
- //#endregion
1018
- //#region src/models/message/filter/FilterType.d.ts
1019
- declare enum FilterType {
1020
- From = "From",
1021
- Mentions = "Mentions",
1022
- Has = "Has",
1023
- Before = "Before",
1024
- During = "During",
1025
- After = "After",
1026
- Pinned = "Pinned",
1027
- }
1028
- declare const filterTypeSchema: z.ZodType<FilterType>;
1029
- //#endregion
1030
- //#region src/models/message/filter/Filter.d.ts
1031
- interface Filter {
1032
- type: FilterType;
1033
- value: SerializableValue;
1034
- }
1035
- declare const filterSchema: z.ZodType<Filter>;
1036
- //#endregion
1037
- //#region src/models/message/filter/FilterTypeHas.d.ts
1038
- declare enum FilterTypeHas {
1039
- Link = "Link",
1040
- Embed = "Embed",
1041
- Image = "Image",
1042
- Video = "Video",
1043
- Sound = "Sound",
1044
- Forward = "Forward",
1045
- }
1046
- //#endregion
1047
- //#region src/models/message/webhook/EmbedAuthor.d.ts
1048
- interface EmbedAuthor {
1049
- icon_url?: string;
1050
- name: string;
1051
- url?: string;
1052
- }
1053
- declare const embedAuthorSchema: z.ZodType<EmbedAuthor>;
1054
- //#endregion
1055
- //#region src/models/message/webhook/EmbedField.d.ts
1056
- interface EmbedField {
1057
- inline?: boolean;
1058
- name: string;
1059
- value: string;
1060
- }
1061
- declare const embedFieldSchema: z.ZodType<EmbedField>;
1062
- //#endregion
1063
- //#region src/models/message/webhook/EmbedFooter.d.ts
1064
- interface EmbedFooter {
1065
- icon_url?: string;
1066
- text: string;
1067
- }
1068
- declare const embedFooterSchema: z.ZodType<EmbedFooter>;
1069
- //#endregion
1070
- //#region src/models/message/webhook/Embed.d.ts
1071
- interface Embed {
1072
- author?: EmbedAuthor;
1073
- color?: number;
1074
- description?: string;
1075
- fields?: EmbedField[];
1076
- footer?: EmbedFooter;
1077
- image?: {
1078
- url: string;
1079
- };
1080
- thumbnail?: {
1081
- url: string;
1082
- };
1083
- timestamp?: string;
1084
- title?: string;
1085
- url?: string;
1086
- }
1087
- declare const embedSchema: z.ZodType<Embed>;
1088
- //#endregion
1089
- //#region src/models/message/webhook/WebhookPayload.d.ts
1090
- interface WebhookPayload {
1091
- avatarUrl?: string;
1092
- content?: string;
1093
- embeds?: Embed[];
1094
- username?: string;
1095
- }
1096
- declare const webhookPayloadSchema: z.ZodType<WebhookPayload>;
1097
- //#endregion
1098
- //#region src/services/azure/container/constants.d.ts
1099
- declare const FILENAME_MAX_LENGTH = 1e3;
1100
- declare const FILE_MAX_LENGTH = 10;
1101
- //#endregion
1102
- //#region src/services/azure/search/getSearchNonNullClause.d.ts
1103
- declare const getSearchNonNullClause: (key: Clause["key"]) => Clause;
1104
- //#endregion
1105
- //#region src/services/azure/search/getSearchNullClause.d.ts
1106
- declare const getSearchNullClause: (key: Clause["key"]) => Clause;
1107
- //#endregion
1108
- //#region src/services/azure/table/constants.d.ts
1109
- declare const AZURE_SELF_DESTRUCT_TIMER: string;
1110
- declare const AZURE_SELF_DESTRUCT_TIMER_SMALL: string;
1111
- declare const KeysToCapitalize: Set<string>;
1112
- declare const KeysToUncapitalize: Set<string>;
1113
- //#endregion
1114
- //#region src/services/azure/table/deserializeKey.d.ts
1115
- declare const deserializeKey: (key: string) => string;
1116
- //#endregion
1117
- //#region src/services/azure/table/getReverseTickedTimestamp.d.ts
1118
- declare const getReverseTickedTimestamp: (timestamp?: string) => string;
1119
- //#endregion
1120
- //#region src/services/azure/table/getTableNullClause.d.ts
1121
- declare const getTableNullClause: (key: Clause["key"]) => Clause;
1122
- //#endregion
1123
- //#region src/services/azure/table/serializeKey.d.ts
1124
- declare const serializeKey: (key: string) => string;
1125
- //#endregion
1126
990
  //#region src/util/id/uuid/constants.d.ts
1127
991
  declare const NIL = "00000000-0000-0000-0000-000000000000";
1128
992
  declare const UUIDV4_REGEX: RegExp;
@@ -1130,4 +994,4 @@ declare const UUIDV4_REGEX: RegExp;
1130
994
  //#region src/util/id/uuid/uuidValidateV4.d.ts
1131
995
  declare const uuidValidateV4: (uuid: string) => boolean;
1132
996
  //#endregion
1133
- export { AZURE_SELF_DESTRUCT_TIMER, AZURE_SELF_DESTRUCT_TIMER_SMALL, AzureEntity, BinaryOperator, CLAUSE_REGEX, CamelToKebab, Clause, CompositeKey, CompositeKeyEntity, CompositeKeyEntityConstraint, CompositeKeyPropertyNames, DeepOmit, DeepOmitArray, DeepOptionalProperties, DeepOptionalUndefined, DeepRequiredProperties, Embed, EmbedAuthor, EmbedField, EmbedFooter, ExcludeFunctionProperties, FILENAME_MAX_LENGTH, FILE_MAX_LENGTH, FileEntity, FileEntityPropertyNames, Filter, FilterType, FilterTypeHas, FunctionProperties, ID_SEPARATOR, InvalidOperationError, ItemMetadata, ItemMetadataPropertyNames, KebabToCamel, KeysToCapitalize, KeysToUncapitalize, MENTION_MAX_LENGTH, MapValue, MergeObjectsStrict, NIL, NotFoundError, NotInitializedError, Operation, PropertyNames, RangeOperators, SERIALIZABLE_VALUE_MAX_LENGTH, SearchOperator, Serializable, SerializableValue, SkipFirst, TakeFirst, ToData, TupleSlice, TupleSplit, TupleSplitHead, TupleSplitTail, USER_NAME_MAX_LENGTH, UUIDV4_REGEX, UnaryOperator, WebhookPayload, applyItemMetadataMixin, capitalize, createAzureEntitySchema, createCompositeKeyEntitySchema, css, deserializeClause, deserializeKey, deserializeValue, embedAuthorSchema, embedFieldSchema, embedFooterSchema, embedSchema, escapeValue, exhaustiveGuard, fileEntitySchema, filterSchema, filterTypeSchema, getIsServer, getPropertyNames, getRawData, getReverseTickedTimestamp, getSearchNonNullClause, getSearchNullClause, getTableNullClause, hrtime, html, isPlainObject, itemMetadataSchema, mergeObjectsStrict, now, serializableValueSchema, serializeClause, serializeClauses, serializeKey, serializeValue, streamToText, toKebabCase, toRawDeep, uncapitalize, uuidValidateV4, webhookPayloadSchema };
997
+ export { CamelToKebab, DeepOmit, DeepOmitArray, DeepOptionalProperties, DeepOptionalUndefined, DeepRequiredProperties, ExcludeFunctionProperties, FunctionProperties, ID_SEPARATOR, InvalidOperationError, ItemEntityType, ItemEntityTypePropertyNames, ItemMetadata, ItemMetadataPropertyNames, KebabToCamel, MENTION_ID_ATTRIBUTE, MENTION_LABEL_ATTRIBUTE, MENTION_TYPE, MENTION_TYPE_ATTRIBUTE, MapValue, MergeObjectsStrict, NIL, NotFoundError, NotInitializedError, Operation, PUSH_NOTIFICATION_MAX_LENGTH, PartialByKeys, PropertyNames, RoutePath, SITE_NAME, SURVEY_DISPLAY_NAME, Serializable, SkipFirst, TakeFirst, ToData, TupleSlice, TupleSplit, TupleSplitHead, TupleSplitTail, UUIDV4_REGEX, WithMetadata, applyItemMetadataMixin, capitalize, createItemEntityTypeSchema, css, escapeRegExp, exhaustiveGuard, getCreateMessageNotificationPayload, getIsServer, getMentions, getPropertyNames, getRawData, hrtime, html, isPlainObject, itemMetadataSchema, jsonDateParse, mergeObjectsStrict, now, streamToText, toKebabCase, toRawDeep, truncate, uncapitalize, uuidValidateV4 };