@warp-drive/utilities 5.9.0-beta.0 → 5.9.0-beta.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 (158) hide show
  1. package/cjs-dist/string.cjs +448 -0
  2. package/cjs-dist/string.cjs.map +1 -0
  3. package/dist/-private.d.ts +12 -0
  4. package/dist/-private.d.ts.map +1 -0
  5. package/dist/-private.js +2 -6
  6. package/dist/active-record.d.ts +260 -0
  7. package/dist/active-record.d.ts.map +1 -0
  8. package/dist/active-record.js +254 -379
  9. package/dist/active-record.js.map +1 -0
  10. package/dist/builder-utils-BkXwUT0x.js +16 -0
  11. package/dist/builder-utils-BkXwUT0x.js.map +1 -0
  12. package/dist/derivations.d.ts +30 -0
  13. package/dist/derivations.d.ts.map +1 -0
  14. package/dist/derivations.js +26 -26
  15. package/dist/derivations.js.map +1 -0
  16. package/dist/handlers.d.ts +283 -0
  17. package/dist/handlers.d.ts.map +1 -0
  18. package/dist/handlers.js +240 -283
  19. package/dist/handlers.js.map +1 -0
  20. package/dist/index-BeMAuqgZ.d.ts +462 -0
  21. package/dist/index-BeMAuqgZ.d.ts.map +1 -0
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.js +357 -335
  24. package/dist/index.js.map +1 -0
  25. package/dist/inflections-DzBsjJqj.js +80 -0
  26. package/dist/inflections-DzBsjJqj.js.map +1 -0
  27. package/dist/json-api.d.ts +496 -0
  28. package/dist/json-api.d.ts.map +1 -0
  29. package/dist/json-api.js +470 -706
  30. package/dist/json-api.js.map +1 -0
  31. package/dist/rest.d.ts +258 -0
  32. package/dist/rest.d.ts.map +1 -0
  33. package/dist/rest.js +254 -377
  34. package/dist/rest.js.map +1 -0
  35. package/dist/string-CWmAluxh.js +290 -0
  36. package/dist/string-CWmAluxh.js.map +1 -0
  37. package/dist/string.d.ts +165 -0
  38. package/dist/string.d.ts.map +1 -0
  39. package/dist/string.js +2 -427
  40. package/dist/unpkg/dev/-private.js +2 -6
  41. package/dist/unpkg/dev/active-record.js +253 -378
  42. package/dist/unpkg/dev/active-record.js.map +1 -0
  43. package/dist/unpkg/dev/builder-utils-BkXwUT0x.js +16 -0
  44. package/dist/unpkg/dev/builder-utils-BkXwUT0x.js.map +1 -0
  45. package/dist/unpkg/dev/derivations.js +26 -26
  46. package/dist/unpkg/dev/derivations.js.map +1 -0
  47. package/dist/unpkg/dev/handlers.js +238 -282
  48. package/dist/unpkg/dev/handlers.js.map +1 -0
  49. package/dist/unpkg/dev/index.js +356 -336
  50. package/dist/unpkg/dev/index.js.map +1 -0
  51. package/dist/unpkg/dev/inflections-DzBsjJqj.js +80 -0
  52. package/dist/unpkg/dev/inflections-DzBsjJqj.js.map +1 -0
  53. package/dist/unpkg/dev/json-api.js +469 -706
  54. package/dist/unpkg/dev/json-api.js.map +1 -0
  55. package/dist/unpkg/dev/rest.js +253 -376
  56. package/dist/unpkg/dev/rest.js.map +1 -0
  57. package/dist/unpkg/dev/string-j4ur-TDs.js +289 -0
  58. package/dist/unpkg/dev/string-j4ur-TDs.js.map +1 -0
  59. package/dist/unpkg/dev/string.js +3 -1
  60. package/dist/unpkg/dev-deprecated/-private.js +2 -6
  61. package/dist/unpkg/dev-deprecated/active-record.js +253 -378
  62. package/dist/unpkg/dev-deprecated/active-record.js.map +1 -0
  63. package/dist/unpkg/dev-deprecated/builder-utils-BkXwUT0x.js +16 -0
  64. package/dist/unpkg/dev-deprecated/builder-utils-BkXwUT0x.js.map +1 -0
  65. package/dist/unpkg/dev-deprecated/derivations.js +26 -26
  66. package/dist/unpkg/dev-deprecated/derivations.js.map +1 -0
  67. package/dist/unpkg/dev-deprecated/handlers.js +238 -282
  68. package/dist/unpkg/dev-deprecated/handlers.js.map +1 -0
  69. package/dist/unpkg/dev-deprecated/index.js +356 -336
  70. package/dist/unpkg/dev-deprecated/index.js.map +1 -0
  71. package/dist/unpkg/dev-deprecated/inflections-DzBsjJqj.js +80 -0
  72. package/dist/unpkg/dev-deprecated/inflections-DzBsjJqj.js.map +1 -0
  73. package/dist/unpkg/dev-deprecated/json-api.js +469 -706
  74. package/dist/unpkg/dev-deprecated/json-api.js.map +1 -0
  75. package/dist/unpkg/dev-deprecated/rest.js +253 -376
  76. package/dist/unpkg/dev-deprecated/rest.js.map +1 -0
  77. package/dist/unpkg/dev-deprecated/string-j4ur-TDs.js +289 -0
  78. package/dist/unpkg/dev-deprecated/string-j4ur-TDs.js.map +1 -0
  79. package/dist/unpkg/dev-deprecated/string.js +3 -1
  80. package/dist/unpkg/prod/-private.js +2 -6
  81. package/dist/unpkg/prod/active-record.js +236 -351
  82. package/dist/unpkg/prod/active-record.js.map +1 -0
  83. package/dist/unpkg/prod/builder-utils-BkXwUT0x.js +16 -0
  84. package/dist/unpkg/prod/builder-utils-BkXwUT0x.js.map +1 -0
  85. package/dist/unpkg/prod/derivations.js +26 -26
  86. package/dist/unpkg/prod/derivations.js.map +1 -0
  87. package/dist/unpkg/prod/handlers.js +231 -272
  88. package/dist/unpkg/prod/handlers.js.map +1 -0
  89. package/dist/unpkg/prod/index.js +265 -215
  90. package/dist/unpkg/prod/index.js.map +1 -0
  91. package/dist/unpkg/prod/inflections-DzBsjJqj.js +80 -0
  92. package/dist/unpkg/prod/inflections-DzBsjJqj.js.map +1 -0
  93. package/dist/unpkg/prod/json-api.js +446 -669
  94. package/dist/unpkg/prod/json-api.js.map +1 -0
  95. package/dist/unpkg/prod/rest.js +236 -349
  96. package/dist/unpkg/prod/rest.js.map +1 -0
  97. package/dist/unpkg/prod/string-T1ahjLdj.js +283 -0
  98. package/dist/unpkg/prod/string-T1ahjLdj.js.map +1 -0
  99. package/dist/unpkg/prod/string.js +3 -1
  100. package/dist/unpkg/prod-deprecated/-private.js +2 -6
  101. package/dist/unpkg/prod-deprecated/active-record.js +236 -351
  102. package/dist/unpkg/prod-deprecated/active-record.js.map +1 -0
  103. package/dist/unpkg/prod-deprecated/builder-utils-BkXwUT0x.js +16 -0
  104. package/dist/unpkg/prod-deprecated/builder-utils-BkXwUT0x.js.map +1 -0
  105. package/dist/unpkg/prod-deprecated/derivations.js +26 -26
  106. package/dist/unpkg/prod-deprecated/derivations.js.map +1 -0
  107. package/dist/unpkg/prod-deprecated/handlers.js +231 -272
  108. package/dist/unpkg/prod-deprecated/handlers.js.map +1 -0
  109. package/dist/unpkg/prod-deprecated/index.js +265 -215
  110. package/dist/unpkg/prod-deprecated/index.js.map +1 -0
  111. package/dist/unpkg/prod-deprecated/inflections-DzBsjJqj.js +80 -0
  112. package/dist/unpkg/prod-deprecated/inflections-DzBsjJqj.js.map +1 -0
  113. package/dist/unpkg/prod-deprecated/json-api.js +446 -669
  114. package/dist/unpkg/prod-deprecated/json-api.js.map +1 -0
  115. package/dist/unpkg/prod-deprecated/rest.js +236 -349
  116. package/dist/unpkg/prod-deprecated/rest.js.map +1 -0
  117. package/dist/unpkg/prod-deprecated/string-T1ahjLdj.js +283 -0
  118. package/dist/unpkg/prod-deprecated/string-T1ahjLdj.js.map +1 -0
  119. package/dist/unpkg/prod-deprecated/string.js +3 -1
  120. package/package.json +20 -23
  121. package/declarations/-private/active-record/find-record.d.ts +0 -64
  122. package/declarations/-private/active-record/query.d.ts +0 -53
  123. package/declarations/-private/active-record/save-record.d.ts +0 -146
  124. package/declarations/-private/builder-utils.d.ts +0 -4
  125. package/declarations/-private/handlers/auto-compress.d.ts +0 -158
  126. package/declarations/-private/handlers/gated.d.ts +0 -19
  127. package/declarations/-private/handlers/meta-doc.d.ts +0 -47
  128. package/declarations/-private/handlers/utils.d.ts +0 -41
  129. package/declarations/-private/json-api/-utils.d.ts +0 -109
  130. package/declarations/-private/json-api/find-record.d.ts +0 -84
  131. package/declarations/-private/json-api/query.d.ts +0 -100
  132. package/declarations/-private/json-api/save-record.d.ts +0 -228
  133. package/declarations/-private/json-api/serialize.d.ts +0 -70
  134. package/declarations/-private/rest/find-record.d.ts +0 -62
  135. package/declarations/-private/rest/query.d.ts +0 -53
  136. package/declarations/-private/rest/save-record.d.ts +0 -146
  137. package/declarations/-private/string/inflect.d.ts +0 -82
  138. package/declarations/-private/string/inflections.d.ts +0 -9
  139. package/declarations/-private/string/transform.d.ts +0 -77
  140. package/declarations/-private.d.ts +0 -1
  141. package/declarations/active-record.d.ts +0 -3
  142. package/declarations/derivations.d.ts +0 -27
  143. package/declarations/handlers.d.ts +0 -10
  144. package/declarations/index.d.ts +0 -208
  145. package/declarations/json-api.d.ts +0 -5
  146. package/declarations/rest.d.ts +0 -3
  147. package/declarations/string.d.ts +0 -14
  148. package/dist/builder-utils-Donkk-BZ.js +0 -22
  149. package/dist/inflect-BSG696t-.js +0 -344
  150. package/dist/string.cjs +0 -430
  151. package/dist/unpkg/dev/builder-utils-Donkk-BZ.js +0 -22
  152. package/dist/unpkg/dev/inflect-BEv8WqY1.js +0 -343
  153. package/dist/unpkg/dev-deprecated/builder-utils-Donkk-BZ.js +0 -22
  154. package/dist/unpkg/dev-deprecated/inflect-BEv8WqY1.js +0 -343
  155. package/dist/unpkg/prod/builder-utils-Donkk-BZ.js +0 -22
  156. package/dist/unpkg/prod/inflect-Dh9dyEYx.js +0 -333
  157. package/dist/unpkg/prod-deprecated/builder-utils-Donkk-BZ.js +0 -22
  158. package/dist/unpkg/prod-deprecated/inflect-Dh9dyEYx.js +0 -333
