@onivoro/isomorphic-common 22.0.3 → 22.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/package.json +1 -1
  2. package/dist/cjs/index.d.ts +0 -33
  3. package/dist/cjs/index.js +0 -49
  4. package/dist/cjs/lib/constants/decimal-regex.constant.d.ts +0 -1
  5. package/dist/cjs/lib/constants/decimal-regex.constant.js +0 -4
  6. package/dist/cjs/lib/constants/millis-per-day.constant.d.ts +0 -1
  7. package/dist/cjs/lib/constants/millis-per-day.constant.js +0 -5
  8. package/dist/cjs/lib/constants/millis-per-hour.constant.d.ts +0 -1
  9. package/dist/cjs/lib/constants/millis-per-hour.constant.js +0 -5
  10. package/dist/cjs/lib/constants/millis-per-minute.constant.d.ts +0 -1
  11. package/dist/cjs/lib/constants/millis-per-minute.constant.js +0 -4
  12. package/dist/cjs/lib/functions/add-offset.function.d.ts +0 -1
  13. package/dist/cjs/lib/functions/add-offset.function.js +0 -13
  14. package/dist/cjs/lib/functions/camel-case.function.d.ts +0 -20
  15. package/dist/cjs/lib/functions/camel-case.function.js +0 -31
  16. package/dist/cjs/lib/functions/convert-object-to-literal.function.d.ts +0 -1
  17. package/dist/cjs/lib/functions/convert-object-to-literal.function.js +0 -9
  18. package/dist/cjs/lib/functions/from-boolean-string.function.d.ts +0 -1
  19. package/dist/cjs/lib/functions/from-boolean-string.function.js +0 -6
  20. package/dist/cjs/lib/functions/from-calendar-date.function.d.ts +0 -1
  21. package/dist/cjs/lib/functions/from-calendar-date.function.js +0 -7
  22. package/dist/cjs/lib/functions/from-csv-string.function.d.ts +0 -1
  23. package/dist/cjs/lib/functions/from-csv-string.function.js +0 -6
  24. package/dist/cjs/lib/functions/get-tag.function.d.ts +0 -1
  25. package/dist/cjs/lib/functions/get-tag.function.js +0 -11
  26. package/dist/cjs/lib/functions/is-symbol.function.d.ts +0 -1
  27. package/dist/cjs/lib/functions/is-symbol.function.js +0 -10
  28. package/dist/cjs/lib/functions/kebab-case.function.d.ts +0 -1
  29. package/dist/cjs/lib/functions/kebab-case.function.js +0 -7
  30. package/dist/cjs/lib/functions/money.function.d.ts +0 -1
  31. package/dist/cjs/lib/functions/money.function.js +0 -19
  32. package/dist/cjs/lib/functions/parse-bool.function.d.ts +0 -1
  33. package/dist/cjs/lib/functions/parse-bool.function.js +0 -6
  34. package/dist/cjs/lib/functions/properties-to-array.function.d.ts +0 -1
  35. package/dist/cjs/lib/functions/properties-to-array.function.js +0 -18
  36. package/dist/cjs/lib/functions/remove-alpha-chars.function.d.ts +0 -1
  37. package/dist/cjs/lib/functions/remove-alpha-chars.function.js +0 -10
  38. package/dist/cjs/lib/functions/sanitize-filename.function.d.ts +0 -1
  39. package/dist/cjs/lib/functions/sanitize-filename.function.js +0 -10
  40. package/dist/cjs/lib/functions/sleep.function.d.ts +0 -1
  41. package/dist/cjs/lib/functions/sleep.function.js +0 -6
  42. package/dist/cjs/lib/functions/snake-case.function.d.ts +0 -24
  43. package/dist/cjs/lib/functions/snake-case.function.js +0 -31
  44. package/dist/cjs/lib/functions/subtract-offset.function.d.ts +0 -1
  45. package/dist/cjs/lib/functions/subtract-offset.function.js +0 -13
  46. package/dist/cjs/lib/functions/to-boolean-string.function.d.ts +0 -1
  47. package/dist/cjs/lib/functions/to-boolean-string.function.js +0 -6
  48. package/dist/cjs/lib/functions/to-calendar-date.function.d.ts +0 -1
  49. package/dist/cjs/lib/functions/to-calendar-date.function.js +0 -11
  50. package/dist/cjs/lib/functions/to-csv-string.function.d.ts +0 -1
  51. package/dist/cjs/lib/functions/to-csv-string.function.js +0 -6
  52. package/dist/cjs/lib/functions/to-decimal-base.function.d.ts +0 -1
  53. package/dist/cjs/lib/functions/to-decimal-base.function.js +0 -21
  54. package/dist/cjs/lib/functions/to-dollars-and-cents.function.d.ts +0 -1
  55. package/dist/cjs/lib/functions/to-dollars-and-cents.function.js +0 -16
  56. package/dist/cjs/lib/functions/to-string.function.d.ts +0 -1
  57. package/dist/cjs/lib/functions/to-string.function.js +0 -25
  58. package/dist/cjs/lib/functions/to-unique-array.function.d.ts +0 -1
  59. package/dist/cjs/lib/functions/to-unique-array.function.js +0 -6
  60. package/dist/cjs/lib/functions/to-words.function.d.ts +0 -1
  61. package/dist/cjs/lib/functions/to-words.function.js +0 -91
  62. package/dist/cjs/lib/functions/try-json-parse.d.ts +0 -1
  63. package/dist/cjs/lib/functions/try-json-parse.js +0 -14
  64. package/dist/cjs/lib/functions/try-json-stringify.d.ts +0 -1
  65. package/dist/cjs/lib/functions/try-json-stringify.js +0 -14
  66. package/dist/cjs/lib/functions/try-parse-date.function.d.ts +0 -1
  67. package/dist/cjs/lib/functions/try-parse-date.function.js +0 -16
  68. package/dist/cjs/lib/functions/unicode-words.const.d.ts +0 -8
  69. package/dist/cjs/lib/functions/unicode-words.const.js +0 -68
  70. package/dist/cjs/lib/functions/upper-first.function.d.ts +0 -1
  71. package/dist/cjs/lib/functions/upper-first.function.js +0 -12
  72. package/dist/cjs/lib/functions/words.function.d.ts +0 -17
  73. package/dist/cjs/lib/functions/words.function.js +0 -34
  74. package/dist/cjs/lib/interfaces/axios-wrapped-nest-exception.interface.d.ts +0 -5
  75. package/dist/cjs/lib/interfaces/axios-wrapped-nest-exception.interface.js +0 -2
  76. package/dist/cjs/lib/interfaces/entity-provider.interface.d.ts +0 -9
  77. package/dist/cjs/lib/interfaces/entity-provider.interface.js +0 -2
  78. package/dist/cjs/lib/interfaces/keys-of.type.d.ts +0 -3
  79. package/dist/cjs/lib/interfaces/keys-of.type.js +0 -2
  80. package/dist/esm/index.d.ts +0 -33
  81. package/dist/esm/index.js +0 -49
  82. package/dist/esm/lib/constants/decimal-regex.constant.d.ts +0 -1
  83. package/dist/esm/lib/constants/decimal-regex.constant.js +0 -4
  84. package/dist/esm/lib/constants/millis-per-day.constant.d.ts +0 -1
  85. package/dist/esm/lib/constants/millis-per-day.constant.js +0 -5
  86. package/dist/esm/lib/constants/millis-per-hour.constant.d.ts +0 -1
  87. package/dist/esm/lib/constants/millis-per-hour.constant.js +0 -5
  88. package/dist/esm/lib/constants/millis-per-minute.constant.d.ts +0 -1
  89. package/dist/esm/lib/constants/millis-per-minute.constant.js +0 -4
  90. package/dist/esm/lib/functions/add-offset.function.d.ts +0 -1
  91. package/dist/esm/lib/functions/add-offset.function.js +0 -13
  92. package/dist/esm/lib/functions/camel-case.function.d.ts +0 -20
  93. package/dist/esm/lib/functions/camel-case.function.js +0 -31
  94. package/dist/esm/lib/functions/convert-object-to-literal.function.d.ts +0 -1
  95. package/dist/esm/lib/functions/convert-object-to-literal.function.js +0 -9
  96. package/dist/esm/lib/functions/from-boolean-string.function.d.ts +0 -1
  97. package/dist/esm/lib/functions/from-boolean-string.function.js +0 -6
  98. package/dist/esm/lib/functions/from-calendar-date.function.d.ts +0 -1
  99. package/dist/esm/lib/functions/from-calendar-date.function.js +0 -7
  100. package/dist/esm/lib/functions/from-csv-string.function.d.ts +0 -1
  101. package/dist/esm/lib/functions/from-csv-string.function.js +0 -6
  102. package/dist/esm/lib/functions/get-tag.function.d.ts +0 -1
  103. package/dist/esm/lib/functions/get-tag.function.js +0 -11
  104. package/dist/esm/lib/functions/is-symbol.function.d.ts +0 -1
  105. package/dist/esm/lib/functions/is-symbol.function.js +0 -10
  106. package/dist/esm/lib/functions/kebab-case.function.d.ts +0 -1
  107. package/dist/esm/lib/functions/kebab-case.function.js +0 -7
  108. package/dist/esm/lib/functions/money.function.d.ts +0 -1
  109. package/dist/esm/lib/functions/money.function.js +0 -19
  110. package/dist/esm/lib/functions/parse-bool.function.d.ts +0 -1
  111. package/dist/esm/lib/functions/parse-bool.function.js +0 -6
  112. package/dist/esm/lib/functions/properties-to-array.function.d.ts +0 -1
  113. package/dist/esm/lib/functions/properties-to-array.function.js +0 -18
  114. package/dist/esm/lib/functions/remove-alpha-chars.function.d.ts +0 -1
  115. package/dist/esm/lib/functions/remove-alpha-chars.function.js +0 -10
  116. package/dist/esm/lib/functions/sanitize-filename.function.d.ts +0 -1
  117. package/dist/esm/lib/functions/sanitize-filename.function.js +0 -10
  118. package/dist/esm/lib/functions/sleep.function.d.ts +0 -1
  119. package/dist/esm/lib/functions/sleep.function.js +0 -6
  120. package/dist/esm/lib/functions/snake-case.function.d.ts +0 -24
  121. package/dist/esm/lib/functions/snake-case.function.js +0 -31
  122. package/dist/esm/lib/functions/subtract-offset.function.d.ts +0 -1
  123. package/dist/esm/lib/functions/subtract-offset.function.js +0 -13
  124. package/dist/esm/lib/functions/to-boolean-string.function.d.ts +0 -1
  125. package/dist/esm/lib/functions/to-boolean-string.function.js +0 -6
  126. package/dist/esm/lib/functions/to-calendar-date.function.d.ts +0 -1
  127. package/dist/esm/lib/functions/to-calendar-date.function.js +0 -11
  128. package/dist/esm/lib/functions/to-csv-string.function.d.ts +0 -1
  129. package/dist/esm/lib/functions/to-csv-string.function.js +0 -6
  130. package/dist/esm/lib/functions/to-decimal-base.function.d.ts +0 -1
  131. package/dist/esm/lib/functions/to-decimal-base.function.js +0 -21
  132. package/dist/esm/lib/functions/to-dollars-and-cents.function.d.ts +0 -1
  133. package/dist/esm/lib/functions/to-dollars-and-cents.function.js +0 -16
  134. package/dist/esm/lib/functions/to-string.function.d.ts +0 -1
  135. package/dist/esm/lib/functions/to-string.function.js +0 -25
  136. package/dist/esm/lib/functions/to-unique-array.function.d.ts +0 -1
  137. package/dist/esm/lib/functions/to-unique-array.function.js +0 -6
  138. package/dist/esm/lib/functions/to-words.function.d.ts +0 -1
  139. package/dist/esm/lib/functions/to-words.function.js +0 -91
  140. package/dist/esm/lib/functions/try-json-parse.d.ts +0 -1
  141. package/dist/esm/lib/functions/try-json-parse.js +0 -14
  142. package/dist/esm/lib/functions/try-json-stringify.d.ts +0 -1
  143. package/dist/esm/lib/functions/try-json-stringify.js +0 -14
  144. package/dist/esm/lib/functions/try-parse-date.function.d.ts +0 -1
  145. package/dist/esm/lib/functions/try-parse-date.function.js +0 -16
  146. package/dist/esm/lib/functions/unicode-words.const.d.ts +0 -8
  147. package/dist/esm/lib/functions/unicode-words.const.js +0 -68
  148. package/dist/esm/lib/functions/upper-first.function.d.ts +0 -1
  149. package/dist/esm/lib/functions/upper-first.function.js +0 -12
  150. package/dist/esm/lib/functions/words.function.d.ts +0 -17
  151. package/dist/esm/lib/functions/words.function.js +0 -34
  152. package/dist/esm/lib/interfaces/axios-wrapped-nest-exception.interface.d.ts +0 -5
  153. package/dist/esm/lib/interfaces/axios-wrapped-nest-exception.interface.js +0 -2
  154. package/dist/esm/lib/interfaces/entity-provider.interface.d.ts +0 -9
  155. package/dist/esm/lib/interfaces/entity-provider.interface.js +0 -2
  156. package/dist/esm/lib/interfaces/keys-of.type.d.ts +0 -3
  157. package/dist/esm/lib/interfaces/keys-of.type.js +0 -2
  158. package/dist/types/index.d.ts +0 -33
  159. package/dist/types/lib/constants/decimal-regex.constant.d.ts +0 -1
  160. package/dist/types/lib/constants/millis-per-day.constant.d.ts +0 -1
  161. package/dist/types/lib/constants/millis-per-hour.constant.d.ts +0 -1
  162. package/dist/types/lib/constants/millis-per-minute.constant.d.ts +0 -1
  163. package/dist/types/lib/functions/add-offset.function.d.ts +0 -1
  164. package/dist/types/lib/functions/camel-case.function.d.ts +0 -20
  165. package/dist/types/lib/functions/convert-object-to-literal.function.d.ts +0 -1
  166. package/dist/types/lib/functions/from-boolean-string.function.d.ts +0 -1
  167. package/dist/types/lib/functions/from-calendar-date.function.d.ts +0 -1
  168. package/dist/types/lib/functions/from-csv-string.function.d.ts +0 -1
  169. package/dist/types/lib/functions/get-tag.function.d.ts +0 -1
  170. package/dist/types/lib/functions/is-symbol.function.d.ts +0 -1
  171. package/dist/types/lib/functions/kebab-case.function.d.ts +0 -1
  172. package/dist/types/lib/functions/money.function.d.ts +0 -1
  173. package/dist/types/lib/functions/parse-bool.function.d.ts +0 -1
  174. package/dist/types/lib/functions/properties-to-array.function.d.ts +0 -1
  175. package/dist/types/lib/functions/remove-alpha-chars.function.d.ts +0 -1
  176. package/dist/types/lib/functions/sanitize-filename.function.d.ts +0 -1
  177. package/dist/types/lib/functions/sleep.function.d.ts +0 -1
  178. package/dist/types/lib/functions/snake-case.function.d.ts +0 -24
  179. package/dist/types/lib/functions/subtract-offset.function.d.ts +0 -1
  180. package/dist/types/lib/functions/to-boolean-string.function.d.ts +0 -1
  181. package/dist/types/lib/functions/to-calendar-date.function.d.ts +0 -1
  182. package/dist/types/lib/functions/to-csv-string.function.d.ts +0 -1
  183. package/dist/types/lib/functions/to-decimal-base.function.d.ts +0 -1
  184. package/dist/types/lib/functions/to-dollars-and-cents.function.d.ts +0 -1
  185. package/dist/types/lib/functions/to-string.function.d.ts +0 -1
  186. package/dist/types/lib/functions/to-unique-array.function.d.ts +0 -1
  187. package/dist/types/lib/functions/to-words.function.d.ts +0 -1
  188. package/dist/types/lib/functions/try-json-parse.d.ts +0 -1
  189. package/dist/types/lib/functions/try-json-stringify.d.ts +0 -1
  190. package/dist/types/lib/functions/try-parse-date.function.d.ts +0 -1
  191. package/dist/types/lib/functions/unicode-words.const.d.ts +0 -8
  192. package/dist/types/lib/functions/upper-first.function.d.ts +0 -1
  193. package/dist/types/lib/functions/words.function.d.ts +0 -17
  194. package/dist/types/lib/interfaces/axios-wrapped-nest-exception.interface.d.ts +0 -5
  195. package/dist/types/lib/interfaces/entity-provider.interface.d.ts +0 -9
  196. package/dist/types/lib/interfaces/keys-of.type.d.ts +0 -3
