@rdlabo/ionic-angular-kit 21.6.0 → 21.6.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-angular-kit",
3
- "version": "21.6.0",
3
+ "version": "21.6.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rdlabo-team/ionic-angular-library.git"
@@ -853,6 +853,146 @@ declare const DEFAULT_OFFLINE_COMMAND_HOOKS: OfflineCommandHooks;
853
853
  /** DI token for optional product-specific synchronization hooks. */
854
854
  declare const OFFLINE_COMMAND_HOOKS: InjectionToken<OfflineCommandHooks>;
855
855
 
856
+ /**
857
+ * Closed set of reasons local offline storage failed to become ready.
858
+ *
859
+ * Product policy should branch on this discriminant rather than English message text.
860
+ */
861
+ type OfflineStorageUnavailableReason = 'encryption_key_unavailable' | 'core_schema_incompatible' | 'replica_schema_mismatch' | 'migration_missing' | 'storage_unavailable';
862
+ /**
863
+ * Local offline storage could not be opened or migrated without risking data loss.
864
+ *
865
+ * Prefer `instanceof` / {@link OfflineStorageUnavailableError.reason} over message text.
866
+ * The original failure is preserved on {@link Error.cause}. Kit never deletes Outbox or
867
+ * replica rows in response to this error; recovery is product-owned and explicit.
868
+ */
869
+ declare class OfflineStorageUnavailableError extends Error {
870
+ readonly reason: OfflineStorageUnavailableReason;
871
+ /** Stable machine-readable discriminator for storage initialization failures. */
872
+ static readonly code: "OFFLINE_STORAGE_UNAVAILABLE";
873
+ readonly code: "OFFLINE_STORAGE_UNAVAILABLE";
874
+ constructor(reason: OfflineStorageUnavailableReason, message: string, options?: ErrorOptions);
875
+ }
876
+ /**
877
+ * Coordinator view of encrypted local storage after app initialization.
878
+ *
879
+ * `unavailable` is reached only when the product opted into online-only startup via
880
+ * `onStorageUnavailable` (or when inspecting state after a thrown failure).
881
+ */
882
+ type OfflineStorageState = {
883
+ readonly status: 'initializing';
884
+ } | {
885
+ readonly status: 'ready';
886
+ } | {
887
+ readonly status: 'unavailable';
888
+ readonly error: OfflineStorageUnavailableError;
889
+ };
890
+ /** Narrows an unknown failure to {@link OfflineStorageUnavailableError}. */
891
+ declare function isOfflineStorageUnavailableError(error: unknown): error is OfflineStorageUnavailableError;
892
+
893
+ /** Backpressure limits for durable commands. Pending commands are never evicted automatically. */
894
+ interface OfflineOutboxLimits {
895
+ /** Maximum number of commands retained for one user. Defaults to 1,000. */
896
+ maxCommandsPerUser?: number;
897
+ /** Maximum serialized size retained for one user. Defaults to 10 MiB. */
898
+ maxBytesPerUser?: number;
899
+ }
900
+ /** Product persistence adapter for the device-local offline mutation preference. */
901
+ interface OfflineMutationPersistenceAdapter {
902
+ /** Loads the last durable preference. `null` or `undefined` uses the configured default. */
903
+ loadEnabled(): Promise<boolean | null | undefined>;
904
+ /** Persists a completed enable or disable transition. */
905
+ saveEnabled(enabled: boolean): Promise<void>;
906
+ }
907
+ /** Configuration for device-local mutation persistence control. */
908
+ interface OfflineMutationPersistenceOptions {
909
+ /** Injectable product adapter for the durable preference store. */
910
+ adapter: Type<OfflineMutationPersistenceAdapter>;
911
+ /** Initial value when no durable preference exists. Defaults to `true`. */
912
+ defaultEnabled?: boolean;
913
+ }
914
+ /** Product-independent native offline persistence settings. */
915
+ interface OfflineKitOptions {
916
+ /** Runtime transport mode. Defaults to full synchronized replica/outbox behavior. */
917
+ mode?: 'synchronized' | 'readCacheOnly';
918
+ /** Encrypted SQLite database name used on iOS and Android. */
919
+ databaseName: string;
920
+ /** Creates the native database encryption key on first install. Required on iOS and Android. */
921
+ createEncryptionKey?: () => Promise<string>;
922
+ /** Versioned product replica schema applied to native SQLite during initialization. */
923
+ replicaSchema: OfflineReplicaSchemaBundle;
924
+ /**
925
+ * Product wire protocol fingerprint exchanged with the synchronization server.
926
+ *
927
+ * Keep this independent from {@link replicaSchema}: local-only tables and
928
+ * storage migrations must not force a server rollout. When omitted, Kit uses
929
+ * the replica schema fingerprint for backward compatibility.
930
+ */
931
+ wireProtocol?: OfflineWireProtocolFingerprint;
932
+ /** Optional durable Outbox backpressure policy. */
933
+ outboxLimits?: OfflineOutboxLimits;
934
+ /**
935
+ * Optional device-local control for accepting new durable Outbox mutations.
936
+ *
937
+ * Replica reads remain enabled while mutation persistence is disabled. When omitted,
938
+ * Kit preserves the historical always-enabled mutation behavior.
939
+ */
940
+ mutationPersistence?: OfflineMutationPersistenceOptions;
941
+ /**
942
+ * Optional product callback invoked when local storage initialization fails.
943
+ *
944
+ * Providing this callback opts the application into online-only startup degradation:
945
+ * after the callback settles successfully, the app initializer completes with
946
+ * {@link OfflineCoordinatorService.storageState} `unavailable` and session/sync are not started.
947
+ * When omitted, initialization throws {@link OfflineStorageUnavailableError} as before.
948
+ * If the callback throws or rejects, initialization still fails.
949
+ *
950
+ * Kit never deletes Outbox or replica data in response to storage failure. Products may invoke
951
+ * `recoverOfflineLocalReset` only after an explicit destructive reset request.
952
+ */
953
+ onStorageUnavailable?: (error: OfflineStorageUnavailableError) => void | Promise<void>;
954
+ }
955
+ /** Exact versioned wire contract exchanged by pull transport. */
956
+ interface OfflineWireProtocolFingerprint {
957
+ /** Monotonic product wire protocol version. */
958
+ readonly version: number;
959
+ /** Deterministic fingerprint of the pull/push wire contract. */
960
+ readonly hash: string;
961
+ }
962
+ /** DI token for product-independent offline persistence settings. */
963
+ declare const OFFLINE_KIT_OPTIONS: InjectionToken<OfflineKitOptions>;
964
+
965
+ /** Raised when disabling requires pending commands to be synchronized while transport is offline. */
966
+ declare class OfflineMutationPersistenceRequiresOnlineError extends Error {
967
+ constructor();
968
+ }
969
+ /** Raised when pending commands remain after the disable transition attempted a flush. */
970
+ declare class OfflineMutationPersistencePendingError extends Error {
971
+ readonly pendingCount: number;
972
+ constructor(pendingCount: number);
973
+ }
974
+ /** Controls whether Kit accepts new durable mutations while leaving replica reads enabled. */
975
+ declare class OfflineMutationPersistenceService {
976
+ #private;
977
+ /** Whether the product configured a device-local mutation persistence preference. */
978
+ readonly available: boolean;
979
+ /** Whether new durable Outbox mutations are currently accepted. */
980
+ readonly enabled: i0.Signal<boolean>;
981
+ /** Whether Kit is draining accepted and pending mutations before disabling. */
982
+ readonly changing: i0.Signal<boolean>;
983
+ /** Loads the durable preference before Kit initializes repository-backed services. */
984
+ initialize(): Promise<void>;
985
+ /**
986
+ * Enables or disables new durable mutations.
987
+ *
988
+ * Disabling closes admission synchronously, waits for already admitted commits,
989
+ * flushes existing commands, verifies an empty Outbox, and only then persists OFF.
990
+ */
991
+ setEnabled(enabled: boolean): Promise<void>;
992
+ static ɵfac: i0.ɵɵFactoryDeclaration<OfflineMutationPersistenceService, never>;
993
+ static ɵprov: i0.ɵɵInjectableDeclaration<OfflineMutationPersistenceService>;
994
+ }
995
+
856
996
  /** Persisted identity and partition boundary for one authenticated local replica. */
