@sprucelabs/chroma-data-store 1.0.0 → 1.0.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 (80) hide show
  1. package/README.md +42 -0
  2. package/build/.spruce/settings.json +3 -1
  3. package/build/ChromaDatabase.d.ts +6 -1
  4. package/build/ChromaDatabase.js +23 -8
  5. package/build/MockChromaDatabase.d.ts +8 -0
  6. package/build/MockChromaDatabase.js +20 -0
  7. package/build/chroma.types.d.ts +21 -174
  8. package/build/chromaDbAssert.utility.d.ts +4 -0
  9. package/build/chromaDbAssert.utility.js +20 -0
  10. package/build/esm/ChromaDatabase.d.ts +6 -1
  11. package/build/esm/ChromaDatabase.js +28 -10
  12. package/build/esm/MockChromaDatabase.d.ts +8 -0
  13. package/build/esm/MockChromaDatabase.js +31 -0
  14. package/build/esm/chroma.types.d.ts +21 -174
  15. package/build/esm/chromaDbAssert.utility.d.ts +4 -0
  16. package/build/esm/chromaDbAssert.utility.js +16 -0
  17. package/build/esm/index.d.ts +2 -0
  18. package/build/esm/index.js +2 -0
  19. package/build/index.d.ts +2 -0
  20. package/build/index.js +5 -1
  21. package/package.json +26 -23
  22. package/build/esm/.spruce/errors/chromaDataStore/featureNotSupported.schema.d.ts +0 -3
  23. package/build/esm/.spruce/errors/chromaDataStore/featureNotSupported.schema.js +0 -18
  24. package/build/esm/.spruce/errors/chromaDataStore/featureNotSupported.schema.js.map +0 -1
  25. package/build/esm/.spruce/errors/errors.types.js.map +0 -1
  26. package/build/esm/.spruce/errors/options.types.js.map +0 -1
  27. package/build/esm/.spruce/schemas/fields/fieldClassMap.d.ts +0 -2
  28. package/build/esm/.spruce/schemas/fields/fieldClassMap.js +0 -4
  29. package/build/esm/.spruce/schemas/fields/fieldClassMap.js.map +0 -1
  30. package/build/esm/.spruce/schemas/fields/fields.types.d.ts +0 -1
  31. package/build/esm/.spruce/schemas/fields/fields.types.js +0 -2
  32. package/build/esm/.spruce/schemas/fields/fields.types.js.map +0 -1
  33. package/build/esm/.spruce/schemas/spruce/v2020_07_22/choice.schema.d.ts +0 -1
  34. package/build/esm/.spruce/schemas/spruce/v2020_07_22/choice.schema.js +0 -5
  35. package/build/esm/.spruce/schemas/spruce/v2020_07_22/choice.schema.js.map +0 -1
  36. package/build/esm/.spruce/schemas/spruce/v2020_07_22/link.schema.d.ts +0 -1
  37. package/build/esm/.spruce/schemas/spruce/v2020_07_22/link.schema.js +0 -5
  38. package/build/esm/.spruce/schemas/spruce/v2020_07_22/link.schema.js.map +0 -1
  39. package/build/esm/.spruce/schemas/spruce/v2020_07_22/location.schema.d.ts +0 -1
  40. package/build/esm/.spruce/schemas/spruce/v2020_07_22/location.schema.js +0 -5
  41. package/build/esm/.spruce/schemas/spruce/v2020_07_22/location.schema.js.map +0 -1
  42. package/build/esm/.spruce/schemas/spruce/v2020_07_22/message.schema.d.ts +0 -1
  43. package/build/esm/.spruce/schemas/spruce/v2020_07_22/message.schema.js +0 -5
  44. package/build/esm/.spruce/schemas/spruce/v2020_07_22/message.schema.js.map +0 -1
  45. package/build/esm/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.d.ts +0 -1
  46. package/build/esm/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.js +0 -5
  47. package/build/esm/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.js.map +0 -1
  48. package/build/esm/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.d.ts +0 -1
  49. package/build/esm/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.js +0 -5
  50. package/build/esm/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.js.map +0 -1
  51. package/build/esm/.spruce/schemas/spruce/v2020_07_22/organization.schema.d.ts +0 -1
  52. package/build/esm/.spruce/schemas/spruce/v2020_07_22/organization.schema.js +0 -5
  53. package/build/esm/.spruce/schemas/spruce/v2020_07_22/organization.schema.js.map +0 -1
  54. package/build/esm/.spruce/schemas/spruce/v2020_07_22/person.schema.d.ts +0 -1
  55. package/build/esm/.spruce/schemas/spruce/v2020_07_22/person.schema.js +0 -5
  56. package/build/esm/.spruce/schemas/spruce/v2020_07_22/person.schema.js.map +0 -1
  57. package/build/esm/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.d.ts +0 -1
  58. package/build/esm/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.js +0 -5
  59. package/build/esm/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.js.map +0 -1
  60. package/build/esm/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.d.ts +0 -1
  61. package/build/esm/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.js +0 -5
  62. package/build/esm/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.js.map +0 -1
  63. package/build/esm/.spruce/schemas/spruce/v2020_07_22/role.schema.d.ts +0 -1
  64. package/build/esm/.spruce/schemas/spruce/v2020_07_22/role.schema.js +0 -5
  65. package/build/esm/.spruce/schemas/spruce/v2020_07_22/role.schema.js.map +0 -1
  66. package/build/esm/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.d.ts +0 -1
  67. package/build/esm/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js +0 -5
  68. package/build/esm/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js.map +0 -1
  69. package/build/esm/.spruce/schemas/spruce/v2020_07_22/skill.schema.d.ts +0 -1
  70. package/build/esm/.spruce/schemas/spruce/v2020_07_22/skill.schema.js +0 -5
  71. package/build/esm/.spruce/schemas/spruce/v2020_07_22/skill.schema.js.map +0 -1
  72. package/build/esm/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.d.ts +0 -1
  73. package/build/esm/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js +0 -5
  74. package/build/esm/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js.map +0 -1
  75. package/build/esm/.spruce/settings.json +0 -13
  76. package/build/esm/ChromaDatabase.js.map +0 -1
  77. package/build/esm/chroma.types.js.map +0 -1
  78. package/build/esm/errors/SpruceError.js.map +0 -1
  79. package/build/esm/errors/featureNotSupported.builder.js.map +0 -1
  80. package/build/esm/index.js.map +0 -1
