@cadenza.io/service 2.18.1 → 2.18.3
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/browser/index.js +1689 -747
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +1689 -747
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1878 -765
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1878 -765
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -255,6 +255,7 @@ declare class ServiceRegistry {
|
|
|
255
255
|
useSocket: boolean;
|
|
256
256
|
retryCount: number;
|
|
257
257
|
isFrontend: boolean;
|
|
258
|
+
connectsToCadenzaDB: boolean;
|
|
258
259
|
handleInstanceUpdateTask: Task;
|
|
259
260
|
handleTransportUpdateTask: Task;
|
|
260
261
|
handleGlobalSignalRegistrationTask: Task;
|
|
@@ -287,9 +288,14 @@ declare class ServiceRegistry {
|
|
|
287
288
|
private reconcileGatheredSyncTransmissions;
|
|
288
289
|
private registerRemoteIntentDeputy;
|
|
289
290
|
private unregisterRemoteIntentDeputy;
|
|
291
|
+
private registerBootstrapFullSyncDeputies;
|
|
292
|
+
private hasBootstrapFullSyncDeputies;
|
|
293
|
+
private scheduleEarlyFullSyncRequests;
|
|
294
|
+
bootstrapFullSync(emit: (signal: string, ctx: AnyObject) => void, ctx?: AnyObject, reason?: string): boolean;
|
|
290
295
|
getInquiryResponderDescriptor(task: Task): InquiryResponderDescriptor;
|
|
291
296
|
private getInstance;
|
|
292
297
|
private getLocalInstance;
|
|
298
|
+
hasLocalInstanceRegistered(): boolean;
|
|
293
299
|
private summarizeTransportForDebug;
|
|
294
300
|
private summarizeInstanceForRuntimeStatusFallback;
|
|
295
301
|
private summarizeRuntimeStatusInquiryReports;
|
|
@@ -604,10 +610,14 @@ declare class CadenzaService {
|
|
|
604
610
|
static serviceRegistry: ServiceRegistry;
|
|
605
611
|
protected static isBootstrapped: boolean;
|
|
606
612
|
protected static serviceCreated: boolean;
|
|
613
|
+
protected static bootstrapSyncCompleted: boolean;
|
|
607
614
|
protected static defaultDatabaseServiceName: string | null;
|
|
608
615
|
protected static warnedInvalidMetaIntentResponderKeys: Set<string>;
|
|
609
616
|
protected static hydratedInquiryResults: Map<string, AnyObject>;
|
|
610
617
|
protected static frontendSyncScheduled: boolean;
|
|
618
|
+
private static replayRegisteredTaskIntentAssociations;
|
|
619
|
+
private static replayRegisteredTaskSignalObservations;
|
|
620
|
+
private static replayRegisteredTaskGraphMetadata;
|
|
611
621
|
private static buildLegacyLocalCadenzaDBTaskName;
|
|
612
622
|
private static buildGeneratedLocalCadenzaDBTaskName;
|
|
613
623
|
/**
|
|
@@ -22285,6 +22295,8 @@ declare class CadenzaService {
|
|
|
22285
22295
|
* @return {void} This method does not return a value.
|
|
22286
22296
|
*/
|
|
22287
22297
|
static setMode(mode: CadenzaMode): void;
|
|
22298
|
+
static hasCompletedBootstrapSync(): boolean;
|
|
22299
|
+
static markBootstrapSyncCompleted(): void;
|
|
22288
22300
|
/**
|
|
22289
22301
|
* Emits a signal with the specified data using the associated broker.
|
|
22290
22302
|
*
|
|
@@ -22316,6 +22328,9 @@ declare class CadenzaService {
|
|
|
22316
22328
|
private static getInquiryResponderDescriptor;
|
|
22317
22329
|
private static compareInquiryResponders;
|
|
22318
22330
|
private static buildInquirySummary;
|
|
22331
|
+
private static shouldPersistInquiry;
|
|
22332
|
+
private static splitInquiryPersistenceContext;
|
|
22333
|
+
private static buildInquiryPersistenceStartData;
|
|
22319
22334
|
static inquire(inquiry: string, context: AnyObject, options?: DistributedInquiryOptions): Promise<AnyObject>;
|
|
22320
22335
|
/**
|
|
22321
22336
|
* Executes the given task or graph routine within the provided context using the configured runner.
|
package/dist/index.d.ts
CHANGED
|
@@ -255,6 +255,7 @@ declare class ServiceRegistry {
|
|
|
255
255
|
useSocket: boolean;
|
|
256
256
|
retryCount: number;
|
|
257
257
|
isFrontend: boolean;
|
|
258
|
+
connectsToCadenzaDB: boolean;
|
|
258
259
|
handleInstanceUpdateTask: Task;
|
|
259
260
|
handleTransportUpdateTask: Task;
|
|
260
261
|
handleGlobalSignalRegistrationTask: Task;
|
|
@@ -287,9 +288,14 @@ declare class ServiceRegistry {
|
|
|
287
288
|
private reconcileGatheredSyncTransmissions;
|
|
288
289
|
private registerRemoteIntentDeputy;
|
|
289
290
|
private unregisterRemoteIntentDeputy;
|
|
291
|
+
private registerBootstrapFullSyncDeputies;
|
|
292
|
+
private hasBootstrapFullSyncDeputies;
|
|
293
|
+
private scheduleEarlyFullSyncRequests;
|
|
294
|
+
bootstrapFullSync(emit: (signal: string, ctx: AnyObject) => void, ctx?: AnyObject, reason?: string): boolean;
|
|
290
295
|
getInquiryResponderDescriptor(task: Task): InquiryResponderDescriptor;
|
|
291
296
|
private getInstance;
|
|
292
297
|
private getLocalInstance;
|
|
298
|
+
hasLocalInstanceRegistered(): boolean;
|
|
293
299
|
private summarizeTransportForDebug;
|
|
294
300
|
private summarizeInstanceForRuntimeStatusFallback;
|
|
295
301
|
private summarizeRuntimeStatusInquiryReports;
|
|
@@ -604,10 +610,14 @@ declare class CadenzaService {
|
|
|
604
610
|
static serviceRegistry: ServiceRegistry;
|
|
605
611
|
protected static isBootstrapped: boolean;
|
|
606
612
|
protected static serviceCreated: boolean;
|
|
613
|
+
protected static bootstrapSyncCompleted: boolean;
|
|
607
614
|
protected static defaultDatabaseServiceName: string | null;
|
|
608
615
|
protected static warnedInvalidMetaIntentResponderKeys: Set<string>;
|
|
609
616
|
protected static hydratedInquiryResults: Map<string, AnyObject>;
|
|
610
617
|
protected static frontendSyncScheduled: boolean;
|
|
618
|
+
private static replayRegisteredTaskIntentAssociations;
|
|
619
|
+
private static replayRegisteredTaskSignalObservations;
|
|
620
|
+
private static replayRegisteredTaskGraphMetadata;
|
|
611
621
|
private static buildLegacyLocalCadenzaDBTaskName;
|
|
612
622
|
private static buildGeneratedLocalCadenzaDBTaskName;
|
|
613
623
|
/**
|
|
@@ -22285,6 +22295,8 @@ declare class CadenzaService {
|
|
|
22285
22295
|
* @return {void} This method does not return a value.
|
|
22286
22296
|
*/
|
|
22287
22297
|
static setMode(mode: CadenzaMode): void;
|
|
22298
|
+
static hasCompletedBootstrapSync(): boolean;
|
|
22299
|
+
static markBootstrapSyncCompleted(): void;
|
|
22288
22300
|
/**
|
|
22289
22301
|
* Emits a signal with the specified data using the associated broker.
|
|
22290
22302
|
*
|
|
@@ -22316,6 +22328,9 @@ declare class CadenzaService {
|
|
|
22316
22328
|
private static getInquiryResponderDescriptor;
|
|
22317
22329
|
private static compareInquiryResponders;
|
|
22318
22330
|
private static buildInquirySummary;
|
|
22331
|
+
private static shouldPersistInquiry;
|
|
22332
|
+
private static splitInquiryPersistenceContext;
|
|
22333
|
+
private static buildInquiryPersistenceStartData;
|
|
22319
22334
|
static inquire(inquiry: string, context: AnyObject, options?: DistributedInquiryOptions): Promise<AnyObject>;
|
|
22320
22335
|
/**
|
|
22321
22336
|
* Executes the given task or graph routine within the provided context using the configured runner.
|