@rdlabo/ionic-angular-kit 22.0.1 → 22.0.2-beta.pr107.shabca274cf9d55

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": "22.0.1",
3
+ "version": "22.0.2-beta.pr107.shabca274cf9d55",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rdlabo-dev/ionic-angular-library.git"
@@ -24,13 +24,13 @@
24
24
  "@capacitor/status-bar": ">=7.0.0 <9.0.0",
25
25
  "@capacitor-community/in-app-review": ">=7.0.0 <9.0.0",
26
26
  "@capacitor-community/facebook-login": ">=8.0.0 <9.0.0",
27
- "@capacitor-community/apple-sign-in": "*",
28
27
  "@capawesome/capacitor-google-sign-in": "^0.1.4",
29
28
  "@rdlabo/capacitor-brotherprint": ">=7.0.0 <9.0.0",
30
29
  "dom-to-image-more": "^3.0.0",
31
30
  "pdf-lib": "^1.17.1",
32
31
  "firebase": ">=11 <13",
33
- "rxjs": "^7.8.0"
32
+ "rxjs": "^7.8.0",
33
+ "@capawesome/capacitor-apple-sign-in": ">=0.1.4 <1"
34
34
  },
35
35
  "peerDependenciesMeta": {
36
36
  "@angular/service-worker": {
@@ -54,9 +54,6 @@
54
54
  "@capacitor-community/facebook-login": {
55
55
  "optional": true
56
56
  },
57
- "@capacitor-community/apple-sign-in": {
58
- "optional": true
59
- },
60
57
  "@capawesome/capacitor-google-sign-in": {
61
58
  "optional": true
62
59
  },
@@ -68,6 +65,9 @@
68
65
  },
69
66
  "pdf-lib": {
70
67
  "optional": true
68
+ },
69
+ "@capawesome/capacitor-apple-sign-in": {
70
+ "optional": true
71
71
  }
72
72
  },
73
73
  "dependencies": {
@@ -92,10 +92,22 @@
92
92
  "types": "./types/rdlabo-ionic-angular-kit-auth-firebase.d.ts",
93
93
  "default": "./fesm2022/rdlabo-ionic-angular-kit-auth-firebase.mjs"
94
94
  },
95
+ "./auth-firebase/apple": {
96
+ "types": "./types/rdlabo-ionic-angular-kit-auth-firebase-apple.d.ts",
97
+ "default": "./fesm2022/rdlabo-ionic-angular-kit-auth-firebase-apple.mjs"
98
+ },
99
+ "./auth-firebase/facebook": {
100
+ "types": "./types/rdlabo-ionic-angular-kit-auth-firebase-facebook.d.ts",
101
+ "default": "./fesm2022/rdlabo-ionic-angular-kit-auth-firebase-facebook.mjs"
102
+ },
95
103
  "./auth-firebase/google": {
96
104
  "types": "./types/rdlabo-ionic-angular-kit-auth-firebase-google.d.ts",
97
105
  "default": "./fesm2022/rdlabo-ionic-angular-kit-auth-firebase-google.mjs"
98
106
  },