@@ -1,177 +1,24 @@
1
- import { AddRecordsParams, UpsertRecordsParams, GetResponse, UpdateRecordsParams, QueryRecordsParams, QueryResponse, CollectionMetadata, CollectionParams, PeekParams, DeleteParams, ID, IDs, Where, IncludeEnum, WhereDocument } from 'chromadb';
2
- export interface Collection {
3
- add(params: AddRecordsParams): Promise<void>;
4
- /**
5
- * Upsert items to the collection
6
- * @param {Object} params - The parameters for the query.
7
- * @param {ID | IDs} [params.ids] - IDs of the items to add.
8
- * @param {Embedding | Embeddings} [params.embeddings] - Optional embeddings of the items to add.
9
- * @param {Metadata | Metadatas} [params.metadatas] - Optional metadata of the items to add.
10
- * @param {Document | Documents} [params.documents] - Optional documents of the items to add.
11
- * @returns {Promise<void>}
12
- *
13
- * @example
14
- * ```typescript
15
- * const response = await collection.upsert({
16
- * ids: ["id1", "id2"],
17
- * embeddings: [[1, 2, 3], [4, 5, 6]],
18
- * metadatas: [{ "key": "value" }, { "key": "value" }],
19
- * documents: ["document1", "document2"],
20
- * });
21
- * ```
22
- */
23
- upsert(params: UpsertRecordsParams): Promise<void>;
24
- /**
25
- * Count the number of items in the collection
26
- * @returns {Promise<number>} - The number of items in the collection.
27
- *
28
- * @example
29
- * ```typescript
30
- * const count = await collection.count();
31
- * ```
32
- */
33
- count(): Promise<number>;
34
- /**
35
- * Get items from the collection
36
- * @param {Object} params - The parameters for the query.
37
- * @param {ID | IDs} [params.ids] - Optional IDs of the items to get.
38
- * @param {Where} [params.where] - Optional where clause to filter items by.
39
- * @param {PositiveInteger} [params.limit] - Optional limit on the number of items to get.
40
- * @param {PositiveInteger} [params.offset] - Optional offset on the items to get.
41
- * @param {IncludeEnum[]} [params.include] - Optional list of items to include in the response.
42
- * @param {WhereDocument} [params.whereDocument] - Optional where clause to filter items by.
43
- * @returns {Promise<GetResponse>} - The response from the server.
44
- *
45
- * @example
46
- * ```typescript
47
- * const response = await collection.get({
48
- * ids: ["id1", "id2"],
49
- * where: { "key": "value" },
50
- * limit: 10,
51
- * offset: 0,
52
- * include: ["embeddings", "metadatas", "documents"],
53
- * whereDocument: { $contains: "value" },
54
- * });
55
- * ```
56
- */
57
- get(options?: BaseGetParams): Promise<GetResponse>;
58
- /**
59
- * Update items in the collection
60
- * @param {Object} params - The parameters for the query.
61
- * @param {ID | IDs} [params.ids] - IDs of the items to add.
62
- * @param {Embedding | Embeddings} [params.embeddings] - Optional embeddings of the items to add.
63
- * @param {Metadata | Metadatas} [params.metadatas] - Optional metadata of the items to add.
64
- * @param {Document | Documents} [params.documents] - Optional documents of the items to add.
65
- * @returns {Promise<void>}
66
- *
67
- * @example
68
- * ```typescript
69
- * const response = await collection.update({
70
- * ids: ["id1", "id2"],
71
- * embeddings: [[1, 2, 3], [4, 5, 6]],
72
- * metadatas: [{ "key": "value" }, { "key": "value" }],
73
- * documents: ["document1", "document2"],
74
- * });
75
- * ```
76
- */
77
- update(params: UpdateRecordsParams): Promise<void>;
78
- /**
79
- * Performs a query on the collection using the specified parameters.
80
- *
81
- * @param {Object} params - The parameters for the query.
82
- * @param {Embedding | Embeddings} [params.queryEmbeddings] - Optional query embeddings to use for the search.
83
- * @param {PositiveInteger} [params.nResults] - Optional number of results to return (default is 10).
84
- * @param {Where} [params.where] - Optional query condition to filter results based on metadata values.
85
- * @param {string | string[]} [params.queryTexts] - Optional query text(s) to search for in the collection.
86
- * @param {WhereDocument} [params.whereDocument] - Optional query condition to filter results based on document content.
87
- * @param {IncludeEnum[]} [params.include] - Optional array of fields to include in the result, such as "metadata" and "document".
88
- *
89
- * @returns {Promise<QueryResponse>} A promise that resolves to the query results.
90
- * @throws {Error} If there is an issue executing the query.
91
- * @example
92
- * // Query the collection using embeddings
93
- * const results = await collection.query({
94
- * queryEmbeddings: [[0.1, 0.2, ...], ...],
95
- * nResults: 10,
96
- * where: {"name": {"$eq": "John Doe"}},
97
- * include: ["metadata", "document"]
98
- * });
99
- * @example
100
- * ```js
101
- * // Query the collection using query text
102
- * const results = await collection.query({
103
- * queryTexts: "some text",
104
- * nResults: 10,
105
- * where: {"name": {"$eq": "John Doe"}},
106
- * include: ["metadata", "document"]
107
- * });
108
- * ```
109
- *
110
- */
111
- query({ nResults, where, whereDocument, include, queryTexts, queryEmbeddings, }: QueryRecordsParams): Promise<QueryResponse>;
112
- /**
113
- * Modify the collection name or metadata
114
- * @param {Object} params - The parameters for the query.
115
- * @param {string} [params.name] - Optional new name for the collection.
116
- * @param {CollectionMetadata} [params.metadata] - Optional new metadata for the collection.
117
- * @returns {Promise<void>} - The response from the API.
118
- *
119
- * @example
120
- * ```typescript
121
- * const response = await client.updateCollection({
122
- * name: "new name",
123
- * metadata: { "key": "value" },
124
- * });
125
- * ```
126
- */
127
- modify({ name, metadata, }: {
128
- name?: string;
129
- metadata?: CollectionMetadata;
130
- }): Promise<CollectionParams>;
131
- /**
132
- * Peek inside the collection
133
- * @param {Object} params - The parameters for the query.
134
- * @param {PositiveInteger} [params.limit] - Optional number of results to return (default is 10).
135
- * @returns {Promise<GetResponse>} A promise that resolves to the query results.
136
- * @throws {Error} If there is an issue executing the query.
137
- *
138
- * @example
139
- * ```typescript
140
- * const results = await collection.peek({
141
- * limit: 10
142
- * });
143
- * ```
144
- */
145
- peek(options?: PeekParams): Promise<GetResponse>;
146
- /**
147
- * Deletes items from the collection.
148
- * @param {Object} params - The parameters for deleting items from the collection.
149
- * @param {ID | IDs} [params.ids] - Optional ID or array of IDs of items to delete.
150
- * @param {Where} [params.where] - Optional query condition to filter items to delete based on metadata values.
151
- * @param {WhereDocument} [params.whereDocument] - Optional query condition to filter items to delete based on document content.
152
- * @returns {Promise<string[]>} A promise that resolves to the IDs of the deleted items.
153
- * @throws {Error} If there is an issue deleting items from the collection.
154
- *
155
- * @example
156
- * ```typescript
157
- * const results = await collection.delete({
158
- * ids: "some_id",
159
- * where: {"name": {"$eq": "John Doe"}},
160
- * whereDocument: {"$contains":"search_string"}
161
- * });
162
- * ```
163
- */
164
- delete(options?: DeleteParams): Promise<void>;
1
+ import { IncludeEnum, Metadata } from 'chromadb';
2
+ export type ID = string;
3
+ export type Embedding = number[];
4
+ export type Embeddings = Embedding[];
5
+ export interface GetResponse {
6
+ ids: ID[];
7
+ embeddings: Embeddings | null;
8
+ documents: (Document | null)[];
9
+ metadatas: (Metadata | null)[];
10
+ included: IncludeEnum[];
165
11
  }
166
- interface BaseGetParams {
167
- ids?: ID | IDs;
168
- where?: Where;
169
- limit?: number;
170
- offset?: number;
171
- include?: IncludeEnum[];
172
- whereDocument?: WhereDocument;
173
- }
174
- export type WhereWithPrompt = Where & {
12
+ export type WhereWithPrompt = WhereDocument & {
175
13
  $prompt?: string;
176
14
  };
177
- export {};
15
+ export interface WhereDocument {
16
+ $contains?: string;
17
+ $not_contains?: string;
18
+ $matches?: string;
19
+ $not_matches?: string;
20
+ $regex?: string;
21
+ $not_regex?: string;
22
+ $and?: WhereDocument[];
23
+ $or?: WhereDocument[];
24
+ }
@@ -0,0 +1,4 @@
1
+ declare const chromaDbAssert: {
2
+ embeddingFieldsForCollectionEqual(collection: string, fields: string[]): void;
3
+ };
4
+ export default chromaDbAssert;
@@ -0,0 +1,16 @@
1
+ import { assertOptions } from '@sprucelabs/schema';
2
+ import { assert } from '@sprucelabs/test-utils';
3
+ import ChromaDatabase from './ChromaDatabase.js';
4
+ const chromaDbAssert = {
5
+ embeddingFieldsForCollectionEqual(collection, fields) {
6
+ var _a;
7
+ assertOptions({
8
+ collection,
9
+ fields,
10
+ }, ['collection', 'fields']);
11
+ const actual = (_a = ChromaDatabase.getEmbeddingsFields()) === null || _a === void 0 ? void 0 : _a[collection];
12
+ assert.isTruthy(actual, `I could not find any embedding fields for the collection called ${collection}`);
13
+ assert.isEqualDeep(actual, fields, `The embedding fields for the collection did not match.`);
14
+ },
15
+ };
16
+ export default chromaDbAssert;
@@ -1,2 +1,4 @@
1
1
  export { default as ChromaDatabase } from './ChromaDatabase';
2
+ export { default as chromaDbAssert } from './chromaDbAssert.utility';
3
+ export { default as MockChromaDatabase } from './MockChromaDatabase';
2
4
  export * from './ChromaDatabase';
@@ -1,5 +1,7 @@
1
1
  export { default as ChromaDatabase } from './ChromaDatabase.js';
2
2
  import { DatabaseFactory } from '@sprucelabs/data-stores';
3
3
  import ChromaDatabase from './ChromaDatabase.js';
4
+ export { default as chromaDbAssert } from './chromaDbAssert.utility.js';
5
+ export { default as MockChromaDatabase } from './MockChromaDatabase.js';
4
6
  export * from './ChromaDatabase.js';
5
7
  DatabaseFactory.addAdapter('chroma://', ChromaDatabase);
package/build/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
1
  export { default as ChromaDatabase } from './ChromaDatabase';
2
+ export { default as chromaDbAssert } from './chromaDbAssert.utility';
3
+ export { default as MockChromaDatabase } from './MockChromaDatabase';
2
4
  export * from './ChromaDatabase';
package/build/index.js CHANGED
@@ -17,10 +17,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.ChromaDatabase = void 0;
20
+ exports.MockChromaDatabase = exports.chromaDbAssert = exports.ChromaDatabase = void 0;
21
21
  var ChromaDatabase_1 = require("./ChromaDatabase");
22
22
  Object.defineProperty(exports, "ChromaDatabase", { enumerable: true, get: function () { return __importDefault(ChromaDatabase_1).default; } });
23
23
  const data_stores_1 = require("@sprucelabs/data-stores");
24
24
  const ChromaDatabase_2 = __importDefault(require("./ChromaDatabase"));
25
+ var chromaDbAssert_utility_1 = require("./chromaDbAssert.utility");
26
+ Object.defineProperty(exports, "chromaDbAssert", { enumerable: true, get: function () { return __importDefault(chromaDbAssert_utility_1).default; } });
27
+ var MockChromaDatabase_1 = require("./MockChromaDatabase");
28
+ Object.defineProperty(exports, "MockChromaDatabase", { enumerable: true, get: function () { return __importDefault(MockChromaDatabase_1).default; } });
25
29
  __exportStar(require("./ChromaDatabase"), exports);
26
30
  data_stores_1.DatabaseFactory.addAdapter('chroma://', ChromaDatabase_2.default);
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "sprucebot",
14
14
  "sprucelabs"
15
15
  ],
16
- "version": "1.0.0",
16
+ "version": "1.0.2",
17
17
  "scripts": {
18
18
  "build.ci": "yarn run build.tsc && yarn run build.resolve-paths && yarn run lint",
19
19
  "build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
@@ -34,30 +34,31 @@
34
34
  "rebuild": "yarn run clean.all && yarn install && yarn run build.dev",
35
35
  "release": "semantic-release",
36
36
  "resolve-paths.lint": "yarn run build.resolve-paths ; yarn run lint",
37
- "test": "jest",
37
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest",
38
38
  "update.dependencies": "yarn run clean.dependencies && yarn",
39
39
  "watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
40
40
  "watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
41
41
  "watch.tsc": "tsc -w",
42
- "start.chroma.docker": "./support/start_chroma_docker.sh"
42
+ "start.chroma.docker": "./support/start_chroma_docker.sh",
43
+ "generate.embeddings": "./support/generate_embeddings.sh"
43
44
  },
44
45
  "devDependencies": {
45
- "@sprucelabs/esm-postbuild": "^6.0.533",
46
- "@sprucelabs/jest-json-reporter": "^8.0.558",
47
- "@sprucelabs/resolve-path-aliases": "^2.0.523",
46
+ "@sprucelabs/esm-postbuild": "^7.0.6",
47
+ "@sprucelabs/jest-json-reporter": "^9.0.11",
48
+ "@sprucelabs/resolve-path-aliases": "^3.0.6",
48
49
  "@sprucelabs/semantic-release": "^5.0.2",
49
- "@sprucelabs/test": "^9.0.64",
50
- "@sprucelabs/test-utils": "^5.1.529",
51
- "@types/node": "^22.10.2",
50
+ "@sprucelabs/test": "^10.0.4",
51
+ "@sprucelabs/test-utils": "^6.0.14",
52
+ "@types/node": "^24.0.3",
52
53
  "chokidar-cli": "^3.0.0",
53
- "eslint": "^9.17.0",
54
+ "eslint": "^9.29.0",
54
55
  "eslint-config-spruce": "^11.2.26",
55
- "jest": "^29.7.0",
56
- "jest-circus": "^29.7.0",
57
- "prettier": "^3.4.2",
56
+ "jest": "^30.0.2",
57
+ "jest-circus": "^30.0.2",
58
+ "prettier": "^3.5.3",
58
59
  "ts-node": "^10.9.2",
59
- "tsc-watch": "^6.2.1",
60
- "typescript": "^5.7.2"
60
+ "tsc-watch": "^7.1.1",
61
+ "typescript": "^5.8.3"
61
62
  },
62
63
  "description": "A data store adapter for Chroma (vectordb)",
63
64
  "skill": {
@@ -66,7 +67,7 @@
66
67
  "jest": {
67
68
  "testRunner": "jest-circus/runner",
68
69
  "maxWorkers": 4,
69
- "testTimeout": 1000000,
70
+ "testTimeout": 10000000,
70
71
  "testEnvironment": "node",
71
72
  "testPathIgnorePatterns": [
72
73
  "<rootDir>/tmp/",
@@ -82,12 +83,14 @@
82
83
  }
83
84
  },
84
85
  "dependencies": {
85
- "@sprucelabs/data-stores": "^28.4.0",
86
- "@sprucelabs/error": "^6.0.556",
87
- "@sprucelabs/schema": "^31.0.3",
88
- "@sprucelabs/spruce-core-schemas": "^40.1.586",
89
- "@sprucelabs/spruce-skill-utils": "^31.1.9",
90
- "chromadb": "^1.9.4",
91
- "chromadb-default-embed": "^2.13.2"
86
+ "@chroma-core/ollama": "^0.1.7",
87
+ "@sprucelabs/data-stores": "^29.0.16",
88
+ "@sprucelabs/error": "^7.0.10",
89
+ "@sprucelabs/schema": "^32.0.15",
90
+ "@sprucelabs/spruce-core-schemas": "^41.0.15",
91
+ "@sprucelabs/spruce-skill-utils": "^32.0.15",
92
+ "chromadb": "^3.0.4",
93
+ "chromadb-default-embed": "^2.14.0",
94
+ "ollama": "^0.5.16"
92
95
  }
93
96
  }
@@ -1,3 +0,0 @@
1
- import { SpruceErrors } from '../errors.types';
2
- declare const featureNotSupportedSchema: SpruceErrors.ChromaDataStore.FeatureNotSupportedSchema;
3
- export default featureNotSupportedSchema;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schema_1 = require('@sprucelabs/schema');
4
- const featureNotSupportedSchema = {
5
- id: 'featureNotSupported',
6
- namespace: 'ChromaDataStore',
7
- name: 'Feature not supported',
8
- fields: {
9
- /** . */
10
- 'operation': {
11
- type: 'text',
12
- isRequired: true,
13
- options: undefined
14
- },
15
- }
16
- };
17
- schema_1.SchemaRegistry.getInstance().trackSchema(featureNotSupportedSchema);
18
- exports.default = featureNotSupportedSchema;
@@ -1 +0,0 @@
1
- {"version":3,"file":"featureNotSupported.schema.js","sourceRoot":"","sources":["../../../../src/.spruce/errors/chromaDataStore/featureNotSupported.schema.ts"],"names":[],"mappings":";;AAAA,+CAAmD;AAKnD,MAAM,yBAAyB,GAA4D;IAC1F,EAAE,EAAE,qBAAqB;IACzB,SAAS,EAAE,iBAAiB;IAC5B,IAAI,EAAE,uBAAuB;IACzB,MAAM,EAAE;QACA,QAAQ;QACR,WAAW,EAAE;YACT,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,SAAS;SACrB;KACR;CACL,CAAA;AAED,uBAAc,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAA;AAEnE,kBAAe,yBAAyB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.types.js","sourceRoot":"","sources":["../../../src/.spruce/errors/errors.types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.types.js","sourceRoot":"","sources":["../../../src/.spruce/errors/options.types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { fieldClassMap } from '@sprucelabs/schema';
2
- export default fieldClassMap;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schema_1 = require('@sprucelabs/schema');
4
- exports.default = schema_1.fieldClassMap;
@@ -1 +0,0 @@
1
- {"version":3,"file":"fieldClassMap.js","sourceRoot":"","sources":["../../../../src/.spruce/schemas/fields/fieldClassMap.ts"],"names":[],"mappings":";;AAAA,+CAAkD;AAKlD,kBAAe,sBAAa,CAAA"}
@@ -1 +0,0 @@
1
- export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap } from '@sprucelabs/schema';
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.types.js","sourceRoot":"","sources":["../../../../src/.spruce/schemas/fields/fields.types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export { choiceSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.choiceSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"choice.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/choice.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAyE;AAAhE,8GAAA,YAAY,OAAW"}
@@ -1 +0,0 @@
1
- export { linkSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.linkSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"link.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/link.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAuE;AAA9D,8GAAA,UAAU,OAAW"}
@@ -1 +0,0 @@
1
- export { locationSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.locationSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"location.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/location.schema.ts"],"names":[],"mappings":";;;AAAA,uEAA2E;AAAlE,8GAAA,cAAc,OAAW"}
@@ -1 +0,0 @@
1
- export { messageSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.messageSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"message.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/message.schema.ts"],"names":[],"mappings":";;;AAAA,uEAA0E;AAAjE,8GAAA,aAAa,OAAW"}
@@ -1 +0,0 @@
1
- export { messageSourceSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.messageSourceSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"messageSource.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/messageSource.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAgF;AAAvE,8GAAA,mBAAmB,OAAW"}
@@ -1 +0,0 @@
1
- export { messageTargetSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.messageTargetSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"messageTarget.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/messageTarget.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAgF;AAAvE,8GAAA,mBAAmB,OAAW"}
@@ -1 +0,0 @@
1
- export { organizationSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.organizationSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"organization.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/organization.schema.ts"],"names":[],"mappings":";;;AAAA,uEAA+E;AAAtE,8GAAA,kBAAkB,OAAW"}
@@ -1 +0,0 @@
1
- export { personSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.personSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"person.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/person.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAyE;AAAhE,8GAAA,YAAY,OAAW"}
@@ -1 +0,0 @@
1
- export { personLocationSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.personLocationSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"personLocation.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/personLocation.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAiF;AAAxE,8GAAA,oBAAoB,OAAW"}
@@ -1 +0,0 @@
1
- export { personOrganizationSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.personOrganizationSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"personOrganization.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/personOrganization.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAqF;AAA5E,8GAAA,wBAAwB,OAAW"}
@@ -1 +0,0 @@
1
- export { roleSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.roleSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/role.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAuE;AAA9D,8GAAA,UAAU,OAAW"}
@@ -1 +0,0 @@
1
- export { sendMessageSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.sendMessageSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"sendMessage.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.ts"],"names":[],"mappings":";;;AAAA,uEAA8E;AAArE,8GAAA,iBAAiB,OAAW"}
@@ -1 +0,0 @@
1
- export { skillSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.skillSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"skill.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/skill.schema.ts"],"names":[],"mappings":";;;AAAA,uEAAwE;AAA/D,8GAAA,WAAW,OAAW"}
@@ -1 +0,0 @@
1
- export { skillCreatorSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var spruce_core_schemas_1 = require('@sprucelabs/spruce-core-schemas');
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.skillCreatorSchema; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"skillCreator.schema.js","sourceRoot":"","sources":["../../../../../src/.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.ts"],"names":[],"mappings":";;;AAAA,uEAA+E;AAAtE,8GAAA,kBAAkB,OAAW"}