@mastra/lance 0.0.0-rag-chunk-extract-llm-option-20250926183645 → 0.0.0-remove-unused-model-providers-api-20251030210744
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.
- package/CHANGELOG.md +112 -3
- package/dist/index.cjs +141 -346
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +142 -347
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/memory/index.d.ts +8 -7
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/utils.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +3 -10
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +5 -49
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/storage/domains/legacy-evals/index.d.ts +0 -25
- package/dist/storage/domains/legacy-evals/index.d.ts.map +0 -1
- package/dist/storage/domains/traces/index.d.ts +0 -34
- package/dist/storage/domains/traces/index.d.ts.map +0 -1
|
@@ -2,7 +2,7 @@ import type { Connection } from '@lancedb/lancedb';
|
|
|
2
2
|
import type { MastraMessageContentV2 } from '@mastra/core/agent';
|
|
3
3
|
import type { MastraMessageV1, MastraMessageV2, StorageThreadType } from '@mastra/core/memory';
|
|
4
4
|
import { MemoryStorage } from '@mastra/core/storage';
|
|
5
|
-
import type { PaginationInfo, StorageGetMessagesArg, StorageResourceType } from '@mastra/core/storage';
|
|
5
|
+
import type { PaginationInfo, StorageGetMessagesArg, StorageResourceType, StorageListMessagesInput, StorageListMessagesOutput, StorageListThreadsByResourceIdInput, StorageListThreadsByResourceIdOutput } from '@mastra/core/storage';
|
|
6
6
|
import type { StoreOperationsLance } from '../operations/index.js';
|
|
7
7
|
export declare class StoreMemoryLance extends MemoryStorage {
|
|
8
8
|
private client;
|
|
@@ -40,14 +40,15 @@ export declare class StoreMemoryLance extends MemoryStorage {
|
|
|
40
40
|
getMessages(args: StorageGetMessagesArg & {
|
|
41
41
|
format: 'v2';
|
|
42
42
|
}): Promise<MastraMessageV2[]>;
|
|
43
|
-
|
|
43
|
+
listMessagesById({ messageIds }: {
|
|
44
44
|
messageIds: string[];
|
|
45
|
-
format: 'v1';
|
|
46
|
-
}): Promise<MastraMessageV1[]>;
|
|
47
|
-
getMessagesById({ messageIds, format, }: {
|
|
48
|
-
messageIds: string[];
|
|
49
|
-
format?: 'v2';
|
|
50
45
|
}): Promise<MastraMessageV2[]>;
|
|
46
|
+
listMessages(args: StorageListMessagesInput): Promise<StorageListMessagesOutput>;
|
|
47
|
+
/**
|
|
48
|
+
* @todo When migrating from getThreadsByResourceIdPaginated to this method,
|
|
49
|
+
* implement orderBy and sortDirection support for full sorting capabilities
|
|
50
|
+
*/
|
|
51
|
+
listThreadsByResourceId(args: StorageListThreadsByResourceIdInput): Promise<StorageListThreadsByResourceIdOutput>;
|
|
51
52
|
saveMessages(args: {
|
|
52
53
|
messages: MastraMessageV1[];
|
|
53
54
|
format?: undefined | 'v1';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/memory/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EACL,aAAa,EAKd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/memory/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,KAAK,EAA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Ac,CAAC,SAAS,EAAE,WAAW,GAAG,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/storage/domains/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAa,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,wBAAgB,cAAc,CAAC,SAAS,EAAE,WAAW,GAAG,MAAM,EAAE,CAO/D;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,WAAW,EAAE,UAAU,GAAG,IAAI,CA4BzF;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EACtD,WAAW,EAAE,UAAU,GACtB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAqD7C;AAED,wBAAsB,cAAc,CAAC,EACnC,SAAS,EACT,MAAM,GACP,EAAE;IACD,SAAS,EAAE,WAAW,CAAC;IACvB,MAAM,EAAE,UAAU,CAAC;CACpB,GAAG,OAAO,CAAC,UAAU,CAAC,CA6CtB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Connection } from '@lancedb/lancedb';
|
|
2
2
|
import type { StepResult, WorkflowRunState, WorkflowRuns } from '@mastra/core';
|
|
3
|
+
import type { StorageListWorkflowRunsInput } from '@mastra/core/storage';
|
|
3
4
|
import { WorkflowsStorage } from '@mastra/core/storage';
|
|
4
5
|
export declare class StoreWorkflowsLance extends WorkflowsStorage {
|
|
5
6
|
client: Connection;
|
|
@@ -11,7 +12,7 @@ export declare class StoreWorkflowsLance extends WorkflowsStorage {
|
|
|
11
12
|
runId: string;
|
|
12
13
|
stepId: string;
|
|
13
14
|
result: StepResult<any, any, any, any>;
|
|
14
|
-
|
|
15
|
+
requestContext: Record<string, any>;
|
|
15
16
|
}): Promise<Record<string, StepResult<any, any, any, any>>>;
|
|
16
17
|
updateWorkflowState({}: {
|
|
17
18
|
workflowName: string;
|
|
@@ -44,14 +45,6 @@ export declare class StoreWorkflowsLance extends WorkflowsStorage {
|
|
|
44
45
|
createdAt: Date;
|
|
45
46
|
updatedAt: Date;
|
|
46
47
|
} | null>;
|
|
47
|
-
|
|
48
|
-
namespace?: string;
|
|
49
|
-
resourceId?: string;
|
|
50
|
-
workflowName?: string;
|
|
51
|
-
fromDate?: Date;
|
|
52
|
-
toDate?: Date;
|
|
53
|
-
limit?: number;
|
|
54
|
-
offset?: number;
|
|
55
|
-
}): Promise<WorkflowRuns>;
|
|
48
|
+
listWorkflowRuns(args?: StorageListWorkflowRunsInput): Promise<WorkflowRuns>;
|
|
56
49
|
}
|
|
57
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/workflows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/workflows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE/E,OAAO,KAAK,EAAe,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACtF,OAAO,EAAuC,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAuB7F,qBAAa,mBAAoB,SAAQ,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AAY,EACZ,KAAK,GACN,EAAE;QACD,YAAY,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;KACf,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAmB9B,kBAAkB,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC;QAChF,YAAY,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,GAAG,CAAC;QACd,SAAS,EAAE,IAAI,CAAC;QAChB,SAAS,EAAE,IAAI,CAAC;KACjB,GAAG,IAAI,CAAC;IAyBH,gBAAgB,CAAC,IAAI,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,YAAY,CAAC;CA4DnF"}
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { ConnectionOptions } from '@lancedb/lancedb';
|
|
2
2
|
import type { MastraMessageContentV2 } from '@mastra/core/agent';
|
|
3
|
-
import type { MastraMessageV1, MastraMessageV2, StorageThreadType
|
|
3
|
+
import type { MastraMessageV1, MastraMessageV2, StorageThreadType } from '@mastra/core/memory';
|
|
4
4
|
import type { ScoreRowData, ScoringSource } from '@mastra/core/scores';
|
|
5
5
|
import { MastraStorage } from '@mastra/core/storage';
|
|
6
|
-
import type { TABLE_NAMES, PaginationInfo, StorageGetMessagesArg, StorageColumn,
|
|
7
|
-
import type { Trace } from '@mastra/core/telemetry';
|
|
6
|
+
import type { TABLE_NAMES, PaginationInfo, StorageGetMessagesArg, StorageColumn, WorkflowRuns, StoragePagination, StorageDomains, StorageResourceType, StorageListWorkflowRunsInput } from '@mastra/core/storage';
|
|
8
7
|
import type { StepResult, WorkflowRunState } from '@mastra/core/workflows';
|
|
9
8
|
export declare class LanceStorage extends MastraStorage {
|
|
10
9
|
stores: StorageDomains;
|
|
@@ -118,14 +117,6 @@ export declare class LanceStorage extends MastraStorage {
|
|
|
118
117
|
getMessages(args: StorageGetMessagesArg & {
|
|
119
118
|
format: 'v2';
|
|
120
119
|
}): Promise<MastraMessageV2[]>;
|
|
121
|
-
getMessagesById({ messageIds, format }: {
|
|
122
|
-
messageIds: string[];
|
|
123
|
-
format: 'v1';
|
|
124
|
-
}): Promise<MastraMessageV1[]>;
|
|
125
|
-
getMessagesById({ messageIds, format }: {
|
|
126
|
-
messageIds: string[];
|
|
127
|
-
format?: 'v2';
|
|
128
|
-
}): Promise<MastraMessageV2[]>;
|
|
129
120
|
saveMessages(args: {
|
|
130
121
|
messages: MastraMessageV1[];
|
|
131
122
|
format?: undefined | 'v1';
|
|
@@ -155,42 +146,7 @@ export declare class LanceStorage extends MastraStorage {
|
|
|
155
146
|
};
|
|
156
147
|
}[];
|
|
157
148
|
}): Promise<MastraMessageV2[]>;
|
|
158
|
-
|
|
159
|
-
traceId: string;
|
|
160
|
-
}): Promise<TraceType>;
|
|
161
|
-
getTraces(args: {
|
|
162
|
-
name?: string;
|
|
163
|
-
scope?: string;
|
|
164
|
-
page: number;
|
|
165
|
-
perPage: number;
|
|
166
|
-
attributes?: Record<string, string>;
|
|
167
|
-
}): Promise<Trace[]>;
|
|
168
|
-
getTracesPaginated(args: StorageGetTracesPaginatedArg): Promise<PaginationInfo & {
|
|
169
|
-
traces: Trace[];
|
|
170
|
-
}>;
|
|
171
|
-
getEvalsByAgentName(agentName: string, type?: 'test' | 'live'): Promise<EvalRow[]>;
|
|
172
|
-
getEvals(options: {
|
|
173
|
-
agentName?: string;
|
|
174
|
-
type?: 'test' | 'live';
|
|
175
|
-
page?: number;
|
|
176
|
-
perPage?: number;
|
|
177
|
-
fromDate?: Date;
|
|
178
|
-
toDate?: Date;
|
|
179
|
-
dateRange?: {
|
|
180
|
-
start?: Date;
|
|
181
|
-
end?: Date;
|
|
182
|
-
};
|
|
183
|
-
}): Promise<PaginationInfo & {
|
|
184
|
-
evals: EvalRow[];
|
|
185
|
-
}>;
|
|
186
|
-
getWorkflowRuns(args?: {
|
|
187
|
-
namespace?: string;
|
|
188
|
-
workflowName?: string;
|
|
189
|
-
fromDate?: Date;
|
|
190
|
-
toDate?: Date;
|
|
191
|
-
limit?: number;
|
|
192
|
-
offset?: number;
|
|
193
|
-
}): Promise<WorkflowRuns>;
|
|
149
|
+
listWorkflowRuns(args?: StorageListWorkflowRunsInput): Promise<WorkflowRuns>;
|
|
194
150
|
getWorkflowRunById(args: {
|
|
195
151
|
runId: string;
|
|
196
152
|
workflowName?: string;
|
|
@@ -201,12 +157,12 @@ export declare class LanceStorage extends MastraStorage {
|
|
|
201
157
|
createdAt: Date;
|
|
202
158
|
updatedAt: Date;
|
|
203
159
|
} | null>;
|
|
204
|
-
updateWorkflowResults({ workflowName, runId, stepId, result,
|
|
160
|
+
updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: {
|
|
205
161
|
workflowName: string;
|
|
206
162
|
runId: string;
|
|
207
163
|
stepId: string;
|
|
208
164
|
result: StepResult<any, any, any, any>;
|
|
209
|
-
|
|
165
|
+
requestContext: Record<string, any>;
|
|
210
166
|
}): Promise<Record<string, StepResult<any, any, any, any>>>;
|
|
211
167
|
updateWorkflowState({ workflowName, runId, opts, }: {
|
|
212
168
|
workflowName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,KAAK,EAAE,sB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,EAAE,MAAM,CAAC;QACf,UAAU,EAAE,iBAAiB,CAAC;KAC/B,GAAG,OAAO,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,MAAM,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;CAGpE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/lance",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-remove-unused-model-providers-api-20251030210744",
|
|
4
4
|
"description": "Lance provider for Mastra - includes both vector and db storage capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"./package.json": "./package.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@lancedb/lancedb": "^0.
|
|
22
|
+
"@lancedb/lancedb": "^0.22.2",
|
|
23
23
|
"apache-arrow": "^18.1.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@microsoft/api-extractor": "^7.52.8",
|
|
27
27
|
"@types/node": "^20.19.0",
|
|
28
|
-
"eslint": "^9.
|
|
28
|
+
"eslint": "^9.37.0",
|
|
29
29
|
"tsup": "^8.5.0",
|
|
30
30
|
"typescript": "^5.8.3",
|
|
31
31
|
"vitest": "^3.2.4",
|
|
32
|
-
"@internal/lint": "0.0.0-
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@internal/
|
|
32
|
+
"@internal/lint": "0.0.0-remove-unused-model-providers-api-20251030210744",
|
|
33
|
+
"@internal/types-builder": "0.0.0-remove-unused-model-providers-api-20251030210744",
|
|
34
|
+
"@mastra/core": "0.0.0-remove-unused-model-providers-api-20251030210744",
|
|
35
|
+
"@internal/storage-test-utils": "0.0.49"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@mastra/core": "0.0.0-
|
|
38
|
+
"@mastra/core": "0.0.0-remove-unused-model-providers-api-20251030210744"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
41
|
"dist",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Connection } from '@lancedb/lancedb';
|
|
2
|
-
import { LegacyEvalsStorage } from '@mastra/core/storage';
|
|
3
|
-
import type { EvalRow, PaginationInfo } from '@mastra/core/storage';
|
|
4
|
-
export declare class StoreLegacyEvalsLance extends LegacyEvalsStorage {
|
|
5
|
-
private client;
|
|
6
|
-
constructor({ client }: {
|
|
7
|
-
client: Connection;
|
|
8
|
-
});
|
|
9
|
-
getEvalsByAgentName(agentName: string, type?: 'test' | 'live'): Promise<EvalRow[]>;
|
|
10
|
-
getEvals(options: {
|
|
11
|
-
agentName?: string;
|
|
12
|
-
type?: 'test' | 'live';
|
|
13
|
-
page?: number;
|
|
14
|
-
perPage?: number;
|
|
15
|
-
fromDate?: Date;
|
|
16
|
-
toDate?: Date;
|
|
17
|
-
dateRange?: {
|
|
18
|
-
start?: Date;
|
|
19
|
-
end?: Date;
|
|
20
|
-
};
|
|
21
|
-
}): Promise<PaginationInfo & {
|
|
22
|
-
evals: EvalRow[];
|
|
23
|
-
}>;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/legacy-evals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAe,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEpE,qBAAa,qBAAsB,SAAQ,kBAAkB;IAC3D,OAAO,CAAC,MAAM,CAAa;gBACf,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE;IAKxC,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IA4ClF,QAAQ,CAAC,OAAO,EAAE;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,IAAI,CAAC;QAChB,MAAM,CAAC,EAAE,IAAI,CAAC;QACd,SAAS,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,IAAI,CAAC;YAAC,GAAG,CAAC,EAAE,IAAI,CAAA;SAAE,CAAC;KAC1C,GAAG,OAAO,CAAC,cAAc,GAAG;QAAE,KAAK,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;CA2FnD"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Connection } from '@lancedb/lancedb';
|
|
2
|
-
import type { TraceType } from '@mastra/core/memory';
|
|
3
|
-
import { TracesStorage } from '@mastra/core/storage';
|
|
4
|
-
import type { PaginationInfo, StorageGetTracesPaginatedArg } from '@mastra/core/storage';
|
|
5
|
-
import type { Trace } from '@mastra/core/telemetry';
|
|
6
|
-
import type { StoreOperationsLance } from '../operations/index.js';
|
|
7
|
-
export declare class StoreTracesLance extends TracesStorage {
|
|
8
|
-
private client;
|
|
9
|
-
private operations;
|
|
10
|
-
constructor({ client, operations }: {
|
|
11
|
-
client: Connection;
|
|
12
|
-
operations: StoreOperationsLance;
|
|
13
|
-
});
|
|
14
|
-
saveTrace({ trace }: {
|
|
15
|
-
trace: TraceType;
|
|
16
|
-
}): Promise<TraceType>;
|
|
17
|
-
getTraceById({ traceId }: {
|
|
18
|
-
traceId: string;
|
|
19
|
-
}): Promise<TraceType>;
|
|
20
|
-
getTraces({ name, scope, page, perPage, attributes, }: {
|
|
21
|
-
name?: string;
|
|
22
|
-
scope?: string;
|
|
23
|
-
page: number;
|
|
24
|
-
perPage: number;
|
|
25
|
-
attributes?: Record<string, string>;
|
|
26
|
-
}): Promise<Trace[]>;
|
|
27
|
-
getTracesPaginated(args: StorageGetTracesPaginatedArg): Promise<PaginationInfo & {
|
|
28
|
-
traces: Trace[];
|
|
29
|
-
}>;
|
|
30
|
-
batchTraceInsert({ records }: {
|
|
31
|
-
records: Record<string, any>[];
|
|
32
|
-
}): Promise<void>;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/traces/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAgB,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACzF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE1D,qBAAa,gBAAiB,SAAQ,aAAa;IACjD,OAAO,CAAC,MAAM,CAAa;IAC3B,OAAO,CAAC,UAAU,CAAuB;gBAC7B,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE;QAAE,MAAM,EAAE,UAAU,CAAC;QAAC,UAAU,EAAE,oBAAoB,CAAA;KAAE;IAMtF,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE;QAAE,KAAK,EAAE,SAAS,CAAA;KAAE,GAAG,OAAO,CAAC,SAAS,CAAC;IAyB9D,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,SAA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