@rdlabo/ionic-angular-kit 21.5.38 → 21.5.40
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/package.json
CHANGED
|
@@ -331,7 +331,7 @@ declare function commandIdentityMatchesReplicaRow(schema: OfflineReplicaEntitySc
|
|
|
331
331
|
declare function offlineReplicaRemoteIdentity(schema: OfflineReplicaEntitySchema<Record<string, unknown>>, identity: OfflineReplicaIdentity): OfflineReplicaRemoteIdentity | null;
|
|
332
332
|
|
|
333
333
|
/** Current durable storage schema used by both web and native repositories. */
|
|
334
|
-
declare const OFFLINE_SCHEMA_VERSION =
|
|
334
|
+
declare const OFFLINE_SCHEMA_VERSION = 2;
|
|
335
335
|
/** User and partition scope of all local offline data. */
|
|
336
336
|
interface OfflineScope {
|
|
337
337
|
userId: OfflinePrincipalId;
|
|
@@ -342,7 +342,7 @@ type OfflineReplicaSyncState = 'confirmed' | 'pending' | 'blocked_auth' | 'rejec
|
|
|
342
342
|
type OfflineReplicaVisibility = 'present' | 'pending_delete';
|
|
343
343
|
type OfflineReplicaMutation = 'upsert' | 'delete';
|
|
344
344
|
/** Durable processing state of an outbox command. */
|
|
345
|
-
type OfflineCommandState = 'pending' | 'sending' | 'retry_wait' | 'blocked_auth' | 'rejected' | 'conflict';
|
|
345
|
+
type OfflineCommandState = 'pending' | 'sending' | 'retry_wait' | 'awaiting_pull' | 'blocked_auth' | 'rejected' | 'conflict';
|
|
346
346
|
interface OfflineCommandBase<T> extends OfflineScope {
|
|
347
347
|
commandId: string;
|
|
348
348
|
aggregateType: string;
|
|
@@ -351,14 +351,15 @@ interface OfflineCommandBase<T> extends OfflineScope {
|
|
|
351
351
|
/** Stable row identity. The Outbox never persists a generated server id. */
|
|
352
352
|
identity: OfflineCommandIdentity;
|
|
353
353
|
operation: string;
|
|
354
|
+
/** Opaque product payload. Kit never mutates this after enqueue. */
|
|
354
355
|
payload: T;
|
|
355
|
-
/**
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
/**
|
|
357
|
+
* Declared localOnly projection rows this intent may create, update, or remove.
|
|
358
|
+
* Kit persists keys only; before/after images are not durable truth.
|
|
359
|
+
*/
|
|
360
|
+
localOnlyFootprint?: readonly OfflineReplicaRowKey[];
|
|
359
361
|
/** Durable intent used to preserve a hidden tombstone across restart and replay. */
|
|
360
362
|
replicaMutation?: OfflineReplicaMutation;
|
|
361
|
-
payloadHash: string;
|
|
362
363
|
baseRevision: string | number | null;
|
|
363
364
|
state: OfflineCommandState;
|
|
364
365
|
attempts: number;
|
|
@@ -367,12 +368,8 @@ interface OfflineCommandBase<T> extends OfflineScope {
|
|
|
367
368
|
lastErrorCode: string | null;
|
|
368
369
|
/** True when transport started but the client cannot prove whether the server committed. */
|
|
369
370
|
serverCommitUnknown?: boolean;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
interface OfflineOptimisticReplicaCompanion {
|
|
373
|
-
key: OfflineReplicaRowKey;
|
|
374
|
-
before: OfflineReplicaRow | null;
|
|
375
|
-
after: OfflineReplicaRow | null;
|
|
371
|
+
/** Remote identity captured after transport for journal-independent authoritative reconciliation. */
|
|
372
|
+
reconciliationIdentity?: OfflineReplicaRemoteIdentity;
|
|
376
373
|
}
|
|
377
374
|
type OfflineCommand<T = unknown> = OfflineCommandBase<T>;
|
|
378
375
|
/** Product replica row materialized from a versioned schema entity. */
|
|
@@ -540,12 +537,94 @@ declare class IonicOfflineRepository implements OfflineRepository {
|
|
|
540
537
|
static ɵprov: i0.ɵɵInjectableDeclaration<IonicOfflineRepository>;
|
|
541
538
|
}
|
|
542
539
|
|
|
540
|
+
/**
|
|
541
|
+
* Authoritative inputs for rematerializing one aggregate from its remaining
|
|
542
|
+
* ordered Outbox chain.
|
|
543
|
+
*
|
|
544
|
+
* `baseRow` is the current replica row for the aggregate, including its latest
|
|
545
|
+
* `confirmedValues`. `localOnlyRows` are the current localOnly projection rows
|
|
546
|
+
* owned by that aggregate. `commands` is the complete remaining FIFO chain
|
|
547
|
+
* after the triggering mutation.
|
|
548
|
+
*/
|
|
549
|
+
interface OfflineAggregateIntentProjectInput {
|
|
550
|
+
/** Current aggregate base replica row, or `null` when the row is absent. */
|
|
551
|
+
readonly baseRow: OfflineReplicaRow | null;
|
|
552
|
+
/** Current authoritative localOnly projection rows for this aggregate. */
|
|
553
|
+
readonly localOnlyRows: readonly OfflineReplicaRow[];
|
|
554
|
+
/** Complete remaining ordered pending command chain for this aggregate. */
|
|
555
|
+
readonly commands: readonly OfflineCommand[];
|
|
556
|
+
/** Boundary that requested rematerialization. Only pull may return a conflict outcome. */
|
|
557
|
+
readonly trigger?: 'local' | 'pull';
|
|
558
|
+
/** Incoming authoritative revision when `trigger` is `pull`. */
|
|
559
|
+
readonly incomingRevision?: string | number;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* Fully rematerialized aggregate projection.
|
|
563
|
+
*
|
|
564
|
+
* Kit writes `baseRow` as the sole base mutation (`null` removes the row) and
|
|
565
|
+
* applies only the localOnly put/remove lists. Domain folding belongs here;
|
|
566
|
+
* Kit never interprets command payloads.
|
|
567
|
+
*/
|
|
568
|
+
interface OfflineAggregateIntentProjection {
|
|
569
|
+
/** Rematerialized base replica row, or `null` to remove the aggregate row. */
|
|
570
|
+
readonly baseRow: OfflineReplicaRow | null;
|
|
571
|
+
/** LocalOnly projection rows to upsert for this aggregate. */
|
|
572
|
+
readonly putLocalOnlyRows?: readonly OfflineReplicaRow[];
|
|
573
|
+
/** LocalOnly projection rows to remove for this aggregate. */
|
|
574
|
+
readonly removeLocalOnlyRows?: readonly OfflineReplicaRowKey[];
|
|
575
|
+
}
|
|
576
|
+
/** Product decision that pending intents cannot be replayed onto an incoming authoritative revision. */
|
|
577
|
+
interface OfflineAggregateIntentConflict {
|
|
578
|
+
readonly kind: 'conflict';
|
|
579
|
+
readonly reason: string;
|
|
580
|
+
}
|
|
581
|
+
/** Result of product-owned aggregate rematerialization. */
|
|
582
|
+
type OfflineAggregateIntentProjectResult = OfflineAggregateIntentProjection | OfflineAggregateIntentConflict;
|
|
583
|
+
/**
|
|
584
|
+
* Product-owned pure rematerialization of one aggregate.
|
|
585
|
+
*
|
|
586
|
+
* Given the authoritative base row, current localOnly projection rows, and the
|
|
587
|
+
* remaining ordered {@link OfflineCommand} chain, return one fully materialized
|
|
588
|
+
* base row plus localOnly put/remove mutations. The adapter must derive only
|
|
589
|
+
* from confirmed base/localOnly values plus complete FIFO pending intents. It
|
|
590
|
+
* must not perform I/O; Kit supplies already-read replica state and validates
|
|
591
|
+
* scope, schema, identity, and footprints before writing.
|
|
592
|
+
*/
|
|
593
|
+
interface OfflineAggregateIntentProjector {
|
|
594
|
+
/** Rematerializes one aggregate from authoritative replica state and remaining intents. */
|
|
595
|
+
project(input: OfflineAggregateIntentProjectInput): OfflineAggregateIntentProjectResult;
|
|
596
|
+
}
|
|
597
|
+
/** Returns whether the projector rejected replay onto an authoritative pull revision. */
|
|
598
|
+
declare function isOfflineAggregateIntentConflict(result: OfflineAggregateIntentProjectResult): result is OfflineAggregateIntentConflict;
|
|
599
|
+
/** Required product adapter for aggregate rematerialization from remaining Outbox intents. */
|
|
600
|
+
declare const OFFLINE_AGGREGATE_INTENT_PROJECTOR: InjectionToken<OfflineAggregateIntentProjector>;
|
|
601
|
+
/**
|
|
602
|
+
* Converts a validated aggregate projection into replica put/remove mutations.
|
|
603
|
+
*
|
|
604
|
+
* @param projection - Rematerialized aggregate returned by the product projector.
|
|
605
|
+
* @param baseRow - Current aggregate base row, used when the projection removes it.
|
|
606
|
+
*/
|
|
607
|
+
declare function offlineAggregateIntentMutations(projection: OfflineAggregateIntentProjection, baseRow: OfflineReplicaRow | null): Pick<OfflineReplicaTransaction, 'putRows' | 'removeRows'>;
|
|
608
|
+
|
|
543
609
|
/** Server pull request for one user or partition-scoped replica. */
|
|
544
610
|
interface OfflineReplicaPullRequest {
|
|
545
611
|
scope: OfflineScope;
|
|
546
612
|
cursor: string;
|
|
547
613
|
schemaVersion: number;
|
|
548
614
|
schemaHash: string;
|
|
615
|
+
/**
|
|
616
|
+
* Successfully transported commands that still require an authoritative row acknowledgement.
|
|
617
|
+
* The server must hydrate and authorize each target from primary state and acknowledge it only
|
|
618
|
+
* on the returned reconciliation change; it must never trust this client identity as proof.
|
|
619
|
+
*/
|
|
620
|
+
reconciliationTargets: readonly OfflineReplicaReconciliationTarget[];
|
|
621
|
+
}
|
|
622
|
+
/** One awaiting-pull command whose canonical state must be hydrated independently of journal retention. */
|
|
623
|
+
interface OfflineReplicaReconciliationTarget {
|
|
624
|
+
readonly commandId: string;
|
|
625
|
+
readonly operation: string;
|
|
626
|
+
readonly sourceKey: string;
|
|
627
|
+
readonly identity: OfflineReplicaRemoteIdentity;
|
|
549
628
|
}
|
|
550
629
|
/** One server-side replica mutation returned by an explicit pull page. */
|
|
551
630
|
interface OfflineReplicaChangeBase {
|
|
@@ -598,8 +677,6 @@ interface OfflineReplicaProjector {
|
|
|
598
677
|
project(input: {
|
|
599
678
|
scope: OfflineScope;
|
|
600
679
|
changes: readonly OfflineReplicaChange[];
|
|
601
|
-
commands: readonly OfflineCommand[];
|
|
602
|
-
repository: OfflineRepository;
|
|
603
680
|
}): Promise<OfflineReplicaPullProjection>;
|
|
604
681
|
}
|
|
605
682
|
/** Backend response accepted by the shared pull-page normalizer. */
|
|
@@ -653,30 +730,44 @@ declare class OfflineReplicaPullService {
|
|
|
653
730
|
* Serializes only local replica read/derive/write critical sections. Network
|
|
654
731
|
* transport must stay outside this coordinator so synchronization never holds
|
|
655
732
|
* the local mutation lane while waiting on I/O.
|
|
733
|
+
*
|
|
734
|
+
* This coordinator is the sole caller and validator of aggregate rematerialization.
|
|
735
|
+
* Invoke {@link projectAggregateIntent} only from inside {@link run}; this
|
|
736
|
+
* method does not acquire the lane itself.
|
|
656
737
|
*/
|
|
657
738
|
declare class OfflineReplicaMutationCoordinator {
|
|
658
739
|
#private;
|
|
740
|
+
/** Enqueues one local replica critical section behind any in-flight mutation. */
|
|
659
741
|
run<T>(operation: () => Promise<T>): Promise<T>;
|
|
742
|
+
/** Resolves after every currently queued replica mutation has settled. */
|
|
660
743
|
drain(): Promise<void>;
|
|
744
|
+
/**
|
|
745
|
+
* Calls the product aggregate-intent projector and validates scope, schema,
|
|
746
|
+
* identity, and footprints. Throws before returning when the projector is
|
|
747
|
+
* missing or the projection is unsafe to write.
|
|
748
|
+
*
|
|
749
|
+
* @param input - Authoritative base row, current localOnly rows, and remaining commands.
|
|
750
|
+
*/
|
|
751
|
+
projectAggregateIntent(input: OfflineAggregateIntentProjectInput): OfflineAggregateIntentProjectResult;
|
|
661
752
|
static ɵfac: i0.ɵɵFactoryDeclaration<OfflineReplicaMutationCoordinator, never>;
|
|
662
753
|
static ɵprov: i0.ɵɵInjectableDeclaration<OfflineReplicaMutationCoordinator>;
|
|
663
754
|
}
|
|
755
|
+
/** Declared localOnly keys persisted on one Outbox command. */
|
|
756
|
+
declare function commandFootprintKeys(command: Pick<OfflineCommand, 'localOnlyFootprint'>): readonly OfflineReplicaRowKey[];
|
|
664
757
|
|
|
665
758
|
/** Server acknowledgement used to reconcile one optimistic local mutation. */
|
|
666
759
|
interface OfflineCommandResult {
|
|
667
760
|
/** Remote id returned by a successful generated-identity mutation. */
|
|
668
761
|
remoteId?: OfflineGeneratedRemoteId;
|
|
669
762
|
serverRevision?: string | number;
|
|
670
|
-
/** Full server-confirmed domain values after applying the mutation. */
|
|
671
|
-
confirmedValues?: unknown;
|
|
672
763
|
/**
|
|
673
|
-
*
|
|
764
|
+
* Full server-confirmed domain values after applying the mutation.
|
|
674
765
|
*
|
|
675
|
-
* Kit
|
|
676
|
-
*
|
|
677
|
-
*
|
|
766
|
+
* Kit does not treat this as the durable confirmed baseline while the
|
|
767
|
+
* command remains in the Outbox. Authoritative confirmed values come from
|
|
768
|
+
* pull acknowledgement of `commandId`.
|
|
678
769
|
*/
|
|
679
|
-
|
|
770
|
+
confirmedValues?: unknown;
|
|
680
771
|
/** Removes the local replica row after a confirmed server delete. */
|
|
681
772
|
removeReplica?: boolean;
|
|
682
773
|
/**
|
|
@@ -686,16 +777,6 @@ interface OfflineCommandResult {
|
|
|
686
777
|
clearRemoteId?: boolean;
|
|
687
778
|
response?: unknown;
|
|
688
779
|
}
|
|
689
|
-
/** Local-only projection changes confirmed by one server acknowledgement. */
|
|
690
|
-
interface OfflineConfirmedReplicaCompanion {
|
|
691
|
-
/** Exact optimistic companion footprint entry owned by this command. */
|
|
692
|
-
readonly key: OfflineReplicaRowKey;
|
|
693
|
-
/**
|
|
694
|
-
* Applies the acknowledged domain effect to the latest confirmed projection read inside Kit's
|
|
695
|
-
* ACK lane. Return `null` to remove the confirmed projection.
|
|
696
|
-
*/
|
|
697
|
-
readonly reduce: (latestConfirmedValues: unknown) => unknown | null;
|
|
698
|
-
}
|
|
699
780
|
/** Target identity resolved from the local replica immediately before transport. */
|
|
700
781
|
type OfflineCommandTarget = {
|
|
701
782
|
readonly kind: 'generated';
|
|
@@ -705,44 +786,25 @@ type OfflineCommandTarget = {
|
|
|
705
786
|
readonly kind: 'natural';
|
|
706
787
|
readonly naturalKey: OfflineNaturalKey;
|
|
707
788
|
};
|
|
708
|
-
/** 不透明なoperationを製品APIへ送信し、local replicaへ投影するadapter。 */
|
|
709
789
|
/** Product adapter that sends commands and projects acknowledgements into entities. */
|
|
710
790
|
interface OfflineCommandExecutor {
|
|
711
791
|
/** Sends the command using `command.commandId` as its durable server-side idempotency key. */
|
|
712
792
|
execute(command: OfflineCommand, target: OfflineCommandTarget): Promise<OfflineCommandResult>;
|
|
713
|
-
withServerRevision(command: OfflineCommand, revision: string | number): OfflineCommand;
|
|
714
|
-
/**
|
|
715
|
-
* Reapplies a complete aggregate's pending intents to a newer confirmed
|
|
716
|
-
* value. Return null when any intent is revision-sensitive. The returned
|
|
717
|
-
* values correspond to the original FIFO command order. Kit alone updates
|
|
718
|
-
* command metadata; payload and idempotency identity remain immutable.
|
|
719
|
-
* Without this hook, revision changes conflict by default.
|
|
720
|
-
*/
|
|
721
|
-
rebasePendingCommands?(commands: readonly OfflineCommand[], confirmedValues: unknown, revision: string | number, companionRows: readonly OfflineReplicaRow[]): OfflinePendingRebase | null | Promise<OfflinePendingRebase | null>;
|
|
722
793
|
/**
|
|
723
794
|
* Whether this transport error authoritatively proves that this idempotency
|
|
724
795
|
* key did not commit. Returning true may clear an ambiguity retained from an
|
|
725
796
|
* earlier response-loss attempt and expose normal conflict resolution.
|
|
726
797
|
*/
|
|
727
798
|
provesCommandNotCommitted?(error: unknown, command: OfflineCommand): boolean;
|
|
728
|
-
/**
|
|
729
|
-
* Removes the deleted remote row's revision from a queued recreate.
|
|
730
|
-
* Required only when `clearRemoteId` completes while later commands remain.
|
|
731
|
-
*/
|
|
732
|
-
withoutServerRevision?(command: OfflineCommand): OfflineCommand;
|
|
733
|
-
}
|
|
734
|
-
/** Product projection result after safely replaying pending intents onto a newer confirmed revision. */
|
|
735
|
-
interface OfflinePendingRebase {
|
|
736
|
-
/** Recomputed projections in the original durable FIFO order. */
|
|
737
|
-
steps: readonly OfflinePendingRebaseStep[];
|
|
738
|
-
}
|
|
739
|
-
/** Projection state produced for one immutable durable command in FIFO order. */
|
|
740
|
-
interface OfflinePendingRebaseStep {
|
|
741
|
-
/** Recomputed full aggregate value after this command's intent is applied. */
|
|
742
|
-
optimisticValue: unknown;
|
|
743
|
-
/** Same footprint as the original command, rematerialized from the new confirmed value. */
|
|
744
|
-
optimisticCompanions?: readonly OfflineOptimisticReplicaCompanion[];
|
|
745
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* Returns a command whose only changed field is `baseRevision`.
|
|
802
|
+
*
|
|
803
|
+
* Payload and every other field are copied unchanged. Kit uses this when a
|
|
804
|
+
* newer server revision is known, and passes `null` after a generated remote
|
|
805
|
+
* identity is released.
|
|
806
|
+
*/
|
|
807
|
+
declare function offlineCommandWithBaseRevision(command: OfflineCommand, baseRevision: string | number | null): OfflineCommand;
|
|
746
808
|
/** DI token for the product-specific command transport adapter. */
|
|
747
809
|
declare const OFFLINE_COMMAND_EXECUTOR: InjectionToken<OfflineCommandExecutor>;
|
|
748
810
|
/** Authenticated user and partition scopes currently eligible for synchronization. */
|
|
@@ -1305,6 +1367,15 @@ interface ProvideSynchronizedOfflineOptions extends ProvideOfflineOptionsBase {
|
|
|
1305
1367
|
commandExecutor: Type<OfflineCommandExecutor>;
|
|
1306
1368
|
/** Product transport for explicit cursor-based server delta pulls. */
|
|
1307
1369
|
replicaPuller: Type<OfflineReplicaPuller>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Required pure adapter that rematerializes one aggregate from its
|
|
1372
|
+
* authoritative confirmed base/localOnly values and remaining Outbox intents.
|
|
1373
|
+
*
|
|
1374
|
+
* Kit calls it inside {@link OfflineReplicaMutationCoordinator} after enqueue,
|
|
1375
|
+
* replacement, discard, transport success, and pull acknowledgement. Do not
|
|
1376
|
+
* call the projector from product code.
|
|
1377
|
+
*/
|
|
1378
|
+
aggregateIntentProjector: Type<OfflineAggregateIntentProjector>;
|
|
1308
1379
|
}
|
|
1309
1380
|
/** Server- or external-source read cache with no mutation transport or Outbox. */
|
|
1310
1381
|
interface ProvideReadCacheOfflineOptions extends ProvideOfflineOptionsBase {
|
|
@@ -1333,30 +1404,29 @@ declare function assertSupportedOfflineMode(platform: string, mode: 'synchronize
|
|
|
1333
1404
|
|
|
1334
1405
|
/** Aggregate synchronization state exposed to application UI. */
|
|
1335
1406
|
type OfflineSyncState = 'idle' | 'pending' | 'syncing' | 'attention';
|
|
1336
|
-
/** Mutation
|
|
1407
|
+
/** Mutation appended atomically to the outbox; Kit rematerializes optimistic replica state. */
|
|
1337
1408
|
interface EnqueueOfflineCommand<T = unknown> {
|
|
1338
1409
|
scopeId: string;
|
|
1339
1410
|
aggregateType: string;
|
|
1340
1411
|
identity: EnqueueOfflineCommandIdentity;
|
|
1341
1412
|
operation: string;
|
|
1342
1413
|
payload: T;
|
|
1343
|
-
/** Full local entity value committed to the replica before the command is exposed to the UI. */
|
|
1344
|
-
optimisticValue: unknown;
|
|
1345
1414
|
/**
|
|
1346
1415
|
* Optimistically hides an existing DB row while retaining its identity and
|
|
1347
1416
|
* confirmed baseline for durable replay, conflict handling, and discard.
|
|
1348
1417
|
*/
|
|
1349
1418
|
replicaMutation?: 'upsert' | 'delete';
|
|
1350
1419
|
baseRevision?: string | number | null;
|
|
1420
|
+
/** Declared localOnly projection rows this intent may create, update, or remove. */
|
|
1421
|
+
localOnlyFootprint?: readonly OfflineReplicaRowKey[];
|
|
1351
1422
|
}
|
|
1352
1423
|
/**
|
|
1353
1424
|
* A command prepared from replica reads while enqueue/ACK projection is
|
|
1354
|
-
* serialized.
|
|
1355
|
-
*
|
|
1425
|
+
* serialized. Kit rematerializes the aggregate; the prepare callback must not
|
|
1426
|
+
* supply replica row images as independent truth.
|
|
1356
1427
|
*/
|
|
1357
1428
|
interface PreparedOfflineCommand<T = unknown> {
|
|
1358
1429
|
request: EnqueueOfflineCommand<T>;
|
|
1359
|
-
replicaTransaction?: Pick<OfflineReplicaTransaction, 'putRows' | 'removeRows'>;
|
|
1360
1430
|
}
|
|
1361
1431
|
interface PreparedOfflineBatchOptions {
|
|
1362
1432
|
flush?: boolean;
|
|
@@ -1414,8 +1484,8 @@ declare class OfflineSyncService {
|
|
|
1414
1484
|
flush?: boolean;
|
|
1415
1485
|
}): Promise<string>;
|
|
1416
1486
|
/**
|
|
1417
|
-
* Reads, derives, and commits
|
|
1418
|
-
*
|
|
1487
|
+
* Reads, derives, and commits one Outbox command, then rematerializes its
|
|
1488
|
+
* aggregate from confirmed replica values plus remaining FIFO intents.
|
|
1419
1489
|
*/
|
|
1420
1490
|
enqueuePrepared<T>(prepare: (repository: OfflineRepository) => Promise<PreparedOfflineCommand<T>>, options?: {
|
|
1421
1491
|
flush?: boolean;
|
|
@@ -1480,5 +1550,5 @@ declare class OfflineRequestFallbackService {
|
|
|
1480
1550
|
static ɵprov: i0.ɵɵInjectableDeclaration<OfflineRequestFallbackService>;
|
|
1481
1551
|
}
|
|
1482
1552
|
|
|
1483
|
-
export { COMMUNITY_SQLITE, DEFAULT_OFFLINE_COMMAND_HOOKS, IonicOfflineRepository, OFFLINE_BYPASS, OFFLINE_COMMAND_EXECUTOR, OFFLINE_COMMAND_HOOKS, OFFLINE_KIT_OPTIONS, OFFLINE_MUTATION_REQUEST_POLICIES, OFFLINE_REPLICA_PROJECTOR, OFFLINE_REPLICA_PULLER, OFFLINE_REPOSITORY, OFFLINE_REQUEST_POLICIES, OFFLINE_RESPONSE_HEADER, OFFLINE_RETRY_RANDOM, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCommandInFlightError, OfflineCoordinatorService, OfflineMutationPolicyConflictError, OfflineMutationProtocolError, OfflineMutationRequestPolicyRegistry, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaMutationCoordinator, OfflineReplicaPullService, OfflineReplicaSchemaMismatchError, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineSessionService, OfflineStorageUnavailableError, OfflineSyncService, SqliteOfflineRepository, assertOfflineLocalId, assertOfflineReplicaGeneratedRemoteId, assertOfflineReplicaNaturalKeyBaseline, assertSupportedOfflineMode, booleanColumn, canonicalOfflineCommandIdentity, canonicalOfflinePrincipalId, canonicalOfflineRemoteIdentity, canonicalOfflineReplicaIdentity, canonicalOfflineReplicaRowKey, commandIdentityFromReplicaIdentity, commandIdentityMatchesReplicaRow, createCommunitySqliteDriver, createOfflineAuthBridge, createRandomOfflineEncryptionKey, datetime, decodeOfflineReplicaValues, defineOfflineReplicaSchema, defineReplicaEntity, encodeOfflineReplicaValues, generatedId, ignored, integer, isOfflineFallbackError, isOfflineStorageUnavailableError, json, localOnly, naturalKey, normalizeOfflineNaturalKey, normalizeOfflineReplicaPullPage, nullable, offlineCommandLookupIdentity, offlineCommandTargetFromReplicaRow, offlineGeneratedReplicaIdentity, offlineInterceptor, offlineNaturalKeyFromValues, offlineNaturalReplicaIdentity, offlineReplicaRemoteIdentity, offlineRetryDelayMs, offlineSessionManifestAllows, parseOfflineCommandIdentity, parseOfflineMutationEnvelope, parseOfflinePrincipalId, projectOfflineReplicaValues, provideOffline, provideOfflineMutationRequestPolicy, provideOfflineRequestPolicy, real, replicaAddressFromIdentity, requirePositiveOfflineInteger, selectOfflineRepository, serializeOfflineCommandIdentity, sha256OfflineReplicaSchema, supportsSynchronizedOfflineRepository, text };
|
|
1484
|
-
export type { CommunitySqliteConnection, CommunitySqliteDatabase, CommunitySqliteDriver, CreateOfflineAuthBridgeOptions, EnqueueOfflineCommand, EnqueueOfflineCommandIdentity, EnqueueOfflineGeneratedIdentity, EnqueueOfflineNaturalIdentity, OfflineAuthBridgeConfig, OfflineAuthExchangeContext, OfflineAuthExchangePhase, OfflineAuthResumeContext, OfflineCommand, OfflineCommandExecutor, OfflineCommandHooks, OfflineCommandIdentity, OfflineCommandResult, OfflineCommandState, OfflineCommandTarget,
|
|
1553
|
+
export { COMMUNITY_SQLITE, DEFAULT_OFFLINE_COMMAND_HOOKS, IonicOfflineRepository, OFFLINE_AGGREGATE_INTENT_PROJECTOR, OFFLINE_BYPASS, OFFLINE_COMMAND_EXECUTOR, OFFLINE_COMMAND_HOOKS, OFFLINE_KIT_OPTIONS, OFFLINE_MUTATION_REQUEST_POLICIES, OFFLINE_REPLICA_PROJECTOR, OFFLINE_REPLICA_PULLER, OFFLINE_REPOSITORY, OFFLINE_REQUEST_POLICIES, OFFLINE_RESPONSE_HEADER, OFFLINE_RETRY_RANDOM, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCommandInFlightError, OfflineCoordinatorService, OfflineMutationPolicyConflictError, OfflineMutationProtocolError, OfflineMutationRequestPolicyRegistry, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaMutationCoordinator, OfflineReplicaPullService, OfflineReplicaSchemaMismatchError, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineSessionService, OfflineStorageUnavailableError, OfflineSyncService, SqliteOfflineRepository, assertOfflineLocalId, assertOfflineReplicaGeneratedRemoteId, assertOfflineReplicaNaturalKeyBaseline, assertSupportedOfflineMode, booleanColumn, canonicalOfflineCommandIdentity, canonicalOfflinePrincipalId, canonicalOfflineRemoteIdentity, canonicalOfflineReplicaIdentity, canonicalOfflineReplicaRowKey, commandFootprintKeys, commandIdentityFromReplicaIdentity, commandIdentityMatchesReplicaRow, createCommunitySqliteDriver, createOfflineAuthBridge, createRandomOfflineEncryptionKey, datetime, decodeOfflineReplicaValues, defineOfflineReplicaSchema, defineReplicaEntity, encodeOfflineReplicaValues, generatedId, ignored, integer, isOfflineAggregateIntentConflict, isOfflineFallbackError, isOfflineStorageUnavailableError, json, localOnly, naturalKey, normalizeOfflineNaturalKey, normalizeOfflineReplicaPullPage, nullable, offlineAggregateIntentMutations, offlineCommandLookupIdentity, offlineCommandTargetFromReplicaRow, offlineCommandWithBaseRevision, offlineGeneratedReplicaIdentity, offlineInterceptor, offlineNaturalKeyFromValues, offlineNaturalReplicaIdentity, offlineReplicaRemoteIdentity, offlineRetryDelayMs, offlineSessionManifestAllows, parseOfflineCommandIdentity, parseOfflineMutationEnvelope, parseOfflinePrincipalId, projectOfflineReplicaValues, provideOffline, provideOfflineMutationRequestPolicy, provideOfflineRequestPolicy, real, replicaAddressFromIdentity, requirePositiveOfflineInteger, selectOfflineRepository, serializeOfflineCommandIdentity, sha256OfflineReplicaSchema, supportsSynchronizedOfflineRepository, text };
|
|
1554
|
+
export type { CommunitySqliteConnection, CommunitySqliteDatabase, CommunitySqliteDriver, CreateOfflineAuthBridgeOptions, EnqueueOfflineCommand, EnqueueOfflineCommandIdentity, EnqueueOfflineGeneratedIdentity, EnqueueOfflineNaturalIdentity, OfflineAggregateIntentConflict, OfflineAggregateIntentProjectInput, OfflineAggregateIntentProjectResult, OfflineAggregateIntentProjection, OfflineAggregateIntentProjector, OfflineAuthBridgeConfig, OfflineAuthExchangeContext, OfflineAuthExchangePhase, OfflineAuthResumeContext, OfflineCommand, OfflineCommandExecutor, OfflineCommandHooks, OfflineCommandIdentity, OfflineCommandResult, OfflineCommandState, OfflineCommandTarget, OfflineGeneratedRemoteId, OfflineKitOptions, OfflineLogoutAction, OfflineMutationEnvelope, OfflineMutationEnvelopeIdPolicy, OfflineMutationEnvelopeOptions, OfflineMutationEnvelopeValuesPolicy, OfflineMutationRequestPlan, OfflineMutationRequestPolicy, OfflineNaturalKey, OfflineNaturalKeyValue, OfflineNetworkState, OfflineOutboxLimits, OfflinePrincipalId, OfflinePullAttention, OfflinePullAttentionReason, OfflineReadRequestPlan, OfflineReadResponseSource, OfflineReadStrategy, OfflineRemoteIdentity, OfflineReplicaAddress, OfflineReplicaChange, OfflineReplicaChangeBase, OfflineReplicaColumnDef, OfflineReplicaCursor, OfflineReplicaEntityDefinition, OfflineReplicaEntitySchema, OfflineReplicaEntityScope, OfflineReplicaFieldDescriptor, OfflineReplicaFieldPolicy, OfflineReplicaIdentity, OfflineReplicaIdentityDescriptor, OfflineReplicaIgnoredDef, OfflineReplicaLocalOnlyDef, OfflineReplicaMigration, OfflineReplicaMutation, OfflineReplicaNaturalKeyDef, OfflineReplicaProjector, OfflineReplicaPullPage, OfflineReplicaPullProjection, OfflineReplicaPullRequest, OfflineReplicaPuller, OfflineReplicaReconciliationTarget, OfflineReplicaRemoteIdDef, OfflineReplicaRemoteIdRelease, OfflineReplicaRemoteIdentity, OfflineReplicaRow, OfflineReplicaRowKey, OfflineReplicaSchemaBundle, OfflineReplicaSchemaDefinition, OfflineReplicaSqliteAffinity, OfflineReplicaStorageKind, OfflineReplicaSyncState, OfflineReplicaTransaction, OfflineReplicaVisibility, OfflineReplicaWebMigrationCallback, OfflineReplicaWebMigrationResult, OfflineReplicaWebMigrationRow, OfflineReplicaWireChange, OfflineReplicaWireIdentity, OfflineReplicaWirePullPage, OfflineRepository, OfflineRepositoryReader, OfflineRequestPlan, OfflineRequestPolicy, OfflineResponseSource, OfflineResumeRemoteSessionOptions, OfflineScope, OfflineSessionManifest, OfflineSessionTransitionLease, OfflineStorageState, OfflineStorageUnavailableReason, OfflineSyncContext, OfflineSyncSession, OfflineSyncState, OfflineWireProtocolFingerprint, PreparedOfflineBatchOptions, PreparedOfflineCommand, ProvideOfflineOptions, ProvideReadCacheOfflineOptions, ProvideSynchronizedOfflineOptions };
|