@forklaunch/core 0.17.0 → 0.17.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.
- package/lib/{apiDefinition.types--RSi8f6C.d.mts → apiDefinition.types-XZ0lrfFc.d.mts} +1 -1
- package/lib/{apiDefinition.types--RSi8f6C.d.ts → apiDefinition.types-XZ0lrfFc.d.ts} +1 -1
- package/lib/http/index.d.mts +3 -3
- package/lib/http/index.d.ts +3 -3
- package/lib/http/index.js +66 -16
- package/lib/http/index.js.map +1 -1
- package/lib/http/index.mjs +65 -15
- package/lib/http/index.mjs.map +1 -1
- package/lib/persistence/index.d.mts +6 -3
- package/lib/persistence/index.d.ts +6 -3
- package/lib/persistence/index.js +11 -3
- package/lib/persistence/index.js.map +1 -1
- package/lib/persistence/index.mjs +11 -3
- package/lib/persistence/index.mjs.map +1 -1
- package/lib/ws/index.d.mts +2 -2
- package/lib/ws/index.d.ts +2 -2
- package/package.json +7 -7
|
@@ -20,11 +20,14 @@ declare class BaseEntity extends BaseEntity$1 {
|
|
|
20
20
|
*
|
|
21
21
|
* @template T - Entity type extending BaseEntity
|
|
22
22
|
* @param this - The constructor of the entity
|
|
23
|
-
* @param data - Partial data to update the entity
|
|
24
|
-
* @param em - Optional MikroORM EntityManager. If passed,
|
|
23
|
+
* @param data - Partial data to update the entity. Must include 'id' field to identify the entity.
|
|
24
|
+
* @param em - Optional MikroORM EntityManager. If passed, fetches existing entity and applies partial update
|
|
25
25
|
* @returns A promise resolving to the updated entity
|
|
26
|
+
* @throws Error if entity with given id is not found (when em is provided)
|
|
26
27
|
*/
|
|
27
|
-
static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T
|
|
28
|
+
static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T> & {
|
|
29
|
+
id: unknown;
|
|
30
|
+
}, em?: EntityManager, ...constructorArgs: ConstructorParameters<Constructor<T>>): Promise<T>;
|
|
28
31
|
/**
|
|
29
32
|
* Reads the entity, initializing it if necessary, and returns its DTO representation.
|
|
30
33
|
*
|
|
@@ -20,11 +20,14 @@ declare class BaseEntity extends BaseEntity$1 {
|
|
|
20
20
|
*
|
|
21
21
|
* @template T - Entity type extending BaseEntity
|
|
22
22
|
* @param this - The constructor of the entity
|
|
23
|
-
* @param data - Partial data to update the entity
|
|
24
|
-
* @param em - Optional MikroORM EntityManager. If passed,
|
|
23
|
+
* @param data - Partial data to update the entity. Must include 'id' field to identify the entity.
|
|
24
|
+
* @param em - Optional MikroORM EntityManager. If passed, fetches existing entity and applies partial update
|
|
25
25
|
* @returns A promise resolving to the updated entity
|
|
26
|
+
* @throws Error if entity with given id is not found (when em is provided)
|
|
26
27
|
*/
|
|
27
|
-
static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T
|
|
28
|
+
static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T> & {
|
|
29
|
+
id: unknown;
|
|
30
|
+
}, em?: EntityManager, ...constructorArgs: ConstructorParameters<Constructor<T>>): Promise<T>;
|
|
28
31
|
/**
|
|
29
32
|
* Reads the entity, initializing it if necessary, and returns its DTO representation.
|
|
30
33
|
*
|
package/lib/persistence/index.js
CHANGED
|
@@ -54,14 +54,22 @@ var BaseEntity = class extends import_core.BaseEntity {
|
|
|
54
54
|
*
|
|
55
55
|
* @template T - Entity type extending BaseEntity
|
|
56
56
|
* @param this - The constructor of the entity
|
|
57
|
-
* @param data - Partial data to update the entity
|
|
58
|
-
* @param em - Optional MikroORM EntityManager. If passed,
|
|
57
|
+
* @param data - Partial data to update the entity. Must include 'id' field to identify the entity.
|
|
58
|
+
* @param em - Optional MikroORM EntityManager. If passed, fetches existing entity and applies partial update
|
|
59
59
|
* @returns A promise resolving to the updated entity
|
|
60
|
+
* @throws Error if entity with given id is not found (when em is provided)
|
|
60
61
|
*/
|
|
61
62
|
static async update(data, em, ...constructorArgs) {
|
|
62
63
|
const instance = new this(...constructorArgs);
|
|
63
64
|
if (em) {
|
|
64
|
-
|
|
65
|
+
const existingEntity = await em.findOneOrFail(this, { id: data.id });
|
|
66
|
+
const { id, ...updateData } = data;
|
|
67
|
+
void id;
|
|
68
|
+
em.assign(existingEntity, {
|
|
69
|
+
...updateData,
|
|
70
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
71
|
+
});
|
|
72
|
+
return existingEntity;
|
|
65
73
|
} else {
|
|
66
74
|
Object.assign(instance, {
|
|
67
75
|
...data,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/persistence/index.ts","../../src/persistence/base.entity.ts"],"sourcesContent":["export * from './base.entity';\n","import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(instance, {\n ...data,\n createdAt: new Date(),\n updatedAt: new Date()\n });\n }\n return instance;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity
|
|
1
|
+
{"version":3,"sources":["../../src/persistence/index.ts","../../src/persistence/base.entity.ts"],"sourcesContent":["export * from './base.entity';\n","import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(instance, {\n ...data,\n createdAt: new Date(),\n updatedAt: new Date()\n });\n }\n return instance;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity. Must include 'id' field to identify the entity.\n * @param em - Optional MikroORM EntityManager. If passed, fetches existing entity and applies partial update\n * @returns A promise resolving to the updated entity\n * @throws Error if entity with given id is not found (when em is provided)\n */\n static async update<T extends BaseEntity>(\n this: Constructor<T>,\n data: EntityData<T> & { id: unknown },\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n const existingEntity = await em.findOneOrFail(this, { id: data.id });\n\n const { id, ...updateData } = data as Record<string, unknown>;\n void id;\n\n em.assign(existingEntity, {\n ...updateData,\n updatedAt: new Date()\n });\n\n return existingEntity;\n } else {\n Object.assign(instance, {\n ...data,\n updatedAt: new Date()\n });\n }\n return instance;\n }\n\n /**\n * Reads the entity, initializing it if necessary, and returns its DTO representation.\n *\n * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database\n * @returns A promise resolving to the entity's DTO (plain object representation)\n * @throws Error if the entity is not initialized and no EntityManager is provided\n */\n async read(em?: EntityManager): Promise<EntityDTO<this>> {\n if (em && !this.isInitialized()) {\n await this.init({ em });\n }\n return wrap(this).toPOJO();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,kBAQO;AAMA,IAAM,aAAN,cAAyB,YAAAA,WAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUjD,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,UAAU;AAAA,QACtB,GAAG;AAAA,QACH,WAAW,oBAAI,KAAK;AAAA,QACpB,WAAW,oBAAI,KAAK;AAAA,MACtB,CAAC;AAAA,IACH;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,YAAM,iBAAiB,MAAM,GAAG,cAAc,MAAM,EAAE,IAAI,KAAK,GAAG,CAAC;AAEnE,YAAM,EAAE,IAAI,GAAG,WAAW,IAAI;AAC9B,WAAK;AAEL,SAAG,OAAO,gBAAgB;AAAA,QACxB,GAAG;AAAA,QACH,WAAW,oBAAI,KAAK;AAAA,MACtB,CAAC;AAED,aAAO;AAAA,IACT,OAAO;AACL,aAAO,OAAO,UAAU;AAAA,QACtB,GAAG;AAAA,QACH,WAAW,oBAAI,KAAK;AAAA,MACtB,CAAC;AAAA,IACH;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,KAAK,IAA8C;AACvD,QAAI,MAAM,CAAC,KAAK,cAAc,GAAG;AAC/B,YAAM,KAAK,KAAK,EAAE,GAAG,CAAC;AAAA,IACxB;AACA,eAAO,kBAAK,IAAI,EAAE,OAAO;AAAA,EAC3B;AACF;","names":["MikroORMBaseEntity"]}
|
|
@@ -31,14 +31,22 @@ var BaseEntity = class extends MikroORMBaseEntity {
|
|
|
31
31
|
*
|
|
32
32
|
* @template T - Entity type extending BaseEntity
|
|
33
33
|
* @param this - The constructor of the entity
|
|
34
|
-
* @param data - Partial data to update the entity
|
|
35
|
-
* @param em - Optional MikroORM EntityManager. If passed,
|
|
34
|
+
* @param data - Partial data to update the entity. Must include 'id' field to identify the entity.
|
|
35
|
+
* @param em - Optional MikroORM EntityManager. If passed, fetches existing entity and applies partial update
|
|
36
36
|
* @returns A promise resolving to the updated entity
|
|
37
|
+
* @throws Error if entity with given id is not found (when em is provided)
|
|
37
38
|
*/
|
|
38
39
|
static async update(data, em, ...constructorArgs) {
|
|
39
40
|
const instance = new this(...constructorArgs);
|
|
40
41
|
if (em) {
|
|
41
|
-
|
|
42
|
+
const existingEntity = await em.findOneOrFail(this, { id: data.id });
|
|
43
|
+
const { id, ...updateData } = data;
|
|
44
|
+
void id;
|
|
45
|
+
em.assign(existingEntity, {
|
|
46
|
+
...updateData,
|
|
47
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
48
|
+
});
|
|
49
|
+
return existingEntity;
|
|
42
50
|
} else {
|
|
43
51
|
Object.assign(instance, {
|
|
44
52
|
...data,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/persistence/base.entity.ts"],"sourcesContent":["import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(instance, {\n ...data,\n createdAt: new Date(),\n updatedAt: new Date()\n });\n }\n return instance;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity
|
|
1
|
+
{"version":3,"sources":["../../src/persistence/base.entity.ts"],"sourcesContent":["import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(instance, {\n ...data,\n createdAt: new Date(),\n updatedAt: new Date()\n });\n }\n return instance;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity. Must include 'id' field to identify the entity.\n * @param em - Optional MikroORM EntityManager. If passed, fetches existing entity and applies partial update\n * @returns A promise resolving to the updated entity\n * @throws Error if entity with given id is not found (when em is provided)\n */\n static async update<T extends BaseEntity>(\n this: Constructor<T>,\n data: EntityData<T> & { id: unknown },\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n const existingEntity = await em.findOneOrFail(this, { id: data.id });\n\n const { id, ...updateData } = data as Record<string, unknown>;\n void id;\n\n em.assign(existingEntity, {\n ...updateData,\n updatedAt: new Date()\n });\n\n return existingEntity;\n } else {\n Object.assign(instance, {\n ...data,\n updatedAt: new Date()\n });\n }\n return instance;\n }\n\n /**\n * Reads the entity, initializing it if necessary, and returns its DTO representation.\n *\n * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database\n * @returns A promise resolving to the entity's DTO (plain object representation)\n * @throws Error if the entity is not initialized and no EntityManager is provided\n */\n async read(em?: EntityManager): Promise<EntityDTO<this>> {\n if (em && !this.isInitialized()) {\n await this.init({ em });\n }\n return wrap(this).toPOJO();\n }\n}\n"],"mappings":";AAAA;AAAA,EAKE,cAAc;AAAA,EAEd;AAAA,OACK;AAMA,IAAM,aAAN,cAAyB,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUjD,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,UAAU;AAAA,QACtB,GAAG;AAAA,QACH,WAAW,oBAAI,KAAK;AAAA,QACpB,WAAW,oBAAI,KAAK;AAAA,MACtB,CAAC;AAAA,IACH;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,YAAM,iBAAiB,MAAM,GAAG,cAAc,MAAM,EAAE,IAAI,KAAK,GAAG,CAAC;AAEnE,YAAM,EAAE,IAAI,GAAG,WAAW,IAAI;AAC9B,WAAK;AAEL,SAAG,OAAO,gBAAgB;AAAA,QACxB,GAAG;AAAA,QACH,WAAW,oBAAI,KAAK;AAAA,MACtB,CAAC;AAED,aAAO;AAAA,IACT,OAAO;AACL,aAAO,OAAO,UAAU;AAAA,QACtB,GAAG;AAAA,QACH,WAAW,oBAAI,KAAK;AAAA,MACtB,CAAC;AAAA,IACH;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,KAAK,IAA8C;AACvD,QAAI,MAAM,CAAC,KAAK,cAAc,GAAG;AAC/B,YAAM,KAAK,KAAK,EAAE,GAAG,CAAC;AAAA,IACxB;AACA,WAAO,KAAK,IAAI,EAAE,OAAO;AAAA,EAC3B;AACF;","names":[]}
|
package/lib/ws/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AsyncAPIObject } from '@asyncapi/parser/esm/spec-types/v3';
|
|
2
2
|
import { AnySchemaValidator, IdiomaticSchema, SchemaValidator } from '@forklaunch/validator';
|
|
3
|
-
import { S as StringOnlyObject } from '../apiDefinition.types
|
|
3
|
+
import { S as StringOnlyObject } from '../apiDefinition.types-XZ0lrfFc.mjs';
|
|
4
4
|
import '@forklaunch/common';
|
|
5
5
|
import '@opentelemetry/api';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'qs';
|
|
8
8
|
import 'stream';
|
|
9
9
|
import 'pino';
|
|
10
|
-
import '@forklaunch/fastmcp-fork';
|
|
11
10
|
import 'cors';
|
|
11
|
+
import 'fastmcp';
|
|
12
12
|
import 'http';
|
|
13
13
|
import '@scalar/express-api-reference';
|
|
14
14
|
|
package/lib/ws/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AsyncAPIObject } from '@asyncapi/parser/esm/spec-types/v3';
|
|
2
2
|
import { AnySchemaValidator, IdiomaticSchema, SchemaValidator } from '@forklaunch/validator';
|
|
3
|
-
import { S as StringOnlyObject } from '../apiDefinition.types
|
|
3
|
+
import { S as StringOnlyObject } from '../apiDefinition.types-XZ0lrfFc.js';
|
|
4
4
|
import '@forklaunch/common';
|
|
5
5
|
import '@opentelemetry/api';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'qs';
|
|
8
8
|
import 'stream';
|
|
9
9
|
import 'pino';
|
|
10
|
-
import '@forklaunch/fastmcp-fork';
|
|
11
10
|
import 'cors';
|
|
11
|
+
import 'fastmcp';
|
|
12
12
|
import 'http';
|
|
13
13
|
import '@scalar/express-api-reference';
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/core",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.2",
|
|
4
4
|
"description": "forklaunch-js core package. Contains useful building blocks.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -77,7 +77,6 @@
|
|
|
77
77
|
],
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@asyncapi/parser": "^3.4.0",
|
|
80
|
-
"@forklaunch/fastmcp-fork": "^1.0.5",
|
|
81
80
|
"@forklaunch/opentelemetry-instrumentation-hyper-express": "0.0.5",
|
|
82
81
|
"@mikro-orm/core": "^6.6.4",
|
|
83
82
|
"@mikro-orm/mongodb": "^6.6.4",
|
|
@@ -97,16 +96,17 @@
|
|
|
97
96
|
"@opentelemetry/semantic-conventions": "^1.39.0",
|
|
98
97
|
"cors": "^2.8.5",
|
|
99
98
|
"dotenv": "^17.2.3",
|
|
99
|
+
"fastmcp": "^3.27.0",
|
|
100
100
|
"jose": "6.1.3",
|
|
101
101
|
"openapi3-ts": "^4.5.0",
|
|
102
|
-
"pino": "^10.2.
|
|
102
|
+
"pino": "^10.2.1",
|
|
103
103
|
"pino-http": "^11.0.0",
|
|
104
104
|
"pino-pretty": "^13.1.3",
|
|
105
105
|
"redis": "^5.10.0",
|
|
106
106
|
"uuid": "^13.0.0",
|
|
107
107
|
"zod": "^4.3.5",
|
|
108
|
-
"@forklaunch/common": "0.6.
|
|
109
|
-
"@forklaunch/validator": "0.10.
|
|
108
|
+
"@forklaunch/common": "0.6.26",
|
|
109
|
+
"@forklaunch/validator": "0.10.26"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@eslint/js": "^9.39.2",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"@types/jest": "^30.0.0",
|
|
116
116
|
"@types/qs": "^6.14.0",
|
|
117
117
|
"@types/uuid": "^11.0.0",
|
|
118
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
118
|
+
"@typescript/native-preview": "7.0.0-dev.20260120.1",
|
|
119
119
|
"globals": "^17.0.0",
|
|
120
120
|
"jest": "^30.2.0",
|
|
121
121
|
"jose": "5.10.0",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"tsup": "^8.5.1",
|
|
127
127
|
"typedoc": "^0.28.16",
|
|
128
128
|
"typescript": "^5.9.3",
|
|
129
|
-
"typescript-eslint": "^8.53.
|
|
129
|
+
"typescript-eslint": "^8.53.1"
|
|
130
130
|
},
|
|
131
131
|
"scripts": {
|
|
132
132
|
"build": "tsgo --noEmit && tsup ./src/cache/index.ts ./src/controllers/index.ts ./src/mappers/index.ts ./src/objectstore/index.ts ./src/persistence/index.ts ./src/http/index.ts ./src/services/index.ts ./src/environment/index.ts ./src/ws/index.ts --format cjs,esm --no-splitting --dts --tsconfig tsconfig.json --out-dir lib --clean --sourcemap",
|