docs-util: Upgrade typedoc to 0.26 (#7853)

Upgrade typedoc to v0.26 + make changes based on the update

Note: This update produces an error when generating model references when the models use the `createPsqlIndexStatementHelper` decorator. As this isn't a breaking error, and as we'll move to DML in the future, it's not necessary to spend time on a fix.
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-06-27 10:52:44 +00:00
1 parent 3f16b011fa
commit 6e65158af3
74 files changed
+193735 -201684

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1,41 +1,42 @@
{ {
"id": 254, "id": 252,
"name": "api-key-models", "name": "api-key-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 255, "id": 253,
"name": "ApiKey", "name": "ApiKey",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 256, "id": 254,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 257, "id": 255,
"name": "new ApiKey", "name": "new ApiKey",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 255, "target": 253,
"name": "default", "name": "ApiKey",
"package": "@medusajs/api-key" "package": "@medusajs/api-key",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 258, "id": 256,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -46,7 +47,7 @@
} }
}, },
{ {
"id": 259, "id": 257,
"name": "token", "name": "token",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -57,7 +58,7 @@
} }
}, },
{ {
"id": 260, "id": 258,
"name": "salt", "name": "salt",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -68,7 +69,7 @@
} }
}, },
{ {
"id": 261, "id": 259,
"name": "redacted", "name": "redacted",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -79,7 +80,7 @@
} }
}, },
{ {
"id": 262, "id": 260,
"name": "title", "name": "title",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -90,7 +91,7 @@
} }
}, },
{ {
"id": 263, "id": 261,
"name": "type", "name": "type",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -110,7 +111,7 @@
} }
}, },
{ {
"id": 264, "id": 262,
"name": "last_used_at", "name": "last_used_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -136,7 +137,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 265, "id": 263,
"name": "created_by", "name": "created_by",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -147,7 +148,7 @@
} }
}, },
{ {
"id": 266, "id": 264,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -163,7 +164,25 @@
} }
}, },
{ {
"id": 267, "id": 265,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 266,
"name": "revoked_by", "name": "revoked_by",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -184,7 +203,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 268, "id": 267,
"name": "revoked_at", "name": "revoked_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -210,14 +229,14 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 269, "id": 268,
"name": "onCreate", "name": "onCreate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 270, "id": 269,
"name": "onCreate", "name": "onCreate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -230,14 +249,14 @@
] ]
}, },
{ {
"id": 271, "id": 270,
"name": "onInit", "name": "onInit",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 272, "id": 271,
"name": "onInit", "name": "onInit",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -254,12 +273,14 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
256 254
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
256,
257,
258, 258,
259, 259,
260, 260,
@@ -269,15 +290,14 @@
264, 264,
265, 265,
266, 266,
267, 267
268
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
269, 268,
271 270
] ]
} }
] ]
@@ -287,79 +307,91 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
255 253
] ]
} }
], ],
"packageName": "@medusajs/api-key", "packageName": "@medusajs/api-key",
"symbolIdMap": { "symbolIdMap": {
"254": { "252": {
"sourceFileName": "../../../packages/api-key/src/models/index.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"255": { "253": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"258": { "256": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.id" "qualifiedName": "default.id"
}, },
"259": { "257": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.token" "qualifiedName": "default.token"
}, },
"260": { "258": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.salt" "qualifiedName": "default.salt"
}, },
"261": { "259": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.redacted" "qualifiedName": "default.redacted"
}, },
"262": { "260": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.title" "qualifiedName": "default.title"
}, },
"263": { "261": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.type" "qualifiedName": "default.type"
}, },
"264": { "262": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.last_used_at" "qualifiedName": "default.last_used_at"
}, },
"265": { "263": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.created_by" "qualifiedName": "default.created_by"
}, },
"266": { "264": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.created_at" "qualifiedName": "default.created_at"
}, },
"267": { "265": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.updated_at"
},
"266": {
"sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.revoked_by" "qualifiedName": "default.revoked_by"
}, },
"268": { "267": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.revoked_at" "qualifiedName": "default.revoked_at"
}, },
"268": {
"sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.onCreate"
},
"269": { "269": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"270": { "270": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onInit"
}, },
"271": { "271": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "sourceFileName": "../../../../packages/modules/api-key/src/models/api-key.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}
},
"files": {
"entries": {
"1": "../../../../packages/modules/api-key/src/models/index.ts"
}, },
"272": { "reflections": {
"sourceFileName": "../../../packages/api-key/src/models/api-key.ts", "1": 252
"qualifiedName": "default.onInit"
} }
} }
} }
File diff suppressed because it is too large. Load diff
@@ -1,57 +1,54 @@
{ {
"id": 242, "id": 518,
"name": "auth-models", "name": "auth-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"text": "## Relations Overview\n\n",
"kind": "text"
},
{
"text": "```mermaid\nerDiagram\n\tAuthIdentity ||--|| ProviderIdentity : provider_identities\n\n```",
"kind": "code"
}
]
},
"children": [ "children": [
{ {
"id": 243, "id": 519,
"name": "AuthIdentity", "name": "AuthIdentity",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 244, "id": 520,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 245, "id": 521,
"name": "new AuthIdentity", "name": "new AuthIdentity",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 243, "target": 519,
"name": "default", "name": "AuthIdentity",
"package": "@medusajs/auth" "package": "@medusajs/auth",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 256, "id": 522,
"name": "[OptionalProps]",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "OptionalFields"
},
"name": "OptionalFields",
"package": "@medusajs/auth"
}
},
{
"id": 246,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -62,64 +59,37 @@
} }
}, },
{ {
"id": 247, "id": 523,
"name": "entity_id", "name": "provider_identities",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
"flags": {}, "flags": {},
"type": { "type": {
"type": "intrinsic", "type": "reference",
"name": "string" "target": {
} "sourceFileName": "../../../../node_modules/@mikro-orm/core/entity/Collection.d.ts",
}, "qualifiedName": "Collection"
{ },
"id": 248, "typeArguments": [
"name": "provider",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 249,
"name": "user_metadata",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{ {
"type": "reference", "type": "reference",
"target": { "target": 529,
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", "name": "ProviderIdentity",
"qualifiedName": "Record" "package": "@medusajs/auth",
}, "qualifiedName": "default"
"typeArguments": [ },
{ {
"type": "intrinsic", "type": "intrinsic",
"name": "string" "name": "object"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"name": "Record",
"package": "typescript"
} }
] ],
} "name": "Collection",
"package": "@mikro-orm/core"
},
"defaultValue": "..."
}, },
{ {
"id": 250, "id": 524,
"name": "app_metadata", "name": "app_metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -154,7 +124,208 @@
} }
}, },
{ {
"id": 251, "id": 525,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 526,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 527,
"name": "onCreate",
"variant": "declaration",
"kind": 2048,
"flags": {},
"signatures": [
{
"id": 528,
"name": "onCreate",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [
520
]
},
{
"title": "Properties",
"children": [
522,
523,
524,
525,
526
]
},
{
"title": "Methods",
"children": [
527
]
}
]
},
{
"id": 529,
"name": "ProviderIdentity",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 530,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"signatures": [
{
"id": 531,
"name": "new ProviderIdentity",
"variant": "signature",
"kind": 16384,
"flags": {},
"type": {
"type": "reference",
"target": 529,
"name": "ProviderIdentity",
"package": "@medusajs/auth",
"qualifiedName": "default"
}
}
]
},
{
"id": 532,
"name": "id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 533,
"name": "entity_id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 534,
"name": "provider",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 535,
"name": "auth_identity_id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 536,
"name": "auth_identity",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": 519,
"name": "AuthIdentity",
"package": "@medusajs/auth",
"qualifiedName": "default"
}
},
{
"id": 537,
"name": "user_metadata",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Record"
},
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "unknown"
}
],
"name": "Record",
"package": "typescript"
}
]
}
},
{
"id": 538,
"name": "provider_metadata", "name": "provider_metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -190,14 +361,46 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 252, "id": 539,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 540,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 541,
"name": "onCreate", "name": "onCreate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 253, "id": 542,
"name": "onCreate", "name": "onCreate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -208,52 +411,33 @@
} }
} }
] ]
},
{
"id": 254,
"name": "onInit",
"variant": "declaration",
"kind": 2048,
"flags": {},
"signatures": [
{
"id": 255,
"name": "onInit",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
} }
], ],
"groups": [ "groups": [
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
244 530
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
256, 532,
246, 533,
247, 534,
248, 535,
249, 536,
250, 537,
251 538,
539,
540
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
252, 541
254
] ]
} }
] ]
@@ -263,63 +447,104 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
243 519,
529
] ]
} }
], ],
"packageName": "@medusajs/auth", "packageName": "@medusajs/auth",
"symbolIdMap": { "symbolIdMap": {
"242": { "518": {
"sourceFileName": "../../../../packages/modules/auth/src/models/index.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"243": { "519": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"246": { "522": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.id" "qualifiedName": "default.id"
}, },
"247": { "523": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.entity_id" "qualifiedName": "default.provider_identities"
}, },
"248": { "524": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.provider"
},
"249": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.user_metadata"
},
"250": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.app_metadata" "qualifiedName": "default.app_metadata"
}, },
"251": { "525": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.created_at"
},
"526": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.updated_at"
},
"527": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.onCreate"
},
"528": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.onCreate"
},
"529": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default"
},
"532": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.id"
},
"533": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.entity_id"
},
"534": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.provider"
},
"535": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.auth_identity_id"
},
"536": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.auth_identity"
},
"537": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.user_metadata"
},
"538": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.provider_metadata" "qualifiedName": "default.provider_metadata"
}, },
"252": { "539": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.created_at"
},
"540": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.updated_at"
},
"541": {
"sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"253": { "542": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "sourceFileName": "../../../../packages/modules/auth/src/models/provider-identity.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}
},
"files": {
"entries": {
"1": "../../../../packages/modules/auth/src/models/index.ts"
}, },
"254": { "reflections": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts", "1": 518
"qualifiedName": "default.onInit"
},
"255": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.onInit"
},
"256": {
"sourceFileName": "../../../../packages/modules/auth/src/models/auth-identity.ts",
"qualifiedName": "default.[OptionalProps]"
} }
} }
} }
@@ -1,196 +1,65 @@
{ {
"id": 0, "id": 12941,
"name": "auth-provider", "name": "auth-provider",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 1, "id": 12942,
"name": "AbstractAuthModuleProvider", "name": "AbstractAuthModuleProvider",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": { "flags": {
"isAbstract": true "isAbstract": true
}, },
"comment": {
"summary": [
{
"kind": "text",
"text": "### constructor\n\nThe constructor allows you to access resources from the module's container using the first parameter,\nand the module's options using the second parameter.\n\nIf you're creating a client or establishing a connection with a third-party service, do it in the constructor.\n\nIn the constructor, you must pass to the parent constructor two parameters:\n\n1. The first one is an empty object.\n2. The second is an object having two properties:\n - "
},
{
"kind": "code",
"text": "`provider`"
},
{
"kind": "text",
"text": ": The ID of the provider. For example, "
},
{
"kind": "code",
"text": "`emailpass`"
},
{
"kind": "text",
"text": ".\n - "
},
{
"kind": "code",
"text": "`displayName`"
},
{
"kind": "text",
"text": ": The label or displayable name of the provider. For example, "
},
{
"kind": "code",
"text": "`Email and Password Authentication`"
},
{
"kind": "text",
"text": ".\n\n#### Example\n\n"
},
{
"kind": "code",
"text": "```ts\nimport { AbstractAuthModuleProvider } from \"@medusajs/utils\"\nimport { Logger } from \"@medusajs/types\"\n\ntype InjectedDependencies = {\n logger: Logger\n}\n\ntype Options = {\n apiKey: string\n}\n\nclass MyAuthProviderService extends AbstractAuthModuleProvider {\n protected logger_: Logger\n protected options_: Options\n // assuming you're initializing a client\n protected client\n\n constructor (\n { logger }: InjectedDependencies,\n options: Options\n ) {\n super(\n {},\n {\n provider: \"my-auth\",\n displayName: \"My Custom Authentication\"\n }\n )\n\n this.logger_ = logger\n this.options_ = options\n\n // assuming you're initializing a client\n this.client = new Client(options)\n }\n\n // ...\n}\n\nexport default MyAuthProviderService\n```"
}
]
},
"children": [ "children": [
{ {
"id": 2, "id": 12958,
"name": "PROVIDER",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPrivate": true,
"isStatic": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 3,
"name": "DISPLAY_NAME",
"variant": "declaration",
"kind": 1024,
"flags": {
"isPrivate": true,
"isStatic": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 12,
"name": "container_",
"variant": "declaration",
"kind": 1024,
"flags": {
"isProtected": true,
"isReadonly": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 13,
"name": "provider",
"variant": "declaration",
"kind": 262144,
"flags": {
"isPublic": true
},
"getSignature": {
"id": 14,
"name": "provider",
"variant": "signature",
"kind": 524288,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 15,
"name": "displayName",
"variant": "declaration",
"kind": 262144,
"flags": {
"isPublic": true
},
"getSignature": {
"id": 16,
"name": "displayName",
"variant": "signature",
"kind": 524288,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 4,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {
"isProtected": true
},
"signatures": [
{
"id": 5,
"name": "new AbstractAuthModuleProvider",
"variant": "signature",
"kind": 16384,
"flags": {},
"parameters": [
{
"id": 6,
"name": "__namedParameters",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 7,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {}
}
}
},
{
"id": 8,
"name": "config",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 9,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 10,
"name": "provider",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 11,
"name": "displayName",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
10,
11
]
}
]
}
}
}
],
"type": {
"type": "reference",
"target": 1,
"name": "AbstractAuthModuleProvider",
"package": "@medusajs/utils"
}
}
]
},
{
"id": 17,
"name": "authenticate", "name": "authenticate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -199,18 +68,66 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 18, "id": 12959,
"name": "authenticate", "name": "authenticate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "This method authenticates the user.\n\nThe authentication happens either by directly authenticating or returning a redirect URL to continue \nthe authentication with a third party provider."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "The authentication response."
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "text",
"text": "For example, if your authentication provider doesn't require validating a callback:\n\n"
},
{
"kind": "code",
"text": "```ts\nimport { \n AuthIdentityProviderService, \n AuthenticationInput, \n AuthenticationResponse\n} from \"@medusajs/types\"\n// ...\n\nclass MyAuthProviderService extends AbstractAuthModuleProvider {\n // ...\n async authenticate(\n data: AuthenticationInput, \n authIdentityProviderService: AuthIdentityProviderService\n ): Promise<AuthenticationResponse> {\n const isAuthenticated = false\n // TODO perform custom logic to authenticate the user\n // ...\n \n if (!isAuthenticated) {\n // if the authentication didn't succeed, return\n // an object of the following format\n return {\n success: false,\n error: \"Incorrect credentials\"\n }\n }\n\n // authentication is successful, create an auth identity\n // if doesn't exist\n let authIdentity\n\n try {\n authIdentity = await authIdentityProviderService.retrieve({\n entity_id: data.body.email, // email or some ID\n provider: this.provider\n })\n } catch (e) {\n // The auth identity doesn't exist so create it\n authIdentity = await authIdentityProviderService.create({\n entity_id: data.body.email, // email or some ID\n provider: this.provider,\n provider_metadata: {\n // can include password or any other relevant information\n }\n })\n }\n\n return {\n success: true,\n authIdentity\n }\n }\n}\n```"
},
{
"kind": "text",
"text": "\n\nIf your authentication provider requires validating callback:\n\n"
},
{
"kind": "code",
"text": "```ts\nimport { \n AuthIdentityProviderService, \n AuthenticationInput, \n AuthenticationResponse\n} from \"@medusajs/types\"\n// ...\n\nclass MyAuthProviderService extends AbstractAuthModuleProvider {\n // ...\n async authenticate(\n data: AuthenticationInput, \n authIdentityProviderService: AuthIdentityProviderService\n ): Promise<AuthenticationResponse> {\n const isAuthenticated = false\n // TODO perform custom logic to authenticate the user\n // ...\n \n if (!isAuthenticated) {\n // if the authentication didn't succeed, return\n // an object of the following format\n return {\n success: false,\n error: \"Incorrect credentials\"\n }\n }\n\n return {\n success: true,\n location: \"some-url.com\"\n }\n }\n}\n```"
}
]
}
]
},
"parameters": [ "parameters": [
{ {
"id": 19, "id": 12960,
"name": "data", "name": "data",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The details of the authentication request."
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -222,11 +139,35 @@
} }
}, },
{ {
"id": 20, "id": 12961,
"name": "authIdentityProviderService", "name": "authIdentityProviderService",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The service used to retrieve or \ncreate an auth identity. It has two methods: "
},
{
"kind": "code",
"text": "`create`"
},
{
"kind": "text",
"text": " to create an auth identity,\nand "
},
{
"kind": "code",
"text": "`retrieve`"
},
{
"kind": "text",
"text": " to retrieve an auth identity. When you authenticate the user, you can create an auth identity\nusing this service."
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -272,25 +213,72 @@
} }
}, },
{ {
"id": 21, "id": 12962,
"name": "validateCallback", "name": "validateCallback",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 22, "id": 12963,
"name": "validateCallback", "name": "validateCallback",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "This method validates the callback of an authentication request.\n\nIn an authentication flow that requires performing an action with a third-party service, such as login\nwith a social account, the "
},
{
"kind": "inline-tag",
"tag": "@link",
"text": "authenticate",
"target": 12958,
"tsLinkText": ""
},
{
"kind": "text",
"text": " method is called first.\n\nThen, the third-party service redirects to the Medusa application's validate callback API route. \nThat route uses this method to authenticate the user."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "The authentication response."
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nimport { \n AuthIdentityProviderService, \n AuthenticationInput, \n AuthenticationResponse\n} from \"@medusajs/types\"\n// ...\n\nclass MyAuthProviderService extends AbstractAuthModuleProvider {\n // ...\n async validateCallback(\n data: AuthenticationInput, \n authIdentityProviderService: AuthIdentityProviderService\n ): Promise<AuthenticationResponse> {\n const isAuthenticated = false\n // TODO perform custom logic to authenticate the user\n // ...\n\n if (!isAuthenticated) {\n // if the authentication didn't succeed, return\n // an object of the following format\n return {\n success: false,\n error: \"Something went wrong\"\n }\n }\n\n // authentication is successful, create an auth identity\n // if doesn't exist\n let authIdentity\n\n try {\n authIdentity = await authIdentityProviderService.retrieve({\n entity_id: data.body.email, // email or some ID\n provider: this.provider\n })\n } catch (e) {\n // The auth identity doesn't exist so create it\n authIdentity = await authIdentityProviderService.create({\n entity_id: data.body.email, // email or some ID\n provider: this.provider,\n provider_metadata: {\n // can include password or any other relevant information\n }\n })\n }\n\n return {\n success: true,\n authIdentity\n }\n }\n}\n```"
}
]
}
]
},
"parameters": [ "parameters": [
{ {
"id": 23, "id": 12964,
"name": "data", "name": "data",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The details of the authentication request."
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -302,11 +290,35 @@
} }
}, },
{ {
"id": 24, "id": 12965,
"name": "authIdentityProviderService", "name": "authIdentityProviderService",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The service used to retrieve or \ncreate an auth identity. It has two methods: "
},
{
"kind": "code",
"text": "`create`"
},
{
"kind": "text",
"text": " to create an auth identity,\nand "
},
{
"kind": "code",
"text": "`retrieve`"
},
{
"kind": "text",
"text": " to retrieve an auth identity. When you authenticate the user, you can create an auth identity\nusing this service."
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -353,32 +365,11 @@
} }
], ],
"groups": [ "groups": [
{
"title": "Constructors",
"children": [
4
]
},
{
"title": "Properties",
"children": [
2,
3,
12
]
},
{
"title": "Accessors",
"children": [
13,
15
]
},
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
17, 12958,
21 12962
] ]
} }
], ],
@@ -399,107 +390,59 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
1 12942
] ]
} }
], ],
"packageName": "@medusajs/utils", "packageName": "@medusajs/utils",
"symbolIdMap": { "symbolIdMap": {
"0": { "12941": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"1": { "12942": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider" "qualifiedName": "AbstractAuthModuleProvider"
}, },
"2": { "12958": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.PROVIDER"
},
"3": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.DISPLAY_NAME"
},
"4": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.__constructor"
},
"5": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider"
},
"6": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "__0"
},
"8": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "config"
},
"9": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "__type"
},
"10": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "__type.provider"
},
"11": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "__type.displayName"
},
"12": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.container_"
},
"13": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.provider"
},
"14": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.provider"
},
"15": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.displayName"
},
"16": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.displayName"
},
"17": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.authenticate" "qualifiedName": "AbstractAuthModuleProvider.authenticate"
}, },
"18": { "12959": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.authenticate" "qualifiedName": "AbstractAuthModuleProvider.authenticate"
}, },
"19": { "12960": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "data" "qualifiedName": "data"
}, },
"20": { "12961": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "authIdentityProviderService" "qualifiedName": "authIdentityProviderService"
}, },
"21": { "12962": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.validateCallback" "qualifiedName": "AbstractAuthModuleProvider.validateCallback"
}, },
"22": { "12963": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "AbstractAuthModuleProvider.validateCallback" "qualifiedName": "AbstractAuthModuleProvider.validateCallback"
}, },
"23": { "12964": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "data" "qualifiedName": "data"
}, },
"24": { "12965": {
"sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts",
"qualifiedName": "authIdentityProviderService" "qualifiedName": "authIdentityProviderService"
} }
},
"files": {
"entries": {
"1": "../../../../packages/core/utils/src/auth/abstract-auth-provider.ts"
},
"reflections": {
"1": 12941
}
} }
} }
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1,245 +1,422 @@
{ {
"id": 2044, "id": 1856,
"name": "currency-models", "name": "currency-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 2045, "id": 1857,
"name": "Currency", "name": "Currency",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 32,
"flags": {}, "flags": {},
"children": [ "type": {
{ "type": "reference",
"id": 2046, "target": {
"name": "constructor", "sourceFileName": "../../../../packages/core/utils/src/dml/entity.ts",
"variant": "declaration", "qualifiedName": "DmlEntity"
"kind": 512,
"flags": {},
"signatures": [
{
"id": 2047,
"name": "new Currency",
"variant": "signature",
"kind": 16384,
"flags": {},
"type": {
"type": "reference",
"target": 2045,
"name": "Currency",
"package": "@medusajs/currency"
}
}
]
}, },
{ "typeArguments": [
"id": 2048, {
"name": "code", "type": "intersection",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2049,
"name": "symbol",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2050,
"name": "symbol_native",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2051,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2052,
"name": "decimal_digits",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2053,
"name": "rounding",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "union",
"types": [ "types": [
{ {
"type": "intrinsic", "type": "reflection",
"name": "number" "declaration": {
"id": 1858,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1859,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1860,
"name": "symbol",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1861,
"name": "symbol_native",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1862,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1863,
"name": "decimal_digits",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/number.ts",
"qualifiedName": "NumberProperty"
},
"name": "NumberProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1864,
"name": "rounding",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/big-number.ts",
"qualifiedName": "BigNumberProperty"
},
"name": "BigNumberProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Properties",
"children": [
1859,
1860,
1861,
1862,
1863,
1864
]
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1865,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1866,
"name": "code",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1867,
"name": "symbol",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1868,
"name": "symbol_native",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1869,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/text.ts",
"qualifiedName": "TextProperty"
},
"name": "TextProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1870,
"name": "decimal_digits",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/number.ts",
"qualifiedName": "NumberProperty"
},
"name": "NumberProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
},
{
"id": 1871,
"name": "rounding",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/big-number.ts",
"qualifiedName": "BigNumberProperty"
},
"name": "BigNumberProperty",
"package": "@medusajs/utils"
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Properties",
"children": [
1866,
1867,
1868,
1869,
1870,
1871
]
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1872,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1873,
"name": "raw_rounding",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/utils/src/dml/properties/json.ts",
"qualifiedName": "JSONProperty"
},
"name": "JSONProperty",
"package": "@medusajs/utils"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
1873
]
}
]
}
}, },
{ {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/utils/src/totals/big-number.ts", "sourceFileName": "../../../../packages/core/utils/src/dml/helpers/entity-builder/create-default-properties.ts",
"qualifiedName": "BigNumber" "qualifiedName": "DMLSchemaDefaults"
}, },
"name": "BigNumber", "name": "DMLSchemaDefaults",
"package": "@medusajs/utils" "package": "@medusajs/utils"
} }
] ]
} }
}, ],
{ "name": "DmlEntity",
"id": 2054, "package": "@medusajs/utils"
"name": "raw_rounding", }
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../packages/types/src/totals/big-number.ts",
"qualifiedName": "BigNumberRawValue"
},
"name": "BigNumberRawValue",
"package": "@medusajs/types"
}
},
{
"id": 2055,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 2056,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [
2046
]
},
{
"title": "Properties",
"children": [
2048,
2049,
2050,
2051,
2052,
2053,
2054,
2055,
2056
]
}
]
} }
], ],
"groups": [ "groups": [
{ {
"title": "Classes", "title": "Variables",
"children": [ "children": [
2045 1857
] ]
} }
], ],
"packageName": "@medusajs/currency", "packageName": "@medusajs/currency",
"symbolIdMap": { "symbolIdMap": {
"2044": { "1856": {
"sourceFileName": "../../../packages/currency/src/models/index.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"2045": { "1857": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency" "qualifiedName": "default"
}, },
"2048": { "1858": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.code" "qualifiedName": "__object"
}, },
"2049": { "1859": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.symbol" "qualifiedName": "__object.code"
}, },
"2050": { "1860": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.symbol_native" "qualifiedName": "__object.symbol"
}, },
"2051": { "1861": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.name" "qualifiedName": "__object.symbol_native"
}, },
"2052": { "1862": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.decimal_digits" "qualifiedName": "__object.name"
}, },
"2053": { "1863": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.rounding" "qualifiedName": "__object.decimal_digits"
}, },
"2054": { "1864": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.raw_rounding" "qualifiedName": "__object.rounding"
}, },
"2055": { "1865": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/core/utils/src/dml/entity-builder.ts",
"qualifiedName": "Currency.created_at" "qualifiedName": "__type"
}, },
"2056": { "1866": {
"sourceFileName": "../../../packages/currency/src/models/currency.ts", "sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "Currency.updated_at" "qualifiedName": "code"
},
"1867": {
"sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "symbol"
},
"1868": {
"sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "symbol_native"
},
"1869": {
"sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "name"
},
"1870": {
"sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "decimal_digits"
},
"1871": {
"sourceFileName": "../../../../packages/modules/currency/src/models/currency.ts",
"qualifiedName": "rounding"
},
"1872": {
"sourceFileName": "../../../../packages/core/utils/src/dml/entity-builder.ts",
"qualifiedName": "__type"
},
"1873": {
"sourceFileName": "",
"qualifiedName": "raw_rounding"
}
},
"files": {
"entries": {
"1": "../../../../packages/modules/currency/src/models/index.ts"
},
"reflections": {
"1": 1856
} }
} }
} }
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+158 -82
View File
@@ -1,46 +1,45 @@
{ {
"id": 7, "id": 12966,
"name": "file", "name": "file",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 8, "id": 12967,
"name": "AbstractFileProviderService", "name": "AbstractFileProviderService",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "### constructor\n\nThe constructor allows you to access resources from the module's container using the first parameter,\nand the module's options using the second parameter.\n\nIf you're creating a client or establishing a connection with a third-party service, do it in the constructor.\n\n#### Example\n\n"
},
{
"kind": "code",
"text": "```ts\nimport { Logger } from \"@medusajs/types\"\nimport { AbstractFileProviderService } from \"@medusajs/utils\"\n\ntype InjectedDependencies = {\n logger: Logger\n}\n\ntype Options = {\n apiKey: string\n}\n\nclass MyFileProviderService extends AbstractFileProviderService {\n protected logger_: Logger\n protected options_: Options\n // assuming you're initializing a client\n protected client\n\n constructor (\n { logger }: InjectedDependencies,\n options: Options\n ) {\n super()\n\n this.logger_ = logger\n this.options_ = options\n\n // assuming you're initializing a client\n this.client = new Client(options)\n }\n}\n\nexport default MyFileProviderService\n```"
}
]
},
"children": [ "children": [
{ {
"id": 9, "id": 12969,
"name": "identifier",
"variant": "declaration",
"kind": 1024,
"flags": {
"isStatic": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 10,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 11, "id": 12970,
"name": "new AbstractFileProviderService", "name": "new AbstractFileProviderService",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 8, "target": 12967,
"name": "AbstractFileProviderService", "name": "AbstractFileProviderService",
"package": "@medusajs/utils" "package": "@medusajs/utils"
} }
@@ -48,45 +47,61 @@
] ]
}, },
{ {
"id": 12, "id": 12973,
"name": "getIdentifier",
"variant": "declaration",
"kind": 2048,
"flags": {},
"signatures": [
{
"id": 13,
"name": "getIdentifier",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 14,
"name": "upload", "name": "upload",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 15, "id": 12974,
"name": "upload", "name": "upload",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "This method uploads a file using your provider's custom logic."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "The uploaded file's details."
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nclass MyFileProviderService extends AbstractFileProviderService {\n // ...\n async upload(\n file: ProviderUploadFileDTO\n ): Promise<ProviderFileResultDTO> {\n // TODO upload file to third-party provider\n // or using custom logic\n\n return {\n url: \"some-url.com\",\n key: \"file-name\"\n }\n }\n}\n```"
}
]
}
]
},
"parameters": [ "parameters": [
{ {
"id": 16, "id": 12975,
"name": "file", "name": "file",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The file to upload"
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -132,25 +147,61 @@
} }
}, },
{ {
"id": 17, "id": 12976,
"name": "delete", "name": "delete",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 18, "id": 12977,
"name": "delete", "name": "delete",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "This method deletes the file from storage."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "Resolves when the file is deleted."
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nclass MyFileProviderService extends AbstractFileProviderService {\n // ...\n async delete(file: ProviderDeleteFileDTO): Promise<void> {\n // TODO logic to remove the file from storage\n // Use the `file.fileKey` to delete the file\n // for example:\n this.client.delete(file.fileKey)\n }\n}\n```"
}
]
}
]
},
"parameters": [ "parameters": [
{ {
"id": 19, "id": 12978,
"name": "file", "name": "file",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The details of the file to delete."
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -191,25 +242,61 @@
} }
}, },
{ {
"id": 20, "id": 12979,
"name": "getPresignedDownloadUrl", "name": "getPresignedDownloadUrl",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 21, "id": 12980,
"name": "getPresignedDownloadUrl", "name": "getPresignedDownloadUrl",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "This method is used to retrieve a download URL of the file. For some providers, \nsuch as S3, a presigned URL indicates a temporary URL to get access to a file.\n\nIf your provider doesn’t perform or offer a similar functionality, you can \nreturn the URL to download the file."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "The file's presigned URL."
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nclass MyFileProviderService extends AbstractFileProviderService {\n // ...\n async getPresignedDownloadUrl(\n fileData: ProviderGetFileDTO\n ): Promise<string> {\n // TODO logic to get the presigned URL\n // Use the `file.fileKey` to delete the file\n // for example:\n return this.client.getPresignedUrl(fileData.fileKey)\n }\n}\n```"
}
]
}
]
},
"parameters": [ "parameters": [
{ {
"id": 22, "id": 12981,
"name": "fileData", "name": "fileData",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The details of the file to get its \npresigned URL."
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -254,22 +341,15 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
10 12969
]
},
{
"title": "Properties",
"children": [
9
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
12, 12973,
14, 12976,
17, 12979
20
] ]
} }
], ],
@@ -290,67 +370,63 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
8 12967
] ]
} }
], ],
"packageName": "@medusajs/utils", "packageName": "@medusajs/utils",
"symbolIdMap": { "symbolIdMap": {
"7": { "12966": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"8": { "12967": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService" "qualifiedName": "AbstractFileProviderService"
}, },
"9": { "12973": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.identifier"
},
"12": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.getIdentifier"
},
"13": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.getIdentifier"
},
"14": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.upload" "qualifiedName": "AbstractFileProviderService.upload"
}, },
"15": { "12974": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.upload" "qualifiedName": "AbstractFileProviderService.upload"
}, },
"16": { "12975": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "file" "qualifiedName": "file"
}, },
"17": { "12976": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.delete" "qualifiedName": "AbstractFileProviderService.delete"
}, },
"18": { "12977": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.delete" "qualifiedName": "AbstractFileProviderService.delete"
}, },
"19": { "12978": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "file" "qualifiedName": "file"
}, },
"20": { "12979": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.getPresignedDownloadUrl" "qualifiedName": "AbstractFileProviderService.getPresignedDownloadUrl"
}, },
"21": { "12980": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "AbstractFileProviderService.getPresignedDownloadUrl" "qualifiedName": "AbstractFileProviderService.getPresignedDownloadUrl"
}, },
"22": { "12981": {
"sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/file/abstract-file-provider.ts",
"qualifiedName": "fileData" "qualifiedName": "fileData"
} }
},
"files": {
"entries": {
"1": "../../../../packages/core/utils/src/file/abstract-file-provider.ts"
},
"reflections": {
"1": 12966
}
} }
} }
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -60874,5 +60874,13 @@
"sourceFileName": "../../../packages/medusa-js/src/resources/admin/product-categories.ts", "sourceFileName": "../../../packages/medusa-js/src/resources/admin/product-categories.ts",
"qualifiedName": "customHeaders" "qualifiedName": "customHeaders"
} }
},
"files": {
"entries": {
"1": "../../../../packages/medusa-js/src/resources"
},
"reflections": {
"1": 14610
}
} }
} }
File diff suppressed because it is too large. Load diff
@@ -115691,5 +115691,13 @@
"sourceFileName": "../../../packages/medusa-react/src/types.ts", "sourceFileName": "../../../packages/medusa-react/src/types.ts",
"qualifiedName": "TDetailQuery" "qualifiedName": "TDetailQuery"
} }
},
"files": {
"entries": {
"1": "../../../../packages/medusa-react/src/index.ts"
},
"reflections": {
"1": 16383
}
} }
} }
@@ -1,33 +1,45 @@
{ {
"id": 0, "id": 13325,
"name": "notification", "name": "notification",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 1, "id": 13326,
"name": "AbstractNotificationProviderService", "name": "AbstractNotificationProviderService",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "### constructor\n\nThe constructor allows you to access resources from the module's container using the first parameter,\nand the module's options using the second parameter.\n\nIf you're creating a client or establishing a connection with a third-party service, do it in the constructor.\n\n#### Example\n\n"
},
{
"kind": "code",
"text": "```ts\nimport { AbstractNotificationProviderService } from \"@medusajs/utils\"\nimport { Logger } from \"@medusajs/types\"\n\ntype InjectedDependencies = {\n logger: Logger\n}\n\ntype Options = {\n apiKey: string\n}\n\nclass MyNotificationProviderService extends AbstractNotificationProviderService {\n protected logger_: Logger\n protected options_: Options\n // assuming you're initializing a client\n protected client\n\n constructor (\n { logger }: InjectedDependencies,\n options: Options\n ) {\n super()\n\n this.logger_ = logger\n this.options_ = options\n\n // assuming you're initializing a client\n this.client = new Client(options)\n }\n}\n\nexport default MyNotificationProviderService\n```"
}
]
},
"children": [ "children": [
{ {
"id": 2, "id": 13327,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 3, "id": 13328,
"name": "new AbstractNotificationProviderService", "name": "new AbstractNotificationProviderService",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 1, "target": 13326,
"name": "AbstractNotificationProviderService", "name": "AbstractNotificationProviderService",
"package": "@medusajs/utils" "package": "@medusajs/utils"
} }
@@ -35,25 +47,61 @@
] ]
}, },
{ {
"id": 4, "id": 13329,
"name": "send", "name": "send",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 5, "id": 13330,
"name": "send", "name": "send",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "This method is used to send a notification using the third-party provider or your custom logic."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "The result of sending\nthe notification."
}
]
},
{
"tag": "@example",
"content": [
{
"kind": "code",
"text": "```ts\nclass MyNotificationProviderService extends AbstractNotificationProviderService {\n // ...\n async send(\n notification: ProviderSendNotificationDTO\n ): Promise<ProviderSendNotificationResultsDTO> {\n // TODO send the notification using a third-party\n // provider or custom logic.\n // for example:\n return this.client.send({\n email: notification.to,\n template: notification.template,\n template_data: notification.data\n })\n }\n}\n```"
}
]
}
]
},
"parameters": [ "parameters": [
{ {
"id": 6, "id": 13331,
"name": "notification", "name": "notification",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The details of the\nnotification to send."
}
]
},
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
@@ -103,13 +151,13 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
2 13327
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
4 13329
] ]
} }
], ],
@@ -130,31 +178,39 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
1 13326
] ]
} }
], ],
"packageName": "@medusajs/utils", "packageName": "@medusajs/utils",
"symbolIdMap": { "symbolIdMap": {
"0": { "13325": {
"sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"1": { "13326": {
"sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts",
"qualifiedName": "AbstractNotificationProviderService" "qualifiedName": "AbstractNotificationProviderService"
}, },
"4": { "13329": {
"sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts",
"qualifiedName": "AbstractNotificationProviderService.send" "qualifiedName": "AbstractNotificationProviderService.send"
}, },
"5": { "13330": {
"sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts",
"qualifiedName": "AbstractNotificationProviderService.send" "qualifiedName": "AbstractNotificationProviderService.send"
}, },
"6": { "13331": {
"sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts", "sourceFileName": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts",
"qualifiedName": "notification" "qualifiedName": "notification"
} }
},
"files": {
"entries": {
"1": "../../../../packages/core/utils/src/notification/abstract-notification-provider.ts"
},
"reflections": {
"1": 13325
}
} }
} }
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1,5 +1,5 @@
{ {
"id": 10294, "id": 10949,
"name": "region-models", "name": "region-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
@@ -18,36 +18,37 @@
}, },
"children": [ "children": [
{ {
"id": 10295, "id": 10950,
"name": "Country", "name": "Country",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 10296, "id": 10951,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 10297, "id": 10952,
"name": "new Country", "name": "new Country",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 10295, "target": 10950,
"name": "default", "name": "Country",
"package": "@medusajs/region" "package": "@medusajs/region",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 10298, "id": 10953,
"name": "iso_2", "name": "iso_2",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -58,7 +59,7 @@
} }
}, },
{ {
"id": 10299, "id": 10954,
"name": "iso_3", "name": "iso_3",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -69,18 +70,18 @@
} }
}, },
{ {
"id": 10300, "id": 10955,
"name": "num_code", "name": "num_code",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
"flags": {}, "flags": {},
"type": { "type": {
"type": "intrinsic", "type": "intrinsic",
"name": "number" "name": "string"
} }
}, },
{ {
"id": 10301, "id": 10956,
"name": "name", "name": "name",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -91,7 +92,7 @@
} }
}, },
{ {
"id": 10302, "id": 10957,
"name": "display_name", "name": "display_name",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -102,7 +103,7 @@
} }
}, },
{ {
"id": 10303, "id": 10958,
"name": "region_id", "name": "region_id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -125,7 +126,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 10304, "id": 10959,
"name": "region", "name": "region",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -141,9 +142,10 @@
}, },
{ {
"type": "reference", "type": "reference",
"target": 10305, "target": 10960,
"name": "default", "name": "Region",
"package": "@medusajs/region" "package": "@medusajs/region",
"qualifiedName": "default"
} }
] ]
} }
@@ -153,54 +155,55 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
10296 10951
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
10298, 10953,
10299, 10954,
10300, 10955,
10301, 10956,
10302, 10957,
10303, 10958,
10304 10959
] ]
} }
] ]
}, },
{ {
"id": 10305, "id": 10960,
"name": "Region", "name": "Region",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 10306, "id": 10961,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 10307, "id": 10962,
"name": "new Region", "name": "new Region",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 10305, "target": 10960,
"name": "default", "name": "Region",
"package": "@medusajs/region" "package": "@medusajs/region",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 10321, "id": 10976,
"name": "[OptionalProps]", "name": "[OptionalProps]",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -210,7 +213,7 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "RegionOptionalProps" "qualifiedName": "RegionOptionalProps"
}, },
"name": "RegionOptionalProps", "name": "RegionOptionalProps",
@@ -218,7 +221,7 @@
} }
}, },
{ {
"id": 10308, "id": 10963,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -229,7 +232,7 @@
} }
}, },
{ {
"id": 10309, "id": 10964,
"name": "name", "name": "name",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -240,7 +243,7 @@
} }
}, },
{ {
"id": 10310, "id": 10965,
"name": "currency_code", "name": "currency_code",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -251,7 +254,7 @@
} }
}, },
{ {
"id": 10311, "id": 10966,
"name": "automatic_taxes", "name": "automatic_taxes",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -263,7 +266,7 @@
"defaultValue": "true" "defaultValue": "true"
}, },
{ {
"id": 10312, "id": 10967,
"name": "countries", "name": "countries",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -271,15 +274,16 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../node_modules/@mikro-orm/core/entity/Collection.d.ts", "sourceFileName": "../../../../node_modules/@mikro-orm/core/entity/Collection.d.ts",
"qualifiedName": "Collection" "qualifiedName": "Collection"
}, },
"typeArguments": [ "typeArguments": [
{ {
"type": "reference", "type": "reference",
"target": 10295, "target": 10950,
"name": "default", "name": "Country",
"package": "@medusajs/region" "package": "@medusajs/region",
"qualifiedName": "default"
}, },
{ {
"type": "intrinsic", "type": "intrinsic",
@@ -292,7 +296,7 @@
"defaultValue": "..." "defaultValue": "..."
}, },
{ {
"id": 10313, "id": 10968,
"name": "metadata", "name": "metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -328,7 +332,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 10314, "id": 10969,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -344,7 +348,7 @@
} }
}, },
{ {
"id": 10315, "id": 10970,
"name": "updated_at", "name": "updated_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -360,7 +364,7 @@
} }
}, },
{ {
"id": 10316, "id": 10971,
"name": "deleted_at", "name": "deleted_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -386,14 +390,14 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 10317, "id": 10972,
"name": "onCreate", "name": "onCreate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 10318, "id": 10973,
"name": "onCreate", "name": "onCreate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -406,14 +410,14 @@
] ]
}, },
{ {
"id": 10319, "id": 10974,
"name": "onInit", "name": "onInit",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 10320, "id": 10975,
"name": "onInit", "name": "onInit",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -430,29 +434,29 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
10306 10961
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
10321, 10976,
10308, 10963,
10309, 10964,
10310, 10965,
10311, 10966,
10312, 10967,
10313, 10968,
10314, 10969,
10315, 10970,
10316 10971
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
10317, 10972,
10319 10974
] ]
} }
] ]
@@ -462,108 +466,116 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
10295, 10950,
10305 10960
] ]
} }
], ],
"packageName": "@medusajs/region", "packageName": "@medusajs/region",
"symbolIdMap": { "symbolIdMap": {
"10294": { "10949": {
"sourceFileName": "../../../packages/region/src/models/index.ts", "sourceFileName": "../../../../packages/modules/region/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"10295": { "10950": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"10298": { "10953": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default.iso_2" "qualifiedName": "default.iso_2"
}, },
"10299": { "10954": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default.iso_3" "qualifiedName": "default.iso_3"
}, },
"10300": { "10955": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default.num_code" "qualifiedName": "default.num_code"
}, },
"10301": { "10956": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default.name" "qualifiedName": "default.name"
}, },
"10302": { "10957": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default.display_name" "qualifiedName": "default.display_name"
}, },
"10303": { "10958": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default.region_id" "qualifiedName": "default.region_id"
}, },
"10304": { "10959": {
"sourceFileName": "../../../packages/region/src/models/country.ts", "sourceFileName": "../../../../packages/modules/region/src/models/country.ts",
"qualifiedName": "default.region" "qualifiedName": "default.region"
}, },
"10305": { "10960": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"10308": { "10963": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.id" "qualifiedName": "default.id"
}, },
"10309": { "10964": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.name" "qualifiedName": "default.name"
}, },
"10310": { "10965": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.currency_code" "qualifiedName": "default.currency_code"
}, },
"10311": { "10966": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.automatic_taxes" "qualifiedName": "default.automatic_taxes"
}, },
"10312": { "10967": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.countries" "qualifiedName": "default.countries"
}, },
"10313": { "10968": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.metadata" "qualifiedName": "default.metadata"
}, },
"10314": { "10969": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.created_at" "qualifiedName": "default.created_at"
}, },
"10315": { "10970": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.updated_at" "qualifiedName": "default.updated_at"
}, },
"10316": { "10971": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.deleted_at" "qualifiedName": "default.deleted_at"
}, },
"10317": { "10972": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"10318": { "10973": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"10319": { "10974": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"10320": { "10975": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"10321": { "10976": {
"sourceFileName": "../../../packages/region/src/models/region.ts", "sourceFileName": "../../../../packages/modules/region/src/models/region.ts",
"qualifiedName": "default.[OptionalProps]" "qualifiedName": "default.[OptionalProps]"
} }
},
"files": {
"entries": {
"1": "../../../../packages/modules/region/src/models/index.ts"
},
"reflections": {
"1": 10949
}
} }
} }
File diff suppressed because it is too large. Load diff
@@ -1,41 +1,42 @@
{ {
"id": 10580, "id": 11234,
"name": "sales-channel-models", "name": "sales-channel-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 10581, "id": 11235,
"name": "SalesChannel", "name": "SalesChannel",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 10582, "id": 11236,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 10583, "id": 11237,
"name": "new SalesChannel", "name": "new SalesChannel",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 10581, "target": 11235,
"name": "default", "name": "SalesChannel",
"package": "@medusajs/sales-channel" "package": "@medusajs/sales-channel",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 10596, "id": 11250,
"name": "[OptionalProps]", "name": "[OptionalProps]",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -45,7 +46,7 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "SalesChannelOptionalProps" "qualifiedName": "SalesChannelOptionalProps"
}, },
"name": "SalesChannelOptionalProps", "name": "SalesChannelOptionalProps",
@@ -53,7 +54,7 @@
} }
}, },
{ {
"id": 10584, "id": 11238,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -64,7 +65,7 @@
} }
}, },
{ {
"id": 10585, "id": 11239,
"name": "name", "name": "name",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -75,7 +76,7 @@
} }
}, },
{ {
"id": 10586, "id": 11240,
"name": "description", "name": "description",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -96,7 +97,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 10587, "id": 11241,
"name": "is_disabled", "name": "is_disabled",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -108,7 +109,7 @@
"defaultValue": "false" "defaultValue": "false"
}, },
{ {
"id": 10588, "id": 11242,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -124,7 +125,7 @@
} }
}, },
{ {
"id": 10589, "id": 11243,
"name": "metadata", "name": "metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -160,7 +161,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 10590, "id": 11244,
"name": "updated_at", "name": "updated_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -176,7 +177,7 @@
} }
}, },
{ {
"id": 10591, "id": 11245,
"name": "deleted_at", "name": "deleted_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -202,14 +203,14 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 10592, "id": 11246,
"name": "onCreate", "name": "onCreate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 10593, "id": 11247,
"name": "onCreate", "name": "onCreate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -222,14 +223,14 @@
] ]
}, },
{ {
"id": 10594, "id": 11248,
"name": "onInit", "name": "onInit",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 10595, "id": 11249,
"name": "onInit", "name": "onInit",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -246,28 +247,28 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
10582 11236
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
10596, 11250,
10584, 11238,
10585, 11239,
10586, 11240,
10587, 11241,
10588, 11242,
10589, 11243,
10590, 11244,
10591 11245
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
10592, 11246,
10594 11248
] ]
} }
] ]
@@ -277,71 +278,79 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
10581 11235
] ]
} }
], ],
"packageName": "@medusajs/sales-channel", "packageName": "@medusajs/sales-channel",
"symbolIdMap": { "symbolIdMap": {
"10580": { "11234": {
"sourceFileName": "../../../packages/sales-channel/src/models/index.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"10581": { "11235": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"10584": { "11238": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.id" "qualifiedName": "default.id"
}, },
"10585": { "11239": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.name" "qualifiedName": "default.name"
}, },
"10586": { "11240": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.description" "qualifiedName": "default.description"
}, },
"10587": { "11241": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.is_disabled" "qualifiedName": "default.is_disabled"
}, },
"10588": { "11242": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.created_at" "qualifiedName": "default.created_at"
}, },
"10589": { "11243": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.metadata" "qualifiedName": "default.metadata"
}, },
"10590": { "11244": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.updated_at" "qualifiedName": "default.updated_at"
}, },
"10591": { "11245": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.deleted_at" "qualifiedName": "default.deleted_at"
}, },
"10592": { "11246": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"10593": { "11247": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"10594": { "11248": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"10595": { "11249": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"10596": { "11250": {
"sourceFileName": "../../../packages/sales-channel/src/models/sales-channel.ts", "sourceFileName": "../../../../packages/modules/sales-channel/src/models/sales-channel.ts",
"qualifiedName": "default.[OptionalProps]" "qualifiedName": "default.[OptionalProps]"
} }
},
"files": {
"entries": {
"1": "../../../../packages/modules/sales-channel/src/models/index.ts"
},
"reflections": {
"1": 11234
}
} }
} }
File diff suppressed because it is too large. Load diff
@@ -1,12 +1,12 @@
{ {
"id": 24452, "id": 13391,
"name": "search", "name": "search",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 24453, "id": 13392,
"name": "AbstractSearchService", "name": "AbstractSearchService",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
@@ -111,7 +111,7 @@
}, },
"children": [ "children": [
{ {
"id": 24462, "id": 13401,
"name": "isDefault", "name": "isDefault",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -149,7 +149,7 @@
} }
}, },
{ {
"id": 24463, "id": 13402,
"name": "options_", "name": "options_",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -186,7 +186,7 @@
} }
}, },
{ {
"id": 24458, "id": 13397,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
@@ -195,7 +195,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24459, "id": 13398,
"name": "new AbstractSearchService", "name": "new AbstractSearchService",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
@@ -237,7 +237,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24460, "id": 13399,
"name": "container", "name": "container",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -264,7 +264,7 @@
} }
}, },
{ {
"id": 24461, "id": 13400,
"name": "options", "name": "options",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -285,7 +285,7 @@
], ],
"type": { "type": {
"type": "reference", "type": "reference",
"target": 24453, "target": 13392,
"name": "AbstractSearchService", "name": "AbstractSearchService",
"package": "@medusajs/utils" "package": "@medusajs/utils"
} }
@@ -293,7 +293,7 @@
] ]
}, },
{ {
"id": 24466, "id": 13405,
"name": "createIndex", "name": "createIndex",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -302,7 +302,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24467, "id": 13406,
"name": "createIndex", "name": "createIndex",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -365,7 +365,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24468, "id": 13407,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -384,7 +384,7 @@
} }
}, },
{ {
"id": 24469, "id": 13408,
"name": "options", "name": "options",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -421,7 +421,7 @@
} }
}, },
{ {
"id": 24470, "id": 13409,
"name": "getIndex", "name": "getIndex",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -430,7 +430,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24471, "id": 13410,
"name": "getIndex", "name": "getIndex",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -465,7 +465,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24472, "id": 13411,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -502,7 +502,7 @@
} }
}, },
{ {
"id": 24473, "id": 13412,
"name": "addDocuments", "name": "addDocuments",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -511,7 +511,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24474, "id": 13413,
"name": "addDocuments", "name": "addDocuments",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -546,7 +546,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24475, "id": 13414,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -565,7 +565,7 @@
} }
}, },
{ {
"id": 24476, "id": 13415,
"name": "documents", "name": "documents",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -593,7 +593,7 @@
} }
}, },
{ {
"id": 24477, "id": 13416,
"name": "type", "name": "type",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -638,7 +638,7 @@
} }
}, },
{ {
"id": 24478, "id": 13417,
"name": "replaceDocuments", "name": "replaceDocuments",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -647,7 +647,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24479, "id": 13418,
"name": "replaceDocuments", "name": "replaceDocuments",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -682,7 +682,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24480, "id": 13419,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -701,7 +701,7 @@
} }
}, },
{ {
"id": 24481, "id": 13420,
"name": "documents", "name": "documents",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -729,7 +729,7 @@
} }
}, },
{ {
"id": 24482, "id": 13421,
"name": "type", "name": "type",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -774,7 +774,7 @@
} }
}, },
{ {
"id": 24483, "id": 13422,
"name": "deleteDocument", "name": "deleteDocument",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -783,7 +783,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24484, "id": 13423,
"name": "deleteDocument", "name": "deleteDocument",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -818,7 +818,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24485, "id": 13424,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -837,7 +837,7 @@
} }
}, },
{ {
"id": 24486, "id": 13425,
"name": "document_id", "name": "document_id",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -883,7 +883,7 @@
} }
}, },
{ {
"id": 24487, "id": 13426,
"name": "deleteAllDocuments", "name": "deleteAllDocuments",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -892,7 +892,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24488, "id": 13427,
"name": "deleteAllDocuments", "name": "deleteAllDocuments",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -927,7 +927,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24489, "id": 13428,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -964,7 +964,7 @@
} }
}, },
{ {
"id": 24490, "id": 13429,
"name": "search", "name": "search",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -973,7 +973,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24491, "id": 13430,
"name": "search", "name": "search",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -1008,7 +1008,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24492, "id": 13431,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -1035,7 +1035,7 @@
} }
}, },
{ {
"id": 24493, "id": 13432,
"name": "query", "name": "query",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -1063,7 +1063,7 @@
} }
}, },
{ {
"id": 24494, "id": 13433,
"name": "options", "name": "options",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -1140,7 +1140,7 @@
} }
}, },
{ {
"id": 24495, "id": 13434,
"name": "updateSettings", "name": "updateSettings",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
@@ -1149,7 +1149,7 @@
}, },
"signatures": [ "signatures": [
{ {
"id": 24496, "id": 13435,
"name": "updateSettings", "name": "updateSettings",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -1184,7 +1184,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 24497, "id": 13436,
"name": "indexName", "name": "indexName",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -1203,7 +1203,7 @@
} }
}, },
{ {
"id": 24498, "id": 13437,
"name": "settings", "name": "settings",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -1244,27 +1244,27 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
24458 13397
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
24462, 13401,
24463 13402
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
24466, 13405,
24470, 13409,
24473, 13412,
24478, 13417,
24483, 13422,
24487, 13426,
24490, 13429,
24495 13434
] ]
} }
], ],
@@ -1272,7 +1272,7 @@
{ {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/search/interface.ts", "sourceFileName": "../../../../packages/core/types/src/search/interface.ts",
"qualifiedName": "ISearchService" "qualifiedName": "ISearchService"
}, },
"name": "ISearchService", "name": "ISearchService",
@@ -1285,175 +1285,183 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
24453 13392
] ]
} }
], ],
"packageName": "@medusajs/utils", "packageName": "@medusajs/utils",
"symbolIdMap": { "symbolIdMap": {
"24452": { "13391": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"24453": { "13392": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService" "qualifiedName": "AbstractSearchService"
}, },
"24458": { "13397": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.__constructor" "qualifiedName": "AbstractSearchService.__constructor"
}, },
"24459": { "13398": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService" "qualifiedName": "AbstractSearchService"
}, },
"24460": { "13399": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "container" "qualifiedName": "container"
}, },
"24461": { "13400": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "options" "qualifiedName": "options"
}, },
"24462": { "13401": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.isDefault" "qualifiedName": "AbstractSearchService.isDefault"
}, },
"24463": { "13402": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.options_" "qualifiedName": "AbstractSearchService.options_"
}, },
"24466": { "13405": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.createIndex" "qualifiedName": "AbstractSearchService.createIndex"
}, },
"24467": { "13406": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.createIndex" "qualifiedName": "AbstractSearchService.createIndex"
}, },
"24468": { "13407": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24469": { "13408": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "options" "qualifiedName": "options"
}, },
"24470": { "13409": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.getIndex" "qualifiedName": "AbstractSearchService.getIndex"
}, },
"24471": { "13410": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.getIndex" "qualifiedName": "AbstractSearchService.getIndex"
}, },
"24472": { "13411": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24473": { "13412": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.addDocuments" "qualifiedName": "AbstractSearchService.addDocuments"
}, },
"24474": { "13413": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.addDocuments" "qualifiedName": "AbstractSearchService.addDocuments"
}, },
"24475": { "13414": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24476": { "13415": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "documents" "qualifiedName": "documents"
}, },
"24477": { "13416": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "type" "qualifiedName": "type"
}, },
"24478": { "13417": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.replaceDocuments" "qualifiedName": "AbstractSearchService.replaceDocuments"
}, },
"24479": { "13418": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.replaceDocuments" "qualifiedName": "AbstractSearchService.replaceDocuments"
}, },
"24480": { "13419": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24481": { "13420": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "documents" "qualifiedName": "documents"
}, },
"24482": { "13421": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "type" "qualifiedName": "type"
}, },
"24483": { "13422": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.deleteDocument" "qualifiedName": "AbstractSearchService.deleteDocument"
}, },
"24484": { "13423": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.deleteDocument" "qualifiedName": "AbstractSearchService.deleteDocument"
}, },
"24485": { "13424": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24486": { "13425": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "document_id" "qualifiedName": "document_id"
}, },
"24487": { "13426": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.deleteAllDocuments" "qualifiedName": "AbstractSearchService.deleteAllDocuments"
}, },
"24488": { "13427": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.deleteAllDocuments" "qualifiedName": "AbstractSearchService.deleteAllDocuments"
}, },
"24489": { "13428": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24490": { "13429": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.search" "qualifiedName": "AbstractSearchService.search"
}, },
"24491": { "13430": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.search" "qualifiedName": "AbstractSearchService.search"
}, },
"24492": { "13431": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24493": { "13432": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "query" "qualifiedName": "query"
}, },
"24494": { "13433": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "options" "qualifiedName": "options"
}, },
"24495": { "13434": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.updateSettings" "qualifiedName": "AbstractSearchService.updateSettings"
}, },
"24496": { "13435": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "AbstractSearchService.updateSettings" "qualifiedName": "AbstractSearchService.updateSettings"
}, },
"24497": { "13436": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "indexName" "qualifiedName": "indexName"
}, },
"24498": { "13437": {
"sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "sourceFileName": "../../../../packages/core/utils/src/search/abstract-service.ts",
"qualifiedName": "settings" "qualifiedName": "settings"
} }
},
"files": {
"entries": {
"1": "../../../../packages/core/utils/src/search/abstract-service.ts"
},
"reflections": {
"1": 13391
}
} }
} }
@@ -1,5 +1,5 @@
{ {
"id": 11505, "id": 11734,
"name": "stock-location-next-models", "name": "stock-location-next-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
@@ -18,28 +18,28 @@
}, },
"children": [ "children": [
{ {
"id": 11521, "id": 11750,
"name": "StockLocationAddress", "name": "StockLocationAddress",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 11522, "id": 11751,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 11523, "id": 11752,
"name": "new StockLocationAddress", "name": "new StockLocationAddress",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 11521, "target": 11750,
"name": "StockLocationAddress", "name": "StockLocationAddress",
"package": "@medusajs/stock-location-next" "package": "@medusajs/stock-location-next"
} }
@@ -47,7 +47,7 @@
] ]
}, },
{ {
"id": 11524, "id": 11753,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -58,7 +58,7 @@
} }
}, },
{ {
"id": 11525, "id": 11754,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -74,7 +74,7 @@
} }
}, },
{ {
"id": 11526, "id": 11755,
"name": "updated_at", "name": "updated_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -90,7 +90,7 @@
} }
}, },
{ {
"id": 11527, "id": 11756,
"name": "deleted_at", "name": "deleted_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -116,7 +116,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11528, "id": 11757,
"name": "address_1", "name": "address_1",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -127,7 +127,7 @@
} }
}, },
{ {
"id": 11529, "id": 11758,
"name": "address_2", "name": "address_2",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -147,7 +147,7 @@
} }
}, },
{ {
"id": 11530, "id": 11759,
"name": "company", "name": "company",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -167,7 +167,7 @@
} }
}, },
{ {
"id": 11531, "id": 11760,
"name": "city", "name": "city",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -187,7 +187,7 @@
} }
}, },
{ {
"id": 11532, "id": 11761,
"name": "country_code", "name": "country_code",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -198,7 +198,7 @@
} }
}, },
{ {
"id": 11533, "id": 11762,
"name": "phone", "name": "phone",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -218,7 +218,7 @@
} }
}, },
{ {
"id": 11534, "id": 11763,
"name": "province", "name": "province",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -238,7 +238,7 @@
} }
}, },
{ {
"id": 11535, "id": 11764,
"name": "postal_code", "name": "postal_code",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -258,7 +258,7 @@
} }
}, },
{ {
"id": 11536, "id": 11765,
"name": "metadata", "name": "metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -291,109 +291,58 @@
} }
] ]
} }
},
{
"id": 11537,
"name": "beforeCreate",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPrivate": true
},
"signatures": [
{
"id": 11538,
"name": "beforeCreate",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 11539,
"name": "onInit",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPrivate": true
},
"signatures": [
{
"id": 11540,
"name": "onInit",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
} }
], ],
"groups": [ "groups": [
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
11522 11751
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
11524, 11753,
11525, 11754,
11526, 11755,
11527, 11756,
11528, 11757,
11529, 11758,
11530, 11759,
11531, 11760,
11532, 11761,
11533, 11762,
11534, 11763,
11535, 11764,
11536 11765
]
},
{
"title": "Methods",
"children": [
11537,
11539
] ]
} }
] ]
}, },
{ {
"id": 11506, "id": 11735,
"name": "StockLocation", "name": "StockLocation",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 11507, "id": 11736,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 11508, "id": 11737,
"name": "new StockLocation", "name": "new StockLocation",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 11506, "target": 11735,
"name": "StockLocation", "name": "StockLocation",
"package": "@medusajs/stock-location-next" "package": "@medusajs/stock-location-next"
} }
@@ -401,7 +350,7 @@
] ]
}, },
{ {
"id": 11509, "id": 11738,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -412,7 +361,7 @@
} }
}, },
{ {
"id": 11510, "id": 11739,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -428,7 +377,7 @@
} }
}, },
{ {
"id": 11511, "id": 11740,
"name": "updated_at", "name": "updated_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -444,7 +393,7 @@
} }
}, },
{ {
"id": 11512, "id": 11741,
"name": "deleted_at", "name": "deleted_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -470,7 +419,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11513, "id": 11742,
"name": "name", "name": "name",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -481,7 +430,7 @@
} }
}, },
{ {
"id": 11514, "id": 11743,
"name": "address_id", "name": "address_id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -501,7 +450,7 @@
} }
}, },
{ {
"id": 11515, "id": 11744,
"name": "address", "name": "address",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -515,7 +464,7 @@
}, },
{ {
"type": "reference", "type": "reference",
"target": 11521, "target": 11750,
"name": "StockLocationAddress", "name": "StockLocationAddress",
"package": "@medusajs/stock-location-next" "package": "@medusajs/stock-location-next"
} }
@@ -523,7 +472,7 @@
} }
}, },
{ {
"id": 11516, "id": 11745,
"name": "metadata", "name": "metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -556,77 +505,26 @@
} }
] ]
} }
},
{
"id": 11517,
"name": "beforeCreate",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPrivate": true
},
"signatures": [
{
"id": 11518,
"name": "beforeCreate",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 11519,
"name": "onInit",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPrivate": true
},
"signatures": [
{
"id": 11520,
"name": "onInit",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
} }
], ],
"groups": [ "groups": [
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
11507 11736
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
11509, 11738,
11510, 11739,
11511, 11740,
11512, 11741,
11513, 11742,
11514, 11743,
11515, 11744,
11516 11745
]
},
{
"title": "Methods",
"children": [
11517,
11519
] ]
} }
] ]
@@ -636,140 +534,116 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
11521, 11750,
11506 11735
] ]
} }
], ],
"packageName": "@medusajs/stock-location-next", "packageName": "@medusajs/stock-location-next",
"symbolIdMap": { "symbolIdMap": {
"11505": { "11734": {
"sourceFileName": "../../../packages/stock-location-next/src/models/index.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"11506": { "11735": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation" "qualifiedName": "StockLocation"
}, },
"11509": { "11738": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.id" "qualifiedName": "StockLocation.id"
}, },
"11510": { "11739": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.created_at" "qualifiedName": "StockLocation.created_at"
}, },
"11511": { "11740": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.updated_at" "qualifiedName": "StockLocation.updated_at"
}, },
"11512": { "11741": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.deleted_at" "qualifiedName": "StockLocation.deleted_at"
}, },
"11513": { "11742": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.name" "qualifiedName": "StockLocation.name"
}, },
"11514": { "11743": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.address_id" "qualifiedName": "StockLocation.address_id"
}, },
"11515": { "11744": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.address" "qualifiedName": "StockLocation.address"
}, },
"11516": { "11745": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.metadata" "qualifiedName": "StockLocation.metadata"
}, },
"11517": { "11750": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocation.beforeCreate"
},
"11518": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.beforeCreate"
},
"11519": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.onInit"
},
"11520": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location.ts",
"qualifiedName": "StockLocation.onInit"
},
"11521": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress" "qualifiedName": "StockLocationAddress"
}, },
"11524": { "11753": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.id" "qualifiedName": "StockLocationAddress.id"
}, },
"11525": { "11754": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.created_at" "qualifiedName": "StockLocationAddress.created_at"
}, },
"11526": { "11755": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.updated_at" "qualifiedName": "StockLocationAddress.updated_at"
}, },
"11527": { "11756": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.deleted_at" "qualifiedName": "StockLocationAddress.deleted_at"
}, },
"11528": { "11757": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.address_1" "qualifiedName": "StockLocationAddress.address_1"
}, },
"11529": { "11758": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.address_2" "qualifiedName": "StockLocationAddress.address_2"
}, },
"11530": { "11759": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.company" "qualifiedName": "StockLocationAddress.company"
}, },
"11531": { "11760": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.city" "qualifiedName": "StockLocationAddress.city"
}, },
"11532": { "11761": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.country_code" "qualifiedName": "StockLocationAddress.country_code"
}, },
"11533": { "11762": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.phone" "qualifiedName": "StockLocationAddress.phone"
}, },
"11534": { "11763": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.province" "qualifiedName": "StockLocationAddress.province"
}, },
"11535": { "11764": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.postal_code" "qualifiedName": "StockLocationAddress.postal_code"
}, },
"11536": { "11765": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "sourceFileName": "../../../../packages/modules/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.metadata" "qualifiedName": "StockLocationAddress.metadata"
}
},
"files": {
"entries": {
"1": "../../../../packages/modules/stock-location-next/src/models/index.ts"
}, },
"11537": { "reflections": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts", "1": 11734
"qualifiedName": "StockLocationAddress.beforeCreate"
},
"11538": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.beforeCreate"
},
"11539": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.onInit"
},
"11540": {
"sourceFileName": "../../../packages/stock-location-next/src/models/stock-location-address.ts",
"qualifiedName": "StockLocationAddress.onInit"
} }
} }
} }
File diff suppressed because it is too large. Load diff
@@ -1,59 +1,54 @@
{ {
"id": 11808, "id": 12042,
"name": "store-models", "name": "store-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"comment": {
"summary": [
{
"text": "## Relations Overview\n\n",
"kind": "text"
},
{
"text": "```mermaid\nerDiagram\n\tStore ||--|| StoreCurrency : supported_currencies\n\n```",
"kind": "code"
}
]
},
"children": [ "children": [
{ {
"id": 11809, "id": 12061,
"name": "Store", "name": "StoreCurrency",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 11810, "id": 12062,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 11811, "id": 12063,
"name": "new Store", "name": "new StoreCurrency",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 11809, "target": 12061,
"name": "default", "name": "StoreCurrency",
"package": "@medusajs/store" "package": "@medusajs/store",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 11827, "id": 12064,
"name": "[OptionalProps]",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../packages/types/src/dal/entity.ts",
"qualifiedName": "SoftDeletableEntityDateColumns"
},
"name": "SoftDeletableEntityDateColumns",
"package": "@medusajs/types"
}
},
{
"id": 11812,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -64,8 +59,8 @@
} }
}, },
{ {
"id": 11813, "id": 12065,
"name": "name", "name": "currency_code",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
"flags": {}, "flags": {},
@@ -75,23 +70,21 @@
} }
}, },
{ {
"id": 11814, "id": 12066,
"name": "supported_currency_codes", "name": "is_default",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
"flags": {}, "flags": {
"type": { "isOptional": true
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}, },
"defaultValue": "[]" "type": {
"type": "intrinsic",
"name": "boolean"
}
}, },
{ {
"id": 11815, "id": 12067,
"name": "default_currency_code", "name": "store_id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
"flags": {}, "flags": {},
@@ -107,11 +100,261 @@
"name": "string" "name": "string"
} }
] ]
}
},
{
"id": 12068,
"name": "store",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"target": 12043,
"name": "Store",
"package": "@medusajs/store",
"qualifiedName": "default"
}
]
}
},
{
"id": 12069,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 12070,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
},
{
"id": 12071,
"name": "deleted_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"target": {
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
]
}, },
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11816, "id": 12072,
"name": "onCreate",
"variant": "declaration",
"kind": 2048,
"flags": {},
"signatures": [
{
"id": 12073,
"name": "onCreate",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
},
{
"id": 12074,
"name": "onInit",
"variant": "declaration",
"kind": 2048,
"flags": {},
"signatures": [
{
"id": 12075,
"name": "onInit",
"variant": "signature",
"kind": 4096,
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [
12062
]
},
{
"title": "Properties",
"children": [
12064,
12065,
12066,
12067,
12068,
12069,
12070,
12071
]
},
{
"title": "Methods",
"children": [
12072,
12074
]
}
]
},
{
"id": 12043,
"name": "Store",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 12044,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"signatures": [
{
"id": 12045,
"name": "new Store",
"variant": "signature",
"kind": 16384,
"flags": {},
"type": {
"type": "reference",
"target": 12043,
"name": "Store",
"package": "@medusajs/store",
"qualifiedName": "default"
}
}
]
},
{
"id": 12060,
"name": "[OptionalProps]",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../packages/core/types/src/dal/entity.ts",
"qualifiedName": "SoftDeletableEntityDateColumns"
},
"name": "SoftDeletableEntityDateColumns",
"package": "@medusajs/types"
}
},
{
"id": 12046,
"name": "id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 12047,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 12048,
"name": "supported_currencies",
"variant": "declaration",
"kind": 1024,
"flags": {},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../../node_modules/@mikro-orm/core/entity/Collection.d.ts",
"qualifiedName": "Collection"
},
"typeArguments": [
{
"type": "reference",
"target": 12061,
"name": "StoreCurrency",
"package": "@medusajs/store",
"qualifiedName": "default"
},
{
"type": "intrinsic",
"name": "object"
}
],
"name": "Collection",
"package": "@mikro-orm/core"
},
"defaultValue": "..."
},
{
"id": 12049,
"name": "default_sales_channel_id", "name": "default_sales_channel_id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -132,7 +375,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11817, "id": 12050,
"name": "default_region_id", "name": "default_region_id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -153,7 +396,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11818, "id": 12051,
"name": "default_location_id", "name": "default_location_id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -174,7 +417,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11819, "id": 12052,
"name": "metadata", "name": "metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -210,7 +453,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11820, "id": 12053,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -226,7 +469,7 @@
} }
}, },
{ {
"id": 11821, "id": 12054,
"name": "updated_at", "name": "updated_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -242,7 +485,7 @@
} }
}, },
{ {
"id": 11822, "id": 12055,
"name": "deleted_at", "name": "deleted_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -268,14 +511,14 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 11823, "id": 12056,
"name": "onCreate", "name": "onCreate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 11824, "id": 12057,
"name": "onCreate", "name": "onCreate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -288,14 +531,14 @@
] ]
}, },
{ {
"id": 11825, "id": 12058,
"name": "onInit", "name": "onInit",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 11826, "id": 12059,
"name": "onInit", "name": "onInit",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -312,31 +555,30 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
11810 12044
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
11827, 12060,
11812, 12046,
11813, 12047,
11814, 12048,
11815, 12049,
11816, 12050,
11817, 12051,
11818, 12052,
11819, 12053,
11820, 12054,
11821, 12055
11822
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
11823, 12056,
11825 12058
] ]
} }
] ]
@@ -346,83 +588,140 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
11809 12061,
12043
] ]
} }
], ],
"packageName": "@medusajs/store", "packageName": "@medusajs/store",
"symbolIdMap": { "symbolIdMap": {
"11808": { "12042": {
"sourceFileName": "../../../packages/store/src/models/index.ts", "sourceFileName": "../../../../packages/modules/store/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"11809": { "12043": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"11812": { "12046": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.id" "qualifiedName": "default.id"
}, },
"11813": { "12047": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.name" "qualifiedName": "default.name"
}, },
"11814": { "12048": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.supported_currency_codes" "qualifiedName": "default.supported_currencies"
}, },
"11815": { "12049": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.default_currency_code"
},
"11816": {
"sourceFileName": "../../../packages/store/src/models/store.ts",
"qualifiedName": "default.default_sales_channel_id" "qualifiedName": "default.default_sales_channel_id"
}, },
"11817": { "12050": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.default_region_id" "qualifiedName": "default.default_region_id"
}, },
"11818": { "12051": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.default_location_id" "qualifiedName": "default.default_location_id"
}, },
"11819": { "12052": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.metadata" "qualifiedName": "default.metadata"
}, },
"11820": { "12053": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.created_at" "qualifiedName": "default.created_at"
}, },
"11821": { "12054": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.updated_at" "qualifiedName": "default.updated_at"
}, },
"11822": { "12055": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.deleted_at" "qualifiedName": "default.deleted_at"
}, },
"11823": { "12056": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"11824": { "12057": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"11825": { "12058": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"11826": { "12059": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"11827": { "12060": {
"sourceFileName": "../../../packages/store/src/models/store.ts", "sourceFileName": "../../../../packages/modules/store/src/models/store.ts",
"qualifiedName": "default.[OptionalProps]" "qualifiedName": "default.[OptionalProps]"
},
"12061": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default"
},
"12064": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.id"
},
"12065": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.currency_code"
},
"12066": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.is_default"
},
"12067": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.store_id"
},
"12068": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.store"
},
"12069": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.created_at"
},
"12070": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.updated_at"
},
"12071": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.deleted_at"
},
"12072": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.onCreate"
},
"12073": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.onCreate"
},
"12074": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.onInit"
},
"12075": {
"sourceFileName": "../../../../packages/modules/store/src/models/currency.ts",
"qualifiedName": "default.onInit"
}
},
"files": {
"entries": {
"1": "../../../../packages/modules/store/src/models/index.ts"
},
"reflections": {
"1": 12042
} }
} }
} }
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1,12 +1,12 @@
{ {
"id": 30854, "id": 13438,
"name": "tax-provider", "name": "tax-provider",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 30855, "id": 13439,
"name": "ShippingTaxCalculationLine", "name": "ShippingTaxCalculationLine",
"variant": "declaration", "variant": "declaration",
"kind": 2097152, "kind": 2097152,
@@ -22,14 +22,14 @@
"type": { "type": {
"type": "reflection", "type": "reflection",
"declaration": { "declaration": {
"id": 30856, "id": 13440,
"name": "__type", "name": "__type",
"variant": "declaration", "variant": "declaration",
"kind": 65536, "kind": 65536,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 30857, "id": 13441,
"name": "shipping_line", "name": "shipping_line",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -45,7 +45,7 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/tax/common.ts", "sourceFileName": "../../../../packages/core/types/src/tax/common.ts",
"qualifiedName": "TaxableShippingDTO" "qualifiedName": "TaxableShippingDTO"
}, },
"name": "TaxableShippingDTO", "name": "TaxableShippingDTO",
@@ -53,7 +53,7 @@
} }
}, },
{ {
"id": 30858, "id": 13442,
"name": "rates", "name": "rates",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -71,7 +71,7 @@
"elementType": { "elementType": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/tax/common.ts", "sourceFileName": "../../../../packages/core/types/src/tax/common.ts",
"qualifiedName": "TaxRateDTO" "qualifiedName": "TaxRateDTO"
}, },
"name": "TaxRateDTO", "name": "TaxRateDTO",
@@ -84,8 +84,8 @@
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
30857, 13441,
30858 13442
] ]
} }
] ]
@@ -93,7 +93,7 @@
} }
}, },
{ {
"id": 30859, "id": 13443,
"name": "ItemTaxCalculationLine", "name": "ItemTaxCalculationLine",
"variant": "declaration", "variant": "declaration",
"kind": 2097152, "kind": 2097152,
@@ -109,14 +109,14 @@
"type": { "type": {
"type": "reflection", "type": "reflection",
"declaration": { "declaration": {
"id": 30860, "id": 13444,
"name": "__type", "name": "__type",
"variant": "declaration", "variant": "declaration",
"kind": 65536, "kind": 65536,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 30861, "id": 13445,
"name": "line_item", "name": "line_item",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -132,7 +132,7 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/tax/common.ts", "sourceFileName": "../../../../packages/core/types/src/tax/common.ts",
"qualifiedName": "TaxableItemDTO" "qualifiedName": "TaxableItemDTO"
}, },
"name": "TaxableItemDTO", "name": "TaxableItemDTO",
@@ -140,7 +140,7 @@
} }
}, },
{ {
"id": 30862, "id": 13446,
"name": "rates", "name": "rates",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -158,7 +158,7 @@
"elementType": { "elementType": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/tax/common.ts", "sourceFileName": "../../../../packages/core/types/src/tax/common.ts",
"qualifiedName": "TaxRateDTO" "qualifiedName": "TaxRateDTO"
}, },
"name": "TaxRateDTO", "name": "TaxRateDTO",
@@ -171,8 +171,8 @@
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
30861, 13445,
30862 13446
] ]
} }
] ]
@@ -180,7 +180,7 @@
} }
}, },
{ {
"id": 30863, "id": 13447,
"name": "ITaxProvider", "name": "ITaxProvider",
"variant": "declaration", "variant": "declaration",
"kind": 256, "kind": 256,
@@ -283,14 +283,14 @@
}, },
"children": [ "children": [
{ {
"id": 30866, "id": 13450,
"name": "getTaxLines", "name": "getTaxLines",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 30867, "id": 13451,
"name": "getTaxLines", "name": "getTaxLines",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -361,7 +361,7 @@
}, },
"parameters": [ "parameters": [
{ {
"id": 30868, "id": 13452,
"name": "itemLines", "name": "itemLines",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -378,14 +378,14 @@
"type": "array", "type": "array",
"elementType": { "elementType": {
"type": "reference", "type": "reference",
"target": 30859, "target": 13443,
"name": "ItemTaxCalculationLine", "name": "ItemTaxCalculationLine",
"package": "@medusajs/types" "package": "@medusajs/types"
} }
} }
}, },
{ {
"id": 30869, "id": 13453,
"name": "shippingLines", "name": "shippingLines",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -402,14 +402,14 @@
"type": "array", "type": "array",
"elementType": { "elementType": {
"type": "reference", "type": "reference",
"target": 30855, "target": 13439,
"name": "ShippingTaxCalculationLine", "name": "ShippingTaxCalculationLine",
"package": "@medusajs/types" "package": "@medusajs/types"
} }
} }
}, },
{ {
"id": 30870, "id": 13454,
"name": "context", "name": "context",
"variant": "param", "variant": "param",
"kind": 32768, "kind": 32768,
@@ -425,7 +425,7 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/tax/common.ts", "sourceFileName": "../../../../packages/core/types/src/tax/common.ts",
"qualifiedName": "TaxCalculationContext" "qualifiedName": "TaxCalculationContext"
}, },
"name": "TaxCalculationContext", "name": "TaxCalculationContext",
@@ -448,7 +448,7 @@
{ {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/tax/common.ts", "sourceFileName": "../../../../packages/core/types/src/tax/common.ts",
"qualifiedName": "ItemTaxLineDTO" "qualifiedName": "ItemTaxLineDTO"
}, },
"name": "ItemTaxLineDTO", "name": "ItemTaxLineDTO",
@@ -457,7 +457,7 @@
{ {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/types/src/tax/common.ts", "sourceFileName": "../../../../packages/core/types/src/tax/common.ts",
"qualifiedName": "ShippingTaxLineDTO" "qualifiedName": "ShippingTaxLineDTO"
}, },
"name": "ShippingTaxLineDTO", "name": "ShippingTaxLineDTO",
@@ -478,7 +478,7 @@
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
30866 13450
] ]
} }
] ]
@@ -488,78 +488,86 @@
{ {
"title": "Interfaces", "title": "Interfaces",
"children": [ "children": [
30863 13447
] ]
}, },
{ {
"title": "Type Aliases", "title": "Type Aliases",
"children": [ "children": [
30855, 13439,
30859 13443
] ]
} }
], ],
"packageName": "@medusajs/types", "packageName": "@medusajs/types",
"symbolIdMap": { "symbolIdMap": {
"30854": { "13438": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"30855": { "13439": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "ShippingTaxCalculationLine" "qualifiedName": "ShippingTaxCalculationLine"
}, },
"30856": { "13440": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "__type" "qualifiedName": "__type"
}, },
"30857": { "13441": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "__type.shipping_line" "qualifiedName": "__type.shipping_line"
}, },
"30858": { "13442": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "__type.rates" "qualifiedName": "__type.rates"
}, },
"30859": { "13443": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "ItemTaxCalculationLine" "qualifiedName": "ItemTaxCalculationLine"
}, },
"30860": { "13444": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "__type" "qualifiedName": "__type"
}, },
"30861": { "13445": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "__type.line_item" "qualifiedName": "__type.line_item"
}, },
"30862": { "13446": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "__type.rates" "qualifiedName": "__type.rates"
}, },
"30863": { "13447": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "ITaxProvider" "qualifiedName": "ITaxProvider"
}, },
"30866": { "13450": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "ITaxProvider.getTaxLines" "qualifiedName": "ITaxProvider.getTaxLines"
}, },
"30867": { "13451": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "ITaxProvider.getTaxLines" "qualifiedName": "ITaxProvider.getTaxLines"
}, },
"30868": { "13452": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "itemLines" "qualifiedName": "itemLines"
}, },
"30869": { "13453": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "shippingLines" "qualifiedName": "shippingLines"
}, },
"30870": { "13454": {
"sourceFileName": "../../../packages/types/src/tax/provider.ts", "sourceFileName": "../../../../packages/core/types/src/tax/provider.ts",
"qualifiedName": "context" "qualifiedName": "context"
} }
},
"files": {
"entries": {
"1": "../../../../packages/core/types/src/tax/provider.ts"
},
"reflections": {
"1": 13438
}
} }
} }
File diff suppressed because it is too large. Load diff
@@ -1,41 +1,42 @@
{ {
"id": 12729, "id": 12906,
"name": "user-models", "name": "user-models",
"variant": "project", "variant": "project",
"kind": 1, "kind": 1,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 12747, "id": 12924,
"name": "Invite", "name": "Invite",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 12748, "id": 12925,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 12749, "id": 12926,
"name": "new Invite", "name": "new Invite",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 12747, "target": 12924,
"name": "default", "name": "Invite",
"package": "@medusajs/user" "package": "@medusajs/user",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 12763, "id": 12940,
"name": "[OptionalProps]", "name": "[OptionalProps]",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -43,7 +44,7 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "OptionalFields" "qualifiedName": "OptionalFields"
}, },
"name": "OptionalFields", "name": "OptionalFields",
@@ -51,7 +52,7 @@
} }
}, },
{ {
"id": 12750, "id": 12927,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -62,7 +63,7 @@
} }
}, },
{ {
"id": 12751, "id": 12928,
"name": "email", "name": "email",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -73,7 +74,7 @@
} }
}, },
{ {
"id": 12752, "id": 12929,
"name": "accepted", "name": "accepted",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -85,7 +86,7 @@
"defaultValue": "false" "defaultValue": "false"
}, },
{ {
"id": 12753, "id": 12930,
"name": "token", "name": "token",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -96,7 +97,7 @@
} }
}, },
{ {
"id": 12754, "id": 12931,
"name": "expires_at", "name": "expires_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -112,7 +113,7 @@
} }
}, },
{ {
"id": 12755, "id": 12932,
"name": "metadata", "name": "metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -148,7 +149,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 12756, "id": 12933,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -164,7 +165,7 @@
} }
}, },
{ {
"id": 12757, "id": 12934,
"name": "updated_at", "name": "updated_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -180,7 +181,7 @@
} }
}, },
{ {
"id": 12758, "id": 12935,
"name": "deleted_at", "name": "deleted_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -206,14 +207,14 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 12759, "id": 12936,
"name": "onInit", "name": "onInit",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 12760, "id": 12937,
"name": "onInit", "name": "onInit",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -226,14 +227,14 @@
] ]
}, },
{ {
"id": 12761, "id": 12938,
"name": "beforeCreate", "name": "beforeCreate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 12762, "id": 12939,
"name": "beforeCreate", "name": "beforeCreate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -250,64 +251,65 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
12748 12925
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
12763, 12940,
12750, 12927,
12751, 12928,
12752, 12929,
12753, 12930,
12754, 12931,
12755, 12932,
12756, 12933,
12757, 12934,
12758 12935
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
12759, 12936,
12761 12938
] ]
} }
] ]
}, },
{ {
"id": 12730, "id": 12907,
"name": "User", "name": "User",
"variant": "declaration", "variant": "declaration",
"kind": 128, "kind": 128,
"flags": {}, "flags": {},
"children": [ "children": [
{ {
"id": 12731, "id": 12908,
"name": "constructor", "name": "constructor",
"variant": "declaration", "variant": "declaration",
"kind": 512, "kind": 512,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 12732, "id": 12909,
"name": "new User", "name": "new User",
"variant": "signature", "variant": "signature",
"kind": 16384, "kind": 16384,
"flags": {}, "flags": {},
"type": { "type": {
"type": "reference", "type": "reference",
"target": 12730, "target": 12907,
"name": "default", "name": "User",
"package": "@medusajs/user" "package": "@medusajs/user",
"qualifiedName": "default"
} }
} }
] ]
}, },
{ {
"id": 12746, "id": 12923,
"name": "[OptionalProps]", "name": "[OptionalProps]",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -317,7 +319,7 @@
"type": { "type": {
"type": "reference", "type": "reference",
"target": { "target": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "OptionalFields" "qualifiedName": "OptionalFields"
}, },
"name": "OptionalFields", "name": "OptionalFields",
@@ -325,7 +327,7 @@
} }
}, },
{ {
"id": 12733, "id": 12910,
"name": "id", "name": "id",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -336,7 +338,7 @@
} }
}, },
{ {
"id": 12734, "id": 12911,
"name": "first_name", "name": "first_name",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -357,7 +359,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 12735, "id": 12912,
"name": "last_name", "name": "last_name",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -378,7 +380,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 12736, "id": 12913,
"name": "email", "name": "email",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -389,7 +391,7 @@
} }
}, },
{ {
"id": 12737, "id": 12914,
"name": "avatar_url", "name": "avatar_url",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -410,7 +412,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 12738, "id": 12915,
"name": "metadata", "name": "metadata",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -446,7 +448,7 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 12739, "id": 12916,
"name": "created_at", "name": "created_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -462,7 +464,7 @@
} }
}, },
{ {
"id": 12740, "id": 12917,
"name": "updated_at", "name": "updated_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -478,7 +480,7 @@
} }
}, },
{ {
"id": 12741, "id": 12918,
"name": "deleted_at", "name": "deleted_at",
"variant": "declaration", "variant": "declaration",
"kind": 1024, "kind": 1024,
@@ -506,14 +508,14 @@
"defaultValue": "null" "defaultValue": "null"
}, },
{ {
"id": 12742, "id": 12919,
"name": "onCreate", "name": "onCreate",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 12743, "id": 12920,
"name": "onCreate", "name": "onCreate",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -526,14 +528,14 @@
] ]
}, },
{ {
"id": 12744, "id": 12921,
"name": "onInit", "name": "onInit",
"variant": "declaration", "variant": "declaration",
"kind": 2048, "kind": 2048,
"flags": {}, "flags": {},
"signatures": [ "signatures": [
{ {
"id": 12745, "id": 12922,
"name": "onInit", "name": "onInit",
"variant": "signature", "variant": "signature",
"kind": 4096, "kind": 4096,
@@ -550,29 +552,29 @@
{ {
"title": "Constructors", "title": "Constructors",
"children": [ "children": [
12731 12908
] ]
}, },
{ {
"title": "Properties", "title": "Properties",
"children": [ "children": [
12746, 12923,
12733, 12910,
12734, 12911,
12735, 12912,
12736, 12913,
12737, 12914,
12738, 12915,
12739, 12916,
12740, 12917,
12741 12918
] ]
}, },
{ {
"title": "Methods", "title": "Methods",
"children": [ "children": [
12742, 12919,
12744 12921
] ]
} }
] ]
@@ -582,136 +584,144 @@
{ {
"title": "Classes", "title": "Classes",
"children": [ "children": [
12747, 12924,
12730 12907
] ]
} }
], ],
"packageName": "@medusajs/user", "packageName": "@medusajs/user",
"symbolIdMap": { "symbolIdMap": {
"12729": { "12906": {
"sourceFileName": "../../../packages/user/src/models/index.ts", "sourceFileName": "../../../../packages/modules/user/src/models/index.ts",
"qualifiedName": "" "qualifiedName": ""
}, },
"12730": { "12907": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"12733": { "12910": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.id" "qualifiedName": "default.id"
}, },
"12734": { "12911": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.first_name" "qualifiedName": "default.first_name"
}, },
"12735": { "12912": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.last_name" "qualifiedName": "default.last_name"
}, },
"12736": { "12913": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.email" "qualifiedName": "default.email"
}, },
"12737": { "12914": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.avatar_url" "qualifiedName": "default.avatar_url"
}, },
"12738": { "12915": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.metadata" "qualifiedName": "default.metadata"
}, },
"12739": { "12916": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.created_at" "qualifiedName": "default.created_at"
}, },
"12740": { "12917": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.updated_at" "qualifiedName": "default.updated_at"
}, },
"12741": { "12918": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.deleted_at" "qualifiedName": "default.deleted_at"
}, },
"12742": { "12919": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"12743": { "12920": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.onCreate" "qualifiedName": "default.onCreate"
}, },
"12744": { "12921": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"12745": { "12922": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"12746": { "12923": {
"sourceFileName": "../../../packages/user/src/models/user.ts", "sourceFileName": "../../../../packages/modules/user/src/models/user.ts",
"qualifiedName": "default.[OptionalProps]" "qualifiedName": "default.[OptionalProps]"
}, },
"12747": { "12924": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default" "qualifiedName": "default"
}, },
"12750": { "12927": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.id" "qualifiedName": "default.id"
}, },
"12751": { "12928": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.email" "qualifiedName": "default.email"
}, },
"12752": { "12929": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.accepted" "qualifiedName": "default.accepted"
}, },
"12753": { "12930": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.token" "qualifiedName": "default.token"
}, },
"12754": { "12931": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.expires_at" "qualifiedName": "default.expires_at"
}, },
"12755": { "12932": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.metadata" "qualifiedName": "default.metadata"
}, },
"12756": { "12933": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.created_at" "qualifiedName": "default.created_at"
}, },
"12757": { "12934": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.updated_at" "qualifiedName": "default.updated_at"
}, },
"12758": { "12935": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.deleted_at" "qualifiedName": "default.deleted_at"
}, },
"12759": { "12936": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"12760": { "12937": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.onInit" "qualifiedName": "default.onInit"
}, },
"12761": { "12938": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.beforeCreate" "qualifiedName": "default.beforeCreate"
}, },
"12762": { "12939": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.beforeCreate" "qualifiedName": "default.beforeCreate"
}, },
"12763": { "12940": {
"sourceFileName": "../../../packages/user/src/models/invite.ts", "sourceFileName": "../../../../packages/modules/user/src/models/invite.ts",
"qualifiedName": "default.[OptionalProps]" "qualifiedName": "default.[OptionalProps]"
} }
},
"files": {
"entries": {
"1": "../../../../packages/modules/user/src/models/index.ts"
},
"reflections": {
"1": 12906
}
} }
} }
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -27,7 +27,7 @@
"pluralize": "^8.0.0", "pluralize": "^8.0.0",
"prettier": "^3.2.4", "prettier": "^3.2.4",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "5.2", "typescript": "5.5",
"utils": "*", "utils": "*",
"yaml": "^2.3.4" "yaml": "^2.3.4"
}, },
@@ -23,9 +23,9 @@
"react-docgen": "^7.0.1", "react-docgen": "^7.0.1",
"resolve": "^1.22.8", "resolve": "^1.22.8",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typedoc": "^0.25.12", "typedoc": "^0.26.2",
"typedoc-plugin-custom": "*", "typedoc-plugin-custom": "*",
"typescript": "5.2", "typescript": "5.5",
"utils": "*" "utils": "*"
}, },
"devDependencies": { "devDependencies": {
@@ -11,7 +11,7 @@
"skipLibCheck": true, "skipLibCheck": true,
"resolveJsonModule": true, "resolveJsonModule": true,
}, },
"include": ["src", "../typedoc-plugin-custom/src/types"], "include": ["src"],
"ts-node": { "ts-node": {
"esm": true, "esm": true,
"experimentalSpecifierResolution": "node", "experimentalSpecifierResolution": "node",
+10 -1
View File
@@ -17,7 +17,16 @@ const linearClient = new LinearClient({
const __filename = fileURLToPath(import.meta.url) const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename) const __dirname = path.dirname(__filename)
const repoPath = path.join(__dirname, "..", "..", "..", "apps", "book", "app") const repoPath = path.join(
__dirname,
"..",
"..",
"..",
"..",
"apps",
"book",
"app"
)
let freshnessCheckLabelId = "" let freshnessCheckLabelId = ""
let documentationTeamId = "" let documentationTeamId = ""
+3 -4
View File
@@ -7,9 +7,8 @@
}, },
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"generate:announcement": "ts-node ./doc-change-release.ts", "check:freshness": "node ./dist/freshness-check.js",
"check:freshness": "ts-node ./freshness-check.ts", "generate:message": "node ./dist/get-generate-diff-message.js",
"generate:message": "ts-node ./get-generate-diff-message.ts",
"check:release-commit": "node ./dist/check-release-commit.js", "check:release-commit": "node ./dist/check-release-commit.js",
"generate:changeset": "node ./dist/run-changeset.js", "generate:changeset": "node ./dist/run-changeset.js",
"check:pr-files-count": "node ./dist/check-pr-files-count.js" "check:pr-files-count": "node ./dist/check-pr-files-count.js"
@@ -25,7 +24,7 @@
"glob": "^10.3.10", "glob": "^10.3.10",
"randomcolor": "^0.6.2", "randomcolor": "^0.6.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "5.2" "typescript": "5.5"
}, },
"devDependencies": { "devDependencies": {
"@types/randomcolor": "^0.5.8" "@types/randomcolor": "^0.5.8"
+1 -1
View File
@@ -18,7 +18,7 @@ async function main() {
// run changeset // run changeset
await promiseExec(`yarn changeset --empty`, { await promiseExec(`yarn changeset --empty`, {
cwd: path.resolve("..", "..", ".."), cwd: path.resolve("..", "..", "..", ".."),
}) })
console.log("Generated changeset.") console.log("Generated changeset.")
} }
@@ -1,6 +0,0 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": [
"../../../../packages/modules/inventory/tsconfig.json"
]
}
@@ -1,6 +0,0 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": [
"../../../../packages/modules/stock-location/tsconfig.json"
]
}
@@ -21,16 +21,17 @@
"dotenv": "^16.3.1", "dotenv": "^16.3.1",
"randomcolor": "^0.6.2", "randomcolor": "^0.6.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typedoc": "^0.26.2",
"typedoc-plugin-custom": "*", "typedoc-plugin-custom": "*",
"typedoc-plugin-markdown-medusa": "*", "typedoc-plugin-markdown-medusa": "*",
"typedoc-plugin-rename-defaults": "^0.7.0", "typedoc-plugin-rename-defaults": "^0.7.0",
"types": "*", "types": "*",
"typescript": "5.2", "typescript": "5.5",
"utils": "*", "utils": "*",
"yaml": "^2.3.4" "yaml": "^2.3.4"
}, },
"peerDependencies": { "peerDependencies": {
"typedoc": "0.25.x" "typedoc": "0.26.x"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.9.4", "@types/node": "^20.9.4",
@@ -2,8 +2,8 @@ import { TypeDocOptions } from "typedoc"
import { getEntryPoints } from "../utils/get-options.js" import { getEntryPoints } from "../utils/get-options.js"
export const customModuleServiceNames: Record<string, string> = { export const customModuleServiceNames: Record<string, string> = {
"inventory-next": "IInventoryServiceNext", "inventory-next": "IInventoryService",
"stock-location-next": "IStockLocationServiceNext", "stock-location-next": "IStockLocationService",
} }
// if any module requires a custom formatting to their title representation, // if any module requires a custom formatting to their title representation,
@@ -15,13 +15,11 @@ export const customModuleTitles: Record<string, string> = {
// if any module requires custom options, they're added to this object // if any module requires custom options, they're added to this object
export const customModulesOptions: Record<string, Partial<TypeDocOptions>> = { export const customModulesOptions: Record<string, Partial<TypeDocOptions>> = {
"inventory-next": { "inventory-next": {
entryPoints: getEntryPoints( entryPoints: getEntryPoints("packages/core/types/src/inventory/service.ts"),
"packages/core/types/src/inventory/service-next.ts"
),
}, },
"stock-location-next": { "stock-location-next": {
entryPoints: getEntryPoints( entryPoints: getEntryPoints(
"packages/core/types/src/stock-location/service-next.ts" "packages/core/types/src/stock-location/service.ts"
), ),
}, },
} }
@@ -19,12 +19,12 @@
"lint": "eslint --ext .ts src" "lint": "eslint --ext .ts src"
}, },
"peerDependencies": { "peerDependencies": {
"typedoc": "0.25.x" "typedoc": "0.26.x"
}, },
"devDependencies": { "devDependencies": {
"@types/eslint": "^8.56.6", "@types/eslint": "^8.56.6",
"@types/node": "^16.11.10", "@types/node": "^16.11.10",
"typescript": "5.2" "typescript": "5.5"
}, },
"keywords": [ "keywords": [
"typedocplugin", "typedocplugin",
@@ -1,4 +1,3 @@
import { ok } from "assert"
import { import {
Application, Application,
Context, Context,
@@ -10,8 +9,19 @@ import {
DeclarationReflection, DeclarationReflection,
ProjectReflection, ProjectReflection,
ParameterType, ParameterType,
ContainerReflection,
} from "typedoc" } from "typedoc"
declare module "typedoc" {
export interface Reflection {
[InternalModule]?: boolean
}
}
const ModuleLike: ReflectionKind =
ReflectionKind.Project | ReflectionKind.Module
const InternalModule = Symbol()
export function load(app: Application) { export function load(app: Application) {
app.options.addDeclaration({ app.options.addDeclaration({
name: "internalModule", name: "internalModule",
@@ -32,19 +42,18 @@ export function load(app: Application) {
defaultValue: false, defaultValue: false,
}) })
let activeReflection: Reflection | undefined
let referencedSymbols = new Map<ts.Program, Set<ts.Symbol>>() let referencedSymbols = new Map<ts.Program, Set<ts.Symbol>>()
let symbolToActiveRefl = new Map<ts.Symbol, Reflection>() let symbolToOwningModule = new Map<ts.Symbol, Reflection>()
let knownPrograms = new Map<Reflection, ts.Program>() let knownPrograms = new Map<Reflection, ts.Program>()
let checkedVariableSymbols = false let checkedVariableSymbols = false
function discoverMissingExports( function discoverMissingExports(
owningModule: Reflection,
context: Context, context: Context,
program: ts.Program program: ts.Program
): Set<ts.Symbol> { ): Set<ts.Symbol> {
// An export is missing if if was referenced // An export is missing if if was referenced
// Is not contained in the documented // Is not contained in the documented
// And is "owned" by the active reflection
const referenced = referencedSymbols.get(program) || new Set() const referenced = referencedSymbols.get(program) || new Set()
const ownedByOther = new Set<ts.Symbol>() const ownedByOther = new Set<ts.Symbol>()
referencedSymbols.set(program, ownedByOther) referencedSymbols.set(program, ownedByOther)
@@ -52,7 +61,7 @@ export function load(app: Application) {
for (const s of [...referenced]) { for (const s of [...referenced]) {
if (context.project.getReflectionFromSymbol(s)) { if (context.project.getReflectionFromSymbol(s)) {
referenced.delete(s) referenced.delete(s)
} else if (symbolToActiveRefl.get(s) !== activeReflection) { } else if (symbolToOwningModule.get(s) !== owningModule) {
referenced.delete(s) referenced.delete(s)
ownedByOther.add(s) ownedByOther.add(s)
} }
@@ -67,9 +76,9 @@ export function load(app: Application) {
if (!app.options.getValue("enableInternalResolve")) { if (!app.options.getValue("enableInternalResolve")) {
return origCreateSymbolReference.call(this, symbol, context, name) return origCreateSymbolReference.call(this, symbol, context, name)
} }
ok(activeReflection, "active reflection has not been set") const owningModule = getOwningModule(context)
const set = referencedSymbols.get(context.program) const set = referencedSymbols.get(context.program)
symbolToActiveRefl.set(symbol, activeReflection) symbolToOwningModule.set(symbol, owningModule)
if (set) { if (set) {
set.add(symbol) set.add(symbol)
} else { } else {
@@ -84,9 +93,14 @@ export function load(app: Application) {
if (!app.options.getValue("enableInternalResolve")) { if (!app.options.getValue("enableInternalResolve")) {
return return
} }
if (refl.kindOf(ReflectionKind.Project | ReflectionKind.Module)) { // TypeDoc 0.26 doesn't fire EVENT_CREATE_DECLARATION for project
// We need to ensure the project has a program attached to it, so
// do that when the first declaration is created.
if (knownPrograms.size === 0) {
knownPrograms.set(refl.project, context.program)
}
if (refl.kindOf(ModuleLike)) {
knownPrograms.set(refl, context.program) knownPrograms.set(refl, context.program)
activeReflection = refl
} }
} }
) )
@@ -147,13 +161,11 @@ export function load(app: Application) {
} }
for (const mod of modules) { for (const mod of modules) {
activeReflection = mod
const program = knownPrograms.get(mod) const program = knownPrograms.get(mod)
if (!program) { if (!program) {
continue continue
} }
let missing = discoverMissingExports(context, program) let missing = discoverMissingExports(mod, context, program)
if (!missing || !missing.size) { if (!missing || !missing.size) {
continue continue
} }
@@ -178,7 +190,7 @@ export function load(app: Application) {
tried.add(s) tried.add(s)
} }
missing = discoverMissingExports(context, program) missing = discoverMissingExports(mod, context, program)
for (const s of tried) { for (const s of tried) {
missing.delete(s) missing.delete(s)
} }
@@ -192,9 +204,11 @@ export function load(app: Application) {
} }
}) })
// All the missing symbols were excluded, so get rid of our namespace. if (
if (internalNs && !internalNs.children?.length) { internalContext.scope[InternalModule] &&
context.project.removeReflection(internalNs) !(internalContext.scope as ContainerReflection).children?.length
) {
context.project.removeReflection(internalContext.scope)
} }
context.setActiveProgram(void 0) context.setActiveProgram(void 0)
@@ -202,21 +216,34 @@ export function load(app: Application) {
knownPrograms.clear() knownPrograms.clear()
referencedSymbols.clear() referencedSymbols.clear()
symbolToActiveRefl.clear()
}, },
void 0, void 0
1e9
) )
app.converter.on(Converter.EVENT_END, () => { app.converter.on(Converter.EVENT_END, () => {
ReferenceType.createSymbolReference = origCreateSymbolReference ReferenceType.createSymbolReference = origCreateSymbolReference
activeReflection = undefined
referencedSymbols = new Map() referencedSymbols = new Map()
symbolToActiveRefl = new Map() symbolToOwningModule = new Map()
knownPrograms = new Map() knownPrograms = new Map()
checkedVariableSymbols = false checkedVariableSymbols = false
}) })
} }
function getOwningModule(context: Context): Reflection {
let refl = context.scope
// Go up the reflection hierarchy until we get to a module
while (!refl.kindOf(ModuleLike)) {
refl = refl.parent!
}
// The <internal> module cannot be an owning module.
if (refl[InternalModule]) {
return refl.parent!
}
return refl
}
function shouldConvertSymbol(symbol: ts.Symbol, checker: ts.TypeChecker) { function shouldConvertSymbol(symbol: ts.Symbol, checker: ts.TypeChecker) {
while (symbol.flags & ts.SymbolFlags.Alias) { while (symbol.flags & ts.SymbolFlags.Alias) {
symbol = checker.getAliasedSymbol(symbol) symbol = checker.getAliasedSymbol(symbol)
@@ -18,13 +18,14 @@
"lint": "eslint --ext .ts src" "lint": "eslint --ext .ts src"
}, },
"peerDependencies": { "peerDependencies": {
"typedoc": "0.25.x" "typedoc": "0.26.x"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^16.11.10", "@types/node": "^16.11.10",
"copyfiles": "^2.4.1", "copyfiles": "^2.4.1",
"typedoc": "^0.26.2",
"types": "*", "types": "*",
"typescript": "5.2" "typescript": "5.5"
}, },
"keywords": [ "keywords": [
"typedocplugin", "typedocplugin",
@@ -94,7 +94,7 @@ export function registerPartials() {
export function registerHelpers(theme: MarkdownTheme) { export function registerHelpers(theme: MarkdownTheme) {
breadcrumbsHelper(theme) breadcrumbsHelper(theme)
commentHelper(theme) commentHelper()
commentsHelper() commentsHelper()
declarationTitleHelper(theme) declarationTitleHelper(theme)
escapeHelper() escapeHelper()
@@ -1,11 +1,9 @@
import * as fs from "fs" import * as fs from "fs"
import * as Handlebars from "handlebars" import * as Handlebars from "handlebars"
import * as Path from "path"
import { CommentDisplayPart } from "typedoc/dist/lib/models/comments/comment" import { CommentDisplayPart } from "typedoc/dist/lib/models/comments/comment"
import { MarkdownTheme } from "../../theme"
import { escapeChars } from "utils" import { escapeChars } from "utils"
export default function (theme: MarkdownTheme) { export default function () {
Handlebars.registerHelper("comment", function (parts: CommentDisplayPart[]) { Handlebars.registerHelper("comment", function (parts: CommentDisplayPart[]) {
const result: string[] = [] const result: string[] = []
for (const part of parts) { for (const part of parts) {
@@ -51,43 +49,10 @@ export default function (theme: MarkdownTheme) {
} }
} }
return parseMarkdown(result.join(""), theme) return result.join("")
}) })
} }
function parseMarkdown(text: string, theme: MarkdownTheme) {
const includePattern = /\[\[include:([^\]]+?)\]\]/g
const mediaPattern = /media:\/\/([^ ")\]}]+)/g
if (theme.includes) {
text = text.replace(includePattern, (_match, path) => {
path = Path.join(theme.includes!, path.trim())
if (fs.existsSync(path) && fs.statSync(path).isFile()) {
const contents = readFile(path)
return contents
} else {
theme.application.logger.warn("Could not find file to include: " + path)
return ""
}
})
}
if (theme.mediaDirectory) {
text = text.replace(mediaPattern, (match: string, path: string) => {
const fileName = Path.join(theme.mediaDirectory!, path)
if (fs.existsSync(fileName) && fs.statSync(fileName).isFile()) {
return Handlebars.helpers.relativeURL("media") + "/" + path
} else {
theme.application.logger.warn("Could not find media file: " + fileName)
return match
}
})
}
return text
}
/** /**
* Load the given file and return its contents. * Load the given file and return its contents.
* *
@@ -34,8 +34,11 @@ export default function (theme: MarkdownTheme) {
) )
} }
if (this.flags && this.flags.length > 0 && !this.flags.isRest) { const flags = this.flags.getFlagStrings(
md.push(" " + this.flags.map((flag) => `\`${flag}\``).join(" ")) theme.application.internationalization
)
if (flags.length > 0 && !this.flags.isRest) {
md.push(" " + flags.map((flag) => `\`${flag}\``).join(" "))
} }
md.push( md.push(
`${this.flags.isRest ? "... " : ""} **${escapeChars(this.name)}**` `${this.flags.isRest ? "... " : ""} **${escapeChars(this.name)}**`
@@ -38,8 +38,11 @@ export default function (theme: MarkdownTheme) {
md.push(`${memberSymbol(this)} `) md.push(`${memberSymbol(this)} `)
} }
if (this.parent && this.parent.flags?.length > 0) { const parentFlags = this.parent.flags.getFlagStrings(
md.push(this.parent.flags.join(" ") + " ") theme.application.internationalization
)
if (this.parent && parentFlags.length > 0) {
md.push(parentFlags.join(" ") + " ")
} }
if (accessor) { if (accessor) {
@@ -38,9 +38,7 @@ export class MarkdownTheme extends Theme {
hideInPageTOC!: boolean hideInPageTOC!: boolean
hidePageTitle!: boolean hidePageTitle!: boolean
hideMembersSymbol!: boolean hideMembersSymbol!: boolean
includes!: string
indexTitle!: string indexTitle!: string
mediaDirectory!: string
namedAnchors!: boolean namedAnchors!: boolean
readme!: string readme!: string
out!: string out!: string
@@ -77,9 +75,7 @@ export class MarkdownTheme extends Theme {
this.hideInPageTOC = this.getOption("hideInPageTOC") as boolean this.hideInPageTOC = this.getOption("hideInPageTOC") as boolean
this.hidePageTitle = this.getOption("hidePageTitle") as boolean this.hidePageTitle = this.getOption("hidePageTitle") as boolean
this.hideMembersSymbol = this.getOption("hideMembersSymbol") as boolean this.hideMembersSymbol = this.getOption("hideMembersSymbol") as boolean
this.includes = this.getOption("includes") as string
this.indexTitle = this.getOption("indexTitle") as string this.indexTitle = this.getOption("indexTitle") as string
this.mediaDirectory = this.getOption("media") as string
this.namedAnchors = this.getOption("namedAnchors") as boolean this.namedAnchors = this.getOption("namedAnchors") as boolean
this.readme = this.getOption("readme") as string this.readme = this.getOption("readme") as string
this.out = this.getOption("out") as string this.out = this.getOption("out") as string
@@ -98,13 +94,11 @@ export class MarkdownTheme extends Theme {
this.outputModules = this.getOption("outputModules") as boolean this.outputModules = this.getOption("outputModules") as boolean
MarkdownTheme.MAX_LEVEL = this.getOption("maxLevel") as number MarkdownTheme.MAX_LEVEL = this.getOption("maxLevel") as number
this.listenTo(this.owner, {
[RendererEvent.BEGIN]: this.onBeginRenderer,
[PageEvent.BEGIN]: this.onBeginPage,
})
registerPartials() registerPartials()
registerHelpers(this) registerHelpers(this)
renderer.on(RendererEvent.BEGIN, this.onBeginRenderer.bind(this))
renderer.on(PageEvent.BEGIN, this.onBeginPage.bind(this))
} }
render( render(
+4 -2
View File
@@ -120,11 +120,13 @@ export declare module "typedoc" {
*/ */
hideBreadcrumbs: boolean hideBreadcrumbs: boolean
/** /**
* [Markdown Plugin] Specifies the base path that all links to be served from. If omitted all urls will be relative. * [Markdown Plugin] Specifies the base path that all links to be served from.
* If omitted all urls will be relative.
*/ */
publicPath: string publicPath: string
/** /**
* [Markdown Plugin] Use HTML named anchors as fragment identifiers for engines that do not automatically assign header ids. Should be set for Bitbucket Server docs. * [Markdown Plugin] Use HTML named anchors as fragment identifiers for engines
* that do not automatically assign header ids. Should be set for Bitbucket Server docs.
* @defaultValue false * @defaultValue false
*/ */
namedAnchors: boolean namedAnchors: boolean
+2 -2
View File
@@ -11,10 +11,10 @@
"lint": "eslint --ext .ts src" "lint": "eslint --ext .ts src"
}, },
"peerDependencies": { "peerDependencies": {
"typedoc": "0.25.x" "typedoc": "0.26.x"
}, },
"devDependencies": { "devDependencies": {
"typescript": "5.2" "typescript": "5.5"
}, },
"version": "0.0.0", "version": "0.0.0",
"main": "./lib/index.js", "main": "./lib/index.js",
+2 -2
View File
@@ -14,11 +14,11 @@
"clean": "rimraf dist" "clean": "rimraf dist"
}, },
"peerDependencies": { "peerDependencies": {
"typedoc": "0.25.x" "typedoc": "0.26.x"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^16.11.10", "@types/node": "^16.11.10",
"typescript": "5.2" "typescript": "5.5"
}, },
"dependencies": { "dependencies": {
"octokit": "^3.1.2", "octokit": "^3.1.2",
+2 -2
View File
@@ -187,9 +187,9 @@ export function getDeclarationType({
}: TypeOptions<DeclarationReflection>): string { }: TypeOptions<DeclarationReflection>): string {
escape = getShouldEscape(wrapBackticks, escape) escape = getShouldEscape(wrapBackticks, escape)
if (model.indexSignature || model.children) { if (model.indexSignatures || model.children) {
let indexSignature = "" let indexSignature = ""
const declarationIndexSignature = model.indexSignature const declarationIndexSignature = model.indexSignatures?.[0]
if (declarationIndexSignature) { if (declarationIndexSignature) {
const key = declarationIndexSignature.parameters const key = declarationIndexSignature.parameters
? declarationIndexSignature.parameters.map( ? declarationIndexSignature.parameters.map(
@@ -21,7 +21,7 @@
"@mermaid-js/mermaid-cli": "^10.6.1", "@mermaid-js/mermaid-cli": "^10.6.1",
"commander": "^11.1.0", "commander": "^11.1.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "5.2" "typescript": "5.5"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.9.4" "@types/node": "^20.9.4"
+113 -72
View File
@@ -1288,6 +1288,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@shikijs/core@npm:1.9.1":
version: 1.9.1
resolution: "@shikijs/core@npm:1.9.1"
checksum: 70523a0fc2e8d32da6f35e640c854cb3ae3cb7202bcab2f08c92b8925ea4b2c19ec6df55c5cfd50d586bc3a3a5156945db720962ed66a3e624c2ef241aebe6ce
languageName: node
linkType: hard
"@tsconfig/node10@npm:^1.0.7": "@tsconfig/node10@npm:^1.0.7":
version: 1.0.9 version: 1.0.9
resolution: "@tsconfig/node10@npm:1.0.9" resolution: "@tsconfig/node10@npm:1.0.9"
@@ -1723,13 +1730,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"ansi-sequence-parser@npm:^1.1.0":
version: 1.1.1
resolution: "ansi-sequence-parser@npm:1.1.1"
checksum: ab2259ccf69f145ecf1418d4e71524158828f44afdf37c7536677871f4cebaa8b176fcb95de8f94a68129357dddc59586597da25f9d4ebf9968f6ef022bf0b31
languageName: node
linkType: hard
"ansi-styles@npm:^3.2.1": "ansi-styles@npm:^3.2.1":
version: 3.2.1 version: 3.2.1
resolution: "ansi-styles@npm:3.2.1" resolution: "ansi-styles@npm:3.2.1"
@@ -2360,7 +2360,7 @@ __metadata:
pluralize: ^8.0.0 pluralize: ^8.0.0
prettier: ^3.2.4 prettier: ^3.2.4
ts-node: ^10.9.1 ts-node: ^10.9.1
typescript: 5.2 typescript: 5.5
utils: "*" utils: "*"
yaml: ^2.3.4 yaml: ^2.3.4
languageName: unknown languageName: unknown
@@ -2465,6 +2465,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"entities@npm:^4.4.0":
version: 4.5.0
resolution: "entities@npm:4.5.0"
checksum: 5b039739f7621f5d1ad996715e53d964035f75ad3b9a4d38c6b3804bb226e282ffeae2443624d8fdd9c47d8e926ae9ac009c54671243f0c3294c26af7cc85250
languageName: node
linkType: hard
"error-ex@npm:^1.3.1": "error-ex@npm:^1.3.1":
version: 1.3.2 version: 1.3.2
resolution: "error-ex@npm:1.3.2" resolution: "error-ex@npm:1.3.2"
@@ -3480,13 +3487,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"jsonc-parser@npm:^3.2.0":
version: 3.2.0
resolution: "jsonc-parser@npm:3.2.0"
checksum: 5a12d4d04dad381852476872a29dcee03a57439574e4181d91dca71904fcdcc5e8e4706c0a68a2c61ad9810e1e1c5806b5100d52d3e727b78f5cdc595401045b
languageName: node
linkType: hard
"jsonfile@npm:^6.0.1": "jsonfile@npm:^6.0.1":
version: 6.1.0 version: 6.1.0
resolution: "jsonfile@npm:6.1.0" resolution: "jsonfile@npm:6.1.0"
@@ -3643,6 +3643,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"linkify-it@npm:^5.0.0":
version: 5.0.0
resolution: "linkify-it@npm:5.0.0"
dependencies:
uc.micro: ^2.0.0
checksum: ff4abbcdfa2003472fc3eb4b8e60905ec97718e11e33cca52059919a4c80cc0e0c2a14d23e23d8c00e5402bc5a885cdba8ca053a11483ab3cc8b3c7a52f88e2d
languageName: node
linkType: hard
"locate-path@npm:^6.0.0": "locate-path@npm:^6.0.0":
version: 6.0.0 version: 6.0.0
resolution: "locate-path@npm:6.0.0" resolution: "locate-path@npm:6.0.0"
@@ -3770,12 +3779,19 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"marked@npm:^4.3.0": "markdown-it@npm:^14.1.0":
version: 4.3.0 version: 14.1.0
resolution: "marked@npm:4.3.0" resolution: "markdown-it@npm:14.1.0"
dependencies:
argparse: ^2.0.1
entities: ^4.4.0
linkify-it: ^5.0.0
mdurl: ^2.0.0
punycode.js: ^2.3.1
uc.micro: ^2.1.0
bin: bin:
marked: bin/marked.js markdown-it: bin/markdown-it.mjs
checksum: 0013463855e31b9c88d8bb2891a611d10ef1dc79f2e3cbff1bf71ba389e04c5971298c886af0be799d7fa9aa4593b086a136062d59f1210b0480b026a8c5dc47 checksum: 9a6bb444181d2db7016a4173ae56a95a62c84d4cbfb6916a399b11d3e6581bf1cc2e4e1d07a2f022ae72c25f56db90fbe1e529fca16fbf9541659dc53480d4b4
languageName: node languageName: node
linkType: hard linkType: hard
@@ -3790,6 +3806,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"mdurl@npm:^2.0.0":
version: 2.0.0
resolution: "mdurl@npm:2.0.0"
checksum: 633db522272f75ce4788440669137c77540d74a83e9015666a9557a152c02e245b192edc20bc90ae953bbab727503994a53b236b4d9c99bdaee594d0e7dd2ce0
languageName: node
linkType: hard
"merge-stream@npm:^2.0.0": "merge-stream@npm:^2.0.0":
version: 2.0.0 version: 2.0.0
resolution: "merge-stream@npm:2.0.0" resolution: "merge-stream@npm:2.0.0"
@@ -3885,6 +3908,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"minimatch@npm:^9.0.4":
version: 9.0.5
resolution: "minimatch@npm:9.0.5"
dependencies:
brace-expansion: ^2.0.1
checksum: de96cf5e35bdf0eab3e2c853522f98ffbe9a36c37797778d2665231ec1f20a9447a7e567cb640901f89e4daaa95ae5d70c65a9e8aa2bb0019b6facbc3c0575ed
languageName: node
linkType: hard
"minimist@npm:^1.2.5": "minimist@npm:^1.2.5":
version: 1.2.8 version: 1.2.8
resolution: "minimist@npm:1.2.8" resolution: "minimist@npm:1.2.8"
@@ -4486,6 +4518,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"punycode.js@npm:^2.3.1":
version: 2.3.1
resolution: "punycode.js@npm:2.3.1"
checksum: 1d12c1c0e06127fa5db56bd7fdf698daf9a78104456a6b67326877afc21feaa821257b171539caedd2f0524027fa38e67b13dd094159c8d70b6d26d2bea4dfdb
languageName: node
linkType: hard
"punycode@npm:^2.1.0": "punycode@npm:^2.1.0":
version: 2.3.1 version: 2.3.1
resolution: "punycode@npm:2.3.1" resolution: "punycode@npm:2.3.1"
@@ -4574,9 +4613,9 @@ __metadata:
react-docgen: ^7.0.1 react-docgen: ^7.0.1
resolve: ^1.22.8 resolve: ^1.22.8
ts-node: ^10.9.1 ts-node: ^10.9.1
typedoc: ^0.25.12 typedoc: ^0.26.2
typedoc-plugin-custom: "*" typedoc-plugin-custom: "*"
typescript: 5.2 typescript: 5.5
utils: "*" utils: "*"
peerDependencies: peerDependencies:
typedoc: 0.25.x typedoc: 0.25.x
@@ -4780,7 +4819,7 @@ __metadata:
glob: ^10.3.10 glob: ^10.3.10
randomcolor: ^0.6.2 randomcolor: ^0.6.2
ts-node: ^10.9.1 ts-node: ^10.9.1
typescript: 5.2 typescript: 5.5
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -4820,15 +4859,12 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"shiki@npm:^0.14.7": "shiki@npm:^1.9.0":
version: 0.14.7 version: 1.9.1
resolution: "shiki@npm:0.14.7" resolution: "shiki@npm:1.9.1"
dependencies: dependencies:
ansi-sequence-parser: ^1.1.0 "@shikijs/core": 1.9.1
jsonc-parser: ^3.2.0 checksum: a9d58279a015f6ab9c2a849d90c23545062f15d6e18d4402f463c41fc7d51992d1d478f9d43b33bf1c1310d56cc0caee90d25a42e4453d4e522166b41409956e
vscode-oniguruma: ^1.7.0
vscode-textmate: ^8.0.0
checksum: 5c7fcbb870d0facccc7ae2f3410a28121f8e0b3f298e4e956de817ad6ab60a4c7e20a9184edfe50a93447addbb88b95b69e6ef88ac16ac6ca3e94c50771a6459
languageName: node languageName: node
linkType: hard linkType: hard
@@ -5289,15 +5325,16 @@ __metadata:
dotenv: ^16.3.1 dotenv: ^16.3.1
randomcolor: ^0.6.2 randomcolor: ^0.6.2
ts-node: ^10.9.1 ts-node: ^10.9.1
typedoc: ^0.26.2
typedoc-plugin-custom: "*" typedoc-plugin-custom: "*"
typedoc-plugin-markdown-medusa: "*" typedoc-plugin-markdown-medusa: "*"
typedoc-plugin-rename-defaults: ^0.7.0 typedoc-plugin-rename-defaults: ^0.7.0
types: "*" types: "*"
typescript: 5.2 typescript: 5.5
utils: "*" utils: "*"
yaml: ^2.3.4 yaml: ^2.3.4
peerDependencies: peerDependencies:
typedoc: 0.25.x typedoc: 0.26.x
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -5309,11 +5346,11 @@ __metadata:
"@types/node": ^16.11.10 "@types/node": ^16.11.10
eslint: ^8.53.0 eslint: ^8.53.0
glob: ^10.3.10 glob: ^10.3.10
typescript: 5.2 typescript: 5.5
utils: "*" utils: "*"
yaml: ^2.3.3 yaml: ^2.3.3
peerDependencies: peerDependencies:
typedoc: 0.25.x typedoc: 0.26.x
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -5324,11 +5361,12 @@ __metadata:
"@types/node": ^16.11.10 "@types/node": ^16.11.10
copyfiles: ^2.4.1 copyfiles: ^2.4.1
handlebars: ^4.7.8 handlebars: ^4.7.8
typedoc: ^0.26.2
types: "*" types: "*"
typescript: 5.2 typescript: 5.5
utils: "*" utils: "*"
peerDependencies: peerDependencies:
typedoc: 0.25.x typedoc: 0.26.x
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -5343,19 +5381,20 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"typedoc@npm:^0.25.12": "typedoc@npm:^0.26.2":
version: 0.25.12 version: 0.26.2
resolution: "typedoc@npm:0.25.12" resolution: "typedoc@npm:0.26.2"
dependencies: dependencies:
lunr: ^2.3.9 lunr: ^2.3.9
marked: ^4.3.0 markdown-it: ^14.1.0
minimatch: ^9.0.3 minimatch: ^9.0.4
shiki: ^0.14.7 shiki: ^1.9.0
yaml: ^2.4.5
peerDependencies: peerDependencies:
typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x
bin: bin:
typedoc: bin/typedoc typedoc: bin/typedoc
checksum: 35157a90954ed67243bc1ad430781de381431959c62e24f8a8688c4ebae62c2ee11d404002dfd43a0df3bf96721d94fce928423fe1f91f1ed40c99f29c5276aa checksum: ef4d89d550c26f09a30f4eeb33ffd02a0ee6386f98b879a60cf0366aa4f0106951155b8e9e0c2d2a47df654f358bb71cd7d9cd603b8a6ba0e62285b14474797c
languageName: node languageName: node
linkType: hard linkType: hard
@@ -5363,29 +5402,36 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "types@workspace:packages/types" resolution: "types@workspace:packages/types"
dependencies: dependencies:
typescript: 5.2 typescript: 5.5
peerDependencies: peerDependencies:
typedoc: 0.25.x typedoc: 0.26.x
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"typescript@npm:5.2": "typescript@npm:5.5":
version: 5.2.2 version: 5.5.2
resolution: "typescript@npm:5.2.2" resolution: "typescript@npm:5.5.2"
bin: bin:
tsc: bin/tsc tsc: bin/tsc
tsserver: bin/tsserver tsserver: bin/tsserver
checksum: 91ae3e6193d0ddb8656d4c418a033f0f75dec5e077ebbc2bd6d76439b93f35683936ee1bdc0e9cf94ec76863aa49f27159b5788219b50e1cd0cd6d110aa34b07 checksum: 8ca39b27b5f9bd7f32db795045933ab5247897660627251e8254180b792a395bf061ea7231947d5d7ffa5cb4cc771970fd4ef543275f9b559f08c9325cccfce3
languageName: node languageName: node
linkType: hard linkType: hard
"typescript@patch:typescript@5.2#~builtin<compat/typescript>": "typescript@patch:typescript@5.5#~builtin<compat/typescript>":
version: 5.2.2 version: 5.5.2
resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin<compat/typescript>::version=5.2.2&hash=7ad353" resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin<compat/typescript>::version=5.5.2&hash=7ad353"
bin: bin:
tsc: bin/tsc tsc: bin/tsc
tsserver: bin/tsserver tsserver: bin/tsserver
checksum: 303979762f9b8932c53f8149e866521a1265168b5c0fde8cc8ad83ac3d0e8ede8096cb02dff5f2de048e7f118a6f61902f81da12d5972c7fb582f09f2f18d169 checksum: 6721ac8933a70c252d7b640b345792e103d881811ff660355617c1836526dbb71c2044e2e77a8823fb3570b469f33276875a4cab6d3c4de4ae7d7ee1c3074ae4
languageName: node
linkType: hard
"uc.micro@npm:^2.0.0, uc.micro@npm:^2.1.0":
version: 2.1.0
resolution: "uc.micro@npm:2.1.0"
checksum: 8862eddb412dda76f15db8ad1c640ccc2f47cdf8252a4a30be908d535602c8d33f9855dfcccb8b8837855c1ce1eaa563f7fa7ebe3c98fd0794351aab9b9c55fa
languageName: node languageName: node
linkType: hard linkType: hard
@@ -5522,9 +5568,9 @@ __metadata:
"@types/node": ^16.11.10 "@types/node": ^16.11.10
octokit: ^3.1.2 octokit: ^3.1.2
rimraf: ^5.0.5 rimraf: ^5.0.5
typescript: 5.2 typescript: 5.5
peerDependencies: peerDependencies:
typedoc: 0.25.x typedoc: 0.26.x
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -5551,20 +5597,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"vscode-oniguruma@npm:^1.7.0":
version: 1.7.0
resolution: "vscode-oniguruma@npm:1.7.0"
checksum: bef0073c665ddf8c86e51da94529c905856559e9aba97a9882f951acd572da560384775941ab6e7e8db94d9c578b25fefb951e4b73c37e8712e16b0231de2689
languageName: node
linkType: hard
"vscode-textmate@npm:^8.0.0":
version: 8.0.0
resolution: "vscode-textmate@npm:8.0.0"
checksum: 836f7fe73fc94998a38ca193df48173a2b6eab08b4943d83c8cac9a2a0c3546cfdab4cf1b10b890ec4a4374c5bee03a885ef0e83e7fd2bd618cf00781c017c04
languageName: node
linkType: hard
"web-streams-polyfill@npm:4.0.0-beta.3": "web-streams-polyfill@npm:4.0.0-beta.3":
version: 4.0.0-beta.3 version: 4.0.0-beta.3
resolution: "web-streams-polyfill@npm:4.0.0-beta.3" resolution: "web-streams-polyfill@npm:4.0.0-beta.3"
@@ -5623,7 +5655,7 @@ __metadata:
"@types/node": ^20.9.4 "@types/node": ^20.9.4
commander: ^11.1.0 commander: ^11.1.0
ts-node: ^10.9.1 ts-node: ^10.9.1
typescript: 5.2 typescript: 5.5
bin: bin:
workflow-diagrams-generator: dist/index.js workflow-diagrams-generator: dist/index.js
languageName: unknown languageName: unknown
@@ -5708,6 +5740,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"yaml@npm:^2.4.5":
version: 2.4.5
resolution: "yaml@npm:2.4.5"
bin:
yaml: bin.mjs
checksum: e1ee78b381e5c710f715cc4082fd10fc82f7f5c92bd6f075771d20559e175616f56abf1c411f545ea0e9e16e4f84a83a50b42764af5f16ec006328ba9476bb31
languageName: node
linkType: hard
"yargs-parser@npm:^20.2.2": "yargs-parser@npm:^20.2.2":
version: 20.2.9 version: 20.2.9
resolution: "yargs-parser@npm:20.2.9" resolution: "yargs-parser@npm:20.2.9"