@objectstack/core 5.2.0 → 6.1.1

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/index.d.cts CHANGED
@@ -264,7 +264,7 @@ declare class ObjectKernel {
264
264
  */
265
265
  getServiceAsync<T>(name: string, scopeId?: string): Promise<T>;
266
266
  /**
267
- * Clear all scoped service instances for a given scope (e.g., projectId).
267
+ * Clear all scoped service instances for a given scope (e.g., environmentId).
268
268
  * Releases driver connections and metadata caches for idle projects.
269
269
  */
270
270
  clearScope(scopeId: string): void;
@@ -328,7 +328,7 @@ interface PluginContext {
328
328
  */
329
329
  replaceService<T>(name: string, implementation: T): void;
330
330
  /**
331
- * Get a scoped service instance for a given scope (e.g., projectId).
331
+ * Get a scoped service instance for a given scope (e.g., environmentId).
332
332
  * Creates the instance on first access; reuses on subsequent calls within the same scope.
333
333
  */
334
334
  getServiceScoped<T>(name: string, scopeId: string): Promise<T>;
package/dist/index.d.ts CHANGED
@@ -264,7 +264,7 @@ declare class ObjectKernel {
264
264
  */
265
265
  getServiceAsync<T>(name: string, scopeId?: string): Promise<T>;
266
266
  /**
267
- * Clear all scoped service instances for a given scope (e.g., projectId).
267
+ * Clear all scoped service instances for a given scope (e.g., environmentId).
268
268
  * Releases driver connections and metadata caches for idle projects.
269
269
  */
270
270
  clearScope(scopeId: string): void;
@@ -328,7 +328,7 @@ interface PluginContext {
328
328
  */
329
329
  replaceService<T>(name: string, implementation: T): void;
330
330
  /**
331
- * Get a scoped service instance for a given scope (e.g., projectId).
331
+ * Get a scoped service instance for a given scope (e.g., environmentId).
332
332
  * Creates the instance on first access; reuses on subsequent calls within the same scope.
333
333
  */
334
334
  getServiceScoped<T>(name: string, scopeId: string): Promise<T>;
package/dist/index.js CHANGED
@@ -1369,7 +1369,7 @@ var ObjectKernel = class {
1369
1369
  return await this.pluginLoader.getService(name, scopeId);
1370
1370
  }
1371
1371
  /**
1372
- * Clear all scoped service instances for a given scope (e.g., projectId).
1372
+ * Clear all scoped service instances for a given scope (e.g., environmentId).
1373
1373
  * Releases driver connections and metadata caches for idle projects.
1374
1374
  */
1375
1375
  clearScope(scopeId) {