@akanjs/server 0.0.57 → 0.0.59

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/index.js CHANGED
@@ -15,3 +15,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
15
15
  var server_exports = {};
16
16
  module.exports = __toCommonJS(server_exports);
17
17
  __reExport(server_exports, require("./src"), module.exports);
18
+ // Annotate the CommonJS export names for ESM import in node:
19
+ 0 && (module.exports = {
20
+ ...require("./src")
21
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/server",
3
- "version": "0.0.57",
3
+ "version": "0.0.59",
4
4
  "type": "commonjs",
5
5
  "scripts": {
6
6
  "postinstall": "pnpm install @nestjs/mongoose@^10.1.0"
package/src/boot.js CHANGED
@@ -195,3 +195,7 @@ const createNestApp = async ({ registerModules, serverMode = "federation", env,
195
195
  }
196
196
  };
197
197
  };
198
+ // Annotate the CommonJS export names for ESM import in node:
199
+ 0 && (module.exports = {
200
+ createNestApp
201
+ });
package/src/controller.js CHANGED
@@ -96,3 +96,7 @@ const controllerOf = (sigRef, allSrvs) => {
96
96
  (0, import_common2.Controller)()(Ctrl);
97
97
  return Ctrl;
98
98
  };
99
+ // Annotate the CommonJS export names for ESM import in node:
100
+ 0 && (module.exports = {
101
+ controllerOf
102
+ });
package/src/gql.js CHANGED
@@ -143,3 +143,10 @@ const generateGql = (objectRef) => {
143
143
  setPredefinedObjectGql(classMeta.refName, objectGql);
144
144
  return objectGql;
145
145
  };
146
+ // Annotate the CommonJS export names for ESM import in node:
147
+ 0 && (module.exports = {
148
+ DateScalar,
149
+ applyNestField,
150
+ generateGql,
151
+ generateGqlInput
152
+ });
package/src/index.js CHANGED
@@ -24,3 +24,16 @@ __reExport(src_exports, require("./websocket"), module.exports);
24
24
  __reExport(src_exports, require("./boot"), module.exports);
25
25
  __reExport(src_exports, require("./searchDaemon"), module.exports);
26
26
  __reExport(src_exports, require("./schema"), module.exports);
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
29
+ ...require("./gql"),
30
+ ...require("./resolver"),
31
+ ...require("./controller"),
32
+ ...require("./processor"),
33
+ ...require("./module"),
34
+ ...require("./types"),
35
+ ...require("./websocket"),
36
+ ...require("./boot"),
37
+ ...require("./searchDaemon"),
38
+ ...require("./schema")
39
+ });
package/src/module.js CHANGED
@@ -244,3 +244,12 @@ const useGlobals = ({ uses, useAsyncs, injects }) => {
244
244
  ], GlobalsModule);
245
245
  return GlobalsModule;
246
246
  };
247
+ // Annotate the CommonJS export names for ESM import in node:
248
+ 0 && (module.exports = {
249
+ batchModuleOf,
250
+ databaseModuleOf,
251
+ scalarModuleOf,
252
+ scalarModulesOf,
253
+ serviceModuleOf,
254
+ useGlobals
255
+ });
package/src/processor.js CHANGED
@@ -85,3 +85,8 @@ const queueOf = (sigRef, queue) => {
85
85
  }
86
86
  return queue;
87
87
  };
88
+ // Annotate the CommonJS export names for ESM import in node:
89
+ 0 && (module.exports = {
90
+ processorOf,
91
+ queueOf
92
+ });
package/src/resolver.js CHANGED
@@ -139,3 +139,7 @@ const resolverOf = (sigRef, allSrvs) => {
139
139
  Nest.Resolver()(Rsv);
140
140
  return Rsv;
141
141
  };
142
+ // Annotate the CommonJS export names for ESM import in node:
143
+ 0 && (module.exports = {
144
+ resolverOf
145
+ });
package/src/schema.js CHANGED
@@ -236,3 +236,8 @@ const addSchema = (modelRef, docRef, inputRef, middleware) => {
236
236
  onSchema?.(modelSchema);
237
237
  return modelSchema;
238
238
  };
239
+ // Annotate the CommonJS export names for ESM import in node:
240
+ 0 && (module.exports = {
241
+ addSchema,
242
+ schemaOf
243
+ });
@@ -221,3 +221,8 @@ SearchDaemonModule = __decorateClass([
221
221
  providers: [SearchDaemon]
222
222
  })
223
223
  ], SearchDaemonModule);
224
+ // Annotate the CommonJS export names for ESM import in node:
225
+ 0 && (module.exports = {
226
+ SearchDaemonModule,
227
+ makeTextFilter
228
+ });
package/src/websocket.js CHANGED
@@ -139,3 +139,8 @@ const websocketServerOf = (sigRef) => {
139
139
  }
140
140
  return Websocket;
141
141
  };
142
+ // Annotate the CommonJS export names for ESM import in node:
143
+ 0 && (module.exports = {
144
+ websocketOf,
145
+ websocketServerOf
146
+ });