@communecter/cocolight-api-client 1.0.55 → 1.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/api/BaseEntity.ts +0 -7
- package/src/api/EntityRegistry.ts +0 -5
package/package.json
CHANGED
package/src/api/BaseEntity.ts
CHANGED
|
@@ -1683,11 +1683,6 @@ export class BaseEntity<TServerData = any> {
|
|
|
1683
1683
|
const selfClass = this.constructor;
|
|
1684
1684
|
const selfTag = this.__entityTag;
|
|
1685
1685
|
|
|
1686
|
-
console.log("=== BaseEntity._getEntityMeta DEBUG ===");
|
|
1687
|
-
console.log("selfTag:", selfTag);
|
|
1688
|
-
console.log("entityType:", entityType);
|
|
1689
|
-
console.log("this.deps.Comment:", this.deps.Comment);
|
|
1690
|
-
|
|
1691
1686
|
const commonDeps = {
|
|
1692
1687
|
EndpointApi: this.deps.EndpointApi,
|
|
1693
1688
|
User: selfTag === "User" ? selfClass : this.deps.User,
|
|
@@ -1700,8 +1695,6 @@ export class BaseEntity<TServerData = any> {
|
|
|
1700
1695
|
Comment: selfTag === "Comment" ? selfClass : this.deps.Comment,
|
|
1701
1696
|
};
|
|
1702
1697
|
|
|
1703
|
-
console.log("commonDeps.Comment:", commonDeps.Comment);
|
|
1704
|
-
|
|
1705
1698
|
const map = {
|
|
1706
1699
|
citoyens: { entityClass: commonDeps.User, deps: commonDeps },
|
|
1707
1700
|
organizations:{ entityClass: commonDeps.Organization, deps: commonDeps },
|
|
@@ -76,11 +76,6 @@ function _getEntityMeta(entityType: CollectionKey, __entityTag: EntityTag): Enti
|
|
|
76
76
|
const selfClass = EntityRegistry.get(__entityTag);
|
|
77
77
|
const selfTag = __entityTag;
|
|
78
78
|
|
|
79
|
-
console.log("=== _getEntityMeta DEBUG ===");
|
|
80
|
-
console.log("entityType:", entityType);
|
|
81
|
-
console.log("__entityTag:", __entityTag);
|
|
82
|
-
console.log("EntityRegistry.get('Comment'):", EntityRegistry.get("Comment"));
|
|
83
|
-
|
|
84
79
|
const commonDeps: EntityDeps = {
|
|
85
80
|
EndpointApi: EntityRegistry.get("EndpointApi"),
|
|
86
81
|
User: selfTag === "User" ? selfClass : EntityRegistry.get("User"),
|