@rdlabo/ionic-angular-kit 21.5.5 → 21.5.7

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.5.5",
3
+ "version": "21.5.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rdlabo-team/ionic-angular-library.git"
@@ -16,9 +16,32 @@ type OfflineReplicaSqliteAffinity = 'TEXT' | 'INTEGER' | 'REAL';
16
16
  */
17
17
  type OfflineReplicaStorageKind = 'text' | 'integer' | 'real' | 'booleanColumn' | 'json' | 'datetime';
18
18
  /** Scope partition persisted on every replica table row. */
19
- type OfflineReplicaEntityScope = 'user' | 'group';
19
+ type OfflineReplicaEntityScope = 'user' | 'partition';
20
20
  /** Field projection policy for a source-model property. */
21
21
  type OfflineReplicaFieldPolicy = 'column' | 'serverId' | 'ignored';
22
+ /** Canonical value types accepted in a composite server-side natural key. */
23
+ type OfflineNaturalKeyValue = string | number;
24
+ /** Ordered natural-key values keyed by source-model field name. */
25
+ type OfflineNaturalKey = Readonly<Record<string, OfflineNaturalKeyValue>>;
26
+ /** Remote row identity. Exactly one variant is valid for a replicated entity. */
27
+ type OfflineReplicaRemoteIdentity = {
28
+ readonly serverId: number;
29
+ readonly naturalKey?: never;
30
+ } | {
31
+ readonly serverId?: never;
32
+ readonly naturalKey: OfflineNaturalKey;
33
+ };
34
+ /** Runtime identity policy materialized into an entity schema. */
35
+ type OfflineReplicaIdentityDescriptor = {
36
+ readonly kind: 'localOnly';
37
+ readonly sourceKeys: readonly [];
38
+ } | {
39
+ readonly kind: 'serverId';
40
+ readonly sourceKeys: readonly [string];
41
+ } | {
42
+ readonly kind: 'naturalKey';
43
+ readonly sourceKeys: readonly string[];
44
+ };
22
45
  /** Runtime descriptor for one mapped source property. */