107
+ "./auth-firebase/internal": {
108
+ "types": "./types/rdlabo-ionic-angular-kit-auth-firebase-internal.d.ts",
109
+ "default": "./fesm2022/rdlabo-ionic-angular-kit-auth-firebase-internal.mjs"
110
+ },
99
111
  "./auth-firebase/social": {
100
112
  "types": "./types/rdlabo-ionic-angular-kit-auth-firebase-social.d.ts",
101
113
  "default": "./fesm2022/rdlabo-ionic-angular-kit-auth-firebase-social.mjs"
@@ -0,0 +1,33 @@
1
+ import { User, Auth } from 'firebase/auth';
2
+ import { KitOAuthMode, KitSocialHooks, KitOAuthModeName } from '@rdlabo/ionic-angular-kit/auth-firebase/internal';
3
+ export { KitOAuthErrorCategory, KitOAuthMode, KitOAuthModeName } from '@rdlabo/ionic-angular-kit/auth-firebase/internal';
4
+
5
+ /** Apple credentials. Native authorization codes and web access tokens are distinct values. */
6
+ interface KitAppleResponse {
7
+ user: string | null;
8
+ email: string | null;
9
+ givenName: string | null;
10
+ familyName: string | null;
11
+ identityToken: string | null;
12
+ /** One-time authorization code from native Apple sign-in; null on web. */
13
+ authorizationCode: string | null;
14
+ /** Apple access token from the Firebase web popup; null on native.
15
+ * Optional for source compatibility with existing Apple response objects. Kit always supplies it.
16
+ */
17
+ accessToken?: string | null;
18
+ }
19
+ /** Apple login options. The success hook receives the exact authenticated Firebase user. */
20
+ type KitAppleLoginOptions = KitOAuthMode & KitSocialHooks<{
21
+ response: KitAppleResponse;
22
+ mode: KitOAuthModeName;
23
+ user: User;
24
+ }>;
25
+ /** Apple sign-in/link on iOS and web. Native Android is not configured by this helper.
26
+ * Pins the user before any asynchronous work and reports SDK and app-hook failures to error.
27
+ */
28
+ declare const kitAppleLogin: (auth: Auth, options: KitAppleLoginOptions) => Promise<{
29
+ status: boolean;
30
+ }>;
31
+
32
+ export { kitAppleLogin };
33
+ export type { KitAppleLoginOptions, KitAppleResponse };
@@ -0,0 +1,29 @@
1
+ import { User, Auth } from 'firebase/auth';
2
+ import { KitOAuthMode, KitSocialHooks, KitOAuthModeName } from '@rdlabo/ionic-angular-kit/auth-firebase/internal';
3
+ export { KitOAuthErrorCategory, KitOAuthMode, KitOAuthModeName } from '@rdlabo/ionic-angular-kit/auth-firebase/internal';
4
+
5
+ /** Facebook login options. Permissions and app effects are owned by the consumer. */
6
+ type KitFacebookLoginOptions = KitOAuthMode & KitSocialHooks<{
7
+ accessToken: string;
8
+ mode: KitOAuthModeName;
9
+ user: User;
10
+ }> & {
11
+ permissions: string[];
12
+ };
13
+ /** Facebook login/link with a pinned Firebase user and classified failure hooks. */
14
+ declare const kitFacebookLogin: (auth: Auth, options: KitFacebookLoginOptions) => Promise<{
15
+ status: boolean;
16
+ }>;
17
+ /**
18
+ * Log out of the Facebook SDK (best-effort; errors are ignored).
19
+ *
20
+ * @remarks
21
+ * Apps that offer Facebook login typically call this alongside the Firebase sign-out, so it lives
22
+ * here to keep the `@capacitor-community/facebook-login` import out of the app.
23
+ * Skips the call when the Facebook SDK has no active session — otherwise `FB.logout()` logs
24
+ * "called without an access token" on web and native rejects for email/password users.
25
+ */
26
+ declare const kitFacebookLogout: () => Promise<void>;
27
+
28
+ export { kitFacebookLogin, kitFacebookLogout };
29
+ export type { KitFacebookLoginOptions };
@@ -1,5 +1,7 @@
1
+ import { KitOAuthErrorCategory } from '@rdlabo/ionic-angular-kit/auth-firebase/internal';
1
2
  import { User, Auth } from 'firebase/auth';
2
3
 
4
+ /** Sign in, link Google, reauthenticate, or add email/password after reauthentication. */
3
5
  type KitGoogleLoginMode = {
4
6
  mode: 'new';
5
7
  } | {
@@ -13,7 +15,9 @@ type KitGoogleLoginMode = {
13
15
  password: string;
14
16
  };
15
17
  };
16
- type KitGoogleErrorCategory = 'already-in-use' | 'cancelled' | 'other';
18
+ /** App-facing Google authentication error category. */
19
+ type KitGoogleErrorCategory = KitOAuthErrorCategory;
20
+ /** Google login configuration. exchange runs for new/link; hooks receive the authenticated user. */
17
21
  type KitGoogleLoginOptions = KitGoogleLoginMode & {
18
22
  clientId: string;
19
23
  before?: () => void | Promise<unknown>;
@@ -26,9 +30,14 @@ type KitGoogleLoginOptions = KitGoogleLoginMode & {
26
30
  error?: (category: KitGoogleErrorCategory, error: unknown) => void | Promise<unknown>;
27
31
  finally?: () => void | Promise<unknown>;
28
32
  };
33
+ /** Google popup/native authentication with pinned users and app-owned exchange/feedback hooks.
34
+ * Failures in before/exchange/success are reported to error and return status:false.
35
+ * finally always runs; failures in error/finally themselves reject the call.
36
+ */
29
37
  declare const kitGoogleLogin: (auth: Auth, options: KitGoogleLoginOptions) => Promise<{
30
38
  status: boolean;
31
39
  }>;
40
+ /** Best-effort native Google SDK sign-out. */
32
41
  declare const kitGoogleLogout: () => Promise<void>;
33
42
 
34
43
  export { kitGoogleLogin, kitGoogleLogout };
@@ -0,0 +1,45 @@
1
+ import { Auth, AuthCredential, User } from 'firebase/auth';
2
+
3
+ /** The app-facing classification of a social authentication failure. */
4
+ type KitOAuthErrorCategory = 'already-in-use' | 'cancelled' | 'other';
5
+ /** Sign in, link a provider, or reauthenticate before adding email/password login. */
6
+ type KitOAuthMode = {
7
+ mode: 'new';
8
+ } | {
9
+ mode: 'link';
10
+ } | {
11
+ mode: 'credential';
12
+ emailLogin: {
13
+ email: string;
14
+ password: string;
15
+ };
16
+ };
17
+ /** The discriminator of a social authentication operation. */
18
+ type KitOAuthModeName = KitOAuthMode['mode'];
19
+ /** App-owned effects. Failures in before/success are reported to error; finally always runs.
20
+ * A handled failure returns status:false. A failure in error/finally itself rejects the call.
21
+ */
22
+ interface KitSocialHooks<Info> {
23
+ before?: () => void | Promise<unknown>;
24
+ success?: (info: Info) => void | Promise<unknown>;
25
+ error?: (category: KitOAuthErrorCategory, error: unknown) => void | Promise<unknown>;
26
+ finally?: () => void | Promise<unknown>;
27
+ }
28
+ /** @internal Reject overlapping kit social flows for one Auth, including across providers.
29
+ * Holds the guard through error/finally hooks and releases it even when a hook rejects.
30
+ * Direct Firebase operations outside these helpers must be coordinated by the application.
31
+ */
32
+ declare const runOAuthOperation: (auth: Auth, operation: () => Promise<void>, onError: (error: unknown) => void | Promise<unknown>, onFinally?: () => void | Promise<unknown>) => Promise<{
33
+ status: boolean;
34
+ }>;
35
+ /** @internal Classify Firebase SDK failures without inspecting localized messages. */
36
+ declare const classifyOAuthError: (error: unknown) => KitOAuthErrorCategory;
37
+ /** @internal Require the identity captured at the start of a linking operation. */
38
+ declare const requireUser: (user: User | null) => User;
39
+ /** @internal Abort follow-up effects if the Firebase identity changed during an await. */
40
+ declare const assertCurrentUser: (auth: Auth, expectedUser: User | null) => void;
41
+ /** @internal Apply a provider credential to the captured user and return the authenticated identity. */
42
+ declare const applyOAuthCredential: (auth: Auth, credential: AuthCredential, mode: KitOAuthMode, expectedUser: User | null) => Promise<User>;
43
+
44
+ export { applyOAuthCredential, assertCurrentUser, classifyOAuthError, requireUser, runOAuthOperation };
45
+ export type { KitOAuthErrorCategory, KitOAuthMode, KitOAuthModeName, KitSocialHooks };
@@ -1,106 +1,24 @@
1
- import { Auth } from 'firebase/auth';
1
+ import { KitAppleLoginOptions as KitAppleLoginOptions$1, KitAppleResponse as KitAppleResponse$1, KitOAuthErrorCategory as KitOAuthErrorCategory$1, KitOAuthMode as KitOAuthMode$1, KitOAuthModeName as KitOAuthModeName$1, kitAppleLogin as kitAppleLogin$1 } from '@rdlabo/ionic-angular-kit/auth-firebase/apple';
2
+ import { KitFacebookLoginOptions as KitFacebookLoginOptions$1, kitFacebookLogin as kitFacebookLogin$1, kitFacebookLogout as kitFacebookLogout$1 } from '@rdlabo/ionic-angular-kit/auth-firebase/facebook';
2
3
 
3
- /** How a social-credential failure is classified for the app's error hook. */
4
- type KitOAuthErrorCategory = 'already-in-use' | 'cancelled' | 'other';
5
- /** The mode a social login runs in. */
6
- type KitOAuthModeName = 'new' | 'link' | 'credential';
7
- /**
8
- * The mode discriminator. `'credential'` links an email/password to the (re-authenticated) social
9
- * account, so it requires the new email/password; `'new'` / `'link'` do not.
10
- */
11
- type KitOAuthMode = {
12
- mode: 'new';
13
- } | {
14
- mode: 'link';
15
- } | {
16
- mode: 'credential';
17
- emailLogin: {
18
- email: string;
19
- password: string;
20
- };
21
- };
22
- /**
23
- * The apple identity payload handed to the `success` hook for the backend call. Populated from the
24
- * native plugin on device, or synthesized from the popup result on the web.
25
- */
26
- interface KitAppleResponse {
27
- user: string | null;
28
- email: string | null;
29
- givenName: string | null;
30
- familyName: string | null;
31
- identityToken: string | null;
32
- authorizationCode: string | null;
33
- }
34
- /**
35
- * The uniform lifecycle hooks for a social flow — the same `before / success / error / finally`
36
- * shape as {@link KitFirebaseAuthService}'s hooks, so a call site reads the same everywhere. All are
37
- * optional; the kit renders nothing itself.
38
- *
39
- * @typeParam Info - the identity payload handed to {@link success} (Facebook access token / Apple
40
- * response), so an app can notify its backend and give feedback in one place.
41
- *
42
- * @remarks
43
- * `before` runs before the plugin login starts, `success` after the mode's Firebase op succeeds
44
- * (carrying the identity payload — do the backend call and the toast here), `error` on a classified
45
- * failure (`'cancelled'` is passed through so the app can stay silent on a user cancel), and
46
- * `finally` always. The kit swallows none of these errors.
47
- */
48
- interface KitSocialHooks<Info> {
49
- before?: () => void | Promise<unknown>;
50
- success?: (info: Info) => void | Promise<unknown>;
51
- error?: (category: KitOAuthErrorCategory, error: unknown) => void | Promise<unknown>;
52
- finally?: () => void | Promise<unknown>;
53
- }
54
- /** Options for {@link kitFacebookLogin}. */
55
- type KitFacebookLoginOptions = KitOAuthMode & KitSocialHooks<{
56
- accessToken: string;
57
- mode: KitOAuthModeName;
58
- }> & {
59
- /** Facebook permissions to request. */
60
- permissions: string[];
61
- };
62
- /** Options for {@link kitAppleLogin}. */
63
- type KitAppleLoginOptions = KitOAuthMode & KitSocialHooks<{
64
- response: KitAppleResponse;
65
- mode: KitOAuthModeName;
66
- }>;
67
- /**
68
- * Facebook login / link, bundled: native plugin → credential → the shared 3-mode state machine.
69
- *
70
- * @remarks
71
- * On iOS the credential is built from the OIDC token with a nonce (`OAuthProvider('facebook.com')`);
72
- * elsewhere from the access token (`FacebookAuthProvider`). Returns `{ status: false }` on a
73
- * cancelled/failed plugin login or a handled Firebase error (the app was already notified via the
74
- * hooks).
75
- */
76
- declare const kitFacebookLogin: (auth: Auth, options: KitFacebookLoginOptions) => Promise<{
77
- status: boolean;
78
- }>;
79
- /**
80
- * Log out of the Facebook SDK (best-effort; errors are ignored).
81
- *
82
- * @remarks
83
- * Apps that offer Facebook login typically call this alongside the Firebase sign-out, so it lives
84
- * here to keep the `@capacitor-community/facebook-login` import out of the app.
85
- * Skips the call when the Facebook SDK has no active session — otherwise `FB.logout()` logs
86
- * "called without an access token" on web and native rejects for email/password users.
87
- */
88
- declare const kitFacebookLogout: () => Promise<void>;
89
- /**
90
- * Sign in with Apple / link, bundled. Native uses the plugin; the web uses the Firebase popup.
91
- *
92
- * @remarks
93
- * - **Native**: `SignInWithApple.authorize()` → `OAuthProvider('apple.com')` credential → the shared
94
- * 3-mode state machine.
95
- * - **Web**: `signInWithPopup` / `linkWithPopup` (with `email`/`name` scopes), or, for `credential`,
96
- * `reauthenticateWithPopup` then link the email/password. The identity payload for the backend is
97
- * synthesized from the popup result.
98
- *
99
- * Every failure path (including popup errors) is routed through `onError`.
100
- */
101
- declare const kitAppleLogin: (auth: Auth, options: KitAppleLoginOptions) => Promise<{
102
- status: boolean;
103
- }>;
4
+ /** @deprecated Import kitAppleLogin from @rdlabo/ionic-angular-kit/auth-firebase/apple. Kept for backwards compatibility. */
5
+ declare const kitAppleLogin: typeof kitAppleLogin$1;
6
+ /** @deprecated Import kitFacebookLogin from @rdlabo/ionic-angular-kit/auth-firebase/facebook. Kept for backwards compatibility. */
7
+ declare const kitFacebookLogin: typeof kitFacebookLogin$1;
8
+ /** @deprecated Import kitFacebookLogout from @rdlabo/ionic-angular-kit/auth-firebase/facebook. Kept for backwards compatibility. */
9
+ declare const kitFacebookLogout: typeof kitFacebookLogout$1;
10
+ /** @deprecated Import this type from @rdlabo/ionic-angular-kit/auth-firebase/apple. */
11
+ type KitAppleLoginOptions = KitAppleLoginOptions$1;
12
+ /** @deprecated Import this type from @rdlabo/ionic-angular-kit/auth-firebase/apple. */
13
+ type KitAppleResponse = KitAppleResponse$1;
14
+ /** @deprecated Import this type from @rdlabo/ionic-angular-kit/auth-firebase/apple or /facebook. */
15
+ type KitOAuthErrorCategory = KitOAuthErrorCategory$1;
16
+ /** @deprecated Import this type from @rdlabo/ionic-angular-kit/auth-firebase/apple or /facebook. */
17
+ type KitOAuthMode = KitOAuthMode$1;
18
+ /** @deprecated Import this type from @rdlabo/ionic-angular-kit/auth-firebase/apple or /facebook. */
19
+ type KitOAuthModeName = KitOAuthModeName$1;
20
+ /** @deprecated Import this type from @rdlabo/ionic-angular-kit/auth-firebase/facebook. */
21
+ type KitFacebookLoginOptions = KitFacebookLoginOptions$1;
104
22
 
105
23
  export { kitAppleLogin, kitFacebookLogin, kitFacebookLogout };
106
24
  export type { KitAppleLoginOptions, KitAppleResponse, KitFacebookLoginOptions, KitOAuthErrorCategory, KitOAuthMode, KitOAuthModeName };
@@ -1153,12 +1153,15 @@ declare class OfflineCoordinatorService {
1153
1153
  */
1154
1154
  readonly isStorageReady: i0.Signal<boolean>;
1155
1155
  readonly networkState: i0.Signal<_rdlabo_ionic_angular_kit_offline.OfflineNetworkState>;
1156
+ readonly checkingConnection: i0.Signal<boolean>;
1156
1157
  readonly syncState: i0.Signal<_rdlabo_ionic_angular_kit_offline.OfflineSyncState>;
1157
1158
  readonly pendingCommands: i0.Signal<_rdlabo_ionic_angular_kit_offline.OfflineCommand[]>;
1158
1159
  readonly pendingCount: i0.Signal<number>;
1159
1160
  readonly conflicts: i0.Signal<_rdlabo_ionic_angular_kit_offline.OfflineCommand[]>;
1160
1161
  /** Device-local control for accepting new durable Outbox mutations. */
1161
1162
  readonly mutationPersistence: OfflineMutationPersistenceService;
1163
+ /** Immediately verifies remote API reachability without consulting the local replica. */
1164
+ verifyConnection(url: string, timeoutMs?: number): Promise<boolean>;
1162
1165
  /** Opens local storage and restores its persisted session boundary without waiting for network discovery. */
1163
1166
  initializeLocal(): Promise<void>;
1164
1167
  /** Opens the local substrate, starts network discovery, then initializes synchronization. */
@@ -1382,6 +1385,7 @@ declare class OfflineMutationPersistenceDisabledError extends Error {
1382
1385
  constructor();
1383
1386
  }
1384
1387
 
1388
+ declare const DEFAULT_OFFLINE_CONNECTION_VERIFICATION_TIMEOUT_MS = 8000;
1385
1389
  type OfflineNetworkState = 'online' | 'offline' | 'unverified';
1386
1390
  /** transport不能(status=0)だけをlocal replica fallback対象にし、HTTPエラーは隠さない。 */
1387
1391
  declare function isOfflineFallbackError(error: unknown): boolean;
@@ -1394,9 +1398,16 @@ declare class OfflineNetworkService {
1394
1398
  readonly appActive: i0.Signal<boolean>;
1395
1399
  /** Changes on every foreground/background transition, even when connectivity is unchanged. */
1396
1400
  readonly lifecycleRevision: i0.Signal<number>;
1401
+ /** Whether an explicit remote API reachability check is running. */
1402
+ readonly checkingConnection: i0.Signal<boolean>;
1397
1403
  initialize(): Promise<void>;
1398
1404
  markApiSuccess(): void;
1399
1405
  markApiFailure(): void;
1406
+ /**
1407
+ * Runs one remote-only reachability check for this service instance and updates the observed API state.
1408
+ * While it is running, every caller shares that check; products should therefore use one stable health endpoint.
1409
+ */
1410
+ verifyConnection(url: string, timeoutMs?: number): Promise<boolean>;
1400
1411
  /** Factory seam for Capacitor app-state discovery and deterministic tests. */
1401
1412
  protected getAppState(): Promise<{
1402
1413
  isActive: boolean;
@@ -1419,6 +1430,8 @@ declare class OfflineNetworkService {
1419
1430
 
1420
1431
  /** outbox再送時にoffline interceptorだけを迂回する。認証・retryは維持する。 */
1421
1432
  declare const OFFLINE_BYPASS: HttpContextToken<boolean>;
1433
+ /** Lets a manual reachability probe apply its transport failure with its own observation-order guard. */
1434
+ declare const OFFLINE_IGNORE_TRANSPORT_FAILURE: HttpContextToken<boolean>;
1422
1435
  /** Header attached to synthetic local or optimistic responses. */
1423
1436
  declare const OFFLINE_RESPONSE_HEADER = "X-Offline-Response";
1424
1437
  /** Header marking a local response as a complete collection snapshot. */
@@ -1900,5 +1913,5 @@ declare class OfflineRequestFallbackService {
1900
1913
  static ɵprov: i0.ɵɵInjectableDeclaration<OfflineRequestFallbackService>;
1901
1914
  }
1902
1915
 
1903
- 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_COMPLETE_HEADER, OFFLINE_RESPONSE_HEADER, OFFLINE_RETRY_RANDOM, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCommandInFlightError, OfflineCoordinatorService, OfflineImmediateCommandRejectedError, OfflineMutationPersistenceDisabledError, OfflineMutationPersistencePendingError, OfflineMutationPersistenceRequiresOnlineError, OfflineMutationPersistenceService, OfflineMutationPolicyConflictError, OfflineMutationProtocolError, OfflineMutationRequestPolicyRegistry, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaMutationCoordinator, OfflineReplicaPullService, OfflineReplicaSchemaMismatchError, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineRouteInitializerService, 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, migrateOfflineDatabaseEncryption, naturalKey, normalizeOfflineNaturalKey, normalizeOfflineReplicaPullPage, nullable, offlineAggregateIntentMutations, offlineCommandLookupIdentity, offlineCommandTargetFromReplicaRow, offlineCommandWithBaseRevision, offlineGeneratedReplicaIdentity, offlineInterceptor, offlineNaturalKeyFromValues, offlineNaturalReplicaIdentity, offlineReadEmission, offlineReadSource, offlineReplicaRemoteIdentity, offlineRetryDelayMs, offlineSessionManifestAllows, parseOfflineCommandIdentity, parseOfflineMutationEnvelope, parseOfflinePrincipalId, projectOfflineReplicaValues, provideOffline, provideOfflineMutationRequestPolicy, provideOfflineRequestPolicy, provideRouteScopedOffline, real, recoverOfflineLocalReset, replicaAddressFromIdentity, requestOfflineLocalReset, requirePositiveOfflineInteger, selectOfflineRepository, serializeOfflineCommandIdentity, sha256OfflineReplicaSchema, shouldCommitOfflineCollection, supportsSynchronizedOfflineRepository, text };
1916
+ export { COMMUNITY_SQLITE, DEFAULT_OFFLINE_COMMAND_HOOKS, DEFAULT_OFFLINE_CONNECTION_VERIFICATION_TIMEOUT_MS, IonicOfflineRepository, OFFLINE_AGGREGATE_INTENT_PROJECTOR, OFFLINE_BYPASS, OFFLINE_COMMAND_EXECUTOR, OFFLINE_COMMAND_HOOKS, OFFLINE_IGNORE_TRANSPORT_FAILURE, OFFLINE_KIT_OPTIONS, OFFLINE_MUTATION_REQUEST_POLICIES, OFFLINE_REPLICA_PROJECTOR, OFFLINE_REPLICA_PULLER, OFFLINE_REPOSITORY, OFFLINE_REQUEST_POLICIES, OFFLINE_RESPONSE_COMPLETE_HEADER, OFFLINE_RESPONSE_HEADER, OFFLINE_RETRY_RANDOM, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCommandInFlightError, OfflineCoordinatorService, OfflineImmediateCommandRejectedError, OfflineMutationPersistenceDisabledError, OfflineMutationPersistencePendingError, OfflineMutationPersistenceRequiresOnlineError, OfflineMutationPersistenceService, OfflineMutationPolicyConflictError, OfflineMutationProtocolError, OfflineMutationRequestPolicyRegistry, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaMutationCoordinator, OfflineReplicaPullService, OfflineReplicaSchemaMismatchError, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineRouteInitializerService, 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, migrateOfflineDatabaseEncryption, naturalKey, normalizeOfflineNaturalKey, normalizeOfflineReplicaPullPage, nullable, offlineAggregateIntentMutations, offlineCommandLookupIdentity, offlineCommandTargetFromReplicaRow, offlineCommandWithBaseRevision, offlineGeneratedReplicaIdentity, offlineInterceptor, offlineNaturalKeyFromValues, offlineNaturalReplicaIdentity, offlineReadEmission, offlineReadSource, offlineReplicaRemoteIdentity, offlineRetryDelayMs, offlineSessionManifestAllows, parseOfflineCommandIdentity, parseOfflineMutationEnvelope, parseOfflinePrincipalId, projectOfflineReplicaValues, provideOffline, provideOfflineMutationRequestPolicy, provideOfflineRequestPolicy, provideRouteScopedOffline, real, recoverOfflineLocalReset, replicaAddressFromIdentity, requestOfflineLocalReset, requirePositiveOfflineInteger, selectOfflineRepository, serializeOfflineCommandIdentity, sha256OfflineReplicaSchema, shouldCommitOfflineCollection, supportsSynchronizedOfflineRepository, text };
1904
1917
  export type { CommunitySqliteConnection, CommunitySqliteDatabase, CommunitySqliteDriver, CreateOfflineAuthBridgeOptions, EnqueueOfflineCommand, EnqueueOfflineCommandIdentity, EnqueueOfflineGeneratedIdentity, EnqueueOfflineNaturalIdentity, MigrateOfflineDatabaseEncryptionOptions, OfflineAggregateIntentConflict, OfflineAggregateIntentProjectInput, OfflineAggregateIntentProjectResult, OfflineAggregateIntentProjection, OfflineAggregateIntentProjector, OfflineAuthBridgeConfig, OfflineAuthExchangeContext, OfflineAuthExchangePhase, OfflineAuthResumeContext, OfflineCommand, OfflineCommandExecutor, OfflineCommandHooks, OfflineCommandIdentity, OfflineCommandResult, OfflineCommandState, OfflineCommandTarget, OfflineGeneratedCommandLocator, OfflineGeneratedRemoteId, OfflineKitEncryptionOptions, OfflineKitOptions, OfflineLocalResetMarkerStore, OfflineLocalResetReloadTarget, OfflineLocalResetSqliteConnection, OfflineLogoutAction, OfflineMutationEnvelope, OfflineMutationEnvelopeIdPolicy, OfflineMutationEnvelopeOptions, OfflineMutationEnvelopeValuesPolicy, OfflineMutationPersistenceAdapter, OfflineMutationPersistenceOptions, OfflineMutationRequestPlan, OfflineMutationRequestPolicy, OfflineNaturalKey, OfflineNaturalKeyValue, OfflineNetworkState, OfflineOutboxLimits, OfflinePrepareRemoteSessionOptions, OfflinePrincipalId, OfflinePullAttention, OfflinePullAttentionReason, OfflineReadEmission, OfflineReadRequestPlan, OfflineReadResponseSource, OfflineReadStrategy, OfflineRemoteIdentity, OfflineReplicaAddress, OfflineReplicaChange, OfflineReplicaChangeBase, OfflineReplicaChangeBatch, 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 };