@sprucelabs/data-stores 27.0.11 → 27.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/build/.spruce/errors/dataStores/databaseNotConnected.schema.js +5 -5
  2. package/build/.spruce/errors/dataStores/duplicateKey.schema.js +1 -1
  3. package/build/.spruce/errors/dataStores/duplicateRecord.schema.js +9 -9
  4. package/build/.spruce/errors/dataStores/failedToLoadStore.schema.js +3 -3
  5. package/build/.spruce/errors/dataStores/failedToLoadStores.schema.js +3 -5
  6. package/build/.spruce/errors/dataStores/indexExists.schema.js +5 -5
  7. package/build/.spruce/errors/dataStores/indexNotFound.schema.js +5 -5
  8. package/build/.spruce/errors/dataStores/invalidConnectionStringScheme.schema.js +3 -3
  9. package/build/.spruce/errors/dataStores/invalidDatabaseName.schema.js +3 -3
  10. package/build/.spruce/errors/dataStores/invalidDbConnectionString.schema.js +1 -1
  11. package/build/.spruce/errors/dataStores/invalidFakeQueryResponse.schema.js +5 -5
  12. package/build/.spruce/errors/dataStores/invalidStore.schema.js +1 -1
  13. package/build/.spruce/errors/dataStores/invalidStoreName.schema.js +5 -5
  14. package/build/.spruce/errors/dataStores/mongoIdMappingError.schema.js +1 -1
  15. package/build/.spruce/errors/dataStores/notImplemented.schema.js +1 -1
  16. package/build/.spruce/errors/dataStores/queryNotFaked.schema.js +5 -5
  17. package/build/.spruce/errors/dataStores/record-not-found-query.schema.js +1 -1
  18. package/build/.spruce/errors/dataStores/recordNotFound.schema.js +5 -5
  19. package/build/.spruce/errors/dataStores/scrambleNotConfigured.schema.js +1 -1
  20. package/build/.spruce/errors/dataStores/unableToConnectToDb.schema.js +1 -1
  21. package/build/.spruce/errors/dataStores/unknownDatabaseError.schema.js +3 -3
  22. package/build/.spruce/errors/dataStores/unknownError.schema.js +1 -1
  23. package/build/.spruce/errors/dataStores/unknownStoreError.schema.js +5 -5
  24. package/build/.spruce/errors/errors.types.d.ts +55 -52
  25. package/build/.spruce/errors/options.types.d.ts +2 -2
  26. package/build/.spruce/schemas/fields/fields.types.d.ts +1 -1
  27. package/build/esm/.spruce/errors/errors.types.d.ts +55 -52
  28. package/build/esm/.spruce/errors/options.types.d.ts +2 -2
  29. package/package.json +12 -10