@@ -1,33 +0,0 @@
1
- export * from './lib/constants/decimal-regex.constant';
2
- export * from './lib/constants/millis-per-day.constant';
3
- export * from './lib/constants/millis-per-hour.constant';
4
- export * from './lib/constants/millis-per-minute.constant';
5
- export * from './lib/functions/add-offset.function';
6
- export * from './lib/functions/camel-case.function';
7
- export * from './lib/functions/convert-object-to-literal.function';
8
- export * from './lib/functions/from-boolean-string.function';
9
- export * from './lib/functions/from-calendar-date.function';
10
- export * from './lib/functions/from-csv-string.function';
11
- export * from './lib/functions/kebab-case.function';
12
- export * from './lib/functions/money.function';
13
- export * from './lib/functions/parse-bool.function';
14
- export * from './lib/functions/properties-to-array.function';
15
- export * from './lib/functions/remove-alpha-chars.function';
16
- export * from './lib/functions/sleep.function';
17
- export * from './lib/functions/sanitize-filename.function';
18
- export * from './lib/functions/snake-case.function';
19
- export * from './lib/functions/subtract-offset.function';
20
- export * from './lib/functions/to-boolean-string.function';
21
- export * from './lib/functions/to-calendar-date.function';
22
- export * from './lib/functions/to-csv-string.function';
23
- export * from './lib/functions/to-decimal-base.function';
24
- export * from './lib/functions/to-dollars-and-cents.function';
25
- export * from './lib/functions/to-unique-array.function';
26
- export * from './lib/functions/to-words.function';
27
- export * from './lib/functions/try-parse-date.function';
28
- export * from './lib/functions/unicode-words.const';
29
- export * from './lib/functions/upper-first.function';
30
- export * from './lib/functions/words.function';
31
- export * from './lib/interfaces/axios-wrapped-nest-exception.interface';
32
- export * from './lib/interfaces/entity-provider.interface';
33
- export * from './lib/interfaces/keys-of.type';
@@ -1 +0,0 @@
1
- export declare const decimalRegex: RegExp;
@@ -1 +0,0 @@
1
- export declare const MILLIS_PER_DAY: number;
@@ -1 +0,0 @@
1
- export declare const MILLIS_PER_HOUR: number;
@@ -1 +0,0 @@
1
- export declare const MILLIS_PER_MINUTE: number;
@@ -1 +0,0 @@
1
- export declare function addOffset(input: string | Date | undefined | null): Date | undefined;
@@ -1,20 +0,0 @@
1
- /**
2
- * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
3
- *
4
- * @since 3.0.0
5
- * @category String
6
- * @param {string} [string=''] The string to convert.
7
- * @returns {string} Returns the camel cased string.
8
- * @see lowerCase, kebabCase, snakeCase, startCase, upperCase, upperFirst
9
- * @example
10
- *
11
- * camelCase('Foo Bar')
12
- * // => 'fooBar'
13
- *
14
- * camelCase('--foo-bar--')
15
- * // => 'fooBar'
16
- *
17
- * camelCase('__FOO_BAR__')
18
- * // => 'fooBar'
19
- */
20
- export declare const camelCase: (string: string) => string;
@@ -1 +0,0 @@
1
- export declare function convertObjectToLiteral(literalFn: (k: string, v: any) => string, delimiter: string, keyValuePairs: Record<string, any>): string;
@@ -1 +0,0 @@
1
- export declare function fromBooleanString(value?: string): value is "true";
@@ -1 +0,0 @@
1
- export declare function fromCalendarDate(input: string | Date | undefined | null): Date | null;
@@ -1 +0,0 @@
1
- export declare function fromCsvString(value?: string): string[];
@@ -1 +0,0 @@
1
- export declare function getTag(value: any): string;
@@ -1 +0,0 @@
1
- export declare function isSymbol(value: any): boolean;
@@ -1 +0,0 @@
1
- export declare function kebabCase(string: string): string;
@@ -1 +0,0 @@
1
- export declare function money(rawValue: number | string): string | undefined;
@@ -1 +0,0 @@
1
- export declare function parseBool(asc: string | boolean | null | undefined): boolean;
@@ -1 +0,0 @@
1
- export declare function propertiesToArray(obj: Record<string, any>): any;
@@ -1 +0,0 @@
1
- export declare function removeAlphaChars(input?: string | number): string | undefined;
@@ -1 +0,0 @@
1
- export declare function sanitizeFilename(filename: string): string;
@@ -1 +0,0 @@
1
- export declare function sleep(milliseconds?: number): Promise<unknown>;
@@ -1,24 +0,0 @@
1
- /**
2
- * Converts `string` to
3
- * [snake case](https://en.wikipedia.org/wiki/Snake_case).
4
- *
5
- * @since 3.0.0
6
- * @category String
7
- * @param {string} [string=''] The string to convert.
8
- * @returns {string} Returns the snake cased string.
9
- * @see camelCase, lowerCase, kebabCase, startCase, upperCase, upperFirst
10
- * @example
11
- *
12
- * snakeCase('Foo Bar')
13
- * // => 'foo_bar'
14
- *
15
- * snakeCase('fooBar')
16
- * // => 'foo_bar'
17
- *
18
- * snakeCase('--FOO-BAR--')
19
- * // => 'foo_bar'
20
- *
21
- * snakeCase('foo2bar')
22
- * // => 'foo_2_bar'
23
- */
24
- export declare function snakeCase(string: string): string;
@@ -1 +0,0 @@
1
- export declare function subtractOffset(input: string | Date | undefined | null): Date | undefined;
@@ -1 +0,0 @@
1
- export declare function toBooleanString(val?: boolean): "true" | "false";
@@ -1 +0,0 @@
1
- export declare function toCalendarDate(input: string | Date | undefined | null): string | undefined;
@@ -1 +0,0 @@
1
- export declare function toCsvString(val?: string[]): string;
@@ -1 +0,0 @@
1
- export declare function toDecimalBase(n: string | number, base?: number): number;
@@ -1 +0,0 @@
1
- export declare function toDollarsAndCents(input: string | number): string;
@@ -1 +0,0 @@
1
- export declare function toString(value: any): string;
@@ -1 +0,0 @@
1
- export declare function toUniqueArray<TElement>(elements: TElement[]): TElement[];
@@ -1 +0,0 @@
1
- export declare function toWords(input: number | string): string;
@@ -1 +0,0 @@
1
- export declare function tryJsonParse<T>(parseable: string | null | undefined): T | null;
@@ -1 +0,0 @@
1
- export declare function tryJsonStringify<T>(object: T | null | undefined, fmtr?: any, spaces?: number): string | null;
@@ -1 +0,0 @@
1
- export declare function tryParseDate(input: string | Date | undefined | null): Date | undefined;
@@ -1,8 +0,0 @@
1
- /**
2
- * Splits a Unicode `string` into an array of its words.
3
- *
4
- * @private
5
- * @param {string} The string to inspect.
6
- * @returns {Array} Returns the words of `string`.
7
- */
8
- export declare function unicodeWords(string: string): RegExpMatchArray | null;
@@ -1 +0,0 @@
1
- export declare function upperFirst(string: string): string;
@@ -1,17 +0,0 @@
1
- /**
2
- * Splits `string` into an array of its words.
3
- *
4
- * @since 3.0.0
5
- * @category String
6
- * @param {string} [string=''] The string to inspect.
7
- * @param {RegExp|string} [pattern] The pattern to match words.
8
- * @returns {Array} Returns the words of `string`.
9
- * @example
10
- *
11
- * words('fred, barney, & pebbles')
12
- * // => ['fred', 'barney', 'pebbles']
13
- *
14
- * words('fred, barney, & pebbles', /[^, ]+/g)
15
- * // => ['fred', 'barney', '&', 'pebbles']
16
- */
17
- export declare function words(string: string, pattern?: RegExp): [] | RegExpMatchArray;
@@ -1,5 +0,0 @@
1
- export interface IAxiosWrappedNestException {
2
- statusCode: number;
3
- error: string;
4
- message: string;
5
- }
@@ -1,9 +0,0 @@
1
- export interface IEntityProvider<TEntity, TFindOneOptions, TFindManyOptions, TFindOptionsWhere, TQueryDeepPartialEntity> {
2
- getOne: (options: TFindOneOptions) => Promise<TEntity>;
3
- getMany: (options: TFindManyOptions) => Promise<TEntity[]>;
4
- postOne: (body: Partial<TEntity>) => Promise<TEntity>;
5
- postMany: (body: Partial<TEntity[]>) => Promise<TEntity[]>;
6
- delete: (options: TFindOptionsWhere) => Promise<void>;
7
- put: (options: TFindOptionsWhere, body: TQueryDeepPartialEntity) => Promise<void>;
8
- patch: (options: TFindOptionsWhere, body: TQueryDeepPartialEntity) => Promise<void>;
9
- }
@@ -1,3 +0,0 @@
1
- export type TKeysOf<TKeySource, TValue> = {
2
- [key in keyof TKeySource]: TValue;
3
- };