@webiny/api-headless-cms-pg-os 0.0.0-unstable.7c2def32a7 → 0.0.0-unstable.e9333b3f0b
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/operations/entry/EntrySearchOperations.d.ts +1 -2
- package/operations/entry/EntrySearchOperations.js +3 -6
- package/operations/entry/EntrySearchOperations.js.map +1 -1
- package/operations/entry/search/list.d.ts +0 -1
- package/operations/entry/search/list.js +0 -15
- package/operations/entry/search/list.js.map +1 -1
- package/operations/entry/search/types.d.ts +0 -2
- package/package.json +20 -20
- package/debuggerNamespaces.d.ts +0 -12
- package/debuggerNamespaces.js +0 -0
|
@@ -4,12 +4,11 @@ import { CmsEntryOpenSearchBodyBuilder, CmsEntryOpenSearchFieldIndexRegistry } f
|
|
|
4
4
|
import { CmsModelOpenSearchIndexProvider } from "@webiny/api-headless-cms-utils-os/features/CmsModelOpenSearchIndex/CmsModelOpenSearchIndexProvider.js";
|
|
5
5
|
import { CmsModelFieldToGraphQLRegistry } from "@webiny/api-headless-cms/exports/api/cms/graphql.js";
|
|
6
6
|
import { CmsStorageModelProvider } from "@webiny/api-headless-cms/features/shared/abstractions.js";
|
|
7
|
-
import { Debugger } from "@webiny/api-core/features/debugger/index.js";
|
|
8
7
|
declare class EntrySearchOperationsImpl implements IEntrySearchOperations {
|
|
9
8
|
readonly list: IEntrySearchOperations["list"];
|
|
10
9
|
readonly get: IEntrySearchOperations["get"];
|
|
11
10
|
readonly getUniqueFieldValues: IEntrySearchOperations["getUniqueFieldValues"];
|
|
12
|
-
constructor(openSearchClient: OpenSearchClient.Interface, bodyBuilder: CmsEntryOpenSearchBodyBuilder.Interface, fieldRegistry: CmsModelFieldToGraphQLRegistry.Interface, fieldIndexRegistry: CmsEntryOpenSearchFieldIndexRegistry.Interface, storageModelProvider: CmsStorageModelProvider.Interface, indexProvider: CmsModelOpenSearchIndexProvider.Interface
|
|
11
|
+
constructor(openSearchClient: OpenSearchClient.Interface, bodyBuilder: CmsEntryOpenSearchBodyBuilder.Interface, fieldRegistry: CmsModelFieldToGraphQLRegistry.Interface, fieldIndexRegistry: CmsEntryOpenSearchFieldIndexRegistry.Interface, storageModelProvider: CmsStorageModelProvider.Interface, indexProvider: CmsModelOpenSearchIndexProvider.Interface);
|
|
13
12
|
}
|
|
14
13
|
export declare const EntrySearchOperations: typeof EntrySearchOperationsImpl & {
|
|
15
14
|
__abstraction: import("@webiny/di").Abstraction<IEntrySearchOperations>;
|
|
@@ -4,20 +4,18 @@ import { CmsEntryOpenSearchBodyBuilder, CmsEntryOpenSearchFieldIndexRegistry } f
|
|
|
4
4
|
import { CmsModelOpenSearchIndexProvider } from "@webiny/api-headless-cms-utils-os/features/CmsModelOpenSearchIndex/CmsModelOpenSearchIndexProvider.js";
|
|
5
5
|
import { CmsModelFieldToGraphQLRegistry } from "@webiny/api-headless-cms/exports/api/cms/graphql.js";
|
|
6
6
|
import { CmsStorageModelProvider } from "@webiny/api-headless-cms/features/shared/abstractions.js";
|
|
7
|
-
import { Debugger } from "@webiny/api-core/features/debugger/index.js";
|
|
8
7
|
import { createListOperation } from "./search/list.js";
|
|
9
8
|
import { createGetOperation } from "./search/get.js";
|
|
10
9
|
import { createGetUniqueFieldValuesOperation } from "./search/getUniqueFieldValues.js";
|
|
11
10
|
class EntrySearchOperationsImpl {
|
|
12
|
-
constructor(openSearchClient, bodyBuilder, fieldRegistry, fieldIndexRegistry, storageModelProvider, indexProvider
|
|
11
|
+
constructor(openSearchClient, bodyBuilder, fieldRegistry, fieldIndexRegistry, storageModelProvider, indexProvider){
|
|
13
12
|
const deps = {
|
|
14
13
|
elasticsearch: openSearchClient.use(),
|
|
15
14
|
bodyBuilder,
|
|
16
15
|
fieldRegistry,
|
|
17
16
|
fieldIndexRegistry,
|
|
18
17
|
getStorageOperationsModel: (model)=>storageModelProvider.getModel(model),
|
|
19
|
-
indexProvider
|
|
20
|
-
debuggerService
|
|
18
|
+
indexProvider
|
|
21
19
|
};
|
|
22
20
|
this.list = createListOperation(deps);
|
|
23
21
|
this.get = createGetOperation(deps);
|
|
@@ -32,8 +30,7 @@ const EntrySearchOperations_EntrySearchOperations = EntrySearchOperations.create
|
|
|
32
30
|
CmsModelFieldToGraphQLRegistry,
|
|
33
31
|
CmsEntryOpenSearchFieldIndexRegistry,
|
|
34
32
|
CmsStorageModelProvider,
|
|
35
|
-
CmsModelOpenSearchIndexProvider
|
|
36
|
-
Debugger
|
|
33
|
+
CmsModelOpenSearchIndexProvider
|
|
37
34
|
]
|
|
38
35
|
});
|
|
39
36
|
export { EntrySearchOperations_EntrySearchOperations as EntrySearchOperations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations/entry/EntrySearchOperations.js","sources":["../../../src/operations/entry/EntrySearchOperations.ts"],"sourcesContent":["import { EntrySearchOperations as Abstraction } from \"./abstractions/EntrySearchOperations.js\";\nimport type { IEntrySearchOperations } from \"./abstractions/EntrySearchOperations.js\";\nimport { OpenSearchClient } from \"@webiny/api-opensearch/exports/api/opensearch.js\";\nimport {\n CmsEntryOpenSearchBodyBuilder,\n CmsEntryOpenSearchFieldIndexRegistry\n} from \"@webiny/api-headless-cms-utils-os/exports/api/cms/opensearch.js\";\nimport { CmsModelOpenSearchIndexProvider } from \"@webiny/api-headless-cms-utils-os/features/CmsModelOpenSearchIndex/CmsModelOpenSearchIndexProvider.js\";\nimport { CmsModelFieldToGraphQLRegistry } from \"@webiny/api-headless-cms/exports/api/cms/graphql.js\";\nimport { CmsStorageModelProvider } from \"@webiny/api-headless-cms/features/shared/abstractions.js\";\nimport
|
|
1
|
+
{"version":3,"file":"operations/entry/EntrySearchOperations.js","sources":["../../../src/operations/entry/EntrySearchOperations.ts"],"sourcesContent":["import { EntrySearchOperations as Abstraction } from \"./abstractions/EntrySearchOperations.js\";\nimport type { IEntrySearchOperations } from \"./abstractions/EntrySearchOperations.js\";\nimport { OpenSearchClient } from \"@webiny/api-opensearch/exports/api/opensearch.js\";\nimport {\n CmsEntryOpenSearchBodyBuilder,\n CmsEntryOpenSearchFieldIndexRegistry\n} from \"@webiny/api-headless-cms-utils-os/exports/api/cms/opensearch.js\";\nimport { CmsModelOpenSearchIndexProvider } from \"@webiny/api-headless-cms-utils-os/features/CmsModelOpenSearchIndex/CmsModelOpenSearchIndexProvider.js\";\nimport { CmsModelFieldToGraphQLRegistry } from \"@webiny/api-headless-cms/exports/api/cms/graphql.js\";\nimport { CmsStorageModelProvider } from \"@webiny/api-headless-cms/features/shared/abstractions.js\";\nimport type { SearchOperationDeps } from \"./search/types.js\";\nimport { createListOperation } from \"./search/list.js\";\nimport { createGetOperation } from \"./search/get.js\";\nimport { createGetUniqueFieldValuesOperation } from \"./search/getUniqueFieldValues.js\";\n\nclass EntrySearchOperationsImpl implements IEntrySearchOperations {\n public readonly list: IEntrySearchOperations[\"list\"];\n public readonly get: IEntrySearchOperations[\"get\"];\n public readonly getUniqueFieldValues: IEntrySearchOperations[\"getUniqueFieldValues\"];\n\n public constructor(\n openSearchClient: OpenSearchClient.Interface,\n bodyBuilder: CmsEntryOpenSearchBodyBuilder.Interface,\n fieldRegistry: CmsModelFieldToGraphQLRegistry.Interface,\n fieldIndexRegistry: CmsEntryOpenSearchFieldIndexRegistry.Interface,\n storageModelProvider: CmsStorageModelProvider.Interface,\n indexProvider: CmsModelOpenSearchIndexProvider.Interface\n ) {\n const deps: SearchOperationDeps = {\n elasticsearch: openSearchClient.use(),\n bodyBuilder,\n fieldRegistry,\n fieldIndexRegistry,\n getStorageOperationsModel: model => storageModelProvider.getModel(model),\n indexProvider\n };\n\n this.list = createListOperation(deps);\n this.get = createGetOperation(deps);\n this.getUniqueFieldValues = createGetUniqueFieldValuesOperation(deps);\n }\n}\n\nexport const EntrySearchOperations = Abstraction.createImplementation({\n implementation: EntrySearchOperationsImpl,\n dependencies: [\n OpenSearchClient,\n CmsEntryOpenSearchBodyBuilder,\n CmsModelFieldToGraphQLRegistry,\n CmsEntryOpenSearchFieldIndexRegistry,\n CmsStorageModelProvider,\n CmsModelOpenSearchIndexProvider\n ]\n});\n"],"names":["EntrySearchOperationsImpl","openSearchClient","bodyBuilder","fieldRegistry","fieldIndexRegistry","storageModelProvider","indexProvider","deps","model","createListOperation","createGetOperation","createGetUniqueFieldValuesOperation","EntrySearchOperations","Abstraction","OpenSearchClient","CmsEntryOpenSearchBodyBuilder","CmsModelFieldToGraphQLRegistry","CmsEntryOpenSearchFieldIndexRegistry","CmsStorageModelProvider","CmsModelOpenSearchIndexProvider"],"mappings":";;;;;;;;;AAeA,MAAMA;IAKF,YACIC,gBAA4C,EAC5CC,WAAoD,EACpDC,aAAuD,EACvDC,kBAAkE,EAClEC,oBAAuD,EACvDC,aAAwD,CAC1D;QACE,MAAMC,OAA4B;YAC9B,eAAeN,iBAAiB,GAAG;YACnCC;YACAC;YACAC;YACA,2BAA2BI,CAAAA,QAASH,qBAAqB,QAAQ,CAACG;YAClEF;QACJ;QAEA,IAAI,CAAC,IAAI,GAAGG,oBAAoBF;QAChC,IAAI,CAAC,GAAG,GAAGG,mBAAmBH;QAC9B,IAAI,CAAC,oBAAoB,GAAGI,oCAAoCJ;IACpE;AACJ;AAEO,MAAMK,8CAAwBC,sBAAAA,oBAAgC,CAAC;IAClE,gBAAgBb;IAChB,cAAc;QACVc;QACAC;QACAC;QACAC;QACAC;QACAC;KACH;AACL"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { CmsEntryValues, CmsModel, CmsEntryStorageOperationsListParams, CmsEntryStorageOperationsListResponse, CmsEntry } from "@webiny/api-headless-cms/types/index.js";
|
|
2
2
|
import type { SearchOperationDeps } from "./types.js";
|
|
3
|
-
import "~/debuggerNamespaces.js";
|
|
4
3
|
export declare const createListOperation: (deps: SearchOperationDeps) => <T extends CmsEntryValues = CmsEntryValues>(initialModel: CmsModel, listParams: CmsEntryStorageOperationsListParams) => Promise<CmsEntryStorageOperationsListResponse<CmsEntry<T>>>;
|
|
@@ -3,7 +3,6 @@ import { createLimit, decodeCursor, encodeCursor, getTotalCount } from "@webiny/
|
|
|
3
3
|
import { shouldIgnoreEsResponseError } from "@webiny/api-headless-cms-utils-os/operations/entry/elasticsearch/shouldIgnoreEsResponseError.js";
|
|
4
4
|
import { extractEntriesFromIndex } from "@webiny/api-headless-cms-utils-os/helpers/entryIndexHelpers.js";
|
|
5
5
|
import { createConfigurations } from "@webiny/api-headless-cms-utils-os/configurations.js";
|
|
6
|
-
import "../../../debuggerNamespaces.js";
|
|
7
6
|
const createListOperation = (deps)=>async (initialModel, listParams)=>{
|
|
8
7
|
const model = deps.getStorageOperationsModel(initialModel);
|
|
9
8
|
const limit = createLimit(listParams.limit);
|
|
@@ -20,26 +19,12 @@ const createListOperation = (deps)=>async (initialModel, listParams)=>{
|
|
|
20
19
|
}
|
|
21
20
|
});
|
|
22
21
|
let response;
|
|
23
|
-
const startedAt = Date.now();
|
|
24
22
|
try {
|
|
25
23
|
response = await deps.elasticsearch.search({
|
|
26
24
|
index,
|
|
27
25
|
body
|
|
28
26
|
});
|
|
29
|
-
deps.debuggerService.log("cms.os.list", ()=>({
|
|
30
|
-
index,
|
|
31
|
-
query: body,
|
|
32
|
-
body: response.body,
|
|
33
|
-
statusCode: response.statusCode,
|
|
34
|
-
tookMs: Date.now() - startedAt
|
|
35
|
-
}));
|
|
36
27
|
} catch (error) {
|
|
37
|
-
deps.debuggerService.log("cms.os.list", ()=>({
|
|
38
|
-
index,
|
|
39
|
-
query: body,
|
|
40
|
-
error,
|
|
41
|
-
tookMs: Date.now() - startedAt
|
|
42
|
-
}));
|
|
43
28
|
if (shouldIgnoreEsResponseError(error)) return {
|
|
44
29
|
hasMoreItems: false,
|
|
45
30
|
totalCount: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations/entry/search/list.js","sources":["../../../../src/operations/entry/search/list.ts"],"sourcesContent":["import type {\n CmsEntryValues,\n CmsModel,\n CmsEntryStorageOperationsListParams,\n CmsEntryStorageOperationsListResponse,\n CmsEntry\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport WebinyError from \"@webiny/error\";\nimport {\n createLimit,\n decodeCursor,\n encodeCursor,\n getTotalCount,\n type OpenSearchSearchResponse\n} from \"@webiny/api-opensearch\";\nimport { shouldIgnoreEsResponseError } from \"@webiny/api-headless-cms-utils-os/operations/entry/elasticsearch/shouldIgnoreEsResponseError.js\";\nimport { extractEntriesFromIndex } from \"@webiny/api-headless-cms-utils-os/helpers/entryIndexHelpers.js\";\nimport { createConfigurations } from \"@webiny/api-headless-cms-utils-os/configurations.js\";\nimport type { CmsIndexEntry } from \"@webiny/api-headless-cms-utils-os/types.js\";\nimport type { SearchOperationDeps } from \"./types.js\";\
|
|
1
|
+
{"version":3,"file":"operations/entry/search/list.js","sources":["../../../../src/operations/entry/search/list.ts"],"sourcesContent":["import type {\n CmsEntryValues,\n CmsModel,\n CmsEntryStorageOperationsListParams,\n CmsEntryStorageOperationsListResponse,\n CmsEntry\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport WebinyError from \"@webiny/error\";\nimport {\n createLimit,\n decodeCursor,\n encodeCursor,\n getTotalCount,\n type OpenSearchSearchResponse\n} from \"@webiny/api-opensearch\";\nimport { shouldIgnoreEsResponseError } from \"@webiny/api-headless-cms-utils-os/operations/entry/elasticsearch/shouldIgnoreEsResponseError.js\";\nimport { extractEntriesFromIndex } from \"@webiny/api-headless-cms-utils-os/helpers/entryIndexHelpers.js\";\nimport { createConfigurations } from \"@webiny/api-headless-cms-utils-os/configurations.js\";\nimport type { CmsIndexEntry } from \"@webiny/api-headless-cms-utils-os/types.js\";\nimport type { SearchOperationDeps } from \"./types.js\";\n\nexport const createListOperation = (deps: SearchOperationDeps) => {\n return async <T extends CmsEntryValues = CmsEntryValues>(\n initialModel: CmsModel,\n listParams: CmsEntryStorageOperationsListParams\n ): Promise<CmsEntryStorageOperationsListResponse<CmsEntry<T>>> => {\n const model = deps.getStorageOperationsModel<T>(initialModel);\n const limit = createLimit(listParams.limit);\n\n const configurations = createConfigurations(deps.indexProvider);\n const { index } = await configurations.es({ model });\n\n const body = deps.bodyBuilder.build({\n model,\n params: {\n ...listParams,\n limit,\n after: decodeCursor(listParams.after)\n }\n });\n\n let response: OpenSearchSearchResponse;\n try {\n response = await deps.elasticsearch.search({ index, body });\n } catch (error) {\n if (shouldIgnoreEsResponseError(error)) {\n return { hasMoreItems: false, totalCount: 0, cursor: null, items: [] };\n }\n throw new WebinyError(error.message, error.code || \"OPENSEARCH_ERROR\", {\n error,\n index,\n body,\n model\n });\n }\n\n const { hits, total } = response.body.hits;\n\n const items = extractEntriesFromIndex<T>({\n fieldRegistry: deps.fieldRegistry,\n fieldIndexRegistry: deps.fieldIndexRegistry,\n model,\n entries: hits.map(item => item._source as CmsIndexEntry<T>)\n });\n\n const hasMoreItems = items.length > limit;\n if (hasMoreItems) {\n items.pop();\n }\n\n // @ts-expect-error - `sort` is present on the hit, but narrowed away by `_source: false` typing.\n const cursor = items.length > 0 ? encodeCursor(hits[items.length - 1].sort) || null : null;\n\n return {\n hasMoreItems,\n totalCount: getTotalCount(total),\n cursor,\n items\n };\n };\n};\n"],"names":["createListOperation","deps","initialModel","listParams","model","limit","createLimit","configurations","createConfigurations","index","body","decodeCursor","response","error","shouldIgnoreEsResponseError","WebinyError","hits","total","items","extractEntriesFromIndex","item","hasMoreItems","cursor","encodeCursor","getTotalCount"],"mappings":";;;;;AAqBO,MAAMA,sBAAsB,CAACC,OACzB,OACHC,cACAC;QAEA,MAAMC,QAAQH,KAAK,yBAAyB,CAAIC;QAChD,MAAMG,QAAQC,YAAYH,WAAW,KAAK;QAE1C,MAAMI,iBAAiBC,qBAAqBP,KAAK,aAAa;QAC9D,MAAM,EAAEQ,KAAK,EAAE,GAAG,MAAMF,eAAe,EAAE,CAAC;YAAEH;QAAM;QAElD,MAAMM,OAAOT,KAAK,WAAW,CAAC,KAAK,CAAC;YAChCG;YACA,QAAQ;gBACJ,GAAGD,UAAU;gBACbE;gBACA,OAAOM,aAAaR,WAAW,KAAK;YACxC;QACJ;QAEA,IAAIS;QACJ,IAAI;YACAA,WAAW,MAAMX,KAAK,aAAa,CAAC,MAAM,CAAC;gBAAEQ;gBAAOC;YAAK;QAC7D,EAAE,OAAOG,OAAO;YACZ,IAAIC,4BAA4BD,QAC5B,OAAO;gBAAE,cAAc;gBAAO,YAAY;gBAAG,QAAQ;gBAAM,OAAO,EAAE;YAAC;YAEzE,MAAM,IAAIE,cAAYF,MAAM,OAAO,EAAEA,MAAM,IAAI,IAAI,oBAAoB;gBACnEA;gBACAJ;gBACAC;gBACAN;YACJ;QACJ;QAEA,MAAM,EAAEY,IAAI,EAAEC,KAAK,EAAE,GAAGL,SAAS,IAAI,CAAC,IAAI;QAE1C,MAAMM,QAAQC,wBAA2B;YACrC,eAAelB,KAAK,aAAa;YACjC,oBAAoBA,KAAK,kBAAkB;YAC3CG;YACA,SAASY,KAAK,GAAG,CAACI,CAAAA,OAAQA,KAAK,OAAO;QAC1C;QAEA,MAAMC,eAAeH,MAAM,MAAM,GAAGb;QACpC,IAAIgB,cACAH,MAAM,GAAG;QAIb,MAAMI,SAASJ,MAAM,MAAM,GAAG,IAAIK,aAAaP,IAAI,CAACE,MAAM,MAAM,GAAG,EAAE,CAAC,IAAI,KAAK,OAAO;QAEtF,OAAO;YACHG;YACA,YAAYG,cAAcP;YAC1BK;YACAJ;QACJ;IACJ"}
|
|
@@ -3,7 +3,6 @@ import type { Client as OpenSearchClient } from "@webiny/api-opensearch";
|
|
|
3
3
|
import type { CmsModelFieldToGraphQLRegistry } from "@webiny/api-headless-cms/exports/api/cms/graphql.js";
|
|
4
4
|
import type { CmsEntryOpenSearchFieldIndexRegistry } from "@webiny/api-headless-cms-utils-os/exports/api/cms/opensearch.js";
|
|
5
5
|
import type { CmsModelOpenSearchIndexProvider } from "@webiny/api-headless-cms-utils-os/features/CmsModelOpenSearchIndex/CmsModelOpenSearchIndexProvider.js";
|
|
6
|
-
import type { Debugger } from "@webiny/api-core/features/debugger/index.js";
|
|
7
6
|
export type GetStorageOperationsModel = <T extends CmsEntryValues = CmsEntryValues>(model: CmsModel) => StorageOperationsCmsModel<T>;
|
|
8
7
|
export interface OpenSearchBodyBuilderBuildParams {
|
|
9
8
|
model: CmsModel;
|
|
@@ -19,5 +18,4 @@ export interface SearchOperationDeps {
|
|
|
19
18
|
fieldIndexRegistry: CmsEntryOpenSearchFieldIndexRegistry.Interface;
|
|
20
19
|
getStorageOperationsModel: GetStorageOperationsModel;
|
|
21
20
|
indexProvider: CmsModelOpenSearchIndexProvider.Interface;
|
|
22
|
-
debuggerService: Debugger.Interface;
|
|
23
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms-pg-os",
|
|
3
|
-
"version": "0.0.0-unstable.
|
|
3
|
+
"version": "0.0.0-unstable.e9333b3f0b",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"author": "Webiny Ltd.",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@webiny/api": "0.0.0-unstable.
|
|
27
|
-
"@webiny/api-core": "0.0.0-unstable.
|
|
28
|
-
"@webiny/api-
|
|
29
|
-
"@webiny/api-headless-cms": "0.0.0-unstable.
|
|
30
|
-
"@webiny/api-headless-cms-
|
|
31
|
-
"@webiny/api-headless-cms-
|
|
32
|
-
"@webiny/api-
|
|
33
|
-
"@webiny/api-opensearch": "0.0.0-unstable.
|
|
34
|
-
"@webiny/
|
|
35
|
-
"@webiny/
|
|
36
|
-
"@webiny/
|
|
37
|
-
"@webiny/
|
|
38
|
-
"@webiny/
|
|
39
|
-
"@webiny/
|
|
40
|
-
"@webiny/utils": "0.0.0-unstable.7c2def32a7",
|
|
26
|
+
"@webiny/api": "0.0.0-unstable.e9333b3f0b",
|
|
27
|
+
"@webiny/api-core-sql": "0.0.0-unstable.e9333b3f0b",
|
|
28
|
+
"@webiny/api-headless-cms": "0.0.0-unstable.e9333b3f0b",
|
|
29
|
+
"@webiny/api-headless-cms-sql": "0.0.0-unstable.e9333b3f0b",
|
|
30
|
+
"@webiny/api-headless-cms-storage": "0.0.0-unstable.e9333b3f0b",
|
|
31
|
+
"@webiny/api-headless-cms-utils-os": "0.0.0-unstable.e9333b3f0b",
|
|
32
|
+
"@webiny/api-opensearch": "0.0.0-unstable.e9333b3f0b",
|
|
33
|
+
"@webiny/api-sync-to-opensearch": "0.0.0-unstable.e9333b3f0b",
|
|
34
|
+
"@webiny/db-utils": "0.0.0-unstable.e9333b3f0b",
|
|
35
|
+
"@webiny/error": "0.0.0-unstable.e9333b3f0b",
|
|
36
|
+
"@webiny/feature": "0.0.0-unstable.e9333b3f0b",
|
|
37
|
+
"@webiny/handler": "0.0.0-unstable.e9333b3f0b",
|
|
38
|
+
"@webiny/plugins": "0.0.0-unstable.e9333b3f0b",
|
|
39
|
+
"@webiny/utils": "0.0.0-unstable.e9333b3f0b",
|
|
41
40
|
"knex": "3.3.0"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
43
|
"@electric-sql/pglite": "0.5.5",
|
|
45
44
|
"@electric-sql/pglite-socket": "0.2.8",
|
|
46
|
-
"@webiny/api-
|
|
47
|
-
"@webiny/
|
|
48
|
-
"@webiny/
|
|
49
|
-
"@webiny/
|
|
45
|
+
"@webiny/api-core": "0.0.0-unstable.e9333b3f0b",
|
|
46
|
+
"@webiny/api-sync-pg-to-opensearch": "0.0.0-unstable.e9333b3f0b",
|
|
47
|
+
"@webiny/build-tools": "0.0.0-unstable.e9333b3f0b",
|
|
48
|
+
"@webiny/di": "1.1.0",
|
|
49
|
+
"@webiny/stdlib": "0.0.17",
|
|
50
50
|
"typescript": "7.0.2",
|
|
51
51
|
"vitest": "4.1.11"
|
|
52
52
|
},
|
package/debuggerNamespaces.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Claims the `cms.` debug namespace prefix.
|
|
3
|
-
*
|
|
4
|
-
* The module specifier has to be exactly this one: augmenting a relative path would silently do
|
|
5
|
-
* nothing.
|
|
6
|
-
*/
|
|
7
|
-
declare module "@webiny/api-core/features/debugger/abstractions.js" {
|
|
8
|
-
interface DebugNamespaces {
|
|
9
|
-
cms: `cms.${string}`;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export {};
|
package/debuggerNamespaces.js
DELETED
|
File without changes
|