@happyvertical/smrt-core 0.45.3 → 0.47.0
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/AGENTS.md +39 -0
- package/agents/generators.md +0 -1
- package/dist/browser.d.ts +2 -1
- package/dist/browser.d.ts.map +1 -1
- package/dist/decorators/compatibility.d.ts +46 -0
- package/dist/decorators/compatibility.d.ts.map +1 -1
- package/dist/decorators/compatibility.js +48 -5
- package/dist/decorators/compatibility.js.map +1 -1
- package/dist/decorators/index.d.ts +119 -1
- package/dist/decorators/index.d.ts.map +1 -1
- package/dist/decorators/index.js +52 -8
- package/dist/decorators/index.js.map +1 -1
- package/dist/embedded-write-queue.d.ts.map +1 -1
- package/dist/embedded-write-queue.js +20 -1
- package/dist/embedded-write-queue.js.map +1 -1
- package/dist/generators/custom-action.d.ts +450 -41
- package/dist/generators/custom-action.d.ts.map +1 -1
- package/dist/generators/custom-action.js +765 -56
- package/dist/generators/custom-action.js.map +1 -1
- package/dist/generators/index.d.ts +1 -3
- package/dist/generators/index.d.ts.map +1 -1
- package/dist/generators/index.js +3 -4
- package/dist/generators/mcp.d.ts.map +1 -1
- package/dist/generators/mcp.js +1 -1
- package/dist/generators/mcp.js.map +1 -1
- package/dist/generators/preflight-route.d.ts +12 -10
- package/dist/generators/preflight-route.d.ts.map +1 -1
- package/dist/generators/preflight-route.js +46 -14
- package/dist/generators/preflight-route.js.map +1 -1
- package/dist/generators/rest.d.ts +44 -0
- package/dist/generators/rest.d.ts.map +1 -1
- package/dist/generators/rest.js +84 -9
- package/dist/generators/rest.js.map +1 -1
- package/dist/generators/tenant-gate.d.ts +33 -9
- package/dist/generators/tenant-gate.d.ts.map +1 -1
- package/dist/generators/tenant-gate.js +2 -1
- package/dist/generators/tenant-gate.js.map +1 -1
- package/dist/generators.js +3 -4
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/knowledge.js +87 -31
- package/dist/knowledge.js.map +1 -1
- package/dist/manifest/static-manifest.d.ts.map +1 -1
- package/dist/manifest/static-manifest.js +125 -53
- package/dist/manifest/static-manifest.js.map +1 -1
- package/dist/manifest/store.js +1 -1
- package/dist/manifest/store.js.map +1 -1
- package/dist/manifest.json +184 -53
- package/dist/migrations/framework-base-tables.d.ts +148 -0
- package/dist/migrations/framework-base-tables.d.ts.map +1 -0
- package/dist/migrations/framework-base-tables.js +419 -0
- package/dist/migrations/framework-base-tables.js.map +1 -0
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +2 -1
- package/dist/migrations.js +2 -1
- package/dist/postgres-permissions.d.ts +45 -0
- package/dist/postgres-permissions.d.ts.map +1 -0
- package/dist/postgres-permissions.js +424 -0
- package/dist/postgres-permissions.js.map +1 -0
- package/dist/registry/framework-base-classes.d.ts.map +1 -1
- package/dist/registry/framework-base-classes.js +4 -1
- package/dist/registry/framework-base-classes.js.map +1 -1
- package/dist/registry/index.d.ts +1 -1
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/shared-state.d.ts +19 -0
- package/dist/registry/shared-state.d.ts.map +1 -1
- package/dist/registry/shared-state.js +16 -1
- package/dist/registry/shared-state.js.map +1 -1
- package/dist/registry.d.ts +136 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +231 -1
- package/dist/registry.js.map +1 -1
- package/dist/scanner/manifest-generator.d.ts.map +1 -1
- package/dist/scanner/manifest-generator.js +18 -16
- package/dist/scanner/manifest-generator.js.map +1 -1
- package/dist/scanner/types.d.ts +59 -6
- package/dist/scanner/types.d.ts.map +1 -1
- package/dist/scanner/types.js.map +1 -1
- package/dist/scripts/create-wrappers.js +0 -5
- package/dist/smrt-knowledge.json +35 -35
- package/dist/testing/database.d.ts +6 -1
- package/dist/testing/database.d.ts.map +1 -1
- package/dist/testing/database.js +9 -1
- package/dist/testing/database.js.map +1 -1
- package/dist/vite-plugin/api-client-entries.d.ts.map +1 -1
- package/dist/vite-plugin/api-client-entries.js +23 -19
- package/dist/vite-plugin/api-client-entries.js.map +1 -1
- package/dist/vite-plugin/index.d.ts.map +1 -1
- package/dist/vite-plugin/index.js +3 -167
- package/dist/vite-plugin/index.js.map +1 -1
- package/dist/vite-plugin/sveltekit-generator.d.ts +31 -4
- package/dist/vite-plugin/sveltekit-generator.d.ts.map +1 -1
- package/dist/vite-plugin/sveltekit-generator.js +137 -71
- package/dist/vite-plugin/sveltekit-generator.js.map +1 -1
- package/dist/vite-plugin/templates/default-ui.ts +22 -1
- package/dist/vite-plugin/web-collections.d.ts.map +1 -1
- package/dist/vite-plugin/web-collections.js +1 -1
- package/dist/vite-plugin/web-collections.js.map +1 -1
- package/package.json +10 -10
- package/dist/generators/cli.d.ts +0 -155
- package/dist/generators/cli.d.ts.map +0 -1
- package/dist/generators/cli.js +0 -473
- package/dist/generators/cli.js.map +0 -1
package/dist/registry.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAIH,OAAO,EACL,cAAc,EAEd,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAUhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAS3C,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAC;AA8DhC,OAAO,KAAK,EACV,e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chemaColumns, discoverCachedManifestSync, getNodeBuiltins
|
|
|
8
8
|
import { getDefaultCompositeSource } from "./manifest/sources/composite.js";
|
|
9
9
|
import { ExplicitPathsManifestSource } from "./manifest/sources/explicit-paths.js";
|
|
10
10
|
import { LRUCache } from "./utils/lru-cache.js";
|
|
11
|
-
import { getClasses, getCollectionCache, getCollectionTableNames, getCollections, getDbInstanceIds, getDiscoveryAttemptCache, getFieldDecorators, getInheritanceCache, getNextDbId, getStiSiblingsLoaded, setNextDbId, verboseLog } from "./registry/shared-state.js";
|
|
11
|
+
import { getClasses, getCollectionCache, getCollectionTableNames, getCollections, getDbInstanceIds, getDiscoveryAttemptCache, getFieldDecorators, getInheritanceCache, getMethodDecorators, getNextDbId, getStiSiblingsLoaded, setNextDbId, verboseLog } from "./registry/shared-state.js";
|
|
12
12
|
import { findClass, findClassesByName, getAllClasses, getCanonicalClassName, getClass, getClassByConstructor, getClassByQualifiedName, getClassInPackage, getClassNames, getClassesByPackage, getClassesByVisibility, getPublicClasses, getQualifiedClassNames, hasClass, hasClassCaseInsensitive, resolveType } from "./registry/name-resolver.js";
|
|
13
13
|
import { getAllFields, getAllMethods, getInheritanceChain, mergeFieldConfigs } from "./registry/inheritance-resolver.js";
|
|
14
14
|
import { resolveCollectionCacheConfig } from "./registry/cache-config.js";
|
|
@@ -200,6 +200,19 @@ var ObjectRegistry = class ObjectRegistry {
|
|
|
200
200
|
return getFieldDecorators();
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
|
+
* Storage for `@method()` decorator metadata (#2686).
|
|
204
|
+
* Maps className → Map<methodName, MethodOptions>.
|
|
205
|
+
*
|
|
206
|
+
* The manifest is the primary carrier of this metadata for BUILD-time
|
|
207
|
+
* consumers (the scanner reads `@method()` into
|
|
208
|
+
* `MethodDefinition.decoratorConfig`); this store serves the runtime paths
|
|
209
|
+
* that have a live class but cannot reach a manifest entry for the method --
|
|
210
|
+
* see `resolveRuntimeMethodDecoratorConfig` for the two such cases.
|
|
211
|
+
*/
|
|
212
|
+
static get methodDecorators() {
|
|
213
|
+
return getMethodDecorators();
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
203
216
|
* Track collections that have been processed for STI siblings
|
|
204
217
|
* Prevents infinite recursion when loading siblings
|
|
205
218
|
*/
|
|
@@ -300,6 +313,222 @@ var ObjectRegistry = class ObjectRegistry {
|
|
|
300
313
|
return ObjectRegistry.fieldDecorators.get(className) || /* @__PURE__ */ new Map();
|
|
301
314
|
}
|
|
302
315
|
/**
|
|
316
|
+
* Register `@method()` decorator metadata, keyed by the decorated class's
|
|
317
|
+
* CONSTRUCTOR.
|
|
318
|
+
*
|
|
319
|
+
* Constructor identity, not simple name: two packages may legitimately
|
|
320
|
+
* declare a class with the same simple name (`Account` exists in both
|
|
321
|
+
* `smrt-ledgers` and `smrt-messages`), and the kernel forbids inferring
|
|
322
|
+
* ownership from simple names. A name-keyed store would let one package's
|
|
323
|
+
* `@method({ expose: false })` withhold the other's identically-named
|
|
324
|
+
* action -- silent, non-local, and invisible in the 404 it produces.
|
|
325
|
+
*
|
|
326
|
+
* Merges with any existing options for the same method, so repeated
|
|
327
|
+
* decoration (or HMR re-evaluation) accumulates rather than replacing --
|
|
328
|
+
* matching {@link registerFieldDecorator}.
|
|
329
|
+
*/
|
|
330
|
+
static registerMethodDecorator(ctor, methodName, options, isStatic = false) {
|
|
331
|
+
let classDecorators = ObjectRegistry.methodDecorators.get(ctor);
|
|
332
|
+
if (!classDecorators) {
|
|
333
|
+
classDecorators = /* @__PURE__ */ new Map();
|
|
334
|
+
ObjectRegistry.methodDecorators.set(ctor, classDecorators);
|
|
335
|
+
}
|
|
336
|
+
const existing = classDecorators.get(methodName);
|
|
337
|
+
classDecorators.set(methodName, {
|
|
338
|
+
options: existing ? {
|
|
339
|
+
...existing.options,
|
|
340
|
+
...options
|
|
341
|
+
} : options,
|
|
342
|
+
isStatic
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
/** `@method()` options for one method, or `undefined` when undecorated. */
|
|
346
|
+
static getMethodDecorator(ctor, methodName) {
|
|
347
|
+
return ObjectRegistry.getMethodDecoratorEntry(ctor, methodName)?.options;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* The stored `@method()` record, including the RECEIVER the decorator saw.
|
|
351
|
+
*
|
|
352
|
+
* `isStatic` cannot be recovered later in an unscanned runtime — there is no
|
|
353
|
+
* manifest to read it from — and it is what tells the standalone REST
|
|
354
|
+
* transport whether it can host the action at all (#2686).
|
|
355
|
+
*/
|
|
356
|
+
static getMethodDecoratorEntry(ctor, methodName) {
|
|
357
|
+
return ctor ? ObjectRegistry.methodDecorators.get(ctor)?.get(methodName) : void 0;
|
|
358
|
+
}
|
|
359
|
+
/** All `@method()` options declared on a class, keyed by method name. */
|
|
360
|
+
static getMethodDecorators(ctor) {
|
|
361
|
+
const stored = ctor ? ObjectRegistry.methodDecorators.get(ctor) : void 0;
|
|
362
|
+
return new Map([...stored ?? []].map(([name, record]) => [name, record.options]));
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Constructors whose `@method()` decorators can govern `objectName`'s runtime
|
|
366
|
+
* REST surface: the model itself and its registered collection class, which
|
|
367
|
+
* is where a collection-hosted custom action's decorator actually lands.
|
|
368
|
+
*
|
|
369
|
+
* Resolved through the registry's own qualified-name-safe lookups, so a
|
|
370
|
+
* simple name never decides ownership.
|
|
371
|
+
*/
|
|
372
|
+
static methodDecoratorSources(objectName) {
|
|
373
|
+
const sources = [];
|
|
374
|
+
const registered = ObjectRegistry.getClass(objectName);
|
|
375
|
+
if (registered?.constructor) sources.push(registered.constructor);
|
|
376
|
+
const canonical = ObjectRegistry.getCanonicalClassName(objectName) ?? objectName;
|
|
377
|
+
for (const key of /* @__PURE__ */ new Set([
|
|
378
|
+
objectName,
|
|
379
|
+
canonical,
|
|
380
|
+
registered?.name
|
|
381
|
+
])) {
|
|
382
|
+
const collectionConstructor = key ? ObjectRegistry.collections.get(key) : void 0;
|
|
383
|
+
if (collectionConstructor && !sources.includes(collectionConstructor)) sources.push(collectionConstructor);
|
|
384
|
+
}
|
|
385
|
+
return sources;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* The `@method()` config a RUNTIME transport must honor for
|
|
389
|
+
* `objectName.methodName`.
|
|
390
|
+
*
|
|
391
|
+
* The manifest is the primary carrier, but it is not always reachable from
|
|
392
|
+
* here. Two cases need the live store:
|
|
393
|
+
*
|
|
394
|
+
* - `startRestServer([Product], { db })` is a supported posture with NO
|
|
395
|
+
* manifest at all: `getMethods()` is empty while the decorators did run, so
|
|
396
|
+
* reading only the manifest drops `@method({ expose: false })` while a
|
|
397
|
+
* legacy `api.routes` entry alone still routes the withheld action.
|
|
398
|
+
* - A COLLECTION-hosted action's manifest entry lives under the collection
|
|
399
|
+
* class, which the item-keyed `getMethods(objectName)` map never contains,
|
|
400
|
+
* even in a fully scanned project.
|
|
401
|
+
*
|
|
402
|
+
* Absent exposure metadata defaults OPEN in this framework, so either drop is
|
|
403
|
+
* a widening (#2686).
|
|
404
|
+
*/
|
|
405
|
+
static resolveRuntimeMethodDecoratorConfig(objectName, methodName) {
|
|
406
|
+
return ObjectRegistry.resolveRuntimeMethod(objectName, methodName).method?.decoratorConfig;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Whether the standalone REST transport can HOST `objectName.methodName`.
|
|
410
|
+
*
|
|
411
|
+
* That transport serves only collection-scoped custom actions: an instance
|
|
412
|
+
* method on the collection class, or a static on the item class. An instance
|
|
413
|
+
* method on the MODEL is item-scoped and has no receiver there, and the
|
|
414
|
+
* browser-plane preflight prediction has to agree with dispatch about that,
|
|
415
|
+
* or it reports a runnable step for an action that answers 404 (#2686).
|
|
416
|
+
*
|
|
417
|
+
* Resolution mirrors {@link resolveRuntimeMethodDecoratorConfig}: the item
|
|
418
|
+
* class's manifest entry first, then the live decorator store, which records
|
|
419
|
+
* the receiver the decorator saw precisely because an unscanned runtime has
|
|
420
|
+
* no manifest to recover it from.
|
|
421
|
+
*/
|
|
422
|
+
static isCollectionHostedMethod(objectName, methodName) {
|
|
423
|
+
return ObjectRegistry.resolveRuntimeMethod(objectName, methodName).collectionHosted;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* The method view a RUNTIME transport should read for one action, and whether
|
|
427
|
+
* this transport can host it.
|
|
428
|
+
*
|
|
429
|
+
* Three sources, in order, because no single one covers every posture:
|
|
430
|
+
*
|
|
431
|
+
* 1. The ITEM class's manifest entry — a static there is collection-hosted,
|
|
432
|
+
* an instance method is item-scoped.
|
|
433
|
+
* 2. The registered COLLECTION class's manifest entry, which is where a
|
|
434
|
+
* collection-hosted action's parameters actually live. Without this the
|
|
435
|
+
* runtime transport sees no parameter metadata for them and silently
|
|
436
|
+
* degrades every one to the legacy options-bag contract.
|
|
437
|
+
* 3. The live `@method()` store, for an unscanned project with no manifest at
|
|
438
|
+
* all. It records the receiver the decorator saw, which is the only place
|
|
439
|
+
* that fact survives there.
|
|
440
|
+
*
|
|
441
|
+
* `collectionHosted` defaults to true when nothing is known: that is the
|
|
442
|
+
* legacy `api.routes`-only shape this transport has always attempted, and
|
|
443
|
+
* predicting a denial dispatch may not issue would be its own false answer.
|
|
444
|
+
*/
|
|
445
|
+
static resolveRuntimeMethod(objectName, methodName) {
|
|
446
|
+
const withConfig = (method, collectionHosted) => {
|
|
447
|
+
if (method.decoratorConfig) return {
|
|
448
|
+
method,
|
|
449
|
+
collectionHosted
|
|
450
|
+
};
|
|
451
|
+
const declared = ObjectRegistry.resolveDeclaredMethodConfig(objectName, methodName);
|
|
452
|
+
return {
|
|
453
|
+
method: declared ? {
|
|
454
|
+
...method,
|
|
455
|
+
decoratorConfig: declared
|
|
456
|
+
} : method,
|
|
457
|
+
collectionHosted
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
const fromItem = ObjectRegistry.getMethods(objectName)?.get(methodName);
|
|
461
|
+
if (fromItem) return withConfig(fromItem, fromItem.isStatic === true);
|
|
462
|
+
for (const collectionName of ObjectRegistry.collectionClassNames(objectName)) {
|
|
463
|
+
const fromCollection = ObjectRegistry.getMethods(collectionName)?.get(methodName);
|
|
464
|
+
if (fromCollection) return withConfig(fromCollection, true);
|
|
465
|
+
}
|
|
466
|
+
const itemConstructor = ObjectRegistry.getClass(objectName)?.constructor;
|
|
467
|
+
for (const source of ObjectRegistry.methodDecoratorSources(objectName)) {
|
|
468
|
+
const record = ObjectRegistry.getMethodDecoratorEntry(source, methodName);
|
|
469
|
+
if (!record) continue;
|
|
470
|
+
return {
|
|
471
|
+
method: { decoratorConfig: record.options },
|
|
472
|
+
collectionHosted: source === itemConstructor ? record.isStatic : true
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
return { collectionHosted: true };
|
|
476
|
+
}
|
|
477
|
+
/** Registered collection class names for `objectName`, qualified-name safe. */
|
|
478
|
+
static collectionClassNames(objectName) {
|
|
479
|
+
const names = [];
|
|
480
|
+
const canonical = ObjectRegistry.getCanonicalClassName(objectName) ?? objectName;
|
|
481
|
+
const registered = ObjectRegistry.getClass(objectName);
|
|
482
|
+
for (const key of /* @__PURE__ */ new Set([
|
|
483
|
+
objectName,
|
|
484
|
+
canonical,
|
|
485
|
+
registered?.name
|
|
486
|
+
])) {
|
|
487
|
+
const collectionConstructor = key ? ObjectRegistry.collections.get(key) : void 0;
|
|
488
|
+
if (collectionConstructor?.name) names.push(collectionConstructor.name);
|
|
489
|
+
}
|
|
490
|
+
return names;
|
|
491
|
+
}
|
|
492
|
+
/** `@method()` config from the live store alone, ignoring the manifest. */
|
|
493
|
+
static resolveDeclaredMethodConfig(objectName, methodName) {
|
|
494
|
+
for (const source of ObjectRegistry.methodDecoratorSources(objectName)) {
|
|
495
|
+
const declared = ObjectRegistry.getMethodDecorator(source, methodName);
|
|
496
|
+
if (declared) return declared;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Every method name carrying a `@method()` declaration for `objectName`,
|
|
501
|
+
* from the manifest and the live decorator store together. Runtime
|
|
502
|
+
* transports enumerate this so a decorator-declared route survives in an
|
|
503
|
+
* unscanned project.
|
|
504
|
+
*/
|
|
505
|
+
static listDecoratedMethodNames(objectName) {
|
|
506
|
+
const names = /* @__PURE__ */ new Set();
|
|
507
|
+
for (const [name, method] of ObjectRegistry.getMethods(objectName) ?? []) if (method.decoratorConfig) names.add(name);
|
|
508
|
+
for (const source of ObjectRegistry.methodDecoratorSources(objectName)) {
|
|
509
|
+
const manifestMethods = ObjectRegistry.manifestMethodsForConstructor(source);
|
|
510
|
+
for (const name of ObjectRegistry.getMethodDecorators(source).keys()) {
|
|
511
|
+
if (manifestMethods && !manifestMethods.has(name)) continue;
|
|
512
|
+
names.add(name);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
return [...names];
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* The manifest-derived method map for the class registered under EXACTLY
|
|
519
|
+
* `source`, or `undefined` when no manifest described it.
|
|
520
|
+
*
|
|
521
|
+
* Matched on constructor identity, never on name: `Account` exists in both
|
|
522
|
+
* `smrt-ledgers` and `smrt-messages`, and one package's manifest must not
|
|
523
|
+
* decide what the other's live decorators may expose.
|
|
524
|
+
*/
|
|
525
|
+
static manifestMethodsForConstructor(source) {
|
|
526
|
+
for (const registered of getClasses().values()) {
|
|
527
|
+
if (registered.constructor !== source) continue;
|
|
528
|
+
return registered.methods.size > 0 ? registered.methods : void 0;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
303
532
|
* Check if a class has any field decorators registered
|
|
304
533
|
*
|
|
305
534
|
* @param className - Name of the class
|
|
@@ -344,6 +573,7 @@ var ObjectRegistry = class ObjectRegistry {
|
|
|
344
573
|
* ```
|
|
345
574
|
*/
|
|
346
575
|
static registerCollection(objectName, collectionConstructor) {
|
|
576
|
+
applyPendingDecoratorRegistrations(collectionConstructor);
|
|
347
577
|
registerCollection(objectName, collectionConstructor);
|
|
348
578
|
}
|
|
349
579
|
static registerFromManifest(name, objectDef, packageName) {
|