857
997
  interface OfflineSessionManifest {
858
998
  userId: OfflinePrincipalId;
@@ -916,43 +1056,6 @@ declare class OfflineSessionService {
916
1056
  static ɵprov: i0.ɵɵInjectableDeclaration<OfflineSessionService>;
917
1057
  }
918
1058
 
919
- /**
920
- * Closed set of reasons local offline storage failed to become ready.
921
- *
922
- * Product policy should branch on this discriminant rather than English message text.
923
- */
924
- type OfflineStorageUnavailableReason = 'encryption_key_unavailable' | 'core_schema_incompatible' | 'replica_schema_mismatch' | 'migration_missing' | 'storage_unavailable';
925
- /**
926
- * Local offline storage could not be opened or migrated without risking data loss.
927
- *
928
- * Prefer `instanceof` / {@link OfflineStorageUnavailableError.reason} over message text.
929
- * The original failure is preserved on {@link Error.cause}. Kit never deletes Outbox or
930
- * replica rows in response to this error; recovery is product-owned and explicit.
931
- */
932
- declare class OfflineStorageUnavailableError extends Error {
933
- readonly reason: OfflineStorageUnavailableReason;
934
- /** Stable machine-readable discriminator for storage initialization failures. */
935
- static readonly code: "OFFLINE_STORAGE_UNAVAILABLE";
936
- readonly code: "OFFLINE_STORAGE_UNAVAILABLE";
937
- constructor(reason: OfflineStorageUnavailableReason, message: string, options?: ErrorOptions);
938
- }
939
- /**
940
- * Coordinator view of encrypted local storage after app initialization.
941
- *
942
- * `unavailable` is reached only when the product opted into online-only startup via
943
- * `onStorageUnavailable` (or when inspecting state after a thrown failure).
944
- */
945
- type OfflineStorageState = {
946
- readonly status: 'initializing';
947
- } | {
948
- readonly status: 'ready';
949
- } | {
950
- readonly status: 'unavailable';
951
- readonly error: OfflineStorageUnavailableError;
952
- };
953
- /** Narrows an unknown failure to {@link OfflineStorageUnavailableError}. */
954
- declare function isOfflineStorageUnavailableError(error: unknown): error is OfflineStorageUnavailableError;
955
-
956
1059
  /** User choice when logout encounters unconfirmed local mutations. */
957
1060
  type OfflineLogoutAction = 'sync' | 'discard' | 'cancel';
958
1061
  /** Options for {@link OfflineCoordinatorService.resumeRemoteSession}. */
@@ -978,6 +1081,8 @@ declare class OfflineCoordinatorService {
978
1081
  readonly syncState: i0.Signal<_rdlabo_ionic_angular_kit_offline.OfflineSyncState>;
979
1082
  readonly pendingCount: i0.Signal<number>;
980
1083
  readonly conflicts: i0.Signal<_rdlabo_ionic_angular_kit_offline.OfflineCommand[]>;
1084
+ /** Device-local control for accepting new durable Outbox mutations. */
1085
+ readonly mutationPersistence: OfflineMutationPersistenceService;
981
1086
  /**
982
1087
  * Opens local storage, then session and sync.
983
1088
  *
@@ -1077,55 +1182,68 @@ type OfflineAuthBridgeConfig = Pick<KitAuthConfig, 'onAuthorized' | 'onUnavailab
1077
1182
  */
1078
1183
  declare function createOfflineAuthBridge<TIdentity extends OfflineRemoteIdentity>(options: CreateOfflineAuthBridgeOptions<TIdentity>): OfflineAuthBridgeConfig;
1079
1184
 
1080
- /** Backpressure limits for durable commands. Pending commands are never evicted automatically. */
1081
- interface OfflineOutboxLimits {
1082
- /** Maximum number of commands retained for one user. Defaults to 1,000. */
1083
- maxCommandsPerUser?: number;
1084
- /** Maximum serialized size retained for one user. Defaults to 10 MiB. */
1085
- maxBytesPerUser?: number;
1185
+ /** Durable marker store used to request a cold-start local reset. */
1186
+ interface OfflineLocalResetMarkerStore {
1187
+ get(options: {
1188
+ key: string;
1189
+ }): Promise<{
1190
+ value: string | null;
1191
+ }>;
1192
+ set(options: {
1193
+ key: string;
1194
+ value: string;
1195
+ }): Promise<void>;
1196
+ remove(options: {
1197
+ key: string;
1198
+ }): Promise<void>;
1086
1199
  }
1087
- /** Product-independent native offline persistence settings. */
1088
- interface OfflineKitOptions {
1089
- /** Runtime transport mode. Defaults to full synchronized replica/outbox behavior. */
1090
- mode?: 'synchronized' | 'readCacheOnly';
1091
- /** Encrypted SQLite database name used on iOS and Android. */
1092
- databaseName: string;
1093
- /** Creates the native database encryption key on first install. Required on iOS and Android. */
1094
- createEncryptionKey?: () => Promise<string>;
1095
- /** Versioned product replica schema applied to native SQLite during initialization. */
1096
- replicaSchema: OfflineReplicaSchemaBundle;
1200
+ /** Minimal page reload surface used after a reset request is persisted. */
1201
+ interface OfflineLocalResetReloadTarget {
1202
+ reload(): void;
1203
+ }
1204
+ /** Native SQLite connection lifecycle required to delete Kit's encrypted database safely. */
1205
+ interface OfflineLocalResetSqliteConnection {
1206
+ checkConnectionsConsistency(): Promise<{
1207
+ result?: boolean;
1208
+ }>;
1209
+ isDatabase(database: string): Promise<{
1210
+ result?: boolean;
1211
+ }>;
1212
+ createConnection(database: string, encrypted: boolean, mode: string, version: number, readonly: boolean): Promise<{
1213
+ delete(): Promise<void>;
1214
+ }>;
1215
+ closeConnection(database: string, readonly: boolean): Promise<void>;
1216
+ }
1217
+ /** Options for {@link requestOfflineLocalReset}. */
1218
+ interface RequestOfflineLocalResetOptions {
1219
+ markerStore: OfflineLocalResetMarkerStore;
1220
+ markerKey: string;
1221
+ reloadTarget?: OfflineLocalResetReloadTarget;
1222
+ }
1223
+ /** Options for {@link recoverOfflineLocalReset}. */
1224
+ interface RecoverOfflineLocalResetOptions {
1225
+ markerStore: OfflineLocalResetMarkerStore;
1226
+ markerKey: string;
1227
+ sqliteConnection: OfflineLocalResetSqliteConnection;
1097
1228
  /**
1098
- * Product wire protocol fingerprint exchanged with the synchronization server.
1099
- *
1100
- * Keep this independent from {@link replicaSchema}: local-only tables and
1101
- * storage migrations must not force a server rollout. When omitted, Kit uses
1102
- * the replica schema fingerprint for backward compatibility.
1229
+ * Kit database followed only by product databases using Kit's same encrypted
1230
+ * secret-mode, connection-version-1, read/write lifecycle.
1231
+ * Delete databases with other connection settings in {@link additionalCleanup}.
1103
1232
  */
1104
- wireProtocol?: OfflineWireProtocolFingerprint;
1105
- /** Optional durable Outbox backpressure policy. */
1106
- outboxLimits?: OfflineOutboxLimits;
1107
- /**
1108
- * Optional product callback invoked when local storage initialization fails.
1109
- *
1110
- * Providing this callback opts the application into online-only startup degradation:
1111
- * after the callback settles successfully, the app initializer completes with
1112
- * {@link OfflineCoordinatorService.storageState} `unavailable` and session/sync are not started.
1113
- * When omitted, initialization throws {@link OfflineStorageUnavailableError} as before.
1114
- * If the callback throws or rejects, initialization still fails.
1115
- *
1116
- * Kit never deletes Outbox or replica data in response to storage failure; any reset is product-owned.
1117
- */
1118
- onStorageUnavailable?: (error: OfflineStorageUnavailableError) => void | Promise<void>;
1119
- }
1120
- /** Exact versioned wire contract exchanged by pull transport. */
1121
- interface OfflineWireProtocolFingerprint {
1122
- /** Monotonic product wire protocol version. */
1123
- readonly version: number;
1124
- /** Deterministic fingerprint of the pull/push wire contract. */
1125
- readonly hash: string;
1233
+ kitCompatibleDatabaseNames: readonly [string, ...string[]];
1234
+ nativePlatform?: boolean;
1235
+ /** Product-owned cleanup, such as a media database or files, run before the marker is removed. */
1236
+ additionalCleanup?: () => Promise<void>;
1126
1237
  }
1127
- /** DI token for product-independent offline persistence settings. */
1128
- declare const OFFLINE_KIT_OPTIONS: InjectionToken<OfflineKitOptions>;
1238
+ /** Persists an explicit destructive reset request, then reloads into a cold bootstrap. */
1239
+ declare function requestOfflineLocalReset(options: RequestOfflineLocalResetOptions): Promise<void>;
1240
+ /**
1241
+ * Recovers an explicit reset request before Angular and Kit open native SQLite.
1242
+ *
1243
+ * The marker is removed only after the Kit database and every product cleanup succeed.
1244
+ * Kit never invokes this helper automatically in response to a storage failure.
1245
+ */
1246
+ declare function recoverOfflineLocalReset(options: RecoverOfflineLocalResetOptions): Promise<boolean>;
1129
1247
 
1130
1248
  /** Identity policy for a successful offline mutation response. */
1131
1249
  type OfflineMutationEnvelopeIdPolicy = 'required' | 'optional' | 'forbidden';
@@ -1155,6 +1273,11 @@ declare class OfflineMutationProtocolError extends HttpErrorResponse {
1155
1273
  /** Strictly parses the wire envelope returned by an offline mutation endpoint. */
1156
1274
  declare function parseOfflineMutationEnvelope<T extends Record<string, unknown> = Record<string, unknown>>(input: unknown, options: OfflineMutationEnvelopeOptions): OfflineMutationEnvelope<T>;
1157
1275
 
1276
+ /** Raised when a new durable mutation reaches Kit after mutation persistence was closed. */
1277
+ declare class OfflineMutationPersistenceDisabledError extends Error {
1278
+ constructor();
1279
+ }
1280
+
1158
1281
  type OfflineNetworkState = 'online' | 'offline' | 'unverified';
1159
1282
  /** transport不能(status=0)だけをlocal replica fallback対象にし、HTTPエラーは隠さない。 */
1160
1283
  declare function isOfflineFallbackError(error: unknown): boolean;
@@ -1386,6 +1509,7 @@ interface ProvideReadCacheOfflineOptions extends ProvideOfflineOptionsBase {
1386
1509
  /** Creates the encrypted native cache database key on first install. Unused by the web repository. */
1387
1510
  createEncryptionKey: () => Promise<string>;
1388
1511
  mutationPolicies?: never;
1512
+ mutationPersistence?: never;
1389
1513
  commandExecutor?: never;
1390
1514
  replicaPuller?: never;
1391
1515
  }
@@ -1553,5 +1677,5 @@ declare class OfflineRequestFallbackService {
1553
1677
  static ɵprov: i0.ɵɵInjectableDeclaration<OfflineRequestFallbackService>;
1554
1678
  }
1555
1679
 
1556
- 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 };
1557
- 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 };
1680
+ 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, OfflineMutationPersistenceDisabledError, OfflineMutationPersistencePendingError, OfflineMutationPersistenceRequiresOnlineError, OfflineMutationPersistenceService, 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, recoverOfflineLocalReset, replicaAddressFromIdentity, requestOfflineLocalReset, requirePositiveOfflineInteger, selectOfflineRepository, serializeOfflineCommandIdentity, sha256OfflineReplicaSchema, supportsSynchronizedOfflineRepository, text };
1681
+ 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, OfflineLocalResetMarkerStore, OfflineLocalResetReloadTarget, OfflineLocalResetSqliteConnection, OfflineLogoutAction, OfflineMutationEnvelope, OfflineMutationEnvelopeIdPolicy, OfflineMutationEnvelopeOptions, OfflineMutationEnvelopeValuesPolicy, OfflineMutationPersistenceAdapter, OfflineMutationPersistenceOptions, 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, RecoverOfflineLocalResetOptions, RequestOfflineLocalResetOptions };