@gooddata/sdk-backend-mockingbird 11.40.0-alpha.1 → 11.40.0-alpha.3
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/esm/recordedBackend/index.js +0 -42
- package/package.json +8 -8
|
@@ -372,23 +372,6 @@ function recordedEntitlements() {
|
|
|
372
372
|
},
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
class RecordedLlmEndpointsQuery {
|
|
376
|
-
withSize(_size) {
|
|
377
|
-
return this;
|
|
378
|
-
}
|
|
379
|
-
withPage(_page) {
|
|
380
|
-
return this;
|
|
381
|
-
}
|
|
382
|
-
withSorting(_sort) {
|
|
383
|
-
return this;
|
|
384
|
-
}
|
|
385
|
-
query() {
|
|
386
|
-
return Promise.resolve(new InMemoryPaging([]));
|
|
387
|
-
}
|
|
388
|
-
queryAll() {
|
|
389
|
-
return Promise.resolve([]);
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
375
|
class RecordedLlmProvidersQuery {
|
|
393
376
|
withSize(_size) {
|
|
394
377
|
return this;
|
|
@@ -602,31 +585,6 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
602
585
|
unsubscribeAutomations: () => Promise.resolve(),
|
|
603
586
|
};
|
|
604
587
|
},
|
|
605
|
-
llmEndpoints() {
|
|
606
|
-
const dummyEndpoint = {
|
|
607
|
-
id: "dummyLlmEndpoint",
|
|
608
|
-
title: "Dummy Llm Endpoint",
|
|
609
|
-
provider: "OPENAI",
|
|
610
|
-
model: "gpt-4o-mini",
|
|
611
|
-
};
|
|
612
|
-
return {
|
|
613
|
-
getCount: () => Promise.resolve(0),
|
|
614
|
-
getEndpointsQuery: () => new RecordedLlmEndpointsQuery(),
|
|
615
|
-
deleteLlmEndpoint: () => Promise.resolve(),
|
|
616
|
-
getLlmEndpoint: () => Promise.resolve({
|
|
617
|
-
...dummyEndpoint,
|
|
618
|
-
}),
|
|
619
|
-
createLlmEndpoint: () => Promise.resolve({
|
|
620
|
-
...dummyEndpoint,
|
|
621
|
-
}),
|
|
622
|
-
updateLlmEndpoint: () => Promise.resolve({
|
|
623
|
-
...dummyEndpoint,
|
|
624
|
-
}),
|
|
625
|
-
patchLlmEndpoint: () => Promise.resolve({
|
|
626
|
-
...dummyEndpoint,
|
|
627
|
-
}),
|
|
628
|
-
};
|
|
629
|
-
},
|
|
630
588
|
llmProviders() {
|
|
631
589
|
const dummyProvider = {
|
|
632
590
|
id: "dummyLlmProvider",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-mockingbird",
|
|
3
|
-
"version": "11.40.0-alpha.
|
|
3
|
+
"version": "11.40.0-alpha.3",
|
|
4
4
|
"description": "Mock GoodData Backend SPI implementation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"ts-invariant": "0.10.3",
|
|
26
26
|
"tslib": "2.8.1",
|
|
27
27
|
"uuid": "11.1.0",
|
|
28
|
-
"@gooddata/sdk-
|
|
29
|
-
"@gooddata/sdk-backend-
|
|
30
|
-
"@gooddata/sdk-
|
|
31
|
-
"@gooddata/util": "11.40.0-alpha.
|
|
28
|
+
"@gooddata/sdk-model": "11.40.0-alpha.3",
|
|
29
|
+
"@gooddata/sdk-backend-base": "11.40.0-alpha.3",
|
|
30
|
+
"@gooddata/sdk-backend-spi": "11.40.0-alpha.3",
|
|
31
|
+
"@gooddata/util": "11.40.0-alpha.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"oxlint-tsgolint": "0.11.4",
|
|
53
53
|
"typescript": "5.9.3",
|
|
54
54
|
"vitest": "4.1.0",
|
|
55
|
-
"@gooddata/eslint-config": "11.40.0-alpha.
|
|
56
|
-
"@gooddata/oxlint-config": "11.40.0-alpha.
|
|
57
|
-
"@gooddata/reference-workspace": "11.40.0-alpha.
|
|
55
|
+
"@gooddata/eslint-config": "11.40.0-alpha.3",
|
|
56
|
+
"@gooddata/oxlint-config": "11.40.0-alpha.3",
|
|
57
|
+
"@gooddata/reference-workspace": "11.40.0-alpha.3"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"_phase:build": "npm run build",
|