23
46
  interface OfflineReplicaFieldDescriptor {
24
47
  /** Source-model property name from the select shape. */
@@ -42,8 +65,10 @@ interface OfflineReplicaEntitySchema<TSelect extends Record<string, unknown>> {
42
65
  readonly tableName: string;
43
66
  /** Stable source key used by sync and repository layers. */
44
67
  readonly sourceKey: string;
45
- /** Whether rows are partitioned by user only or user plus group. */
68
+ /** Whether rows are partitioned by user only or user plus scope partition. */
46
69
  readonly scope: OfflineReplicaEntityScope;
70
+ /** Remote identity policy used by repository and pull reconciliation. */
71
+ readonly identity: OfflineReplicaIdentityDescriptor;
47
72
  /** Ordered field descriptors derived from the DSL definition. */
48
73
  readonly fields: readonly OfflineReplicaFieldDescriptor[];
49
74
  /** Deterministic DDL statements for the replica table and indexes. */
@@ -84,6 +109,11 @@ interface OfflineReplicaIgnoredDef {
84
109
  readonly kind: 'ignored';
85
110
  readonly reason: string;
86
111
  }
112
+ /** Builder selecting non-null source columns as a composite remote identity. */
113
+ interface OfflineReplicaNaturalKeyDef<TKey extends string = string> {
114
+ readonly kind: 'naturalKey';
115
+ readonly sourceKeys: readonly TKey[];
116
+ }
87
117
  type StripNullish<T> = Exclude<T, null | undefined>;
88
118
  type NormalizeReplicaColumnValue<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends Date ? string | Date : T;
89
119
  type StrictNullChecksEnabled = undefined extends null ? false : true;
@@ -104,6 +134,7 @@ interface OfflineReplicaEntityDefinition<TSelect extends Record<string, unknown>
104
134
  readonly table: string;
105
135
  readonly sourceKey: string;
106
136
  readonly scope: OfflineReplicaEntityScope;
137
+ readonly identity?: OfflineReplicaNaturalKeyDef<Extract<keyof TSelect, string>>;
107
138
  readonly fields: ExactSelectKeys<TSelect, TFields> & TFields;
108
139
  }
109
140
  /**
@@ -134,8 +165,18 @@ declare function nullable<TValue>(column: OfflineReplicaColumnDef<TValue, {
134
165
  }>;
135
166
  /** Maps a source property to the shared nullable `server_id` column. */
136
167
  declare function serverId(): OfflineReplicaServerIdDef;
168
+ /** Declares an ordered composite natural key without changing the immutable local UUID. */
169
+ declare function naturalKey<const TKey extends string>(sourceKeys: readonly TKey[]): OfflineReplicaNaturalKeyDef<TKey>;
137
170
  /** Rejects a remote identity on a local-only projection before it reaches platform storage. */
138
171
  declare function assertOfflineReplicaServerId(schema: OfflineReplicaEntitySchema<Record<string, unknown>>, value: number | null): void;
172
+ /** Extracts and validates an entity's natural key in declared component order. */
173
+ declare function offlineNaturalKeyFromValues(schema: OfflineReplicaEntitySchema<Record<string, unknown>>, values: unknown): OfflineNaturalKey | null;
174
+ /** Validates a supplied natural key and returns it in schema-declared order. */
175
+ declare function normalizeOfflineNaturalKey(schema: OfflineReplicaEntitySchema<Record<string, unknown>>, naturalKey: OfflineNaturalKey): OfflineNaturalKey;
176
+ /** Stable, type-tagged identity key used by web uniqueness and pull collapse. */
177
+ declare function canonicalOfflineRemoteIdentity(schema: OfflineReplicaEntitySchema<Record<string, unknown>>, identity: OfflineReplicaRemoteIdentity): string;
178
+ /** Enforces one immutable natural identity across optimistic and confirmed row values. */
179
+ declare function assertOfflineReplicaNaturalKeyBaseline(schema: OfflineReplicaEntitySchema<Record<string, unknown>>, values: unknown, confirmedValues: unknown | null): void;
139
180
  /** Excludes a source property from SQLite while retaining it in the select shape. */
140
181
  declare function ignored(reason: string): OfflineReplicaIgnoredDef;
141
182
  /**
@@ -219,10 +260,10 @@ declare function sha256OfflineReplicaSchema(bundle: OfflineReplicaSchemaBundle):
219
260
 
220
261
  /** Current durable storage schema used by both web and native repositories. */
221
262
  declare const OFFLINE_SCHEMA_VERSION = 4;
222
- /** User and group partition of all local offline data. */
263
+ /** User and partition scope of all local offline data. */
223
264
  interface OfflineScope {
224
265
  userId: number;
225
- groupId: number;
266
+ scopeId: string;
226
267
  }
227
268
  /** Synchronization state of a locally materialized product replica row. */
228
269
  type OfflineReplicaSyncState = 'confirmed' | 'pending' | 'blocked_auth' | 'rejected' | 'conflict';
@@ -262,7 +303,7 @@ interface OfflineReplicaRow<TValues = unknown> extends OfflineScope {
262
303
  fetchedAt: number;
263
304
  syncState: OfflineReplicaSyncState;
264
305
  }
265
- /** Stable address of a product replica row inside a user and group replica. */
306
+ /** Stable address of a product replica row inside a user or partition-scoped replica. */
266
307
  interface OfflineReplicaRowKey extends OfflineScope {
267
308
  sourceKey: string;
268
309
  localId: string;
@@ -289,6 +330,7 @@ interface OfflineRepository {
289
330
  getReplicaRow<TValues = unknown>(scope: OfflineScope, sourceKey: string, localId: string): Promise<OfflineReplicaRow<TValues> | null>;
290
331
  getReplicaRows<TValues = unknown>(scope: OfflineScope, sourceKey: string): Promise<OfflineReplicaRow<TValues>[]>;
291
332
  getReplicaRowByServerId<TValues = unknown>(scope: OfflineScope, sourceKey: string, serverId: number): Promise<OfflineReplicaRow<TValues> | null>;
333
+ getReplicaRowByRemoteIdentity<TValues = unknown>(scope: OfflineScope, sourceKey: string, identity: OfflineReplicaRemoteIdentity): Promise<OfflineReplicaRow<TValues> | null>;
292
334
  getReplicaCursor(scope: OfflineScope): Promise<OfflineReplicaCursor | null>;
293
335
  getCommands(scope: OfflineScope): Promise<OfflineCommand[]>;
294
336
  getCommandsForUser?(userId: number): Promise<OfflineCommand[]>;
@@ -296,7 +338,7 @@ interface OfflineRepository {
296
338
  replaceCommand(command: OfflineCommand): Promise<void>;
297
339
  removeCommand(commandId: string): Promise<void>;
298
340
  clearUser(userId: number): Promise<void>;
299
- clearGroup(scope: OfflineScope): Promise<void>;
341
+ clearScope(scope: OfflineScope): Promise<void>;
300
342
  transactReplica(transaction: OfflineReplicaTransaction): Promise<void>;
301
343
  }
302
344
  /** DI token for the selected platform repository. */
@@ -314,6 +356,7 @@ declare class IonicOfflineRepository implements OfflineRepository {
314
356
  getReplicaRow<TValues = unknown>(scope: OfflineScope, sourceKey: string, localId: string): Promise<OfflineReplicaRow<TValues> | null>;
315
357
  getReplicaRows<TValues = unknown>(scope: OfflineScope, sourceKey: string): Promise<OfflineReplicaRow<TValues>[]>;
316
358
  getReplicaRowByServerId<TValues = unknown>(scope: OfflineScope, sourceKey: string, serverId: number): Promise<OfflineReplicaRow<TValues> | null>;
359
+ getReplicaRowByRemoteIdentity<TValues = unknown>(scope: OfflineScope, sourceKey: string, identity: OfflineReplicaRemoteIdentity): Promise<OfflineReplicaRow<TValues> | null>;
317
360
  getReplicaCursor(scope: OfflineScope): Promise<OfflineReplicaCursor | null>;
318
361
  getCommands(scope: OfflineScope): Promise<OfflineCommand[]>;
319
362
  getCommandsForUser(userId: number): Promise<OfflineCommand[]>;
@@ -321,13 +364,13 @@ declare class IonicOfflineRepository implements OfflineRepository {
321
364
  replaceCommand(command: OfflineCommand): Promise<void>;
322
365
  removeCommand(commandId: string): Promise<void>;
323
366
  clearUser(userId: number): Promise<void>;
324
- clearGroup(scope: OfflineScope): Promise<void>;
367
+ clearScope(scope: OfflineScope): Promise<void>;
325
368
  transactReplica(transaction: OfflineReplicaTransaction): Promise<void>;
326
369
  static ɵfac: i0.ɵɵFactoryDeclaration<IonicOfflineRepository, never>;
327
370
  static ɵprov: i0.ɵɵInjectableDeclaration<IonicOfflineRepository>;
328
371
  }
329
372
 
330
- /** Server pull request for one user/group replica partition. */
373
+ /** Server pull request for one user or partition-scoped replica. */
331
374
  interface OfflineReplicaPullRequest {
332
375
  scope: OfflineScope;
333
376
  cursor: string;
@@ -335,9 +378,8 @@ interface OfflineReplicaPullRequest {
335
378
  schemaHash: string;
336
379
  }
337
380
  /** One server-side replica mutation returned by an explicit pull page. */
338
- interface OfflineReplicaChange {
381
+ interface OfflineReplicaChangeBase {
339
382
  sourceKey: string;
340
- serverId: number;
341
383
  serverRevision: string | number;
342
384
  /**
343
385
  * Idempotency command ids durably recorded by the server and reflected in this final row state.
@@ -347,6 +389,8 @@ interface OfflineReplicaChange {
347
389
  values: unknown | null;
348
390
  deleted: boolean;
349
391
  }
392
+ /** One server-side mutation with the identity kind declared by its replica schema. */
393
+ type OfflineReplicaChange = OfflineReplicaChangeBase & OfflineReplicaRemoteIdentity;
350
394
  /** One explicit replica pull response page from the application backend. */
351
395
  interface OfflineReplicaPullPage {
352
396
  schemaVersion: number;
@@ -385,6 +429,8 @@ interface OfflineCommandResult {
385
429
  interface OfflineCommandTarget {
386
430
  localId: string;
387
431
  serverId: number | null;
432
+ /** Composite identity derived from current replica values for a natural-key entity. */
433
+ naturalKey?: OfflineNaturalKey;
388
434
  }
389
435
  /** 不透明なoperationを製品APIへ送信し、local replicaへ投影するadapter。 */
390
436
  /** Product adapter that sends commands and projects acknowledgements into entities. */
@@ -395,7 +441,7 @@ interface OfflineCommandExecutor {
395
441
  }
396
442
  /** DI token for the product-specific command transport adapter. */
397
443
  declare const OFFLINE_COMMAND_EXECUTOR: InjectionToken<OfflineCommandExecutor>;
398
- /** Authenticated user and group scopes currently eligible for synchronization. */
444
+ /** Authenticated user and partition scopes currently eligible for synchronization. */
399
445
  interface OfflineSyncSession {
400
446
  userId: number;
401
447
  scopes: OfflineScope[];
@@ -419,10 +465,10 @@ declare const DEFAULT_OFFLINE_COMMAND_HOOKS: OfflineCommandHooks;
419
465
  /** DI token for optional product-specific synchronization hooks. */
420
466
  declare const OFFLINE_COMMAND_HOOKS: InjectionToken<OfflineCommandHooks>;
421
467
 
422
- /** Persisted identity and group boundary for one authenticated local replica. */
468
+ /** Persisted identity and partition boundary for one authenticated local replica. */
423
469
  interface OfflineSessionManifest {
424
470
  userId: number;
425
- scopeIds: number[];
471
+ readonly scopeIds: readonly string[];
426
472
  /** Authentication-provider subject used to distinguish users on a shared device. */
427
473
  authSubject: string | null;
428
474
  updatedAt: number;
@@ -436,8 +482,8 @@ declare class OfflineSessionService {
436
482
  #private;
437
483
  readonly activeManifest: i0.Signal<OfflineSessionManifest | null>;
438
484
  initialize(): Promise<void>;
439
- activateSession(userId: number, scopeIds: readonly number[], authSubject: string | null): Promise<void>;
440
- activateSession(userId: number, scopeIds: readonly number[], authSubject: string | null, lease: OfflineSessionTransitionLease): Promise<boolean>;
485
+ activateSession(userId: number, scopeIds: readonly string[], authSubject: string | null): Promise<void>;
486
+ activateSession(userId: number, scopeIds: readonly string[], authSubject: string | null, lease: OfflineSessionTransitionLease): Promise<boolean>;
441
487
  clearActiveSession(): Promise<void>;
442
488
  /** Immediately revoke local and remote runtime access while durable cleanup is pending. */
443
489
  revokeAccess(): void;
@@ -490,9 +536,9 @@ declare class OfflineCoordinatorService {
490
536
  readonly pendingCount: i0.Signal<number>;
491
537
  readonly conflicts: i0.Signal<_rdlabo_ionic_angular_kit_offline.OfflineCommand<unknown>[]>;
492
538
  initialize(): Promise<void>;
493
- activateSession(userId: number, scopeIds: readonly number[], authSubject: string | null): Promise<void>;
539
+ activateSession(userId: number, scopeIds: readonly string[], authSubject: string | null): Promise<void>;
494
540
  /** Installs a remotely verified identity without starting pull or outbox replay. */
495
- prepareRemoteSession(userId: number, scopeIds: readonly number[], authSubject: string | null, authLease?: OfflineSessionTransitionLease): Promise<boolean>;
541
+ prepareRemoteSession(userId: number, scopeIds: readonly string[], authSubject: string | null, authLease?: OfflineSessionTransitionLease): Promise<boolean>;
496
542
  /** Starts pull and outbox replay after the caller has published remote access. */
497
543
  resumeRemoteSession(): Promise<void>;
498
544
  /**
@@ -509,7 +555,7 @@ declare class OfflineCoordinatorService {
509
555
  /** Remote identity fields required to activate an offline session boundary. */
510
556
  interface OfflineRemoteIdentity {
511
557
  readonly userId: number;
512
- readonly scopeIds: readonly number[];
558
+ readonly scopeIds: readonly string[];
513
559
  readonly authSubject: string;
514
560
  }
515
561
  /** Phase that distinguishes route authorization from background remote recovery. */
@@ -710,6 +756,7 @@ declare class SqliteOfflineRepository implements OfflineRepository {
710
756
  getReplicaRow<TValues = unknown>(scope: OfflineScope, sourceKey: string, localId: string): Promise<OfflineReplicaRow<TValues> | null>;
711
757
  getReplicaRows<TValues = unknown>(scope: OfflineScope, sourceKey: string): Promise<OfflineReplicaRow<TValues>[]>;
712
758
  getReplicaRowByServerId<TValues = unknown>(scope: OfflineScope, sourceKey: string, serverId: number): Promise<OfflineReplicaRow<TValues> | null>;
759
+ getReplicaRowByRemoteIdentity<TValues = unknown>(scope: OfflineScope, sourceKey: string, identity: OfflineReplicaRemoteIdentity): Promise<OfflineReplicaRow<TValues> | null>;
713
760
  getReplicaCursor(scope: OfflineScope): Promise<OfflineReplicaCursor | null>;
714
761
  getCommands(scope: OfflineScope): Promise<OfflineCommand[]>;
715
762
  getCommandsForUser(userId: number): Promise<OfflineCommand[]>;
@@ -717,7 +764,7 @@ declare class SqliteOfflineRepository implements OfflineRepository {
717
764
  replaceCommand(command: OfflineCommand): Promise<void>;
718
765
  removeCommand(commandId: string): Promise<void>;
719
766
  clearUser(userId: number): Promise<void>;
720
- clearGroup(scope: OfflineScope): Promise<void>;
767
+ clearScope(scope: OfflineScope): Promise<void>;
721
768
  transactReplica(transaction: OfflineReplicaTransaction): Promise<void>;
722
769
  static ɵfac: i0.ɵɵFactoryDeclaration<SqliteOfflineRepository, never>;
723
770
  static ɵprov: i0.ɵɵInjectableDeclaration<SqliteOfflineRepository>;
@@ -752,7 +799,7 @@ declare function provideOffline(options: ProvideOfflineOptions): EnvironmentProv
752
799
  type OfflineSyncState = 'idle' | 'pending' | 'syncing' | 'attention';
753
800
  /** Mutation and optimistic entity materialization appended atomically to the outbox. */
754
801
  interface EnqueueOfflineCommand<T = unknown> {
755
- groupId: number;
802
+ scopeId: string;
756
803
  aggregateType: string;
757
804
  /** Stable UUID generated by the client before the entity is first written. */
758
805
  aggregateLocalId: string;
@@ -814,5 +861,5 @@ declare class OfflineRequestFallbackService {
814
861
  static ɵprov: i0.ɵɵInjectableDeclaration<OfflineRequestFallbackService>;
815
862
  }
816
863
 
817
- export { COMMUNITY_SQLITE, DEFAULT_OFFLINE_COMMAND_HOOKS, IonicOfflineRepository, OFFLINE_BYPASS, OFFLINE_COMMAND_EXECUTOR, OFFLINE_COMMAND_HOOKS, OFFLINE_KIT_OPTIONS, OFFLINE_REPLICA_PULLER, OFFLINE_REPOSITORY, OFFLINE_REQUEST_POLICIES, OFFLINE_RESPONSE_HEADER, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCoordinatorService, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaPullService, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineSessionService, OfflineSyncService, SqliteOfflineRepository, assertOfflineReplicaServerId, booleanColumn, createCommunitySqliteDriver, createOfflineAuthBridge, datetime, decodeOfflineReplicaValues, defineOfflineReplicaSchema, defineReplicaEntity, encodeOfflineReplicaValues, ignored, integer, isOfflineFallbackError, json, nullable, offlineInterceptor, projectOfflineReplicaValues, provideOffline, provideOfflineRequestPolicy, real, selectOfflineRepository, serverId, sha256OfflineReplicaSchema, text };
818
- export type { CommunitySqliteConnection, CommunitySqliteDatabase, CommunitySqliteDriver, CreateOfflineAuthBridgeOptions, EnqueueOfflineCommand, OfflineAuthBridgeConfig, OfflineAuthExchangeContext, OfflineAuthExchangePhase, OfflineAuthResumeContext, OfflineCommand, OfflineCommandExecutor, OfflineCommandHooks, OfflineCommandResult, OfflineCommandState, OfflineCommandTarget, OfflineKitOptions, OfflineLogoutAction, OfflineNetworkState, OfflineOutboxLimits, OfflineReadRequestPlan, OfflineRemoteIdentity, OfflineReplicaChange, OfflineReplicaColumnDef, OfflineReplicaCursor, OfflineReplicaEntityDefinition, OfflineReplicaEntitySchema, OfflineReplicaEntityScope, OfflineReplicaFieldDescriptor, OfflineReplicaFieldPolicy, OfflineReplicaIgnoredDef, OfflineReplicaMigration, OfflineReplicaPullPage, OfflineReplicaPullRequest, OfflineReplicaPuller, OfflineReplicaRow, OfflineReplicaRowKey, OfflineReplicaSchemaBundle, OfflineReplicaSchemaDefinition, OfflineReplicaServerIdDef, OfflineReplicaSqliteAffinity, OfflineReplicaStorageKind, OfflineReplicaSyncState, OfflineReplicaTransaction, OfflineReplicaWebMigrationCallback, OfflineReplicaWebMigrationResult, OfflineReplicaWebMigrationRow, OfflineRepository, OfflineRequestPlan, OfflineRequestPolicy, OfflineResponseSource, OfflineScope, OfflineSessionManifest, OfflineSessionTransitionLease, OfflineSyncContext, OfflineSyncSession, OfflineSyncState, ProvideOfflineOptions };
864
+ export { COMMUNITY_SQLITE, DEFAULT_OFFLINE_COMMAND_HOOKS, IonicOfflineRepository, OFFLINE_BYPASS, OFFLINE_COMMAND_EXECUTOR, OFFLINE_COMMAND_HOOKS, OFFLINE_KIT_OPTIONS, OFFLINE_REPLICA_PULLER, OFFLINE_REPOSITORY, OFFLINE_REQUEST_POLICIES, OFFLINE_RESPONSE_HEADER, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCoordinatorService, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaPullService, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineSessionService, OfflineSyncService, SqliteOfflineRepository, assertOfflineReplicaNaturalKeyBaseline, assertOfflineReplicaServerId, booleanColumn, canonicalOfflineRemoteIdentity, createCommunitySqliteDriver, createOfflineAuthBridge, datetime, decodeOfflineReplicaValues, defineOfflineReplicaSchema, defineReplicaEntity, encodeOfflineReplicaValues, ignored, integer, isOfflineFallbackError, json, naturalKey, normalizeOfflineNaturalKey, nullable, offlineInterceptor, offlineNaturalKeyFromValues, projectOfflineReplicaValues, provideOffline, provideOfflineRequestPolicy, real, selectOfflineRepository, serverId, sha256OfflineReplicaSchema, text };
865
+ export type { CommunitySqliteConnection, CommunitySqliteDatabase, CommunitySqliteDriver, CreateOfflineAuthBridgeOptions, EnqueueOfflineCommand, OfflineAuthBridgeConfig, OfflineAuthExchangeContext, OfflineAuthExchangePhase, OfflineAuthResumeContext, OfflineCommand, OfflineCommandExecutor, OfflineCommandHooks, OfflineCommandResult, OfflineCommandState, OfflineCommandTarget, OfflineKitOptions, OfflineLogoutAction, OfflineNaturalKey, OfflineNaturalKeyValue, OfflineNetworkState, OfflineOutboxLimits, OfflineReadRequestPlan, OfflineRemoteIdentity, OfflineReplicaChange, OfflineReplicaColumnDef, OfflineReplicaCursor, OfflineReplicaEntityDefinition, OfflineReplicaEntitySchema, OfflineReplicaEntityScope, OfflineReplicaFieldDescriptor, OfflineReplicaFieldPolicy, OfflineReplicaIdentityDescriptor, OfflineReplicaIgnoredDef, OfflineReplicaMigration, OfflineReplicaNaturalKeyDef, OfflineReplicaPullPage, OfflineReplicaPullRequest, OfflineReplicaPuller, OfflineReplicaRemoteIdentity, OfflineReplicaRow, OfflineReplicaRowKey, OfflineReplicaSchemaBundle, OfflineReplicaSchemaDefinition, OfflineReplicaServerIdDef, OfflineReplicaSqliteAffinity, OfflineReplicaStorageKind, OfflineReplicaSyncState, OfflineReplicaTransaction, OfflineReplicaWebMigrationCallback, OfflineReplicaWebMigrationResult, OfflineReplicaWebMigrationRow, OfflineRepository, OfflineRequestPlan, OfflineRequestPolicy, OfflineResponseSource, OfflineScope, OfflineSessionManifest, OfflineSessionTransitionLease, OfflineSyncContext, OfflineSyncSession, OfflineSyncState, ProvideOfflineOptions };