@@ -0,0 +1,260 @@
1
+ import { ReactiveDataDocument } from "@warp-drive/core/reactive";
2
+ import { TypeFromInstance, TypedRecordInstance } from "@warp-drive/core/types/record";
3
+ import { ConstrainedRequestOptions, CreateRequestOptions, DeleteRequestOptions, FindRecordOptions, FindRecordRequestOptions, QueryRequestOptions, RemotelyAccessibleIdentifier, UpdateRequestOptions } from "@warp-drive/core/types/request";
4
+ import { QueryParamsSource } from "@warp-drive/core/types/params";
5
+ //#region src/-private/active-record/find-record.d.ts
6
+ /**
7
+ * Builds request options to fetch a single resource by a known id or identifier
8
+ * configured for the url and header expectations of most ActiveRecord APIs.
9
+ *
10
+ * **Basic Usage**
11
+ *
12
+ * ```ts
13
+ * import { findRecord } from '@warp-drive/utilities/active-record';
14
+ *
15
+ * const data = await store.request(findRecord('person', '1'));
16
+ * ```
17
+ *
18
+ * **With Options**
19
+ *
20
+ * ```ts
21
+ * import { findRecord } from '@warp-drive/utilities/active-record';
22
+ *
23
+ * const options = findRecord('person', '1', { include: ['pets', 'friends'] });
24
+ * const data = await store.request(options);
25
+ * ```
26
+ *
27
+ * **With an Identifier**
28
+ *
29
+ * ```ts
30
+ * import { findRecord } from '@warp-drive/utilities/active-record';
31
+ *
32
+ * const options = findRecord({ type: 'person', id: '1' }, { include: ['pets', 'friends'] });
33
+ * const data = await store.request(options);
34
+ * ```
35
+ *
36
+ * **Supplying Options to Modify the Request Behavior**
37
+ *
38
+ * The following options are supported:
39
+ *
40
+ * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
41
+ * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
42
+ * - `resourcePath` - The resource path to use for the request, defaults to pluralizing and underscoring the supplied type
43
+ * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
44
+ * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
45
+ * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
46
+ * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
47
+ * defaulting to `false` if none is configured.
48
+ * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
49
+ *
50
+ * ```ts
51
+ * import { findRecord } from '@warp-drive/utilities/active-record';
52
+ *
53
+ * const options = findRecord('person', '1', { include: ['pets', 'friends'] }, { namespace: 'api/v2' });
54
+ * const data = await store.request(options);
55
+ * ```
56
+ *
57
+ * @public
58
+ * @param identifier
59
+ * @param options
60
+ */
61
+ declare function findRecord<T>(identifier: RemotelyAccessibleIdentifier<TypeFromInstance<T>>, options?: FindRecordOptions): FindRecordRequestOptions<ReactiveDataDocument<T>, T>;
62
+ declare function findRecord(identifier: RemotelyAccessibleIdentifier, options?: FindRecordOptions): FindRecordRequestOptions;
63
+ declare function findRecord<T>(type: TypeFromInstance<T>, id: string, options?: FindRecordOptions): FindRecordRequestOptions<ReactiveDataDocument<T>, T>;
64
+ declare function findRecord(type: string, id: string, options?: FindRecordOptions): FindRecordRequestOptions;
65
+ //#endregion
66
+ //#region src/-private/active-record/query.d.ts
67
+ /**
68
+ * Builds request options to query for resources, usually by a primary
69
+ * type, configured for the url and header expectations of most ActiveRecord APIs.
70
+ *
71
+ * **Basic Usage**
72
+ *
73
+ * ```ts
74
+ * import { query } from '@warp-drive/utilities/active-record';
75
+ *
76
+ * const data = await store.request(query('person'));
77
+ * ```
78
+ *
79
+ * **With Query Params**
80
+ *
81
+ * ```ts
82
+ * import { query } from '@warp-drive/utilities/active-record';
83
+ *
84
+ * const options = query('person', { include: ['pets', 'friends'] });
85
+ * const data = await store.request(options);
86
+ * ```
87
+ *
88
+ * **Supplying Options to Modify the Request Behavior**
89
+ *
90
+ * The following options are supported:
91
+ *
92
+ * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
93
+ * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
94
+ * - `resourcePath` - The resource path to use for the request, defaults to pluralizing and underscoring the supplied type
95
+ * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
96
+ * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
97
+ * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
98
+ * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
99
+ * defaulting to `false` if none is configured.
100
+ * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
101
+ *
102
+ * ```ts
103
+ * import { query } from '@warp-drive/utilities/active-record';
104
+ *
105
+ * const options = query('person', { include: ['pets', 'friends'] }, { reload: true });
106
+ * const data = await store.request(options);
107
+ * ```
108
+ *
109
+ * @public
110
+ * @param identifier
111
+ * @param query
112
+ * @param options
113
+ */
114
+ declare function query<T>(type: TypeFromInstance<T>, query?: QueryParamsSource, options?: ConstrainedRequestOptions): QueryRequestOptions<ReactiveDataDocument<T[]>>;
115
+ declare function query(type: string, query?: QueryParamsSource, options?: ConstrainedRequestOptions): QueryRequestOptions;
116
+ //#endregion
117
+ //#region src/-private/active-record/save-record.d.ts
118
+ /**
119
+ * Builds request options to delete record for resources,
120
+ * configured for the url, method and header expectations of ActiveRecord APIs.
121
+ *
122
+ * **Basic Usage**
123
+ *
124
+ * ```ts
125
+ * import { deleteRecord } from '@warp-drive/utilities/active-record';
126
+ *
127
+ * const person = store.peekRecord('person', '1');
128
+ *
129
+ * // mark record as deleted
130
+ * store.deleteRecord(person);
131
+ *
132
+ * // persist deletion
133
+ * const data = await store.request(deleteRecord(person));
134
+ * ```
135
+ *
136
+ * **Supplying Options to Modify the Request Behavior**
137
+ *
138
+ * The following options are supported:
139
+ *
140
+ * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
141
+ * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
142
+ * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type
143
+ * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
144
+ * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
145
+ * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
146
+ * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
147
+ * defaulting to `false` if none is configured.
148
+ * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
149
+ *
150
+ * ```ts
151
+ * import { deleteRecord } from '@warp-drive/utilities/active-record';
152
+ *
153
+ * const person = store.peekRecord('person', '1');
154
+ *
155
+ * // mark record as deleted
156
+ * store.deleteRecord(person);
157
+ *
158
+ * // persist deletion
159
+ * const options = deleteRecord(person, { namespace: 'api/v1' });
160
+ * const data = await store.request(options);
161
+ * ```
162
+ *
163
+ * @public
164
+ * @param record
165
+ * @param options
166
+ */
167
+ declare function deleteRecord<T>(record: T, options?: ConstrainedRequestOptions): DeleteRequestOptions<T>;
168
+ declare function deleteRecord(record: unknown, options?: ConstrainedRequestOptions): DeleteRequestOptions;
169
+ /**
170
+ * Builds request options to create new record for resources,
171
+ * configured for the url, method and header expectations of most ActiveRecord APIs.
172
+ *
173
+ * **Basic Usage**
174
+ *
175
+ * ```ts
176
+ * import { createRecord } from '@warp-drive/utilities/active-record';
177
+ *
178
+ * const person = store.createRecord('person', { name: 'Ted' });
179
+ * const data = await store.request(createRecord(person));
180
+ * ```
181
+ *
182
+ * **Supplying Options to Modify the Request Behavior**
183
+ *
184
+ * The following options are supported:
185
+ *
186
+ * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
187
+ * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
188
+ * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type
189
+ * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
190
+ * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
191
+ * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
192
+ * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
193
+ * defaulting to `false` if none is configured.
194
+ * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
195
+ *
196
+ * ```ts
197
+ * import { createRecord } from '@warp-drive/utilities/active-record';
198
+ *
199
+ * const person = store.createRecord('person', { name: 'Ted' });
200
+ * const options = createRecord(person, { namespace: 'api/v1' });
201
+ * const data = await store.request(options);
202
+ * ```
203
+ *
204
+ * @public
205
+ * @param record
206
+ * @param options
207
+ */
208
+ declare function createRecord<T>(record: T, options?: ConstrainedRequestOptions): CreateRequestOptions<T>;
209
+ declare function createRecord(record: unknown, options?: ConstrainedRequestOptions): CreateRequestOptions;
210
+ /**
211
+ * Builds request options to update existing record for resources,
212
+ * configured for the url, method and header expectations of most ActiveRecord APIs.
213
+ *
214
+ * **Basic Usage**
215
+ *
216
+ * ```ts
217
+ * import { updateRecord } from '@warp-drive/utilities/active-record';
218
+ *
219
+ * const person = store.peekRecord('person', '1');
220
+ * person.name = 'Chris';
221
+ * const data = await store.request(updateRecord(person));
222
+ * ```
223
+ *
224
+ * **Supplying Options to Modify the Request Behavior**
225
+ *
226
+ * The following options are supported:
227
+ *
228
+ * - `patch` - Allows caller to specify whether to use a PATCH request instead of a PUT request, defaults to `false`.
229
+ * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
230
+ * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
231
+ * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type
232
+ * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
233
+ * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
234
+ * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
235
+ * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
236
+ * defaulting to `false` if none is configured.
237
+ * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
238
+ *
239
+ * ```ts
240
+ * import { updateRecord } from '@warp-drive/utilities/active-record';
241
+ *
242
+ * const person = store.peekRecord('person', '1');
243
+ * person.name = 'Chris';
244
+ * const options = updateRecord(person, { patch: true });
245
+ * const data = await store.request(options);
246
+ * ```
247
+ *
248
+ * @public
249
+ * @param record
250
+ * @param options
251
+ */
252
+ declare function updateRecord<T extends TypedRecordInstance, RT extends TypedRecordInstance = T>(record: T, options?: ConstrainedRequestOptions & {
253
+ patch?: boolean;
254
+ }): UpdateRequestOptions<ReactiveDataDocument<RT>, T>;
255
+ declare function updateRecord(record: unknown, options?: ConstrainedRequestOptions & {
256
+ patch?: boolean;
257
+ }): UpdateRequestOptions;
258
+ //#endregion
259
+ export { createRecord, deleteRecord, findRecord, query, updateRecord };
260
+ //# sourceMappingURL=active-record.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"active-record.d.ts","names":[],"sources":["../src/-private/active-record/find-record.ts","../src/-private/active-record/query.ts","../src/-private/active-record/save-record.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmEgB,WAAW,GACzB,YAAY,6BAA6B,iBAAiB,KAC1D,UAAU,oBACT,yBAAyB,qBAAqB,IAAI;iBACrC,WACd,YAAY,8BACZ,UAAU,oBACT;iBACa,WAAW,GACzB,MAAM,iBAAiB,IACvB,YACA,UAAU,oBACT,yBAAyB,qBAAqB,IAAI;iBACrC,WAAW,cAAc,YAAY,UAAU,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCxBnE,MAAM,GACpB,MAAM,iBAAiB,IACvB,QAAQ,mBACR,UAAU,4BACT,oBAAoB,qBAAqB;iBAC5B,MACd,cACA,QAAQ,mBACR,UAAU,4BACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCSa,aAAa,GAAG,QAAQ,GAAG,UAAU,4BAA4B,qBAAqB;iBACtF,aAAa,iBAAiB,UAAU,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqEpE,aAAa,GAAG,QAAQ,GAAG,UAAU,4BAA4B,qBAAqB;iBACtF,aAAa,iBAAiB,UAAU,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuEpE,aAAa,UAAU,qBAAqB,WAAW,sBAAsB,GAC3F,QAAQ,GACR,UAAU;EAA8B;IACvC,qBAAqB,qBAAqB,KAAK;iBAClC,aACd,iBACA,UAAU;EAA8B;IACvC"}