@@ -7,17 +7,17 @@ const databaseNotConnectedSchema = {
7
7
  name: 'Database not connected',
8
8
  fields: {
9
9
  /** . */
10
- operationAttempted: {
10
+ 'operationAttempted': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
15
  /** . */
16
- collectionName: {
16
+ 'collectionName': {
17
17
  type: 'text',
18
- options: undefined,
18
+ options: undefined
19
19
  },
20
- },
20
+ }
21
21
  };
22
22
  schema_1.SchemaRegistry.getInstance().trackSchema(databaseNotConnectedSchema);
23
23
  exports.default = databaseNotConnectedSchema;
@@ -5,7 +5,7 @@ const duplicateKeySchema = {
5
5
  id: 'duplicateKey',
6
6
  namespace: 'DataStores',
7
7
  name: 'Duplicate Key',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(duplicateKeySchema);
11
11
  exports.default = duplicateKeySchema;
@@ -7,34 +7,34 @@ const duplicateRecordSchema = {
7
7
  name: 'Duplicate record',
8
8
  fields: {
9
9
  /** . */
10
- duplicateFields: {
10
+ 'duplicateFields': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
13
  isArray: true,
14
- options: undefined,
14
+ options: undefined
15
15
  },
16
16
  /** . */
17
- duplicateValues: {
17
+ 'duplicateValues': {
18
18
  type: 'text',
19
19
  isRequired: true,
20
20
  isArray: true,
21
- options: undefined,
21
+ options: undefined
22
22
  },
23
23
  /** . */
24
- collectionName: {
24
+ 'collectionName': {
25
25
  type: 'text',
26
26
  isRequired: true,
27
- options: undefined,
27
+ options: undefined
28
28
  },
29
29
  /** Action. e.g. create, update, etc. */
30
- action: {
30
+ 'action': {
31
31
  label: 'Action',
32
32
  type: 'text',
33
33
  isRequired: true,
34
34
  hint: 'e.g. create, update, etc.',
35
- options: undefined,
35
+ options: undefined
36
36
  },
37
- },
37
+ }
38
38
  };
39
39
  schema_1.SchemaRegistry.getInstance().trackSchema(duplicateRecordSchema);
40
40
  exports.default = duplicateRecordSchema;
@@ -7,12 +7,12 @@ const failedToLoadStoreSchema = {
7
7
  name: 'Failed to load store',
8
8
  fields: {
9
9
  /** . */
10
- name: {
10
+ 'name': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
- },
15
+ }
16
16
  };
17
17
  schema_1.SchemaRegistry.getInstance().trackSchema(failedToLoadStoreSchema);
18
18
  exports.default = failedToLoadStoreSchema;
@@ -7,15 +7,13 @@ const failedToLoadStoresSchema = {
7
7
  name: 'failed to load stores',
8
8
  fields: {
9
9
  /** . */
10
- errors: {
10
+ 'errors': {
11
11
  type: 'raw',
12
12
  isRequired: true,
13
13
  isArray: true,
14
- options: {
15
- valueType: `AbstractSpruceError<FailedToLoadStoreErrorOptions>`,
16
- },
14
+ options: { valueType: `AbstractSpruceError<FailedToLoadStoreErrorOptions>`, }
17
15
  },
18
- },
16
+ }
19
17
  };
20
18
  schema_1.SchemaRegistry.getInstance().trackSchema(failedToLoadStoresSchema);
21
19
  exports.default = failedToLoadStoresSchema;
@@ -7,20 +7,20 @@ const indexExistsSchema = {
7
7
  name: 'Index Exists',
8
8
  fields: {
9
9
  /** Index Exists. */
10
- index: {
10
+ 'index': {
11
11
  label: 'Index Exists',
12
12
  type: 'text',
13
13
  isRequired: true,
14
14
  isArray: true,
15
- options: undefined,
15
+ options: undefined
16
16
  },
17
17
  /** . */
18
- collectionName: {
18
+ 'collectionName': {
19
19
  type: 'text',
20
20
  isRequired: true,
21
- options: undefined,
21
+ options: undefined
22
22
  },
23
- },
23
+ }
24
24
  };
25
25
  schema_1.SchemaRegistry.getInstance().trackSchema(indexExistsSchema);
26
26
  exports.default = indexExistsSchema;
@@ -7,20 +7,20 @@ const indexNotFoundSchema = {
7
7
  name: 'Index not found',
8
8
  fields: {
9
9
  /** Missing Index. */
10
- missingIndex: {
10
+ 'missingIndex': {
11
11
  label: 'Missing Index',
12
12
  type: 'text',
13
13
  isRequired: true,
14
14
  isArray: true,
15
- options: undefined,
15
+ options: undefined
16
16
  },
17
17
  /** . */
18
- collectionName: {
18
+ 'collectionName': {
19
19
  type: 'text',
20
20
  isRequired: true,
21
- options: undefined,
21
+ options: undefined
22
22
  },
23
- },
23
+ }
24
24
  };
25
25
  schema_1.SchemaRegistry.getInstance().trackSchema(indexNotFoundSchema);
26
26
  exports.default = indexNotFoundSchema;
@@ -7,12 +7,12 @@ const invalidConnectionStringSchemeSchema = {
7
7
  name: 'Invalid connection string scheme',
8
8
  fields: {
9
9
  /** . */
10
- connectionString: {
10
+ 'connectionString': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
- },
15
+ }
16
16
  };
17
17
  schema_1.SchemaRegistry.getInstance().trackSchema(invalidConnectionStringSchemeSchema);
18
18
  exports.default = invalidConnectionStringSchemeSchema;
@@ -7,12 +7,12 @@ const invalidDatabaseNameSchema = {
7
7
  name: 'Invalid database name',
8
8
  fields: {
9
9
  /** . */
10
- suppliedName: {
10
+ 'suppliedName': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
- },
15
+ }
16
16
  };
17
17
  schema_1.SchemaRegistry.getInstance().trackSchema(invalidDatabaseNameSchema);
18
18
  exports.default = invalidDatabaseNameSchema;
@@ -5,7 +5,7 @@ const invalidDbConnectionStringSchema = {
5
5
  id: 'invalidDbConnectionString',
6
6
  namespace: 'DataStores',
7
7
  name: 'Invalid db connection string',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(invalidDbConnectionStringSchema);
11
11
  exports.default = invalidDbConnectionStringSchema;
@@ -7,18 +7,18 @@ const invalidFakeQueryResponseSchema = {
7
7
  name: 'Invalid fake query response',
8
8
  fields: {
9
9
  /** . */
10
- query: {
10
+ 'query': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
15
  /** . */
16
- response: {
16
+ 'response': {
17
17
  type: 'raw',
18
18
  isRequired: true,
19
- options: { valueType: `any` },
19
+ options: { valueType: `any`, }
20
20
  },
21
- },
21
+ }
22
22
  };
23
23
  schema_1.SchemaRegistry.getInstance().trackSchema(invalidFakeQueryResponseSchema);
24
24
  exports.default = invalidFakeQueryResponseSchema;
@@ -5,7 +5,7 @@ const invalidStoreSchema = {
5
5
  id: 'invalidStore',
6
6
  namespace: 'DataStores',
7
7
  name: 'Invalid store',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(invalidStoreSchema);
11
11
  exports.default = invalidStoreSchema;
@@ -7,19 +7,19 @@ const invalidStoreNameSchema = {
7
7
  name: 'Invalid store',
8
8
  fields: {
9
9
  /** . */
10
- suppliedName: {
10
+ 'suppliedName': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
15
  /** . */
16
- validNames: {
16
+ 'validNames': {
17
17
  type: 'text',
18
18
  isRequired: true,
19
19
  isArray: true,
20
- options: undefined,
20
+ options: undefined
21
21
  },
22
- },
22
+ }
23
23
  };
24
24
  schema_1.SchemaRegistry.getInstance().trackSchema(invalidStoreNameSchema);
25
25
  exports.default = invalidStoreNameSchema;
@@ -5,7 +5,7 @@ const mongoIdMappingErrorSchema = {
5
5
  id: 'mongoIdMappingError',
6
6
  namespace: 'DataStores',
7
7
  name: 'Mongo id mapping error',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(mongoIdMappingErrorSchema);
11
11
  exports.default = mongoIdMappingErrorSchema;
@@ -5,7 +5,7 @@ const notImplementedSchema = {
5
5
  id: 'notImplemented',
6
6
  namespace: 'DataStores',
7
7
  name: 'Not implemented',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(notImplementedSchema);
11
11
  exports.default = notImplementedSchema;
@@ -7,17 +7,17 @@ const queryNotFakedSchema = {
7
7
  name: 'Query not faked',
8
8
  fields: {
9
9
  /** . */
10
- query: {
10
+ 'query': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
15
  /** . */
16
- params: {
16
+ 'params': {
17
17
  type: 'raw',
18
- options: { valueType: `Record<string, any>` },
18
+ options: { valueType: `Record<string, any>`, }
19
19
  },
20
- },
20
+ }
21
21
  };
22
22
  schema_1.SchemaRegistry.getInstance().trackSchema(queryNotFakedSchema);
23
23
  exports.default = queryNotFakedSchema;
@@ -8,7 +8,7 @@ const recordNotFoundQuerySchema = {
8
8
  dynamicFieldSignature: {
9
9
  type: 'raw',
10
10
  keyName: 'field',
11
- options: { valueType: `any` },
11
+ options: { valueType: `any`, }
12
12
  },
13
13
  };
14
14
  schema_1.SchemaRegistry.getInstance().trackSchema(recordNotFoundQuerySchema);
@@ -11,20 +11,20 @@ const recordNotFoundSchema = {
11
11
  name: 'Record not found',
12
12
  fields: {
13
13
  /** Store name. */
14
- storeName: {
14
+ 'storeName': {
15
15
  label: 'Store name',
16
16
  type: 'text',
17
17
  isRequired: true,
18
- options: undefined,
18
+ options: undefined
19
19
  },
20
20
  /** Query. */
21
- query: {
21
+ 'query': {
22
22
  label: 'Query',
23
23
  type: 'schema',
24
24
  isRequired: true,
25
- options: { schema: record_not_found_query_schema_1.default },
25
+ options: { schema: record_not_found_query_schema_1.default, }
26
26
  },
27
- },
27
+ }
28
28
  };
29
29
  schema_1.SchemaRegistry.getInstance().trackSchema(recordNotFoundSchema);
30
30
  exports.default = recordNotFoundSchema;
@@ -5,7 +5,7 @@ const scrambleNotConfiguredSchema = {
5
5
  id: 'scrambleNotConfigured',
6
6
  namespace: 'DataStores',
7
7
  name: 'Scramble not configured',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(scrambleNotConfiguredSchema);
11
11
  exports.default = scrambleNotConfiguredSchema;
@@ -5,7 +5,7 @@ const unableToConnectToDbSchema = {
5
5
  id: 'unableToConnectToDb',
6
6
  namespace: 'DataStores',
7
7
  name: 'Unable to connect to db',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(unableToConnectToDbSchema);
11
11
  exports.default = unableToConnectToDbSchema;
@@ -7,12 +7,12 @@ const unknownDatabaseErrorSchema = {
7
7
  name: 'unknown database error',
8
8
  fields: {
9
9
  /** . */
10
- databaseErrorMessage: {
10
+ 'databaseErrorMessage': {
11
11
  type: 'text',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
- },
15
+ }
16
16
  };
17
17
  schema_1.SchemaRegistry.getInstance().trackSchema(unknownDatabaseErrorSchema);
18
18
  exports.default = unknownDatabaseErrorSchema;
@@ -5,7 +5,7 @@ const unknownErrorSchema = {
5
5
  id: 'unknownError',
6
6
  namespace: 'DataStores',
7
7
  name: 'Unknown Error',
8
- fields: {},
8
+ fields: {}
9
9
  };
10
10
  schema_1.SchemaRegistry.getInstance().trackSchema(unknownErrorSchema);
11
11
  exports.default = unknownErrorSchema;
@@ -7,21 +7,21 @@ const unknownStoreErrorSchema = {
7
7
  name: 'Unknown store error',
8
8
  fields: {
9
9
  /** Action. e.g. createPerson, updateLocation, etc */
10
- action: {
10
+ 'action': {
11
11
  label: 'Action',
12
12
  type: 'text',
13
13
  isRequired: true,
14
14
  hint: 'e.g. createPerson, updateLocation, etc',
15
- options: undefined,
15
+ options: undefined
16
16
  },
17
17
  /** Store name. */
18
- storeName: {
18
+ 'storeName': {
19
19
  label: 'Store name',
20
20
  type: 'text',
21
21
  isRequired: true,
22
- options: undefined,
22
+ options: undefined
23
23
  },
24
- },
24
+ }
25
25
  };
26
26
  schema_1.SchemaRegistry.getInstance().trackSchema(unknownStoreErrorSchema);
27
27
  exports.default = unknownStoreErrorSchema;
@@ -1,13 +1,13 @@
1
- import AbstractSpruceError from '@sprucelabs/error';
2
1
  import { default as SchemaEntity } from '@sprucelabs/schema';
3
2
  import * as SpruceSchema from '@sprucelabs/schema';
3
+ import AbstractSpruceError from '@sprucelabs/error';
4
4
  import { FailedToLoadStoreErrorOptions } from './options.types';
5
5
  export declare namespace SpruceErrors.DataStores {
6
6
  interface UnknownStoreError {
7
7
  /** Action. e.g. createPerson, updateLocation, etc */
8
- action: string;
8
+ 'action': string;
9
9
  /** Store name. */
10
- storeName: string;
10
+ 'storeName': string;
11
11
  }
12
12
  interface UnknownStoreErrorSchema extends SpruceSchema.Schema {
13
13
  id: 'unknownStoreError';
@@ -15,7 +15,7 @@ export declare namespace SpruceErrors.DataStores {
15
15
  name: 'Unknown store error';
16
16
  fields: {
17
17
  /** Action. e.g. createPerson, updateLocation, etc */
18
- action: {
18
+ 'action': {
19
19
  label: 'Action';
20
20
  type: 'text';
21
21
  isRequired: true;
@@ -23,7 +23,7 @@ export declare namespace SpruceErrors.DataStores {
23
23
  options: undefined;
24
24
  };
25
25
  /** Store name. */
26
- storeName: {
26
+ 'storeName': {
27
27
  label: 'Store name';
28
28
  type: 'text';
29
29
  isRequired: true;
@@ -46,7 +46,7 @@ export declare namespace SpruceErrors.DataStores {
46
46
  }
47
47
  export declare namespace SpruceErrors.DataStores {
48
48
  interface UnknownDatabaseError {
49
- databaseErrorMessage: string;
49
+ 'databaseErrorMessage': string;
50
50
  }
51
51
  interface UnknownDatabaseErrorSchema extends SpruceSchema.Schema {
52
52
  id: 'unknownDatabaseError';
@@ -54,7 +54,7 @@ export declare namespace SpruceErrors.DataStores {
54
54
  name: 'unknown database error';
55
55
  fields: {
56
56
  /** . */
57
- databaseErrorMessage: {
57
+ 'databaseErrorMessage': {
58
58
  type: 'text';
59
59
  isRequired: true;
60
60
  options: undefined;
@@ -86,7 +86,10 @@ export declare namespace SpruceErrors.DataStores {
86
86
  type ScrambleNotConfiguredEntity = SchemaEntity<SpruceErrors.DataStores.ScrambleNotConfiguredSchema>;
87
87
  }
88
88
  export declare namespace SpruceErrors.DataStores {
89
- type RecordNotFoundQuery = Record<string, any | undefined | null>;
89
+ interface RecordNotFoundQuery {
90
+ /** . */
91
+ [field: string]: (any) | undefined | null;
92
+ }
90
93
  interface RecordNotFoundQuerySchema extends SpruceSchema.Schema {
91
94
  id: 'record-not-found-query';
92
95
  namespace: 'DataStores';
@@ -104,9 +107,9 @@ export declare namespace SpruceErrors.DataStores {
104
107
  export declare namespace SpruceErrors.DataStores {
105
108
  interface RecordNotFound {
106
109
  /** Store name. */
107
- storeName: string;
110
+ 'storeName': string;
108
111
  /** Query. */
109
- query: SpruceErrors.DataStores.RecordNotFoundQuery;
112
+ 'query': SpruceErrors.DataStores.RecordNotFoundQuery;
110
113
  }
111
114
  interface RecordNotFoundSchema extends SpruceSchema.Schema {
112
115
  id: 'recordNotFound';
@@ -114,14 +117,14 @@ export declare namespace SpruceErrors.DataStores {
114
117
  name: 'Record not found';
115
118
  fields: {
116
119
  /** Store name. */
117
- storeName: {
120
+ 'storeName': {
118
121
  label: 'Store name';
119
122
  type: 'text';
120
123
  isRequired: true;
121
124
  options: undefined;
122
125
  };
123
126
  /** Query. */
124
- query: {
127
+ 'query': {
125
128
  label: 'Query';
126
129
  type: 'schema';
127
130
  isRequired: true;
@@ -135,8 +138,8 @@ export declare namespace SpruceErrors.DataStores {
135
138
  }
136
139
  export declare namespace SpruceErrors.DataStores {
137
140
  interface QueryNotFaked {
138
- query: string;
139
- params?: Record<string, any> | undefined | null;
141
+ 'query': string;
142
+ 'params'?: (Record<string, any>) | undefined | null;
140
143
  }
141
144
  interface QueryNotFakedSchema extends SpruceSchema.Schema {
142
145
  id: 'queryNotFaked';
@@ -144,13 +147,13 @@ export declare namespace SpruceErrors.DataStores {
144
147
  name: 'Query not faked';
145
148
  fields: {
146
149
  /** . */
147
- query: {
150
+ 'query': {
148
151
  type: 'text';
149
152
  isRequired: true;
150
153
  options: undefined;
151
154
  };
152
155
  /** . */
153
- params: {
156
+ 'params': {
154
157
  type: 'raw';
155
158
  options: {
156
159
  valueType: `Record<string, any>`;
@@ -184,8 +187,8 @@ export declare namespace SpruceErrors.DataStores {
184
187
  }
185
188
  export declare namespace SpruceErrors.DataStores {
186
189
  interface InvalidStoreName {
187
- suppliedName: string;
188
- validNames: string[];
190
+ 'suppliedName': string;
191
+ 'validNames': string[];
189
192
  }
190
193
  interface InvalidStoreNameSchema extends SpruceSchema.Schema {
191
194
  id: 'invalidStoreName';
@@ -193,13 +196,13 @@ export declare namespace SpruceErrors.DataStores {
193
196
  name: 'Invalid store';
194
197
  fields: {
195
198
  /** . */
196
- suppliedName: {
199
+ 'suppliedName': {
197
200
  type: 'text';
198
201
  isRequired: true;
199
202
  options: undefined;
200
203
  };
201
204
  /** . */
202
- validNames: {
205
+ 'validNames': {
203
206
  type: 'text';
204
207
  isRequired: true;
205
208
  isArray: true;
@@ -222,8 +225,8 @@ export declare namespace SpruceErrors.DataStores {
222
225
  }
223
226
  export declare namespace SpruceErrors.DataStores {
224
227
  interface InvalidFakeQueryResponse {
225
- query: string;
226
- response: any;
228
+ 'query': string;
229
+ 'response': (any);
227
230
  }
228
231
  interface InvalidFakeQueryResponseSchema extends SpruceSchema.Schema {
229
232
  id: 'invalidFakeQueryResponse';
@@ -231,13 +234,13 @@ export declare namespace SpruceErrors.DataStores {
231
234
  name: 'Invalid fake query response';
232
235
  fields: {
233
236
  /** . */
234
- query: {
237
+ 'query': {
235
238
  type: 'text';
236
239
  isRequired: true;
237
240
  options: undefined;
238
241
  };
239
242
  /** . */
240
- response: {
243
+ 'response': {
241
244
  type: 'raw';
242
245
  isRequired: true;
243
246
  options: {
@@ -261,7 +264,7 @@ export declare namespace SpruceErrors.DataStores {
261
264
  }
262
265
  export declare namespace SpruceErrors.DataStores {
263
266
  interface InvalidDatabaseName {
264
- suppliedName: string;
267
+ 'suppliedName': string;
265
268
  }
266
269
  interface InvalidDatabaseNameSchema extends SpruceSchema.Schema {
267
270
  id: 'invalidDatabaseName';
@@ -269,7 +272,7 @@ export declare namespace SpruceErrors.DataStores {
269
272
  name: 'Invalid database name';
270
273
  fields: {
271
274
  /** . */
272
- suppliedName: {
275
+ 'suppliedName': {
273
276
  type: 'text';
274
277
  isRequired: true;
275
278
  options: undefined;
@@ -280,7 +283,7 @@ export declare namespace SpruceErrors.DataStores {
280
283
  }
281
284
  export declare namespace SpruceErrors.DataStores {
282
285
  interface InvalidConnectionStringScheme {
283
- connectionString: string;
286
+ 'connectionString': string;
284
287
  }
285
288
  interface InvalidConnectionStringSchemeSchema extends SpruceSchema.Schema {
286
289
  id: 'invalidConnectionStringScheme';
@@ -288,7 +291,7 @@ export declare namespace SpruceErrors.DataStores {
288
291
  name: 'Invalid connection string scheme';
289
292
  fields: {
290
293
  /** . */
291
- connectionString: {
294
+ 'connectionString': {
292
295
  type: 'text';
293
296
  isRequired: true;
294
297
  options: undefined;
@@ -300,8 +303,8 @@ export declare namespace SpruceErrors.DataStores {
300
303
  export declare namespace SpruceErrors.DataStores {
301
304
  interface IndexNotFound {
302
305
  /** Missing Index. */
303
- missingIndex: string[];
304
- collectionName: string;
306
+ 'missingIndex': string[];
307
+ 'collectionName': string;
305
308
  }
306
309
  interface IndexNotFoundSchema extends SpruceSchema.Schema {
307
310
  id: 'indexNotFound';
@@ -309,7 +312,7 @@ export declare namespace SpruceErrors.DataStores {
309
312
  name: 'Index not found';
310
313
  fields: {
311
314
  /** Missing Index. */
312
- missingIndex: {
315
+ 'missingIndex': {
313
316
  label: 'Missing Index';
314
317
  type: 'text';
315
318
  isRequired: true;
@@ -317,7 +320,7 @@ export declare namespace SpruceErrors.DataStores {
317
320
  options: undefined;
318
321
  };
319
322
  /** . */
320
- collectionName: {
323
+ 'collectionName': {
321
324
  type: 'text';
322
325
  isRequired: true;
323
326
  options: undefined;
@@ -329,8 +332,8 @@ export declare namespace SpruceErrors.DataStores {
329
332
  export declare namespace SpruceErrors.DataStores {
330
333
  interface IndexExists {
331
334
  /** Index Exists. */
332
- index: string[];
333
- collectionName: string;
335
+ 'index': string[];
336
+ 'collectionName': string;
334
337
  }
335
338
  interface IndexExistsSchema extends SpruceSchema.Schema {
336
339
  id: 'indexExists';
@@ -338,7 +341,7 @@ export declare namespace SpruceErrors.DataStores {
338
341
  name: 'Index Exists';
339
342
  fields: {
340
343
  /** Index Exists. */
341
- index: {
344
+ 'index': {
342
345
  label: 'Index Exists';
343
346
  type: 'text';
344
347
  isRequired: true;
@@ -346,7 +349,7 @@ export declare namespace SpruceErrors.DataStores {
346
349
  options: undefined;
347
350
  };
348
351
  /** . */
349
- collectionName: {
352
+ 'collectionName': {
350
353
  type: 'text';
351
354
  isRequired: true;
352
355
  options: undefined;
@@ -357,7 +360,7 @@ export declare namespace SpruceErrors.DataStores {
357
360
  }
358
361
  export declare namespace SpruceErrors.DataStores {
359
362
  interface FailedToLoadStores {
360
- errors: AbstractSpruceError<FailedToLoadStoreErrorOptions>[];
363
+ 'errors': (AbstractSpruceError<FailedToLoadStoreErrorOptions>)[];
361
364
  }
362
365
  interface FailedToLoadStoresSchema extends SpruceSchema.Schema {
363
366
  id: 'failedToLoadStores';
@@ -365,7 +368,7 @@ export declare namespace SpruceErrors.DataStores {
365
368
  name: 'failed to load stores';
366
369
  fields: {
367
370
  /** . */
368
- errors: {
371
+ 'errors': {
369
372
  type: 'raw';
370
373
  isRequired: true;
371
374
  isArray: true;
@@ -379,7 +382,7 @@ export declare namespace SpruceErrors.DataStores {
379
382
  }
380
383
  export declare namespace SpruceErrors.DataStores {
381
384
  interface FailedToLoadStore {
382
- name: string;
385
+ 'name': string;
383
386
  }
384
387
  interface FailedToLoadStoreSchema extends SpruceSchema.Schema {
385
388
  id: 'failedToLoadStore';
@@ -387,7 +390,7 @@ export declare namespace SpruceErrors.DataStores {
387
390
  name: 'Failed to load store';
388
391
  fields: {
389
392
  /** . */
390
- name: {
393
+ 'name': {
391
394
  type: 'text';
392
395
  isRequired: true;
393
396
  options: undefined;
@@ -398,11 +401,11 @@ export declare namespace SpruceErrors.DataStores {
398
401
  }
399
402
  export declare namespace SpruceErrors.DataStores {
400
403
  interface DuplicateRecord {
401
- duplicateFields: string[];
402
- duplicateValues: string[];
403
- collectionName: string;
404
+ 'duplicateFields': string[];
405
+ 'duplicateValues': string[];
406
+ 'collectionName': string;
404
407
  /** Action. e.g. create, update, etc. */
405
- action: string;
408
+ 'action': string;
406
409
  }
407
410
  interface DuplicateRecordSchema extends SpruceSchema.Schema {
408
411
  id: 'duplicateRecord';
@@ -410,27 +413,27 @@ export declare namespace SpruceErrors.DataStores {
410
413
  name: 'Duplicate record';
411
414
  fields: {
412
415
  /** . */
413
- duplicateFields: {
416
+ 'duplicateFields': {
414
417
  type: 'text';
415
418
  isRequired: true;
416
419
  isArray: true;
417
420
  options: undefined;
418
421
  };
419
422
  /** . */
420
- duplicateValues: {
423
+ 'duplicateValues': {
421
424
  type: 'text';
422
425
  isRequired: true;
423
426
  isArray: true;
424
427
  options: undefined;
425
428
  };
426
429
  /** . */
427
- collectionName: {
430
+ 'collectionName': {
428
431
  type: 'text';
429
432
  isRequired: true;
430
433
  options: undefined;
431
434
  };
432
435
  /** Action. e.g. create, update, etc. */
433
- action: {
436
+ 'action': {
434
437
  label: 'Action';
435
438
  type: 'text';
436
439
  isRequired: true;
@@ -454,8 +457,8 @@ export declare namespace SpruceErrors.DataStores {
454
457
  }
455
458
  export declare namespace SpruceErrors.DataStores {
456
459
  interface DatabaseNotConnected {
457
- operationAttempted: string;
458
- collectionName?: string | undefined | null;
460
+ 'operationAttempted': string;
461
+ 'collectionName'?: string | undefined | null;
459
462
  }
460
463
  interface DatabaseNotConnectedSchema extends SpruceSchema.Schema {
461
464
  id: 'databaseNotConnected';
@@ -463,13 +466,13 @@ export declare namespace SpruceErrors.DataStores {
463
466
  name: 'Database not connected';
464
467
  fields: {
465
468
  /** . */
466
- operationAttempted: {
469
+ 'operationAttempted': {
467
470
  type: 'text';
468
471
  isRequired: true;
469
472
  options: undefined;
470
473
  };
471
474
  /** . */
472
- collectionName: {
475
+ 'collectionName': {
473
476
  type: 'text';
474
477
  options: undefined;
475
478
  };
@@ -1,5 +1,5 @@
1
- import { ErrorOptions as ISpruceErrorOptions } from '@sprucelabs/error';
2
- import { SpruceErrors } from './errors.types';
1
+ import { SpruceErrors } from "./errors.types";
2
+ import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
3
3
  export interface UnknownStoreErrorErrorOptions extends SpruceErrors.DataStores.UnknownStoreError, ISpruceErrorOptions {
4
4
  code: 'UNKNOWN_STORE_ERROR';
5
5
  }
@@ -1 +1 @@
1
- export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap, } from '@sprucelabs/schema';
1
+ export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap } from '@sprucelabs/schema';
@@ -1,13 +1,13 @@
1
- import AbstractSpruceError from '@sprucelabs/error';
2
1
  import { default as SchemaEntity } from '@sprucelabs/schema';
3
2
  import * as SpruceSchema from '@sprucelabs/schema';
3
+ import AbstractSpruceError from '@sprucelabs/error';
4
4
  import { FailedToLoadStoreErrorOptions } from './options.types';
5
5
  export declare namespace SpruceErrors.DataStores {
6
6
  interface UnknownStoreError {
7
7
  /** Action. e.g. createPerson, updateLocation, etc */
8
- action: string;
8
+ 'action': string;
9
9
  /** Store name. */
10
- storeName: string;
10
+ 'storeName': string;
11
11
  }
12
12
  interface UnknownStoreErrorSchema extends SpruceSchema.Schema {
13
13
  id: 'unknownStoreError';
@@ -15,7 +15,7 @@ export declare namespace SpruceErrors.DataStores {
15
15
  name: 'Unknown store error';
16
16
  fields: {
17
17
  /** Action. e.g. createPerson, updateLocation, etc */
18
- action: {
18
+ 'action': {
19
19
  label: 'Action';
20
20
  type: 'text';
21
21
  isRequired: true;
@@ -23,7 +23,7 @@ export declare namespace SpruceErrors.DataStores {
23
23
  options: undefined;
24
24
  };
25
25
  /** Store name. */
26
- storeName: {
26
+ 'storeName': {
27
27
  label: 'Store name';
28
28
  type: 'text';
29
29
  isRequired: true;
@@ -46,7 +46,7 @@ export declare namespace SpruceErrors.DataStores {
46
46
  }
47
47
  export declare namespace SpruceErrors.DataStores {
48
48
  interface UnknownDatabaseError {
49
- databaseErrorMessage: string;
49
+ 'databaseErrorMessage': string;
50
50
  }
51
51
  interface UnknownDatabaseErrorSchema extends SpruceSchema.Schema {
52
52
  id: 'unknownDatabaseError';
@@ -54,7 +54,7 @@ export declare namespace SpruceErrors.DataStores {
54
54
  name: 'unknown database error';
55
55
  fields: {
56
56
  /** . */
57
- databaseErrorMessage: {
57
+ 'databaseErrorMessage': {
58
58
  type: 'text';
59
59
  isRequired: true;
60
60
  options: undefined;
@@ -86,7 +86,10 @@ export declare namespace SpruceErrors.DataStores {
86
86
  type ScrambleNotConfiguredEntity = SchemaEntity<SpruceErrors.DataStores.ScrambleNotConfiguredSchema>;
87
87
  }
88
88
  export declare namespace SpruceErrors.DataStores {
89
- type RecordNotFoundQuery = Record<string, any | undefined | null>;
89
+ interface RecordNotFoundQuery {
90
+ /** . */
91
+ [field: string]: (any) | undefined | null;
92
+ }
90
93
  interface RecordNotFoundQuerySchema extends SpruceSchema.Schema {
91
94
  id: 'record-not-found-query';
92
95
  namespace: 'DataStores';
@@ -104,9 +107,9 @@ export declare namespace SpruceErrors.DataStores {
104
107
  export declare namespace SpruceErrors.DataStores {
105
108
  interface RecordNotFound {
106
109
  /** Store name. */
107
- storeName: string;
110
+ 'storeName': string;
108
111
  /** Query. */
109
- query: SpruceErrors.DataStores.RecordNotFoundQuery;
112
+ 'query': SpruceErrors.DataStores.RecordNotFoundQuery;
110
113
  }
111
114
  interface RecordNotFoundSchema extends SpruceSchema.Schema {
112
115
  id: 'recordNotFound';
@@ -114,14 +117,14 @@ export declare namespace SpruceErrors.DataStores {
114
117
  name: 'Record not found';
115
118
  fields: {
116
119
  /** Store name. */
117
- storeName: {
120
+ 'storeName': {
118
121
  label: 'Store name';
119
122
  type: 'text';
120
123
  isRequired: true;
121
124
  options: undefined;
122
125
  };
123
126
  /** Query. */
124
- query: {
127
+ 'query': {
125
128
  label: 'Query';
126
129
  type: 'schema';
127
130
  isRequired: true;
@@ -135,8 +138,8 @@ export declare namespace SpruceErrors.DataStores {
135
138
  }
136
139
  export declare namespace SpruceErrors.DataStores {
137
140
  interface QueryNotFaked {
138
- query: string;
139
- params?: Record<string, any> | undefined | null;
141
+ 'query': string;
142
+ 'params'?: (Record<string, any>) | undefined | null;
140
143
  }
141
144
  interface QueryNotFakedSchema extends SpruceSchema.Schema {
142
145
  id: 'queryNotFaked';
@@ -144,13 +147,13 @@ export declare namespace SpruceErrors.DataStores {
144
147
  name: 'Query not faked';
145
148
  fields: {
146
149
  /** . */
147
- query: {
150
+ 'query': {
148
151
  type: 'text';
149
152
  isRequired: true;
150
153
  options: undefined;
151
154
  };
152
155
  /** . */
153
- params: {
156
+ 'params': {
154
157
  type: 'raw';
155
158
  options: {
156
159
  valueType: `Record<string, any>`;
@@ -184,8 +187,8 @@ export declare namespace SpruceErrors.DataStores {
184
187
  }
185
188
  export declare namespace SpruceErrors.DataStores {
186
189
  interface InvalidStoreName {
187
- suppliedName: string;
188
- validNames: string[];
190
+ 'suppliedName': string;
191
+ 'validNames': string[];
189
192
  }
190
193
  interface InvalidStoreNameSchema extends SpruceSchema.Schema {
191
194
  id: 'invalidStoreName';
@@ -193,13 +196,13 @@ export declare namespace SpruceErrors.DataStores {
193
196
  name: 'Invalid store';
194
197
  fields: {
195
198
  /** . */
196
- suppliedName: {
199
+ 'suppliedName': {
197
200
  type: 'text';
198
201
  isRequired: true;
199
202
  options: undefined;
200
203
  };
201
204
  /** . */
202
- validNames: {
205
+ 'validNames': {
203
206
  type: 'text';
204
207
  isRequired: true;
205
208
  isArray: true;
@@ -222,8 +225,8 @@ export declare namespace SpruceErrors.DataStores {
222
225
  }
223
226
  export declare namespace SpruceErrors.DataStores {
224
227
  interface InvalidFakeQueryResponse {
225
- query: string;
226
- response: any;
228
+ 'query': string;
229
+ 'response': (any);
227
230
  }
228
231
  interface InvalidFakeQueryResponseSchema extends SpruceSchema.Schema {
229
232
  id: 'invalidFakeQueryResponse';
@@ -231,13 +234,13 @@ export declare namespace SpruceErrors.DataStores {
231
234
  name: 'Invalid fake query response';
232
235
  fields: {
233
236
  /** . */
234
- query: {
237
+ 'query': {
235
238
  type: 'text';
236
239
  isRequired: true;
237
240
  options: undefined;
238
241
  };
239
242
  /** . */
240
- response: {
243
+ 'response': {
241
244
  type: 'raw';
242
245
  isRequired: true;
243
246
  options: {
@@ -261,7 +264,7 @@ export declare namespace SpruceErrors.DataStores {
261
264
  }
262
265
  export declare namespace SpruceErrors.DataStores {
263
266
  interface InvalidDatabaseName {
264
- suppliedName: string;
267
+ 'suppliedName': string;
265
268
  }
266
269
  interface InvalidDatabaseNameSchema extends SpruceSchema.Schema {
267
270
  id: 'invalidDatabaseName';
@@ -269,7 +272,7 @@ export declare namespace SpruceErrors.DataStores {
269
272
  name: 'Invalid database name';
270
273
  fields: {
271
274
  /** . */
272
- suppliedName: {
275
+ 'suppliedName': {
273
276
  type: 'text';
274
277
  isRequired: true;
275
278
  options: undefined;
@@ -280,7 +283,7 @@ export declare namespace SpruceErrors.DataStores {
280
283
  }
281
284
  export declare namespace SpruceErrors.DataStores {
282
285
  interface InvalidConnectionStringScheme {
283
- connectionString: string;
286
+ 'connectionString': string;
284
287
  }
285
288
  interface InvalidConnectionStringSchemeSchema extends SpruceSchema.Schema {
286
289
  id: 'invalidConnectionStringScheme';
@@ -288,7 +291,7 @@ export declare namespace SpruceErrors.DataStores {
288
291
  name: 'Invalid connection string scheme';
289
292
  fields: {
290
293
  /** . */
291
- connectionString: {
294
+ 'connectionString': {
292
295
  type: 'text';
293
296
  isRequired: true;
294
297
  options: undefined;
@@ -300,8 +303,8 @@ export declare namespace SpruceErrors.DataStores {
300
303
  export declare namespace SpruceErrors.DataStores {
301
304
  interface IndexNotFound {
302
305
  /** Missing Index. */
303
- missingIndex: string[];
304
- collectionName: string;
306
+ 'missingIndex': string[];
307
+ 'collectionName': string;
305
308
  }
306
309
  interface IndexNotFoundSchema extends SpruceSchema.Schema {
307
310
  id: 'indexNotFound';
@@ -309,7 +312,7 @@ export declare namespace SpruceErrors.DataStores {
309
312
  name: 'Index not found';
310
313
  fields: {
311
314
  /** Missing Index. */
312
- missingIndex: {
315
+ 'missingIndex': {
313
316
  label: 'Missing Index';
314
317
  type: 'text';
315
318
  isRequired: true;
@@ -317,7 +320,7 @@ export declare namespace SpruceErrors.DataStores {
317
320
  options: undefined;
318
321
  };
319
322
  /** . */
320
- collectionName: {
323
+ 'collectionName': {
321
324
  type: 'text';
322
325
  isRequired: true;
323
326
  options: undefined;
@@ -329,8 +332,8 @@ export declare namespace SpruceErrors.DataStores {
329
332
  export declare namespace SpruceErrors.DataStores {
330
333
  interface IndexExists {
331
334
  /** Index Exists. */
332
- index: string[];
333
- collectionName: string;
335
+ 'index': string[];
336
+ 'collectionName': string;
334
337
  }
335
338
  interface IndexExistsSchema extends SpruceSchema.Schema {
336
339
  id: 'indexExists';
@@ -338,7 +341,7 @@ export declare namespace SpruceErrors.DataStores {
338
341
  name: 'Index Exists';
339
342
  fields: {
340
343
  /** Index Exists. */
341
- index: {
344
+ 'index': {
342
345
  label: 'Index Exists';
343
346
  type: 'text';
344
347
  isRequired: true;
@@ -346,7 +349,7 @@ export declare namespace SpruceErrors.DataStores {
346
349
  options: undefined;
347
350
  };
348
351
  /** . */
349
- collectionName: {
352
+ 'collectionName': {
350
353
  type: 'text';
351
354
  isRequired: true;
352
355
  options: undefined;
@@ -357,7 +360,7 @@ export declare namespace SpruceErrors.DataStores {
357
360
  }
358
361
  export declare namespace SpruceErrors.DataStores {
359
362
  interface FailedToLoadStores {
360
- errors: AbstractSpruceError<FailedToLoadStoreErrorOptions>[];
363
+ 'errors': (AbstractSpruceError<FailedToLoadStoreErrorOptions>)[];
361
364
  }
362
365
  interface FailedToLoadStoresSchema extends SpruceSchema.Schema {
363
366
  id: 'failedToLoadStores';
@@ -365,7 +368,7 @@ export declare namespace SpruceErrors.DataStores {
365
368
  name: 'failed to load stores';
366
369
  fields: {
367
370
  /** . */
368
- errors: {
371
+ 'errors': {
369
372
  type: 'raw';
370
373
  isRequired: true;
371
374
  isArray: true;
@@ -379,7 +382,7 @@ export declare namespace SpruceErrors.DataStores {
379
382
  }
380
383
  export declare namespace SpruceErrors.DataStores {
381
384
  interface FailedToLoadStore {
382
- name: string;
385
+ 'name': string;
383
386
  }
384
387
  interface FailedToLoadStoreSchema extends SpruceSchema.Schema {
385
388
  id: 'failedToLoadStore';
@@ -387,7 +390,7 @@ export declare namespace SpruceErrors.DataStores {
387
390
  name: 'Failed to load store';
388
391
  fields: {
389
392
  /** . */
390
- name: {
393
+ 'name': {
391
394
  type: 'text';
392
395
  isRequired: true;
393
396
  options: undefined;
@@ -398,11 +401,11 @@ export declare namespace SpruceErrors.DataStores {
398
401
  }
399
402
  export declare namespace SpruceErrors.DataStores {
400
403
  interface DuplicateRecord {
401
- duplicateFields: string[];
402
- duplicateValues: string[];
403
- collectionName: string;
404
+ 'duplicateFields': string[];
405
+ 'duplicateValues': string[];
406
+ 'collectionName': string;
404
407
  /** Action. e.g. create, update, etc. */
405
- action: string;
408
+ 'action': string;
406
409
  }
407
410
  interface DuplicateRecordSchema extends SpruceSchema.Schema {
408
411
  id: 'duplicateRecord';
@@ -410,27 +413,27 @@ export declare namespace SpruceErrors.DataStores {
410
413
  name: 'Duplicate record';
411
414
  fields: {
412
415
  /** . */
413
- duplicateFields: {
416
+ 'duplicateFields': {
414
417
  type: 'text';
415
418
  isRequired: true;
416
419
  isArray: true;
417
420
  options: undefined;
418
421
  };
419
422
  /** . */
420
- duplicateValues: {
423
+ 'duplicateValues': {
421
424
  type: 'text';
422
425
  isRequired: true;
423
426
  isArray: true;
424
427
  options: undefined;
425
428
  };
426
429
  /** . */
427
- collectionName: {
430
+ 'collectionName': {
428
431
  type: 'text';
429
432
  isRequired: true;
430
433
  options: undefined;
431
434
  };
432
435
  /** Action. e.g. create, update, etc. */
433
- action: {
436
+ 'action': {
434
437
  label: 'Action';
435
438
  type: 'text';
436
439
  isRequired: true;
@@ -454,8 +457,8 @@ export declare namespace SpruceErrors.DataStores {
454
457
  }
455
458
  export declare namespace SpruceErrors.DataStores {
456
459
  interface DatabaseNotConnected {
457
- operationAttempted: string;
458
- collectionName?: string | undefined | null;
460
+ 'operationAttempted': string;
461
+ 'collectionName'?: string | undefined | null;
459
462
  }
460
463
  interface DatabaseNotConnectedSchema extends SpruceSchema.Schema {
461
464
  id: 'databaseNotConnected';
@@ -463,13 +466,13 @@ export declare namespace SpruceErrors.DataStores {
463
466
  name: 'Database not connected';
464
467
  fields: {
465
468
  /** . */
466
- operationAttempted: {
469
+ 'operationAttempted': {
467
470
  type: 'text';
468
471
  isRequired: true;
469
472
  options: undefined;
470
473
  };
471
474
  /** . */
472
- collectionName: {
475
+ 'collectionName': {
473
476
  type: 'text';
474
477
  options: undefined;
475
478
  };
@@ -1,5 +1,5 @@
1
- import { ErrorOptions as ISpruceErrorOptions } from '@sprucelabs/error';
2
- import { SpruceErrors } from './errors.types';
1
+ import { SpruceErrors } from "./errors.types";
2
+ import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
3
3
  export interface UnknownStoreErrorErrorOptions extends SpruceErrors.DataStores.UnknownStoreError, ISpruceErrorOptions {
4
4
  code: 'UNKNOWN_STORE_ERROR';
5
5
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "27.0.11",
6
+ "version": "27.0.13",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",
@@ -64,29 +64,31 @@
64
64
  "watch.tsc": "tsc -w",
65
65
  "upgrade.packages": "yarn-upgrade-all && rm -f yarn.lock ; yarn ; yarn fix.lint ; true",
66
66
  "upgrade.packages.all": "yarn install && yarn upgrade.packages",
67
- "upgrade.packages.test": "yarn upgrade.packages.all && yarn lint && yarn build.dev && yarn test"
67
+ "upgrade.packages.test": "yarn upgrade.packages.all && yarn lint && yarn build.dev && yarn test",
68
+ "watch.lint": "concurrently 'yarn run lint' \"chokidar 'src/**/*' -c 'yarn run lint.tsc'\""
68
69
  },
69
70
  "dependencies": {
70
- "@sprucelabs/error": "^6.0.10",
71
- "@sprucelabs/globby": "^2.0.9",
72
- "@sprucelabs/schema": "^30.0.14",
73
- "@sprucelabs/spruce-skill-utils": "^31.0.14",
71
+ "@sprucelabs/error": "^6.0.11",
72
+ "@sprucelabs/globby": "^2.0.10",
73
+ "@sprucelabs/schema": "^30.0.15",
74
+ "@sprucelabs/spruce-skill-utils": "^31.0.15",
74
75
  "just-clone": "^6.2.0",
75
76
  "lodash": "^4.17.21",
76
77
  "mongodb": "^6.5.0",
77
78
  "nedb": "^1.8.0"
78
79
  },
79
80
  "devDependencies": {
80
- "@sprucelabs/esm-postbuild": "^6.0.10",
81
- "@sprucelabs/jest-json-reporter": "^8.0.9",
82
- "@sprucelabs/resolve-path-aliases": "^2.0.12",
81
+ "@sprucelabs/esm-postbuild": "^6.0.11",
82
+ "@sprucelabs/jest-json-reporter": "^8.0.11",
83
+ "@sprucelabs/resolve-path-aliases": "^2.0.13",
83
84
  "@sprucelabs/semantic-release": "^5.0.1",
84
- "@sprucelabs/test": "^9.0.8",
85
+ "@sprucelabs/test": "^9.0.9",
85
86
  "@sprucelabs/test-utils": "^5.0.10",
86
87
  "@types/lodash": "^4.17.0",
87
88
  "@types/nedb": "^1.8.16",
88
89
  "@types/node": "^20.12.7",
89
90
  "chokidar-cli": "^3.0.0",
91
+ "concurrently": "^8.2.2",
90
92
  "dotenv": "^16.4.5",
91
93
  "eslint": "^9.1.1",
92
94
  "eslint-config-spruce": "^11.2.13",