From d70bc7527db4d72f58503c44a5f20ad13252f205 Mon Sep 17 00:00:00 2001 From: steida Date: Wed, 22 May 2024 15:08:21 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20evoluhq/?= =?UTF-8?q?evolu@35af0bc387372a62c26540194f471cea7925b44a=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nojekyll | 1 + assets/highlight.css | 99 + assets/icons.js | 15 + assets/icons.svg | 1 + assets/main.js | 59 + assets/navigation.js | 1 + assets/search.js | 1 + assets/style.css | 1420 +++++++++++++ classes/_evolu_common.AppState.html | 377 ++++ classes/_evolu_common.Bip39.html | 509 +++++ classes/_evolu_common.DbFactory.html | 245 +++ classes/_evolu_common.EvoluFactory.html | 1828 +++++++++++++++++ classes/_evolu_common.NanoIdGenerator.html | 333 +++ classes/_evolu_common.SecretBox.html | 598 ++++++ classes/_evolu_common.SqliteFactory.html | 246 +++ classes/_evolu_common.SyncFactory.html | 245 +++ classes/_evolu_common.SyncLock.html | 421 ++++ ...lu_common.SyncLockAlreadySyncingError.html | 3 + classes/_evolu_common.Time.html | 246 +++ functions/_evolu_common.applyPatches.html | 1 + functions/_evolu_common.areEqual.html | 1 + functions/_evolu_common.cast.html | 7 + functions/_evolu_common.createIndexes.html | 10 + ...volu_common.createNanoIdGeneratorLive.html | 1 + functions/_evolu_common.createRuntime.html | 2 + functions/_evolu_common.database.html | 8 + functions/_evolu_common.deserializeQuery.html | 1 + functions/_evolu_common.diffMerkleTrees.html | 1 + .../_evolu_common.drawSqliteQueryPlan.html | 1 + functions/_evolu_common.emptyRows.html | 1 + ..._evolu_common.ensureTransferableError.html | 2 + functions/_evolu_common.getLockName.html | 2 + functions/_evolu_common.id-2.html | 5 + .../_evolu_common.insertIntoMerkleTree.html | 1 + .../_evolu_common.isJsonObjectOrArray.html | 1 + functions/_evolu_common.isSqlMutation.html | 1 + functions/_evolu_common.makeOwner.html | 1 + functions/_evolu_common.makePatches.html | 6 + functions/_evolu_common.makeStore.html | 1 + .../_evolu_common.makeSyncTimestamp.html | 1 + .../_evolu_common.makeUnexpectedError.html | 1 + functions/_evolu_common.maybeJson.html | 1 + ...mmon.maybeLogSqliteQueryExecutionTime.html | 1 + functions/_evolu_common.maybeParseJson.html | 2 + .../_evolu_common.merkleTreeToString.html | 1 + .../_evolu_common.millisToMerkleTreePath.html | 1 + functions/_evolu_common.murmurhash.html | 1 + .../_evolu_common.queryResultFromRows.html | 1 + functions/_evolu_common.receiveTimestamp.html | 1 + functions/_evolu_common.sendTimestamp.html | 1 + functions/_evolu_common.serializeQuery.html | 1 + functions/_evolu_common.slip21Derive.html | 1 + functions/_evolu_common.table-1.html | 9 + functions/_evolu_common.timestampToHash.html | 1 + .../_evolu_common.timestampToString.html | 1 + ...olu_common.unsafeMerkleTreeFromString.html | 1 + ...volu_common.unsafeTimestampFromString.html | 1 + ..._common.upsertValueIntoTableRowColumn.html | 1 + ...evolu_common.validateMnemonicToEffect.html | 1 + .../_evolu_common.valuesToSqliteValues.html | 1 + .../_evolu_common_react.EvoluProvider.html | 1 + functions/_evolu_common_react.use.html | 4 + functions/_evolu_common_react.useEvolu.html | 6 + .../_evolu_common_react.useEvoluError.html | 2 + functions/_evolu_common_react.useOwner.html | 2 + functions/_evolu_common_react.useQueries.html | 2 + functions/_evolu_common_react.useQuery.html | 9 + ...olu_common_react.useQuerySubscription.html | 2 + .../_evolu_common_react.useSyncState.html | 2 + functions/_evolu_common_web.createEvolu.html | 7 + .../_evolu_common_web.parseMnemonic.html | 3 + functions/_evolu_react.EvoluProvider.html | 1 + functions/_evolu_react.cast.html | 7 + functions/_evolu_react.createEvolu.html | 7 + functions/_evolu_react.createIndexes.html | 6 + functions/_evolu_react.database.html | 8 + .../_evolu_react.ensureTransferableError.html | 2 + functions/_evolu_react.id-2.html | 5 + functions/_evolu_react.jsonArrayFrom.html | 15 + functions/_evolu_react.jsonObjectFrom.html | 16 + .../_evolu_react.makeUnexpectedError.html | 1 + functions/_evolu_react.parseMnemonic.html | 3 + functions/_evolu_react.sql.html | 181 ++ functions/_evolu_react.table.html | 9 + functions/_evolu_react.useEvolu.html | 6 + functions/_evolu_react.useEvoluError.html | 2 + functions/_evolu_react.useOwner.html | 2 + functions/_evolu_react.useQueries.html | 2 + functions/_evolu_react.useQuery.html | 9 + .../_evolu_react.useQuerySubscription.html | 2 + functions/_evolu_react.useSyncState.html | 2 + .../_evolu_react_native.EvoluProvider.html | 1 + functions/_evolu_react_native.cast.html | 7 + .../_evolu_react_native.createEvolu.html | 7 + .../_evolu_react_native.createIndexes.html | 6 + functions/_evolu_react_native.database.html | 8 + ..._react_native.ensureTransferableError.html | 2 + functions/_evolu_react_native.id-2.html | 5 + .../_evolu_react_native.jsonArrayFrom.html | 15 + .../_evolu_react_native.jsonObjectFrom.html | 16 + ...volu_react_native.makeUnexpectedError.html | 1 + .../_evolu_react_native.parseMnemonic.html | 2 + functions/_evolu_react_native.sql.html | 181 ++ functions/_evolu_react_native.table.html | 9 + functions/_evolu_react_native.useEvolu.html | 6 + .../_evolu_react_native.useEvoluError.html | 2 + functions/_evolu_react_native.useOwner.html | 2 + functions/_evolu_react_native.useQueries.html | 2 + functions/_evolu_react_native.useQuery.html | 9 + ...olu_react_native.useQuerySubscription.html | 2 + .../_evolu_react_native.useSyncState.html | 2 + hierarchy.html | 1 + index.html | 49 + interfaces/_evolu_common.Callbacks.html | 4 + interfaces/_evolu_common.Config.html | 19 + interfaces/_evolu_common.Db.html | 9 + interfaces/_evolu_common.DbSchema.html | 3 + .../_evolu_common.EncryptedMessage.html | 6 + interfaces/_evolu_common.Evolu.html | 166 ++ interfaces/_evolu_common.EvoluConfig.html | 28 + .../_evolu_common.InvalidMnemonicError.html | 2 + interfaces/_evolu_common.MerkleTree.html | 7 + interfaces/_evolu_common.Message.html | 6 + interfaces/_evolu_common.MessageContent.html | 14 + interfaces/_evolu_common.Mutation.html | 5 + interfaces/_evolu_common.NetworkError.html | 2 + interfaces/_evolu_common.NewMessage.html | 5 + ...volu_common.NotSupportedPlatformError.html | 2 + interfaces/_evolu_common.Owner.html | 15 + .../_evolu_common.PaymentRequiredError.html | 2 + interfaces/_evolu_common.QueryPatches.html | 3 + interfaces/_evolu_common.QueryResult.html | 7 + interfaces/_evolu_common.ReplaceAllPatch.html | 3 + interfaces/_evolu_common.ReplaceAtPatch.html | 4 + interfaces/_evolu_common.ServerError.html | 3 + interfaces/_evolu_common.Sqlite.html | 13 + .../_evolu_common.SqliteExecResult.html | 3 + interfaces/_evolu_common.SqliteQuery.html | 4 + .../_evolu_common.SqliteQueryOptions.html | 4 + interfaces/_evolu_common.Store.html | 4 + interfaces/_evolu_common.Sync.html | 3 + interfaces/_evolu_common.SyncData.html | 4 + interfaces/_evolu_common.SyncLockRelease.html | 2 + interfaces/_evolu_common.SyncRequest.html | 10 + interfaces/_evolu_common.SyncResponse.html | 6 + interfaces/_evolu_common.SyncResult.html | 3 + .../_evolu_common.SyncStateInitial.html | 3 + .../_evolu_common.SyncStateIsNotSynced.html | 3 + .../_evolu_common.SyncStateIsSynced.html | 3 + .../_evolu_common.SyncStateIsSyncing.html | 2 + interfaces/_evolu_common.Table.html | 3 + interfaces/_evolu_common.Timestamp.html | 4 + ..._common.TimestampCounterOverflowError.html | 2 + .../_evolu_common.TimestampDriftError.html | 4 + ...lu_common.TimestampDuplicateNodeError.html | 3 + ...u_common.TimestampTimeOutOfRangeError.html | 2 + interfaces/_evolu_common.UnexpectedError.html | 5 + .../_evolu_react.InvalidMnemonicError.html | 2 + interfaces/_evolu_react.Owner.html | 15 + interfaces/_evolu_react.QueryResult.html | 7 + interfaces/_evolu_react.Timestamp.html | 4 + interfaces/_evolu_react.UnexpectedError.html | 5 + ...olu_react_native.InvalidMnemonicError.html | 2 + interfaces/_evolu_react_native.Owner.html | 15 + .../_evolu_react_native.QueryResult.html | 7 + interfaces/_evolu_react_native.Timestamp.html | 4 + .../_evolu_react_native.UnexpectedError.html | 5 + interfaces/_evolu_server.BadRequestError.html | 3 + interfaces/_evolu_server.Database.html | 4 + interfaces/_evolu_server.Server.html | 5 + modules/_evolu_common.html | 213 ++ modules/_evolu_common_react.html | 16 + modules/_evolu_common_web.html | 9 + modules/_evolu_react.html | 55 + modules/_evolu_react_native.html | 56 + modules/_evolu_server.html | 14 + types/_evolu_common.Counter.html | 1 + types/_evolu_common.EvoluError.html | 2 + types/_evolu_common.EvoluSchema.html | 2 + types/_evolu_common.ExtractRow.html | 5 + types/_evolu_common.FlushSync.html | 5 + types/_evolu_common.Id.html | 1 + types/_evolu_common.Index.html | 1 + types/_evolu_common.JsonObjectOrArray.html | 1 + types/_evolu_common.Listener.html | 1 + types/_evolu_common.MerkleTreeString.html | 1 + types/_evolu_common.Millis.html | 1 + types/_evolu_common.Mnemonic.html | 5 + types/_evolu_common.NanoId.html | 1 + types/_evolu_common.NodeId.html | 1 + types/_evolu_common.NonEmptyString1000.html | 1 + types/_evolu_common.OwnerId.html | 3 + types/_evolu_common.Patch.html | 1 + types/_evolu_common.PositiveInt.html | 1 + types/_evolu_common.Queries.html | 1 + types/_evolu_common.Query.html | 3 + ..._evolu_common.QueryResultsFromQueries.html | 1 + ...ommon.QueryResultsPromisesFromQueries.html | 1 + types/_evolu_common.QueryRowsMap.html | 1 + types/_evolu_common.Row.html | 1 + types/_evolu_common.SqliteBoolean.html | 1 + types/_evolu_common.SqliteDate.html | 1 + types/_evolu_common.SqliteQueryPlanRow.html | 1 + types/_evolu_common.SqliteRow.html | 1 + .../_evolu_common.SqliteTransactionMode.html | 1 + types/_evolu_common.SqliteValue.html | 1 + types/_evolu_common.String.html | 1 + types/_evolu_common.String1000.html | 1 + types/_evolu_common.SyncState.html | 3 + types/_evolu_common.TimestampError.html | 4 + types/_evolu_common.TimestampHash.html | 1 + types/_evolu_common.TimestampString.html | 1 + types/_evolu_common.Unsubscribe.html | 1 + types/_evolu_common.Value.html | 1 + types/_evolu_react.EvoluError.html | 2 + types/_evolu_react.ExtractRow.html | 5 + types/_evolu_react.Id.html | 1 + types/_evolu_react.Mnemonic.html | 5 + types/_evolu_react.NonEmptyString1000.html | 1 + types/_evolu_react.NotNull.html | 6 + types/_evolu_react.OwnerId.html | 3 + types/_evolu_react.PositiveInt.html | 1 + types/_evolu_react.SqliteBoolean.html | 1 + types/_evolu_react.SqliteDate.html | 1 + types/_evolu_react.String.html | 1 + types/_evolu_react.String1000.html | 1 + types/_evolu_react.SyncState.html | 3 + types/_evolu_react.TimestampError.html | 4 + types/_evolu_react_native.EvoluError.html | 2 + types/_evolu_react_native.ExtractRow.html | 5 + types/_evolu_react_native.Id.html | 1 + types/_evolu_react_native.Mnemonic.html | 5 + ...evolu_react_native.NonEmptyString1000.html | 1 + types/_evolu_react_native.NotNull.html | 6 + types/_evolu_react_native.OwnerId.html | 3 + types/_evolu_react_native.PositiveInt.html | 1 + types/_evolu_react_native.SqliteBoolean.html | 1 + types/_evolu_react_native.SqliteDate.html | 1 + types/_evolu_react_native.String.html | 1 + types/_evolu_react_native.String1000.html | 1 + types/_evolu_react_native.SyncState.html | 3 + types/_evolu_react_native.TimestampError.html | 4 + types/_evolu_server.Db.html | 3 + variables/_evolu_common.AllowedTimeRange.html | 1 + variables/_evolu_common.Callbacks-1.html | 1 + variables/_evolu_common.Config-1.html | 1 + variables/_evolu_common.Counter-1.html | 1 + .../_evolu_common.EncryptedMessage-1.html | 2 + variables/_evolu_common.FlushSync-1.html | 1 + variables/_evolu_common.Id-1.html | 2 + variables/_evolu_common.Index-1.html | 1 + variables/_evolu_common.MessageContent-1.html | 2 + variables/_evolu_common.Millis-1.html | 6 + variables/_evolu_common.NodeId-1.html | 1 + .../_evolu_common.NonEmptyString1000-1.html | 5 + variables/_evolu_common.Owner-1.html | 1 + variables/_evolu_common.PositiveInt-1.html | 5 + variables/_evolu_common.Sqlite-1.html | 1 + variables/_evolu_common.SqliteBoolean-1.html | 4 + variables/_evolu_common.SqliteDate-1.html | 4 + variables/_evolu_common.String-1.html | 5 + variables/_evolu_common.String1000-1.html | 5 + variables/_evolu_common.Sync-1.html | 1 + variables/_evolu_common.SyncRequest-1.html | 2 + variables/_evolu_common.SyncResponse-1.html | 2 + variables/_evolu_common.createDb.html | 1 + variables/_evolu_common.createSync.html | 1 + variables/_evolu_common.defaultConfig.html | 1 + .../_evolu_common.initialMerkleTree.html | 1 + variables/_evolu_common.initialMillis.html | 1 + variables/_evolu_common.initialSyncState.html | 1 + .../_evolu_common.makeInitialTimestamp.html | 1 + ...olu_common.notSupportedPlatformWorker.html | 1 + .../_evolu_common_react.EvoluContext.html | 1 + .../_evolu_common_web.EvoluFactoryWeb.html | 1 + variables/_evolu_react.EvoluContext.html | 1 + variables/_evolu_react.Id-1.html | 2 + .../_evolu_react.NonEmptyString1000-1.html | 5 + variables/_evolu_react.Owner-1.html | 1 + variables/_evolu_react.PositiveInt-1.html | 5 + variables/_evolu_react.SqliteBoolean-1.html | 4 + variables/_evolu_react.SqliteDate-1.html | 4 + variables/_evolu_react.String-1.html | 5 + variables/_evolu_react.String1000-1.html | 5 + variables/_evolu_react.use.html | 4 + .../_evolu_react_native.EvoluContext.html | 1 + ..._react_native.EvoluFactoryReactNative.html | 1 + variables/_evolu_react_native.Id-1.html | 2 + ...olu_react_native.NonEmptyString1000-1.html | 5 + variables/_evolu_react_native.Owner-1.html | 1 + .../_evolu_react_native.PositiveInt-1.html | 5 + .../_evolu_react_native.SqliteBoolean-1.html | 4 + .../_evolu_react_native.SqliteDate-1.html | 4 + variables/_evolu_react_native.String-1.html | 5 + .../_evolu_react_native.String1000-1.html | 5 + variables/_evolu_react_native.use.html | 4 + variables/_evolu_server.Db-1.html | 1 + variables/_evolu_server.Server-1.html | 1 + variables/_evolu_server.ServerLive.html | 1 + variables/_evolu_server.createExpressApp.html | 1 + 300 files changed, 8514 insertions(+) create mode 100644 .nojekyll create mode 100644 assets/highlight.css create mode 100644 assets/icons.js create mode 100644 assets/icons.svg create mode 100644 assets/main.js create mode 100644 assets/navigation.js create mode 100644 assets/search.js create mode 100644 assets/style.css create mode 100644 classes/_evolu_common.AppState.html create mode 100644 classes/_evolu_common.Bip39.html create mode 100644 classes/_evolu_common.DbFactory.html create mode 100644 classes/_evolu_common.EvoluFactory.html create mode 100644 classes/_evolu_common.NanoIdGenerator.html create mode 100644 classes/_evolu_common.SecretBox.html create mode 100644 classes/_evolu_common.SqliteFactory.html create mode 100644 classes/_evolu_common.SyncFactory.html create mode 100644 classes/_evolu_common.SyncLock.html create mode 100644 classes/_evolu_common.SyncLockAlreadySyncingError.html create mode 100644 classes/_evolu_common.Time.html create mode 100644 functions/_evolu_common.applyPatches.html create mode 100644 functions/_evolu_common.areEqual.html create mode 100644 functions/_evolu_common.cast.html create mode 100644 functions/_evolu_common.createIndexes.html create mode 100644 functions/_evolu_common.createNanoIdGeneratorLive.html create mode 100644 functions/_evolu_common.createRuntime.html create mode 100644 functions/_evolu_common.database.html create mode 100644 functions/_evolu_common.deserializeQuery.html create mode 100644 functions/_evolu_common.diffMerkleTrees.html create mode 100644 functions/_evolu_common.drawSqliteQueryPlan.html create mode 100644 functions/_evolu_common.emptyRows.html create mode 100644 functions/_evolu_common.ensureTransferableError.html create mode 100644 functions/_evolu_common.getLockName.html create mode 100644 functions/_evolu_common.id-2.html create mode 100644 functions/_evolu_common.insertIntoMerkleTree.html create mode 100644 functions/_evolu_common.isJsonObjectOrArray.html create mode 100644 functions/_evolu_common.isSqlMutation.html create mode 100644 functions/_evolu_common.makeOwner.html create mode 100644 functions/_evolu_common.makePatches.html create mode 100644 functions/_evolu_common.makeStore.html create mode 100644 functions/_evolu_common.makeSyncTimestamp.html create mode 100644 functions/_evolu_common.makeUnexpectedError.html create mode 100644 functions/_evolu_common.maybeJson.html create mode 100644 functions/_evolu_common.maybeLogSqliteQueryExecutionTime.html create mode 100644 functions/_evolu_common.maybeParseJson.html create mode 100644 functions/_evolu_common.merkleTreeToString.html create mode 100644 functions/_evolu_common.millisToMerkleTreePath.html create mode 100644 functions/_evolu_common.murmurhash.html create mode 100644 functions/_evolu_common.queryResultFromRows.html create mode 100644 functions/_evolu_common.receiveTimestamp.html create mode 100644 functions/_evolu_common.sendTimestamp.html create mode 100644 functions/_evolu_common.serializeQuery.html create mode 100644 functions/_evolu_common.slip21Derive.html create mode 100644 functions/_evolu_common.table-1.html create mode 100644 functions/_evolu_common.timestampToHash.html create mode 100644 functions/_evolu_common.timestampToString.html create mode 100644 functions/_evolu_common.unsafeMerkleTreeFromString.html create mode 100644 functions/_evolu_common.unsafeTimestampFromString.html create mode 100644 functions/_evolu_common.upsertValueIntoTableRowColumn.html create mode 100644 functions/_evolu_common.validateMnemonicToEffect.html create mode 100644 functions/_evolu_common.valuesToSqliteValues.html create mode 100644 functions/_evolu_common_react.EvoluProvider.html create mode 100644 functions/_evolu_common_react.use.html create mode 100644 functions/_evolu_common_react.useEvolu.html create mode 100644 functions/_evolu_common_react.useEvoluError.html create mode 100644 functions/_evolu_common_react.useOwner.html create mode 100644 functions/_evolu_common_react.useQueries.html create mode 100644 functions/_evolu_common_react.useQuery.html create mode 100644 functions/_evolu_common_react.useQuerySubscription.html create mode 100644 functions/_evolu_common_react.useSyncState.html create mode 100644 functions/_evolu_common_web.createEvolu.html create mode 100644 functions/_evolu_common_web.parseMnemonic.html create mode 100644 functions/_evolu_react.EvoluProvider.html create mode 100644 functions/_evolu_react.cast.html create mode 100644 functions/_evolu_react.createEvolu.html create mode 100644 functions/_evolu_react.createIndexes.html create mode 100644 functions/_evolu_react.database.html create mode 100644 functions/_evolu_react.ensureTransferableError.html create mode 100644 functions/_evolu_react.id-2.html create mode 100644 functions/_evolu_react.jsonArrayFrom.html create mode 100644 functions/_evolu_react.jsonObjectFrom.html create mode 100644 functions/_evolu_react.makeUnexpectedError.html create mode 100644 functions/_evolu_react.parseMnemonic.html create mode 100644 functions/_evolu_react.sql.html create mode 100644 functions/_evolu_react.table.html create mode 100644 functions/_evolu_react.useEvolu.html create mode 100644 functions/_evolu_react.useEvoluError.html create mode 100644 functions/_evolu_react.useOwner.html create mode 100644 functions/_evolu_react.useQueries.html create mode 100644 functions/_evolu_react.useQuery.html create mode 100644 functions/_evolu_react.useQuerySubscription.html create mode 100644 functions/_evolu_react.useSyncState.html create mode 100644 functions/_evolu_react_native.EvoluProvider.html create mode 100644 functions/_evolu_react_native.cast.html create mode 100644 functions/_evolu_react_native.createEvolu.html create mode 100644 functions/_evolu_react_native.createIndexes.html create mode 100644 functions/_evolu_react_native.database.html create mode 100644 functions/_evolu_react_native.ensureTransferableError.html create mode 100644 functions/_evolu_react_native.id-2.html create mode 100644 functions/_evolu_react_native.jsonArrayFrom.html create mode 100644 functions/_evolu_react_native.jsonObjectFrom.html create mode 100644 functions/_evolu_react_native.makeUnexpectedError.html create mode 100644 functions/_evolu_react_native.parseMnemonic.html create mode 100644 functions/_evolu_react_native.sql.html create mode 100644 functions/_evolu_react_native.table.html create mode 100644 functions/_evolu_react_native.useEvolu.html create mode 100644 functions/_evolu_react_native.useEvoluError.html create mode 100644 functions/_evolu_react_native.useOwner.html create mode 100644 functions/_evolu_react_native.useQueries.html create mode 100644 functions/_evolu_react_native.useQuery.html create mode 100644 functions/_evolu_react_native.useQuerySubscription.html create mode 100644 functions/_evolu_react_native.useSyncState.html create mode 100644 hierarchy.html create mode 100644 index.html create mode 100644 interfaces/_evolu_common.Callbacks.html create mode 100644 interfaces/_evolu_common.Config.html create mode 100644 interfaces/_evolu_common.Db.html create mode 100644 interfaces/_evolu_common.DbSchema.html create mode 100644 interfaces/_evolu_common.EncryptedMessage.html create mode 100644 interfaces/_evolu_common.Evolu.html create mode 100644 interfaces/_evolu_common.EvoluConfig.html create mode 100644 interfaces/_evolu_common.InvalidMnemonicError.html create mode 100644 interfaces/_evolu_common.MerkleTree.html create mode 100644 interfaces/_evolu_common.Message.html create mode 100644 interfaces/_evolu_common.MessageContent.html create mode 100644 interfaces/_evolu_common.Mutation.html create mode 100644 interfaces/_evolu_common.NetworkError.html create mode 100644 interfaces/_evolu_common.NewMessage.html create mode 100644 interfaces/_evolu_common.NotSupportedPlatformError.html create mode 100644 interfaces/_evolu_common.Owner.html create mode 100644 interfaces/_evolu_common.PaymentRequiredError.html create mode 100644 interfaces/_evolu_common.QueryPatches.html create mode 100644 interfaces/_evolu_common.QueryResult.html create mode 100644 interfaces/_evolu_common.ReplaceAllPatch.html create mode 100644 interfaces/_evolu_common.ReplaceAtPatch.html create mode 100644 interfaces/_evolu_common.ServerError.html create mode 100644 interfaces/_evolu_common.Sqlite.html create mode 100644 interfaces/_evolu_common.SqliteExecResult.html create mode 100644 interfaces/_evolu_common.SqliteQuery.html create mode 100644 interfaces/_evolu_common.SqliteQueryOptions.html create mode 100644 interfaces/_evolu_common.Store.html create mode 100644 interfaces/_evolu_common.Sync.html create mode 100644 interfaces/_evolu_common.SyncData.html create mode 100644 interfaces/_evolu_common.SyncLockRelease.html create mode 100644 interfaces/_evolu_common.SyncRequest.html create mode 100644 interfaces/_evolu_common.SyncResponse.html create mode 100644 interfaces/_evolu_common.SyncResult.html create mode 100644 interfaces/_evolu_common.SyncStateInitial.html create mode 100644 interfaces/_evolu_common.SyncStateIsNotSynced.html create mode 100644 interfaces/_evolu_common.SyncStateIsSynced.html create mode 100644 interfaces/_evolu_common.SyncStateIsSyncing.html create mode 100644 interfaces/_evolu_common.Table.html create mode 100644 interfaces/_evolu_common.Timestamp.html create mode 100644 interfaces/_evolu_common.TimestampCounterOverflowError.html create mode 100644 interfaces/_evolu_common.TimestampDriftError.html create mode 100644 interfaces/_evolu_common.TimestampDuplicateNodeError.html create mode 100644 interfaces/_evolu_common.TimestampTimeOutOfRangeError.html create mode 100644 interfaces/_evolu_common.UnexpectedError.html create mode 100644 interfaces/_evolu_react.InvalidMnemonicError.html create mode 100644 interfaces/_evolu_react.Owner.html create mode 100644 interfaces/_evolu_react.QueryResult.html create mode 100644 interfaces/_evolu_react.Timestamp.html create mode 100644 interfaces/_evolu_react.UnexpectedError.html create mode 100644 interfaces/_evolu_react_native.InvalidMnemonicError.html create mode 100644 interfaces/_evolu_react_native.Owner.html create mode 100644 interfaces/_evolu_react_native.QueryResult.html create mode 100644 interfaces/_evolu_react_native.Timestamp.html create mode 100644 interfaces/_evolu_react_native.UnexpectedError.html create mode 100644 interfaces/_evolu_server.BadRequestError.html create mode 100644 interfaces/_evolu_server.Database.html create mode 100644 interfaces/_evolu_server.Server.html create mode 100644 modules/_evolu_common.html create mode 100644 modules/_evolu_common_react.html create mode 100644 modules/_evolu_common_web.html create mode 100644 modules/_evolu_react.html create mode 100644 modules/_evolu_react_native.html create mode 100644 modules/_evolu_server.html create mode 100644 types/_evolu_common.Counter.html create mode 100644 types/_evolu_common.EvoluError.html create mode 100644 types/_evolu_common.EvoluSchema.html create mode 100644 types/_evolu_common.ExtractRow.html create mode 100644 types/_evolu_common.FlushSync.html create mode 100644 types/_evolu_common.Id.html create mode 100644 types/_evolu_common.Index.html create mode 100644 types/_evolu_common.JsonObjectOrArray.html create mode 100644 types/_evolu_common.Listener.html create mode 100644 types/_evolu_common.MerkleTreeString.html create mode 100644 types/_evolu_common.Millis.html create mode 100644 types/_evolu_common.Mnemonic.html create mode 100644 types/_evolu_common.NanoId.html create mode 100644 types/_evolu_common.NodeId.html create mode 100644 types/_evolu_common.NonEmptyString1000.html create mode 100644 types/_evolu_common.OwnerId.html create mode 100644 types/_evolu_common.Patch.html create mode 100644 types/_evolu_common.PositiveInt.html create mode 100644 types/_evolu_common.Queries.html create mode 100644 types/_evolu_common.Query.html create mode 100644 types/_evolu_common.QueryResultsFromQueries.html create mode 100644 types/_evolu_common.QueryResultsPromisesFromQueries.html create mode 100644 types/_evolu_common.QueryRowsMap.html create mode 100644 types/_evolu_common.Row.html create mode 100644 types/_evolu_common.SqliteBoolean.html create mode 100644 types/_evolu_common.SqliteDate.html create mode 100644 types/_evolu_common.SqliteQueryPlanRow.html create mode 100644 types/_evolu_common.SqliteRow.html create mode 100644 types/_evolu_common.SqliteTransactionMode.html create mode 100644 types/_evolu_common.SqliteValue.html create mode 100644 types/_evolu_common.String.html create mode 100644 types/_evolu_common.String1000.html create mode 100644 types/_evolu_common.SyncState.html create mode 100644 types/_evolu_common.TimestampError.html create mode 100644 types/_evolu_common.TimestampHash.html create mode 100644 types/_evolu_common.TimestampString.html create mode 100644 types/_evolu_common.Unsubscribe.html create mode 100644 types/_evolu_common.Value.html create mode 100644 types/_evolu_react.EvoluError.html create mode 100644 types/_evolu_react.ExtractRow.html create mode 100644 types/_evolu_react.Id.html create mode 100644 types/_evolu_react.Mnemonic.html create mode 100644 types/_evolu_react.NonEmptyString1000.html create mode 100644 types/_evolu_react.NotNull.html create mode 100644 types/_evolu_react.OwnerId.html create mode 100644 types/_evolu_react.PositiveInt.html create mode 100644 types/_evolu_react.SqliteBoolean.html create mode 100644 types/_evolu_react.SqliteDate.html create mode 100644 types/_evolu_react.String.html create mode 100644 types/_evolu_react.String1000.html create mode 100644 types/_evolu_react.SyncState.html create mode 100644 types/_evolu_react.TimestampError.html create mode 100644 types/_evolu_react_native.EvoluError.html create mode 100644 types/_evolu_react_native.ExtractRow.html create mode 100644 types/_evolu_react_native.Id.html create mode 100644 types/_evolu_react_native.Mnemonic.html create mode 100644 types/_evolu_react_native.NonEmptyString1000.html create mode 100644 types/_evolu_react_native.NotNull.html create mode 100644 types/_evolu_react_native.OwnerId.html create mode 100644 types/_evolu_react_native.PositiveInt.html create mode 100644 types/_evolu_react_native.SqliteBoolean.html create mode 100644 types/_evolu_react_native.SqliteDate.html create mode 100644 types/_evolu_react_native.String.html create mode 100644 types/_evolu_react_native.String1000.html create mode 100644 types/_evolu_react_native.SyncState.html create mode 100644 types/_evolu_react_native.TimestampError.html create mode 100644 types/_evolu_server.Db.html create mode 100644 variables/_evolu_common.AllowedTimeRange.html create mode 100644 variables/_evolu_common.Callbacks-1.html create mode 100644 variables/_evolu_common.Config-1.html create mode 100644 variables/_evolu_common.Counter-1.html create mode 100644 variables/_evolu_common.EncryptedMessage-1.html create mode 100644 variables/_evolu_common.FlushSync-1.html create mode 100644 variables/_evolu_common.Id-1.html create mode 100644 variables/_evolu_common.Index-1.html create mode 100644 variables/_evolu_common.MessageContent-1.html create mode 100644 variables/_evolu_common.Millis-1.html create mode 100644 variables/_evolu_common.NodeId-1.html create mode 100644 variables/_evolu_common.NonEmptyString1000-1.html create mode 100644 variables/_evolu_common.Owner-1.html create mode 100644 variables/_evolu_common.PositiveInt-1.html create mode 100644 variables/_evolu_common.Sqlite-1.html create mode 100644 variables/_evolu_common.SqliteBoolean-1.html create mode 100644 variables/_evolu_common.SqliteDate-1.html create mode 100644 variables/_evolu_common.String-1.html create mode 100644 variables/_evolu_common.String1000-1.html create mode 100644 variables/_evolu_common.Sync-1.html create mode 100644 variables/_evolu_common.SyncRequest-1.html create mode 100644 variables/_evolu_common.SyncResponse-1.html create mode 100644 variables/_evolu_common.createDb.html create mode 100644 variables/_evolu_common.createSync.html create mode 100644 variables/_evolu_common.defaultConfig.html create mode 100644 variables/_evolu_common.initialMerkleTree.html create mode 100644 variables/_evolu_common.initialMillis.html create mode 100644 variables/_evolu_common.initialSyncState.html create mode 100644 variables/_evolu_common.makeInitialTimestamp.html create mode 100644 variables/_evolu_common.notSupportedPlatformWorker.html create mode 100644 variables/_evolu_common_react.EvoluContext.html create mode 100644 variables/_evolu_common_web.EvoluFactoryWeb.html create mode 100644 variables/_evolu_react.EvoluContext.html create mode 100644 variables/_evolu_react.Id-1.html create mode 100644 variables/_evolu_react.NonEmptyString1000-1.html create mode 100644 variables/_evolu_react.Owner-1.html create mode 100644 variables/_evolu_react.PositiveInt-1.html create mode 100644 variables/_evolu_react.SqliteBoolean-1.html create mode 100644 variables/_evolu_react.SqliteDate-1.html create mode 100644 variables/_evolu_react.String-1.html create mode 100644 variables/_evolu_react.String1000-1.html create mode 100644 variables/_evolu_react.use.html create mode 100644 variables/_evolu_react_native.EvoluContext.html create mode 100644 variables/_evolu_react_native.EvoluFactoryReactNative.html create mode 100644 variables/_evolu_react_native.Id-1.html create mode 100644 variables/_evolu_react_native.NonEmptyString1000-1.html create mode 100644 variables/_evolu_react_native.Owner-1.html create mode 100644 variables/_evolu_react_native.PositiveInt-1.html create mode 100644 variables/_evolu_react_native.SqliteBoolean-1.html create mode 100644 variables/_evolu_react_native.SqliteDate-1.html create mode 100644 variables/_evolu_react_native.String-1.html create mode 100644 variables/_evolu_react_native.String1000-1.html create mode 100644 variables/_evolu_react_native.use.html create mode 100644 variables/_evolu_server.Db-1.html create mode 100644 variables/_evolu_server.Server-1.html create mode 100644 variables/_evolu_server.ServerLive.html create mode 100644 variables/_evolu_server.createExpressApp.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e2ac6616a --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/assets/highlight.css b/assets/highlight.css new file mode 100644 index 000000000..000de19b0 --- /dev/null +++ b/assets/highlight.css @@ -0,0 +1,99 @@ +:root { + --light-hl-0: #001080; + --dark-hl-0: #9CDCFE; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #AF00DB; + --dark-hl-2: #C586C0; + --light-hl-3: #0000FF; + --dark-hl-3: #569CD6; + --light-hl-4: #A31515; + --dark-hl-4: #CE9178; + --light-hl-5: #008000; + --dark-hl-5: #6A9955; + --light-hl-6: #0070C1; + --dark-hl-6: #4FC1FF; + --light-hl-7: #795E26; + --dark-hl-7: #DCDCAA; + --light-hl-8: #267F99; + --dark-hl-8: #4EC9B0; + --light-hl-9: #098658; + --dark-hl-9: #B5CEA8; + --light-hl-10: #000000FF; + --dark-hl-10: #D4D4D4; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } +pre, code { background: var(--code-background); } diff --git a/assets/icons.js b/assets/icons.js new file mode 100644 index 000000000..975b8066d --- /dev/null +++ b/assets/icons.js @@ -0,0 +1,15 @@ +(function(svg) { + svg.innerHTML = ``; + svg.style.display = 'none'; + if (location.protocol === 'file:') { + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', updateUseElements); + else updateUseElements() + function updateUseElements() { + document.querySelectorAll('use').forEach(el => { + if (el.getAttribute('href').includes('#icon-')) { + el.setAttribute('href', el.getAttribute('href').replace(/.*#/, '#')); + } + }); + } + } +})(document.body.appendChild(document.createElementNS('http://www.w3.org/2000/svg', 'svg'))) \ No newline at end of file diff --git a/assets/icons.svg b/assets/icons.svg new file mode 100644 index 000000000..e371b8b5d --- /dev/null +++ b/assets/icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 000000000..84b91b2e7 --- /dev/null +++ b/assets/main.js @@ -0,0 +1,59 @@ +"use strict"; +"use strict";(()=>{var Pe=Object.create;var re=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var _e=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty;var Fe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var De=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _e(e))!Me.call(t,i)&&i!==n&&re(t,i,{get:()=>e[i],enumerable:!(r=Oe(e,i))||r.enumerable});return t};var Ae=(t,e,n)=>(n=t!=null?Pe(Re(t)):{},De(e||!t||!t.__esModule?re(n,"default",{value:t,enumerable:!0}):n,t));var le=Fe((oe,ae)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),p;m in s.node.edges?p=s.node.edges[m]:(p=new t.TokenSet,s.node.edges[m]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof oe=="object"?ae.exports=n():e.lunr=n()}(this,function(){return t})})()});var ie=[];function G(t,e){ie.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){ie.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){console.log("Scorlling");let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!e.checkVisibility()){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var se=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var he=Ae(le());async function ue(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=he.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function pe(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{ue(e,t)}),ue(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");i.addEventListener("mouseup",()=>{ee(t)}),r.addEventListener("focus",()=>t.classList.add("has-focus")),Ve(t,i,r,e)}function Ve(t,e,n,r){n.addEventListener("input",se(()=>{Ne(t,e,n,r)},200)),n.addEventListener("keydown",i=>{i.key=="Enter"?He(e,t):i.key=="ArrowUp"?(ce(e,n,-1),i.preventDefault()):i.key==="ArrowDown"&&(ce(e,n,1),i.preventDefault())}),document.body.addEventListener("keypress",i=>{i.altKey||i.ctrlKey||i.metaKey||!n.matches(":focus")&&i.key==="/"&&(i.preventDefault(),n.focus())}),document.body.addEventListener("keyup",i=>{t.classList.contains("has-focus")&&(i.key==="Escape"||!e.matches(":focus-within")&&!n.matches(":focus"))&&(n.blur(),ee(t))})}function ee(t){t.classList.remove("has-focus")}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=de(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${de(l.parent,i)}.${d}`);let m=document.createElement("li");m.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,m.append(p),p.addEventListener("focus",()=>{e.querySelector(".current")?.classList.remove("current"),m.classList.add("current")}),e.appendChild(m)}}function ce(t,e,n){let r=t.querySelector(".current");if(!r)r=t.querySelector(n==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let i=r;if(n===1)do i=i.nextElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);else do i=i.previousElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);i?(r.classList.remove("current"),i.classList.add("current")):n===-1&&(r.classList.remove("current"),e.focus())}}function He(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),ee(e)}}function de(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",me="mousemove",H="mouseup",J={x:0,y:0},fe=!1,te=!1,je=!1,D=!1,ye=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(ye?"is-mobile":"not-mobile");ye&&"ontouchstart"in document.documentElement&&(je=!0,F="touchstart",me="touchmove",H="touchend");document.addEventListener(F,t=>{te=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(me,t=>{if(te&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(H,()=>{te=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(H,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(H,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var ne;try{ne=localStorage}catch{ne={getItem(){return null},setItem(){}}}var Q=ne;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function xe(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ge(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ge(t.value)})}function ge(t){document.documentElement.dataset.theme=t}var be;function we(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Ee),Ee())}async function Ee(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();be=t.dataset.base+"/",t.innerHTML="";for(let s of i)Se(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Se(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Le(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)Se(u,l,i)}else Le(t,r,t.class)}function Le(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=be+t.path,n&&(r.className=n),location.pathname===r.pathname&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Te=document.getElementById("tsd-theme");Te&&xe(Te);var qe=new U;Object.defineProperty(window,"app",{value:qe});pe();we();})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/assets/navigation.js b/assets/navigation.js new file mode 100644 index 000000000..833a259be --- /dev/null +++ b/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,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" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js new file mode 100644 index 000000000..015f0831b --- /dev/null +++ b/assets/search.js @@ -0,0 +1 @@ +window.searchData = "data:application/octet-stream;base64,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"; \ No newline at end of file diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 000000000..aba0f7ce2 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1420 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-keyword: #056bd6; + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: #a55c0e; + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + --light-color-document: #000000; + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-keyword: #3399ff; + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: #e07d13; + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + --dark-color-document: #ffffff; + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} +.tsd-generator { + margin: 0 1em; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} +a.tsd-anchor-link { + color: var(--color-text); +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h4, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); +} +.tsd-full-hierarchy, +.tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; +} +.tsd-full-hierarchy ul { + padding-left: 1.5rem; +} +.tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.25rem); + display: flex; + align-items: center; +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: flex; + width: calc(100% - 0.25rem); + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-navigation .tsd-nav-link { + display: none; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + background-color: var(--color-background); + line-height: initial; + padding: 4px; +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: + opacity 0.1s, + background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through !important; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } + #tsd-toolbar-links { + display: none; + } + .tsd-navigation .tsd-nav-link { + display: flex; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/classes/_evolu_common.AppState.html b/classes/_evolu_common.AppState.html new file mode 100644 index 000000000..1eefb636f --- /dev/null +++ b/classes/_evolu_common.AppState.html @@ -0,0 +1,377 @@ +AppState | Evolu

Hierarchy

  • TagClassShape<"AppState", {
        init: ((options) => Effect<AppStateReset, never, never>);
    }, this>
    • AppState

Constructors

  • Parameters

    • _: never

    Returns AppState

Properties

Id: "AppState"
Type: {
    init: ((options) => Effect<AppStateReset, never, never>);
}

Type declaration

  • Readonly init: ((options) => Effect<AppStateReset, never, never>)
      • (options): Effect<AppStateReset, never, never>
      • Parameters

        • options: {
              onRequestSync: (() => void);
              reloadUrl: string;
          }
          • Readonly onRequestSync: (() => void)
              • (): void
              • Returns void

          • Readonly reloadUrl: string

        Returns Effect<AppStateReset, never, never>

[TagTypeId]: typeof TagTypeId
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    init: ((options) => Effect<AppStateReset, never, never>);
}, unknown, AppState>

Type declaration

  • Readonly init: ((options) => Effect<AppStateReset, never, never>)
      • (options): Effect<AppStateReset, never, never>
      • Parameters

        • options: {
              onRequestSync: (() => void);
              reloadUrl: string;
          }
          • Readonly onRequestSync: (() => void)
              • (): void
              • Returns void

          • Readonly reloadUrl: string

        Returns Effect<AppStateReset, never, never>

[EffectTypeId]: VarianceStruct<{
    init: ((options) => Effect<AppStateReset, never, never>);
}, never, AppState>

Type declaration

  • Readonly init: ((options) => Effect<AppStateReset, never, never>)
      • (options): Effect<AppStateReset, never, never>
      • Parameters

        • options: {
              onRequestSync: (() => void);
              reloadUrl: string;
          }
          • Readonly onRequestSync: (() => void)
              • (): void
              • Returns void

          • Readonly reloadUrl: string

        Returns Effect<AppStateReset, never, never>

[STMTypeId]: {
    _A: Covariant<{
        init: ((options) => Effect<AppStateReset, never, never>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<AppState>;
}

Type declaration

  • Readonly _A: Covariant<{
        init: ((options) => Effect<AppStateReset, never, never>);
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<AppState>
[SinkTypeId]: VarianceStruct<{
    init: ((options) => Effect<AppStateReset, never, never>);
}, unknown, never, never, AppState>

Type declaration

  • Readonly init: ((options) => Effect<AppStateReset, never, never>)
      • (options): Effect<AppStateReset, never, never>
      • Parameters

        • options: {
              onRequestSync: (() => void);
              reloadUrl: string;
          }
          • Readonly onRequestSync: (() => void)
              • (): void
              • Returns void

          • Readonly reloadUrl: string

        Returns Effect<AppStateReset, never, never>

[StreamTypeId]: {
    _A: Covariant<{
        init: ((options) => Effect<AppStateReset, never, never>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<AppState>;
}

Type declaration

  • _A: Covariant<{
        init: ((options) => Effect<AppStateReset, never, never>);
    }>
  • _E: Covariant<never>
  • _R: Covariant<AppState>
[TagTypeId]: {
    _Identifier: Invariant<AppState>;
    _Service: Invariant<{
        init: ((options) => Effect<AppStateReset, never, never>);
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<AppState>
  • Readonly _Service: Invariant<{
        init: ((options) => Effect<AppStateReset, never, never>);
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<AppState, "AppState", {
    init: ((options) => Effect<AppStateReset, never, never>);
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<AppState, {
        init: ((options) => Effect<AppStateReset, never, never>);
    }>>

  • Parameters

    • self: {
          init: ((options) => Effect<AppStateReset, never, never>);
      }
      • Readonly init: ((options) => Effect<AppStateReset, never, never>)
          • (options): Effect<AppStateReset, never, never>
          • Parameters

            • options: {
                  onRequestSync: (() => void);
                  reloadUrl: string;
              }
              • Readonly onRequestSync: (() => void)
                  • (): void
                  • Returns void

              • Readonly reloadUrl: string

            Returns Effect<AppStateReset, never, never>

    Returns Context<AppState>

  • Parameters

    • self: {
          init: ((options) => Effect<AppStateReset, never, never>);
      }
      • Readonly init: ((options) => Effect<AppStateReset, never, never>)
          • (options): Effect<AppStateReset, never, never>
          • Parameters

            • options: {
                  onRequestSync: (() => void);
                  reloadUrl: string;
              }
              • Readonly onRequestSync: (() => void)
                  • (): void
                  • Returns void

              • Readonly reloadUrl: string

            Returns Effect<AppStateReset, never, never>

    Returns {
        init: ((options) => Effect<AppStateReset, never, never>);
    }

    • Readonly init: ((options) => Effect<AppStateReset, never, never>)
        • (options): Effect<AppStateReset, never, never>
        • Parameters

          • options: {
                onRequestSync: (() => void);
                reloadUrl: string;
            }
            • Readonly onRequestSync: (() => void)
                • (): void
                • Returns void

            • Readonly reloadUrl: string

          Returns Effect<AppStateReset, never, never>

  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.Bip39.html b/classes/_evolu_common.Bip39.html new file mode 100644 index 000000000..b1819d1c1 --- /dev/null +++ b/classes/_evolu_common.Bip39.html @@ -0,0 +1,509 @@ +Bip39 | Evolu

Hierarchy

  • TagClassShape<"Bip39", {
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }, this>
    • Bip39

Constructors

  • Parameters

    • _: never

    Returns Bip39

Properties

Id: "Bip39"
Type: {
    make: Effect<Mnemonic, never, never>;
    parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
    toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
}

Type declaration

[TagTypeId]: typeof TagTypeId
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    make: Effect<Mnemonic, never, never>;
    parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
    toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
}, unknown, Bip39>

Type declaration

[EffectTypeId]: VarianceStruct<{
    make: Effect<Mnemonic, never, never>;
    parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
    toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
}, never, Bip39>

Type declaration

[STMTypeId]: {
    _A: Covariant<{
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<Bip39>;
}

Type declaration

  • Readonly _A: Covariant<{
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<Bip39>
[SinkTypeId]: VarianceStruct<{
    make: Effect<Mnemonic, never, never>;
    parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
    toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
}, unknown, never, never, Bip39>

Type declaration

[StreamTypeId]: {
    _A: Covariant<{
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<Bip39>;
}

Type declaration

  • _A: Covariant<{
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }>
  • _E: Covariant<never>
  • _R: Covariant<Bip39>
[TagTypeId]: {
    _Identifier: Invariant<Bip39>;
    _Service: Invariant<{
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<Bip39>
  • Readonly _Service: Invariant<{
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<Bip39, "Bip39", {
    make: Effect<Mnemonic, never, never>;
    parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
    toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<Bip39, {
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }>>

  • Parameters

    Returns Context<Bip39>

  • Parameters

    Returns {
        make: Effect<Mnemonic, never, never>;
        parse: ((mnemonic) => Effect<Mnemonic, InvalidMnemonicError, never>);
        toSeed: ((mnemonic) => Effect<Uint8Array, never, never>);
    }

  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.DbFactory.html b/classes/_evolu_common.DbFactory.html new file mode 100644 index 000000000..229424f44 --- /dev/null +++ b/classes/_evolu_common.DbFactory.html @@ -0,0 +1,245 @@ +DbFactory | Evolu

Hierarchy

  • TagClassShape<"DbFactory", {
        createDb: Effect<Db, never, never>;
    }, this>
    • DbFactory

Constructors

  • Parameters

    • _: never

    Returns DbFactory

Properties

Id: "DbFactory"
Type: {
    createDb: Effect<Db, never, never>;
}

Type declaration

  • Readonly createDb: Effect<Db, never, never>
[TagTypeId]: typeof TagTypeId
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    createDb: Effect<Db, never, never>;
}, unknown, DbFactory>

Type declaration

  • Readonly createDb: Effect<Db, never, never>
[EffectTypeId]: VarianceStruct<{
    createDb: Effect<Db, never, never>;
}, never, DbFactory>

Type declaration

  • Readonly createDb: Effect<Db, never, never>
[STMTypeId]: {
    _A: Covariant<{
        createDb: Effect<Db, never, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<DbFactory>;
}

Type declaration

  • Readonly _A: Covariant<{
        createDb: Effect<Db, never, never>;
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<DbFactory>
[SinkTypeId]: VarianceStruct<{
    createDb: Effect<Db, never, never>;
}, unknown, never, never, DbFactory>

Type declaration

  • Readonly createDb: Effect<Db, never, never>
[StreamTypeId]: {
    _A: Covariant<{
        createDb: Effect<Db, never, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<DbFactory>;
}

Type declaration

  • _A: Covariant<{
        createDb: Effect<Db, never, never>;
    }>
  • _E: Covariant<never>
  • _R: Covariant<DbFactory>
[TagTypeId]: {
    _Identifier: Invariant<DbFactory>;
    _Service: Invariant<{
        createDb: Effect<Db, never, never>;
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<DbFactory>
  • Readonly _Service: Invariant<{
        createDb: Effect<Db, never, never>;
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<DbFactory, "DbFactory", {
    createDb: Effect<Db, never, never>;
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<DbFactory, {
        createDb: Effect<Db, never, never>;
    }>>

  • Parameters

    • self: {
          createDb: Effect<Db, never, never>;
      }
      • Readonly createDb: Effect<Db, never, never>

    Returns Context<DbFactory>

  • Parameters

    • self: {
          createDb: Effect<Db, never, never>;
      }
      • Readonly createDb: Effect<Db, never, never>

    Returns {
        createDb: Effect<Db, never, never>;
    }

    • Readonly createDb: Effect<Db, never, never>
  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.EvoluFactory.html b/classes/_evolu_common.EvoluFactory.html new file mode 100644 index 000000000..92c04b2bf --- /dev/null +++ b/classes/_evolu_common.EvoluFactory.html @@ -0,0 +1,1828 @@ +EvoluFactory | Evolu

Hierarchy

  • TagClassShape<"EvoluFactory", {
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }, this>
    • EvoluFactory

Constructors

  • Parameters

    • _: never

    Returns EvoluFactory

Properties

Id: "EvoluFactory"
Type: {
    createEvolu: (<T, I>(schema, config?) => Evolu<T>);
}

Type declaration

  • Readonly createEvolu: (<T, I>(schema, config?) => Evolu<T>)

    Create Evolu from the database schema.

    +

    Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

    +

    Example

    import * as S from "@effect/schema/Schema";
    import * as E from "@evolu/react";
    // The same API for different platforms
    // import * as E from "@evolu/react-native";
    // import * as E from "@evolu/common-web";

    const TodoId = E.id("Todo");
    type TodoId = typeof TodoId.Type;

    const TodoTable = E.table({
    id: TodoId,
    title: E.NonEmptyString1000,
    });
    type TodoTable = typeof TodoTable.Type;

    const Database = E.database({
    todo: TodoTable,

    // Prefix `_` makes the table local-only (it will not sync)
    _todo: TodoTable,
    });
    type Database = typeof Database.Type;

    const evolu = E.createEvolu(Database); +
    + +
[TagTypeId]: typeof TagTypeId
Common: Layer<EvoluFactory, never, NanoIdGenerator | AppState | DbFactory> = ...
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    createEvolu: (<T, I>(schema, config?) => Evolu<T>);
}, unknown, EvoluFactory>

Type declaration

  • Readonly createEvolu: (<T, I>(schema, config?) => Evolu<T>)

    Create Evolu from the database schema.

    +

    Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

    +

    Example

    import * as S from "@effect/schema/Schema";
    import * as E from "@evolu/react";
    // The same API for different platforms
    // import * as E from "@evolu/react-native";
    // import * as E from "@evolu/common-web";

    const TodoId = E.id("Todo");
    type TodoId = typeof TodoId.Type;

    const TodoTable = E.table({
    id: TodoId,
    title: E.NonEmptyString1000,
    });
    type TodoTable = typeof TodoTable.Type;

    const Database = E.database({
    todo: TodoTable,

    // Prefix `_` makes the table local-only (it will not sync)
    _todo: TodoTable,
    });
    type Database = typeof Database.Type;

    const evolu = E.createEvolu(Database); +
    + +
[EffectTypeId]: VarianceStruct<{
    createEvolu: (<T, I>(schema, config?) => Evolu<T>);
}, never, EvoluFactory>

Type declaration

  • Readonly createEvolu: (<T, I>(schema, config?) => Evolu<T>)

    Create Evolu from the database schema.

    +

    Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

    +

    Example

    import * as S from "@effect/schema/Schema";
    import * as E from "@evolu/react";
    // The same API for different platforms
    // import * as E from "@evolu/react-native";
    // import * as E from "@evolu/common-web";

    const TodoId = E.id("Todo");
    type TodoId = typeof TodoId.Type;

    const TodoTable = E.table({
    id: TodoId,
    title: E.NonEmptyString1000,
    });
    type TodoTable = typeof TodoTable.Type;

    const Database = E.database({
    todo: TodoTable,

    // Prefix `_` makes the table local-only (it will not sync)
    _todo: TodoTable,
    });
    type Database = typeof Database.Type;

    const evolu = E.createEvolu(Database); +
    + +
[STMTypeId]: {
    _A: Covariant<{
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<EvoluFactory>;
}

Type declaration

  • Readonly _A: Covariant<{
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<EvoluFactory>
[SinkTypeId]: VarianceStruct<{
    createEvolu: (<T, I>(schema, config?) => Evolu<T>);
}, unknown, never, never, EvoluFactory>

Type declaration

  • Readonly createEvolu: (<T, I>(schema, config?) => Evolu<T>)

    Create Evolu from the database schema.

    +

    Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

    +

    Example

    import * as S from "@effect/schema/Schema";
    import * as E from "@evolu/react";
    // The same API for different platforms
    // import * as E from "@evolu/react-native";
    // import * as E from "@evolu/common-web";

    const TodoId = E.id("Todo");
    type TodoId = typeof TodoId.Type;

    const TodoTable = E.table({
    id: TodoId,
    title: E.NonEmptyString1000,
    });
    type TodoTable = typeof TodoTable.Type;

    const Database = E.database({
    todo: TodoTable,

    // Prefix `_` makes the table local-only (it will not sync)
    _todo: TodoTable,
    });
    type Database = typeof Database.Type;

    const evolu = E.createEvolu(Database); +
    + +
[StreamTypeId]: {
    _A: Covariant<{
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<EvoluFactory>;
}

Type declaration

  • _A: Covariant<{
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }>
  • _E: Covariant<never>
  • _R: Covariant<EvoluFactory>
[TagTypeId]: {
    _Identifier: Invariant<EvoluFactory>;
    _Service: Invariant<{
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<EvoluFactory>
  • Readonly _Service: Invariant<{
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<EvoluFactory, "EvoluFactory", {
    createEvolu: (<T, I>(schema, config?) => Evolu<T>);
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<EvoluFactory, {
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }>>

  • Parameters

    • self: {
          createEvolu: (<T, I>(schema, config?) => Evolu<T>);
      }
      • Readonly createEvolu: (<T, I>(schema, config?) => Evolu<T>)

        Create Evolu from the database schema.

        +

        Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

        +

        Example

        import * as S from "@effect/schema/Schema";
        import * as E from "@evolu/react";
        // The same API for different platforms
        // import * as E from "@evolu/react-native";
        // import * as E from "@evolu/common-web";

        const TodoId = E.id("Todo");
        type TodoId = typeof TodoId.Type;

        const TodoTable = E.table({
        id: TodoId,
        title: E.NonEmptyString1000,
        });
        type TodoTable = typeof TodoTable.Type;

        const Database = E.database({
        todo: TodoTable,

        // Prefix `_` makes the table local-only (it will not sync)
        _todo: TodoTable,
        });
        type Database = typeof Database.Type;

        const evolu = E.createEvolu(Database); +
        + +

    Returns Context<EvoluFactory>

  • Parameters

    • self: {
          createEvolu: (<T, I>(schema, config?) => Evolu<T>);
      }
      • Readonly createEvolu: (<T, I>(schema, config?) => Evolu<T>)

        Create Evolu from the database schema.

        +

        Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

        +

        Example

        import * as S from "@effect/schema/Schema";
        import * as E from "@evolu/react";
        // The same API for different platforms
        // import * as E from "@evolu/react-native";
        // import * as E from "@evolu/common-web";

        const TodoId = E.id("Todo");
        type TodoId = typeof TodoId.Type;

        const TodoTable = E.table({
        id: TodoId,
        title: E.NonEmptyString1000,
        });
        type TodoTable = typeof TodoTable.Type;

        const Database = E.database({
        todo: TodoTable,

        // Prefix `_` makes the table local-only (it will not sync)
        _todo: TodoTable,
        });
        type Database = typeof Database.Type;

        const evolu = E.createEvolu(Database); +
        + +

    Returns {
        createEvolu: (<T, I>(schema, config?) => Evolu<T>);
    }

    • Readonly createEvolu: (<T, I>(schema, config?) => Evolu<T>)

      Create Evolu from the database schema.

      +

      Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

      +

      Example

      import * as S from "@effect/schema/Schema";
      import * as E from "@evolu/react";
      // The same API for different platforms
      // import * as E from "@evolu/react-native";
      // import * as E from "@evolu/common-web";

      const TodoId = E.id("Todo");
      type TodoId = typeof TodoId.Type;

      const TodoTable = E.table({
      id: TodoId,
      title: E.NonEmptyString1000,
      });
      type TodoTable = typeof TodoTable.Type;

      const Database = E.database({
      todo: TodoTable,

      // Prefix `_` makes the table local-only (it will not sync)
      _todo: TodoTable,
      });
      type Database = typeof Database.Type;

      const evolu = E.createEvolu(Database); +
      + +
  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.NanoIdGenerator.html b/classes/_evolu_common.NanoIdGenerator.html new file mode 100644 index 000000000..dec64b0ee --- /dev/null +++ b/classes/_evolu_common.NanoIdGenerator.html @@ -0,0 +1,333 @@ +NanoIdGenerator | Evolu

Hierarchy

  • TagClassShape<"NanoIdGenerator", {
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }, this>
    • NanoIdGenerator

Constructors

  • Parameters

    • _: never

    Returns NanoIdGenerator

Properties

Id: "NanoIdGenerator"
Type: {
    nanoid: Effect<NanoId, never, never>;
    nodeId: Effect<string & Brand<"NodeId">, never, never>;
    rowId: Effect<string & Brand<"Id">, never, never>;
}

Type declaration

  • Readonly nanoid: Effect<NanoId, never, never>
  • Readonly nodeId: Effect<string & Brand<"NodeId">, never, never>
  • Readonly rowId: Effect<string & Brand<"Id">, never, never>
[TagTypeId]: typeof TagTypeId
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    nanoid: Effect<NanoId, never, never>;
    nodeId: Effect<string & Brand<"NodeId">, never, never>;
    rowId: Effect<string & Brand<"Id">, never, never>;
}, unknown, NanoIdGenerator>

Type declaration

  • Readonly nanoid: Effect<NanoId, never, never>
  • Readonly nodeId: Effect<string & Brand<"NodeId">, never, never>
  • Readonly rowId: Effect<string & Brand<"Id">, never, never>
[EffectTypeId]: VarianceStruct<{
    nanoid: Effect<NanoId, never, never>;
    nodeId: Effect<string & Brand<"NodeId">, never, never>;
    rowId: Effect<string & Brand<"Id">, never, never>;
}, never, NanoIdGenerator>

Type declaration

  • Readonly nanoid: Effect<NanoId, never, never>
  • Readonly nodeId: Effect<string & Brand<"NodeId">, never, never>
  • Readonly rowId: Effect<string & Brand<"Id">, never, never>
[STMTypeId]: {
    _A: Covariant<{
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<NanoIdGenerator>;
}

Type declaration

  • Readonly _A: Covariant<{
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<NanoIdGenerator>
[SinkTypeId]: VarianceStruct<{
    nanoid: Effect<NanoId, never, never>;
    nodeId: Effect<string & Brand<"NodeId">, never, never>;
    rowId: Effect<string & Brand<"Id">, never, never>;
}, unknown, never, never, NanoIdGenerator>

Type declaration

  • Readonly nanoid: Effect<NanoId, never, never>
  • Readonly nodeId: Effect<string & Brand<"NodeId">, never, never>
  • Readonly rowId: Effect<string & Brand<"Id">, never, never>
[StreamTypeId]: {
    _A: Covariant<{
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<NanoIdGenerator>;
}

Type declaration

  • _A: Covariant<{
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }>
  • _E: Covariant<never>
  • _R: Covariant<NanoIdGenerator>
[TagTypeId]: {
    _Identifier: Invariant<NanoIdGenerator>;
    _Service: Invariant<{
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<NanoIdGenerator>
  • Readonly _Service: Invariant<{
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<NanoIdGenerator, "NanoIdGenerator", {
    nanoid: Effect<NanoId, never, never>;
    nodeId: Effect<string & Brand<"NodeId">, never, never>;
    rowId: Effect<string & Brand<"Id">, never, never>;
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<NanoIdGenerator, {
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }>>

  • Parameters

    • self: {
          nanoid: Effect<NanoId, never, never>;
          nodeId: Effect<string & Brand<"NodeId">, never, never>;
          rowId: Effect<string & Brand<"Id">, never, never>;
      }
      • Readonly nanoid: Effect<NanoId, never, never>
      • Readonly nodeId: Effect<string & Brand<"NodeId">, never, never>
      • Readonly rowId: Effect<string & Brand<"Id">, never, never>

    Returns Context<NanoIdGenerator>

  • Parameters

    • self: {
          nanoid: Effect<NanoId, never, never>;
          nodeId: Effect<string & Brand<"NodeId">, never, never>;
          rowId: Effect<string & Brand<"Id">, never, never>;
      }
      • Readonly nanoid: Effect<NanoId, never, never>
      • Readonly nodeId: Effect<string & Brand<"NodeId">, never, never>
      • Readonly rowId: Effect<string & Brand<"Id">, never, never>

    Returns {
        nanoid: Effect<NanoId, never, never>;
        nodeId: Effect<string & Brand<"NodeId">, never, never>;
        rowId: Effect<string & Brand<"Id">, never, never>;
    }

    • Readonly nanoid: Effect<NanoId, never, never>
    • Readonly nodeId: Effect<string & Brand<"NodeId">, never, never>
    • Readonly rowId: Effect<string & Brand<"Id">, never, never>
  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.SecretBox.html b/classes/_evolu_common.SecretBox.html new file mode 100644 index 000000000..2c01913bf --- /dev/null +++ b/classes/_evolu_common.SecretBox.html @@ -0,0 +1,598 @@ +SecretBox | Evolu

Hierarchy

  • TagClassShape<"SecretBox", {
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }, this>
    • SecretBox

Constructors

  • Parameters

    • _: never

    Returns SecretBox

Properties

Id: "SecretBox"
Type: {
    open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
    seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
}

Type declaration

  • Readonly open: ((key, ciphertext) => Effect<Uint8Array, never, never>)
      • (key, ciphertext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • ciphertext: Uint8Array

        Returns Effect<Uint8Array, never, never>

  • Readonly seal: ((key, plaintext) => Effect<Uint8Array, never, never>)
      • (key, plaintext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • plaintext: Uint8Array

        Returns Effect<Uint8Array, never, never>

[TagTypeId]: typeof TagTypeId
Live: Layer<SecretBox, never, never> = ...
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
    seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
}, unknown, SecretBox>

Type declaration

  • Readonly open: ((key, ciphertext) => Effect<Uint8Array, never, never>)
      • (key, ciphertext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • ciphertext: Uint8Array

        Returns Effect<Uint8Array, never, never>

  • Readonly seal: ((key, plaintext) => Effect<Uint8Array, never, never>)
      • (key, plaintext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • plaintext: Uint8Array

        Returns Effect<Uint8Array, never, never>

[EffectTypeId]: VarianceStruct<{
    open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
    seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
}, never, SecretBox>

Type declaration

  • Readonly open: ((key, ciphertext) => Effect<Uint8Array, never, never>)
      • (key, ciphertext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • ciphertext: Uint8Array

        Returns Effect<Uint8Array, never, never>

  • Readonly seal: ((key, plaintext) => Effect<Uint8Array, never, never>)
      • (key, plaintext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • plaintext: Uint8Array

        Returns Effect<Uint8Array, never, never>

[STMTypeId]: {
    _A: Covariant<{
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<SecretBox>;
}

Type declaration

  • Readonly _A: Covariant<{
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<SecretBox>
[SinkTypeId]: VarianceStruct<{
    open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
    seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
}, unknown, never, never, SecretBox>

Type declaration

  • Readonly open: ((key, ciphertext) => Effect<Uint8Array, never, never>)
      • (key, ciphertext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • ciphertext: Uint8Array

        Returns Effect<Uint8Array, never, never>

  • Readonly seal: ((key, plaintext) => Effect<Uint8Array, never, never>)
      • (key, plaintext): Effect<Uint8Array, never, never>
      • Parameters

        • key: Uint8Array
        • plaintext: Uint8Array

        Returns Effect<Uint8Array, never, never>

[StreamTypeId]: {
    _A: Covariant<{
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }>;
    _E: Covariant<never>;
    _R: Covariant<SecretBox>;
}

Type declaration

  • _A: Covariant<{
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }>
  • _E: Covariant<never>
  • _R: Covariant<SecretBox>
[TagTypeId]: {
    _Identifier: Invariant<SecretBox>;
    _Service: Invariant<{
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<SecretBox>
  • Readonly _Service: Invariant<{
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<SecretBox, "SecretBox", {
    open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
    seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<SecretBox, {
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }>>

  • Parameters

    • self: {
          open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
          seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
      }
      • Readonly open: ((key, ciphertext) => Effect<Uint8Array, never, never>)
          • (key, ciphertext): Effect<Uint8Array, never, never>
          • Parameters

            • key: Uint8Array
            • ciphertext: Uint8Array

            Returns Effect<Uint8Array, never, never>

      • Readonly seal: ((key, plaintext) => Effect<Uint8Array, never, never>)
          • (key, plaintext): Effect<Uint8Array, never, never>
          • Parameters

            • key: Uint8Array
            • plaintext: Uint8Array

            Returns Effect<Uint8Array, never, never>

    Returns Context<SecretBox>

  • Parameters

    • self: {
          open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
          seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
      }
      • Readonly open: ((key, ciphertext) => Effect<Uint8Array, never, never>)
          • (key, ciphertext): Effect<Uint8Array, never, never>
          • Parameters

            • key: Uint8Array
            • ciphertext: Uint8Array

            Returns Effect<Uint8Array, never, never>

      • Readonly seal: ((key, plaintext) => Effect<Uint8Array, never, never>)
          • (key, plaintext): Effect<Uint8Array, never, never>
          • Parameters

            • key: Uint8Array
            • plaintext: Uint8Array

            Returns Effect<Uint8Array, never, never>

    Returns {
        open: ((key, ciphertext) => Effect<Uint8Array, never, never>);
        seal: ((key, plaintext) => Effect<Uint8Array, never, never>);
    }

    • Readonly open: ((key, ciphertext) => Effect<Uint8Array, never, never>)
        • (key, ciphertext): Effect<Uint8Array, never, never>
        • Parameters

          • key: Uint8Array
          • ciphertext: Uint8Array

          Returns Effect<Uint8Array, never, never>

    • Readonly seal: ((key, plaintext) => Effect<Uint8Array, never, never>)
        • (key, plaintext): Effect<Uint8Array, never, never>
        • Parameters

          • key: Uint8Array
          • plaintext: Uint8Array

          Returns Effect<Uint8Array, never, never>

  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.SqliteFactory.html b/classes/_evolu_common.SqliteFactory.html new file mode 100644 index 000000000..5cee8868c --- /dev/null +++ b/classes/_evolu_common.SqliteFactory.html @@ -0,0 +1,246 @@ +SqliteFactory | Evolu

Hierarchy

  • TagClassShape<"SqliteFactory", {
        createSqlite: Effect<Sqlite, never, Config>;
    }, this>
    • SqliteFactory

Constructors

  • Parameters

    • _: never

    Returns SqliteFactory

Properties

Id: "SqliteFactory"
Type: {
    createSqlite: Effect<Sqlite, never, Config>;
}

Type declaration

[TagTypeId]: typeof TagTypeId
Common: Layer<SqliteFactory, never, SqliteFactory> = ...
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    createSqlite: Effect<Sqlite, never, Config>;
}, unknown, SqliteFactory>

Type declaration

[EffectTypeId]: VarianceStruct<{
    createSqlite: Effect<Sqlite, never, Config>;
}, never, SqliteFactory>

Type declaration

[STMTypeId]: {
    _A: Covariant<{
        createSqlite: Effect<Sqlite, never, Config>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<SqliteFactory>;
}

Type declaration

  • Readonly _A: Covariant<{
        createSqlite: Effect<Sqlite, never, Config>;
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<SqliteFactory>
[SinkTypeId]: VarianceStruct<{
    createSqlite: Effect<Sqlite, never, Config>;
}, unknown, never, never, SqliteFactory>

Type declaration

[StreamTypeId]: {
    _A: Covariant<{
        createSqlite: Effect<Sqlite, never, Config>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<SqliteFactory>;
}

Type declaration

  • _A: Covariant<{
        createSqlite: Effect<Sqlite, never, Config>;
    }>
  • _E: Covariant<never>
  • _R: Covariant<SqliteFactory>
[TagTypeId]: {
    _Identifier: Invariant<SqliteFactory>;
    _Service: Invariant<{
        createSqlite: Effect<Sqlite, never, Config>;
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<SqliteFactory>
  • Readonly _Service: Invariant<{
        createSqlite: Effect<Sqlite, never, Config>;
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<SqliteFactory, "SqliteFactory", {
    createSqlite: Effect<Sqlite, never, Config>;
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<SqliteFactory, {
        createSqlite: Effect<Sqlite, never, Config>;
    }>>

  • Parameters

    • self: {
          createSqlite: Effect<Sqlite, never, Config>;
      }

    Returns Context<SqliteFactory>

  • Parameters

    • self: {
          createSqlite: Effect<Sqlite, never, Config>;
      }

    Returns {
        createSqlite: Effect<Sqlite, never, Config>;
    }

  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.SyncFactory.html b/classes/_evolu_common.SyncFactory.html new file mode 100644 index 000000000..03f4b7895 --- /dev/null +++ b/classes/_evolu_common.SyncFactory.html @@ -0,0 +1,245 @@ +SyncFactory | Evolu

Hierarchy

  • TagClassShape<"SyncFactory", {
        createSync: Effect<Sync, never, never>;
    }, this>
    • SyncFactory

Constructors

  • Parameters

    • _: never

    Returns SyncFactory

Properties

Id: "SyncFactory"
Type: {
    createSync: Effect<Sync, never, never>;
}

Type declaration

  • Readonly createSync: Effect<Sync, never, never>
[TagTypeId]: typeof TagTypeId
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    createSync: Effect<Sync, never, never>;
}, unknown, SyncFactory>

Type declaration

  • Readonly createSync: Effect<Sync, never, never>
[EffectTypeId]: VarianceStruct<{
    createSync: Effect<Sync, never, never>;
}, never, SyncFactory>

Type declaration

  • Readonly createSync: Effect<Sync, never, never>
[STMTypeId]: {
    _A: Covariant<{
        createSync: Effect<Sync, never, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<SyncFactory>;
}

Type declaration

  • Readonly _A: Covariant<{
        createSync: Effect<Sync, never, never>;
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<SyncFactory>
[SinkTypeId]: VarianceStruct<{
    createSync: Effect<Sync, never, never>;
}, unknown, never, never, SyncFactory>

Type declaration

  • Readonly createSync: Effect<Sync, never, never>
[StreamTypeId]: {
    _A: Covariant<{
        createSync: Effect<Sync, never, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<SyncFactory>;
}

Type declaration

  • _A: Covariant<{
        createSync: Effect<Sync, never, never>;
    }>
  • _E: Covariant<never>
  • _R: Covariant<SyncFactory>
[TagTypeId]: {
    _Identifier: Invariant<SyncFactory>;
    _Service: Invariant<{
        createSync: Effect<Sync, never, never>;
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<SyncFactory>
  • Readonly _Service: Invariant<{
        createSync: Effect<Sync, never, never>;
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<SyncFactory, "SyncFactory", {
    createSync: Effect<Sync, never, never>;
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<SyncFactory, {
        createSync: Effect<Sync, never, never>;
    }>>

  • Parameters

    • self: {
          createSync: Effect<Sync, never, never>;
      }
      • Readonly createSync: Effect<Sync, never, never>

    Returns Context<SyncFactory>

  • Parameters

    • self: {
          createSync: Effect<Sync, never, never>;
      }
      • Readonly createSync: Effect<Sync, never, never>

    Returns {
        createSync: Effect<Sync, never, never>;
    }

    • Readonly createSync: Effect<Sync, never, never>
  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.SyncLock.html b/classes/_evolu_common.SyncLock.html new file mode 100644 index 000000000..24d5b8ae0 --- /dev/null +++ b/classes/_evolu_common.SyncLock.html @@ -0,0 +1,421 @@ +SyncLock | Evolu

Hierarchy

Constructors

  • Parameters

    • _: never

    Returns SyncLock

Properties

Id: "SyncLock"
Type: {
    tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
}

Type declaration

[TagTypeId]: typeof TagTypeId
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
}, unknown, SyncLock>

Type declaration

[EffectTypeId]: VarianceStruct<{
    tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
}, never, SyncLock>

Type declaration

[STMTypeId]: {
    _A: Covariant<{
        tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<SyncLock>;
}

Type declaration

[SinkTypeId]: VarianceStruct<{
    tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
}, unknown, never, never, SyncLock>

Type declaration

[StreamTypeId]: {
    _A: Covariant<{
        tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<SyncLock>;
}

Type declaration

[TagTypeId]: {
    _Identifier: Invariant<SyncLock>;
    _Service: Invariant<{
        tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
    }>;
}

Type declaration

[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<SyncLock, "SyncLock", {
    tryAcquire: Effect<SyncLockRelease, SyncLockAlreadySyncingError, Scope | Config>;
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/classes/_evolu_common.SyncLockAlreadySyncingError.html b/classes/_evolu_common.SyncLockAlreadySyncingError.html new file mode 100644 index 000000000..32bcf5881 --- /dev/null +++ b/classes/_evolu_common.SyncLockAlreadySyncingError.html @@ -0,0 +1,3 @@ +SyncLockAlreadySyncingError | Evolu

Class SyncLockAlreadySyncingError

Constructors

Properties

Constructors

Properties

_tag: "SyncLockAlreadySyncingError" = "SyncLockAlreadySyncingError"
\ No newline at end of file diff --git a/classes/_evolu_common.Time.html b/classes/_evolu_common.Time.html new file mode 100644 index 000000000..a9887fe97 --- /dev/null +++ b/classes/_evolu_common.Time.html @@ -0,0 +1,246 @@ +Time | Evolu

Hierarchy

Constructors

  • Parameters

    • _: never

    Returns Time

Properties

Id: "Time"
Type: {
    now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
}

Type declaration

[TagTypeId]: typeof TagTypeId
Live: Layer<Time, never, never> = ...
[ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, {
    now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
}, unknown, Time>

Type declaration

[EffectTypeId]: VarianceStruct<{
    now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
}, never, Time>

Type declaration

[STMTypeId]: {
    _A: Covariant<{
        now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<Time>;
}

Type declaration

  • Readonly _A: Covariant<{
        now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
    }>
  • Readonly _E: Covariant<never>
  • Readonly _R: Covariant<Time>
[SinkTypeId]: VarianceStruct<{
    now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
}, unknown, never, never, Time>

Type declaration

[StreamTypeId]: {
    _A: Covariant<{
        now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
    }>;
    _E: Covariant<never>;
    _R: Covariant<Time>;
}

Type declaration

[TagTypeId]: {
    _Identifier: Invariant<Time>;
    _Service: Invariant<{
        now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
    }>;
}

Type declaration

  • Readonly _Identifier: Invariant<Time>
  • Readonly _Service: Invariant<{
        now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
    }>
[ignoreSymbol]?: TagUnifyIgnore
[typeSymbol]?: unknown
[unifySymbol]?: TagUnify<TagClass<Time, "Time", {
    now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
}>>
_op: "Tag"
_tag: "Tag"
key: string
stack?: string

Methods

  • Returns unknown

  • Returns EffectGenerator<Tag<Time, {
        now: Effect<number & Brand<"Millis">, TimestampTimeOutOfRangeError, never>;
    }>>

  • Parameters

    Returns Context<Time>

  • Type Parameters

    • A
    • B

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    Returns B

  • Type Parameters

    • A
    • B
    • C

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    Returns C

  • Type Parameters

    • A
    • B
    • C
    • D

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    Returns D

  • Type Parameters

    • A
    • B
    • C
    • D
    • E

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    Returns E

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    Returns F

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    Returns G

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    Returns H

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    Returns I

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    Returns J

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    Returns K

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    Returns L

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    Returns M

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    Returns N

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    Returns O

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    Returns P

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    Returns Q

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    Returns R

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    Returns S

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    Returns T

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Type Parameters

    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U

    Parameters

    • this: A
    • ab: ((_) => B)
        • (_): B
        • Parameters

          Returns B

    • bc: ((_) => C)
        • (_): C
        • Parameters

          Returns C

    • cd: ((_) => D)
        • (_): D
        • Parameters

          Returns D

    • de: ((_) => E)
        • (_): E
        • Parameters

          Returns E

    • ef: ((_) => F)
        • (_): F
        • Parameters

          Returns F

    • fg: ((_) => G)
        • (_): G
        • Parameters

          Returns G

    • gh: ((_) => H)
        • (_): H
        • Parameters

          Returns H

    • hi: ((_) => I)
        • (_): I
        • Parameters

          Returns I

    • ij: ((_) => J)
        • (_): J
        • Parameters

          Returns J

    • jk: ((_) => K)
        • (_): K
        • Parameters

          Returns K

    • kl: ((_) => L)
        • (_): L
        • Parameters

          Returns L

    • lm: ((_) => M)
        • (_): M
        • Parameters

          Returns M

    • mn: ((_) => N)
        • (_): N
        • Parameters

          Returns N

    • no: ((_) => O)
        • (_): O
        • Parameters

          Returns O

    • op: ((_) => P)
        • (_): P
        • Parameters

          Returns P

    • pq: ((_) => Q)
        • (_): Q
        • Parameters

          Returns Q

    • qr: ((_) => R)
        • (_): R
        • Parameters

          Returns R

    • rs: ((_) => S)
        • (_): S
        • Parameters

          Returns S

    • st: ((_) => T)
        • (_): T
        • Parameters

          Returns T

    • tu: ((_) => U)
        • (_): U
        • Parameters

          Returns U

    Returns U

  • Returns unknown

  • Returns string

\ No newline at end of file diff --git a/functions/_evolu_common.applyPatches.html b/functions/_evolu_common.applyPatches.html new file mode 100644 index 000000000..4e3591403 --- /dev/null +++ b/functions/_evolu_common.applyPatches.html @@ -0,0 +1 @@ +applyPatches | Evolu

Function applyPatches

\ No newline at end of file diff --git a/functions/_evolu_common.areEqual.html b/functions/_evolu_common.areEqual.html new file mode 100644 index 000000000..2f2825710 --- /dev/null +++ b/functions/_evolu_common.areEqual.html @@ -0,0 +1 @@ +areEqual | Evolu
\ No newline at end of file diff --git a/functions/_evolu_common.cast.html b/functions/_evolu_common.cast.html new file mode 100644 index 000000000..0cdcc0d86 --- /dev/null +++ b/functions/_evolu_common.cast.html @@ -0,0 +1,7 @@ +cast | Evolu
\ No newline at end of file diff --git a/functions/_evolu_common.createIndexes.html b/functions/_evolu_common.createIndexes.html new file mode 100644 index 000000000..21d07a617 --- /dev/null +++ b/functions/_evolu_common.createIndexes.html @@ -0,0 +1,10 @@ +createIndexes | Evolu

Function createIndexes

Create SQLite indexes.

+

See https://www.evolu.dev/docs/indexes

+

Example

const indexes = createIndexes((create) => [
create("indexTodoCreatedAt").on("todo").column("createdAt"),
create("indexTodoCategoryCreatedAt")
.on("todoCategory")
.column("createdAt"),
]); +
+ +
  • Parameters

    • callback: ((create) => readonly CreateIndexBuilder<any>[])
        • (create): readonly CreateIndexBuilder<any>[]
        • Parameters

          • create: ((indexName) => CreateIndexBuilder<never>)
              • (indexName): CreateIndexBuilder<never>
              • Create a new index.

                +
                await db.schema
                .createIndex('person_full_name_unique_index')
                .on('person')
                .columns(['first_name', 'last_name'])
                .execute() +
                + +

                Parameters

                • indexName: string

                Returns CreateIndexBuilder<never>

          Returns readonly CreateIndexBuilder<any>[]

    Returns readonly {
        name: string;
        sql: string;
    }[]

\ No newline at end of file diff --git a/functions/_evolu_common.createNanoIdGeneratorLive.html b/functions/_evolu_common.createNanoIdGeneratorLive.html new file mode 100644 index 000000000..98244bfc9 --- /dev/null +++ b/functions/_evolu_common.createNanoIdGeneratorLive.html @@ -0,0 +1 @@ +createNanoIdGeneratorLive | Evolu

Function createNanoIdGeneratorLive

  • Parameters

    • customAlphabet: ((alphabet, defaultSize?) => ((size?) => string))
        • (alphabet, defaultSize?): ((size?) => string)
        • Parameters

          • alphabet: string
          • Optional defaultSize: number

          Returns ((size?) => string)

            • (size?): string
            • Parameters

              • Optional size: number

              Returns string

    • nanoid: ((size?) => string)
        • (size?): string
        • Parameters

          • Optional size: number

          Returns string

    Returns Layer<NanoIdGenerator, never, never>

\ No newline at end of file diff --git a/functions/_evolu_common.createRuntime.html b/functions/_evolu_common.createRuntime.html new file mode 100644 index 000000000..955500269 --- /dev/null +++ b/functions/_evolu_common.createRuntime.html @@ -0,0 +1,2 @@ +createRuntime | Evolu

Function createRuntime

\ No newline at end of file diff --git a/functions/_evolu_common.database.html b/functions/_evolu_common.database.html new file mode 100644 index 000000000..26b1aad02 --- /dev/null +++ b/functions/_evolu_common.database.html @@ -0,0 +1,8 @@ +database | Evolu

Create database schema.

+

Tables with a name prefixed with _ are local-only, which means they are not +synced. Local-only tables are useful for device-specific or temporal data.

+

Example

const Database = database({
// A local-only table.
_todo: TodoTable,
todo: TodoTable,
todoCategory: TodoCategoryTable,
});
type Database = typeof Database.Type; +
+ +
\ No newline at end of file diff --git a/functions/_evolu_common.deserializeQuery.html b/functions/_evolu_common.deserializeQuery.html new file mode 100644 index 000000000..96db15665 --- /dev/null +++ b/functions/_evolu_common.deserializeQuery.html @@ -0,0 +1 @@ +deserializeQuery | Evolu

Function deserializeQuery

\ No newline at end of file diff --git a/functions/_evolu_common.diffMerkleTrees.html b/functions/_evolu_common.diffMerkleTrees.html new file mode 100644 index 000000000..05fbcec6c --- /dev/null +++ b/functions/_evolu_common.diffMerkleTrees.html @@ -0,0 +1 @@ +diffMerkleTrees | Evolu

Function diffMerkleTrees

\ No newline at end of file diff --git a/functions/_evolu_common.drawSqliteQueryPlan.html b/functions/_evolu_common.drawSqliteQueryPlan.html new file mode 100644 index 000000000..f7e52e915 --- /dev/null +++ b/functions/_evolu_common.drawSqliteQueryPlan.html @@ -0,0 +1 @@ +drawSqliteQueryPlan | Evolu

Function drawSqliteQueryPlan

\ No newline at end of file diff --git a/functions/_evolu_common.emptyRows.html b/functions/_evolu_common.emptyRows.html new file mode 100644 index 000000000..e2cbf3243 --- /dev/null +++ b/functions/_evolu_common.emptyRows.html @@ -0,0 +1 @@ +emptyRows | Evolu

Function emptyRows

\ No newline at end of file diff --git a/functions/_evolu_common.ensureTransferableError.html b/functions/_evolu_common.ensureTransferableError.html new file mode 100644 index 000000000..7652e1651 --- /dev/null +++ b/functions/_evolu_common.ensureTransferableError.html @@ -0,0 +1,2 @@ +ensureTransferableError | Evolu

Function ensureTransferableError

Error isn't a structured cloneable object.

+
\ No newline at end of file diff --git a/functions/_evolu_common.getLockName.html b/functions/_evolu_common.getLockName.html new file mode 100644 index 000000000..a3b464d2c --- /dev/null +++ b/functions/_evolu_common.getLockName.html @@ -0,0 +1,2 @@ +getLockName | Evolu

Function getLockName

Create a namespaced lock name.

+
\ No newline at end of file diff --git a/functions/_evolu_common.id-2.html b/functions/_evolu_common.id-2.html new file mode 100644 index 000000000..50e224158 --- /dev/null +++ b/functions/_evolu_common.id-2.html @@ -0,0 +1,5 @@ +id | Evolu

A factory function to create Id Schema for a specific table.

+

Example

import * as S from "@effect/schema/Schema";
import { id } from "@evolu/react";

const TodoId = id("Todo");
type TodoId = typeof TodoId.Type; +
+ +
  • Type Parameters

    • T extends string

    Parameters

    • table: T

    Returns brand<brand<Schema<string, string, never>, "Id">, T>

\ No newline at end of file diff --git a/functions/_evolu_common.insertIntoMerkleTree.html b/functions/_evolu_common.insertIntoMerkleTree.html new file mode 100644 index 000000000..2646c0c74 --- /dev/null +++ b/functions/_evolu_common.insertIntoMerkleTree.html @@ -0,0 +1 @@ +insertIntoMerkleTree | Evolu

Function insertIntoMerkleTree

\ No newline at end of file diff --git a/functions/_evolu_common.isJsonObjectOrArray.html b/functions/_evolu_common.isJsonObjectOrArray.html new file mode 100644 index 000000000..ab843bdce --- /dev/null +++ b/functions/_evolu_common.isJsonObjectOrArray.html @@ -0,0 +1 @@ +isJsonObjectOrArray | Evolu

Function isJsonObjectOrArray

\ No newline at end of file diff --git a/functions/_evolu_common.isSqlMutation.html b/functions/_evolu_common.isSqlMutation.html new file mode 100644 index 000000000..ece327dfd --- /dev/null +++ b/functions/_evolu_common.isSqlMutation.html @@ -0,0 +1 @@ +isSqlMutation | Evolu

Function isSqlMutation

\ No newline at end of file diff --git a/functions/_evolu_common.makeOwner.html b/functions/_evolu_common.makeOwner.html new file mode 100644 index 000000000..0ee5d37ac --- /dev/null +++ b/functions/_evolu_common.makeOwner.html @@ -0,0 +1 @@ +makeOwner | Evolu

Function makeOwner

\ No newline at end of file diff --git a/functions/_evolu_common.makePatches.html b/functions/_evolu_common.makePatches.html new file mode 100644 index 000000000..f655b4d62 --- /dev/null +++ b/functions/_evolu_common.makePatches.html @@ -0,0 +1,6 @@ +makePatches | Evolu

Function makePatches

We detect only changes in the whole result and in-place edits. In the future, +we will add more heuristics. We will probably not implement the Myers diff +algorithm because it's faster to rerender all than to compute many detailed +patches. We will only implement logic a developer would implement manually, +if necessary.

+
\ No newline at end of file diff --git a/functions/_evolu_common.makeStore.html b/functions/_evolu_common.makeStore.html new file mode 100644 index 000000000..4352a1df7 --- /dev/null +++ b/functions/_evolu_common.makeStore.html @@ -0,0 +1 @@ +makeStore | Evolu

Function makeStore

\ No newline at end of file diff --git a/functions/_evolu_common.makeSyncTimestamp.html b/functions/_evolu_common.makeSyncTimestamp.html new file mode 100644 index 000000000..973846de9 --- /dev/null +++ b/functions/_evolu_common.makeSyncTimestamp.html @@ -0,0 +1 @@ +makeSyncTimestamp | Evolu

Function makeSyncTimestamp

\ No newline at end of file diff --git a/functions/_evolu_common.makeUnexpectedError.html b/functions/_evolu_common.makeUnexpectedError.html new file mode 100644 index 000000000..62ea20e94 --- /dev/null +++ b/functions/_evolu_common.makeUnexpectedError.html @@ -0,0 +1 @@ +makeUnexpectedError | Evolu

Function makeUnexpectedError

\ No newline at end of file diff --git a/functions/_evolu_common.maybeJson.html b/functions/_evolu_common.maybeJson.html new file mode 100644 index 000000000..bd5abdade --- /dev/null +++ b/functions/_evolu_common.maybeJson.html @@ -0,0 +1 @@ +maybeJson | Evolu

Function maybeJson

\ No newline at end of file diff --git a/functions/_evolu_common.maybeLogSqliteQueryExecutionTime.html b/functions/_evolu_common.maybeLogSqliteQueryExecutionTime.html new file mode 100644 index 000000000..b25b3928f --- /dev/null +++ b/functions/_evolu_common.maybeLogSqliteQueryExecutionTime.html @@ -0,0 +1 @@ +maybeLogSqliteQueryExecutionTime | Evolu

Function maybeLogSqliteQueryExecutionTime

\ No newline at end of file diff --git a/functions/_evolu_common.maybeParseJson.html b/functions/_evolu_common.maybeParseJson.html new file mode 100644 index 000000000..25fd1734c --- /dev/null +++ b/functions/_evolu_common.maybeParseJson.html @@ -0,0 +1,2 @@ +maybeParseJson | Evolu

Function maybeParseJson

This function mutates for better performance.

+
\ No newline at end of file diff --git a/functions/_evolu_common.merkleTreeToString.html b/functions/_evolu_common.merkleTreeToString.html new file mode 100644 index 000000000..756b66371 --- /dev/null +++ b/functions/_evolu_common.merkleTreeToString.html @@ -0,0 +1 @@ +merkleTreeToString | Evolu

Function merkleTreeToString

\ No newline at end of file diff --git a/functions/_evolu_common.millisToMerkleTreePath.html b/functions/_evolu_common.millisToMerkleTreePath.html new file mode 100644 index 000000000..c6e90bfb8 --- /dev/null +++ b/functions/_evolu_common.millisToMerkleTreePath.html @@ -0,0 +1 @@ +millisToMerkleTreePath | Evolu

Function millisToMerkleTreePath

\ No newline at end of file diff --git a/functions/_evolu_common.murmurhash.html b/functions/_evolu_common.murmurhash.html new file mode 100644 index 000000000..8f3aa3e88 --- /dev/null +++ b/functions/_evolu_common.murmurhash.html @@ -0,0 +1 @@ +murmurhash | Evolu

Function murmurhash

\ No newline at end of file diff --git a/functions/_evolu_common.queryResultFromRows.html b/functions/_evolu_common.queryResultFromRows.html new file mode 100644 index 000000000..bfc936a66 --- /dev/null +++ b/functions/_evolu_common.queryResultFromRows.html @@ -0,0 +1 @@ +queryResultFromRows | Evolu

Function queryResultFromRows

\ No newline at end of file diff --git a/functions/_evolu_common.receiveTimestamp.html b/functions/_evolu_common.receiveTimestamp.html new file mode 100644 index 000000000..57330cf1c --- /dev/null +++ b/functions/_evolu_common.receiveTimestamp.html @@ -0,0 +1 @@ +receiveTimestamp | Evolu

Function receiveTimestamp

\ No newline at end of file diff --git a/functions/_evolu_common.sendTimestamp.html b/functions/_evolu_common.sendTimestamp.html new file mode 100644 index 000000000..0cb770d27 --- /dev/null +++ b/functions/_evolu_common.sendTimestamp.html @@ -0,0 +1 @@ +sendTimestamp | Evolu
\ No newline at end of file diff --git a/functions/_evolu_common.serializeQuery.html b/functions/_evolu_common.serializeQuery.html new file mode 100644 index 000000000..f8f06bacc --- /dev/null +++ b/functions/_evolu_common.serializeQuery.html @@ -0,0 +1 @@ +serializeQuery | Evolu

Function serializeQuery

\ No newline at end of file diff --git a/functions/_evolu_common.slip21Derive.html b/functions/_evolu_common.slip21Derive.html new file mode 100644 index 000000000..cf7c98564 --- /dev/null +++ b/functions/_evolu_common.slip21Derive.html @@ -0,0 +1 @@ +slip21Derive | Evolu

Function slip21Derive

  • Parameters

    • seed: Uint8Array
    • path: readonly string[]

    Returns Effect<Uint8Array, never, never>

\ No newline at end of file diff --git a/functions/_evolu_common.table-1.html b/functions/_evolu_common.table-1.html new file mode 100644 index 000000000..ae727d470 --- /dev/null +++ b/functions/_evolu_common.table-1.html @@ -0,0 +1,9 @@ +table | Evolu

Create table schema.

+

Supported types are null, string, number, Uint8Array, JSON Object, and JSON +Array. Use SqliteDate for dates and SqliteBoolean for booleans.

+

Reserved columns are createdAt, updatedAt, isDeleted. Those columns are added +by default.

+

Example

const TodoId = id("Todo");
type TodoId = typeof TodoId.Type;

const TodoTable = table({
id: TodoId,
title: NonEmptyString1000,
isCompleted: S.nullable(SqliteBoolean),
});
type TodoTable = typeof TodoTable.Type; +
+ +
  • Type Parameters

    • Fields extends TableFields

    Parameters

    Returns ValidateFieldsTypes<Fields> extends true
        ? ValidateFieldsNames<Fields> extends true
            ? ValidateFieldsHasId<Fields> extends true
                ? Schema<Simplify<Type<Fields> & {
                    createdAt: string & Brand<"SqliteDate">;
                    isDeleted: number & Brand<"SqliteBoolean">;
                    updatedAt: string & Brand<"SqliteDate">;
                }>, Simplify<{
                    readonly [K in string | number | symbol as Key<Fields, K>]: Encoded<Fields[K]>
                } & {
                    readonly [K in string | number | symbol as Key<Fields, K>]?: Encoded<Fields[K]>
                } & {
                    createdAt: string;
                    isDeleted: number;
                    updatedAt: string;
                }>, never>
                : EvoluTypeError<"table() called without id column.">
            : EvoluTypeError<"table() called with a reserved column. Reserved columns are createdAt, updatedAt, isDeleted. Those columns are added by default.">
        : EvoluTypeError<"table() called with unsupported type. Supported types are null, string, number, Uint8Array, JSON Object, and JSON Array. Use SqliteDate for dates and SqliteBoolean for booleans.">

\ No newline at end of file diff --git a/functions/_evolu_common.timestampToHash.html b/functions/_evolu_common.timestampToHash.html new file mode 100644 index 000000000..db72d97f8 --- /dev/null +++ b/functions/_evolu_common.timestampToHash.html @@ -0,0 +1 @@ +timestampToHash | Evolu

Function timestampToHash

\ No newline at end of file diff --git a/functions/_evolu_common.timestampToString.html b/functions/_evolu_common.timestampToString.html new file mode 100644 index 000000000..1eb5fc413 --- /dev/null +++ b/functions/_evolu_common.timestampToString.html @@ -0,0 +1 @@ +timestampToString | Evolu

Function timestampToString

\ No newline at end of file diff --git a/functions/_evolu_common.unsafeMerkleTreeFromString.html b/functions/_evolu_common.unsafeMerkleTreeFromString.html new file mode 100644 index 000000000..9d53e4bad --- /dev/null +++ b/functions/_evolu_common.unsafeMerkleTreeFromString.html @@ -0,0 +1 @@ +unsafeMerkleTreeFromString | Evolu

Function unsafeMerkleTreeFromString

\ No newline at end of file diff --git a/functions/_evolu_common.unsafeTimestampFromString.html b/functions/_evolu_common.unsafeTimestampFromString.html new file mode 100644 index 000000000..b2d040e74 --- /dev/null +++ b/functions/_evolu_common.unsafeTimestampFromString.html @@ -0,0 +1 @@ +unsafeTimestampFromString | Evolu

Function unsafeTimestampFromString

\ No newline at end of file diff --git a/functions/_evolu_common.upsertValueIntoTableRowColumn.html b/functions/_evolu_common.upsertValueIntoTableRowColumn.html new file mode 100644 index 000000000..e76077284 --- /dev/null +++ b/functions/_evolu_common.upsertValueIntoTableRowColumn.html @@ -0,0 +1 @@ +upsertValueIntoTableRowColumn | Evolu

Function upsertValueIntoTableRowColumn

\ No newline at end of file diff --git a/functions/_evolu_common.validateMnemonicToEffect.html b/functions/_evolu_common.validateMnemonicToEffect.html new file mode 100644 index 000000000..1a3192ab2 --- /dev/null +++ b/functions/_evolu_common.validateMnemonicToEffect.html @@ -0,0 +1 @@ +validateMnemonicToEffect | Evolu

Function validateMnemonicToEffect

\ No newline at end of file diff --git a/functions/_evolu_common.valuesToSqliteValues.html b/functions/_evolu_common.valuesToSqliteValues.html new file mode 100644 index 000000000..ea848dc07 --- /dev/null +++ b/functions/_evolu_common.valuesToSqliteValues.html @@ -0,0 +1 @@ +valuesToSqliteValues | Evolu

Function valuesToSqliteValues

\ No newline at end of file diff --git a/functions/_evolu_common_react.EvoluProvider.html b/functions/_evolu_common_react.EvoluProvider.html new file mode 100644 index 000000000..111e0f877 --- /dev/null +++ b/functions/_evolu_common_react.EvoluProvider.html @@ -0,0 +1 @@ +EvoluProvider | Evolu
\ No newline at end of file diff --git a/functions/_evolu_common_react.use.html b/functions/_evolu_common_react.use.html new file mode 100644 index 000000000..e01f21d5f --- /dev/null +++ b/functions/_evolu_common_react.use.html @@ -0,0 +1,4 @@ +use | Evolu
\ No newline at end of file diff --git a/functions/_evolu_common_react.useEvolu.html b/functions/_evolu_common_react.useEvolu.html new file mode 100644 index 000000000..2e90729f9 --- /dev/null +++ b/functions/_evolu_common_react.useEvolu.html @@ -0,0 +1,6 @@ +useEvolu | Evolu

React Hook returning an instance of Evolu.

+

Please don't use it without the generic parameter.

+

Example

const Database = database({
todo: TodoTable,
});
type Database = typeof Database.Type;

const { create, update } = useEvolu<Database>();

// Or make an alias:
// const useEvolu = Evolu.useEvolu<Database>; +
+ +
\ No newline at end of file diff --git a/functions/_evolu_common_react.useEvoluError.html b/functions/_evolu_common_react.useEvoluError.html new file mode 100644 index 000000000..e8d7d6d53 --- /dev/null +++ b/functions/_evolu_common_react.useEvoluError.html @@ -0,0 +1,2 @@ +useEvoluError | Evolu

Subscribe to EvoluError changes.

+
\ No newline at end of file diff --git a/functions/_evolu_common_react.useOwner.html b/functions/_evolu_common_react.useOwner.html new file mode 100644 index 000000000..d9bfb5fee --- /dev/null +++ b/functions/_evolu_common_react.useOwner.html @@ -0,0 +1,2 @@ +useOwner | Evolu

Subscribe to Owner changes.

+
\ No newline at end of file diff --git a/functions/_evolu_common_react.useQueries.html b/functions/_evolu_common_react.useQueries.html new file mode 100644 index 000000000..4382ffcde --- /dev/null +++ b/functions/_evolu_common_react.useQueries.html @@ -0,0 +1,2 @@ +useQueries | Evolu

The same as useQuery, but for many queries.

+
\ No newline at end of file diff --git a/functions/_evolu_common_react.useQuery.html b/functions/_evolu_common_react.useQuery.html new file mode 100644 index 000000000..7dc0d7de4 --- /dev/null +++ b/functions/_evolu_common_react.useQuery.html @@ -0,0 +1,9 @@ +useQuery | Evolu

Load and subscribe to the Query, and return an object with rows and row +properties that are automatically updated when data changes.

+

Note that useQuery uses React Suspense. It means every usage of +useQuery blocks rendering until loading is completed. To avoid loading +waterfall with more queries, use useQueries.

+

Example

// Get all rows.
const { rows } = useQuery(allTodos);

// Get the first row (it can be null).
const { row } = useQuery(todoById(1));

// Get all rows, but without subscribing to changes.
const { rows } = useQuery(allTodos, { once: true });

// Prefetch rows.
const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);
const allTodosPromise = evolu.loadQuery(allTodos);
// Use prefetched rows.
const { rows } = useQuery(allTodos, { promise: allTodosPromise }); +
+ +
\ No newline at end of file diff --git a/functions/_evolu_common_react.useQuerySubscription.html b/functions/_evolu_common_react.useQuerySubscription.html new file mode 100644 index 000000000..dc531ae11 --- /dev/null +++ b/functions/_evolu_common_react.useQuerySubscription.html @@ -0,0 +1,2 @@ +useQuerySubscription | Evolu

Subscribe to Query QueryResult changes.

+
\ No newline at end of file diff --git a/functions/_evolu_common_react.useSyncState.html b/functions/_evolu_common_react.useSyncState.html new file mode 100644 index 000000000..e7db43f67 --- /dev/null +++ b/functions/_evolu_common_react.useSyncState.html @@ -0,0 +1,2 @@ +useSyncState | Evolu

Subscribe to SyncState changes.

+
\ No newline at end of file diff --git a/functions/_evolu_common_web.createEvolu.html b/functions/_evolu_common_web.createEvolu.html new file mode 100644 index 000000000..ce572c0c6 --- /dev/null +++ b/functions/_evolu_common_web.createEvolu.html @@ -0,0 +1,7 @@ +createEvolu | Evolu

Create Evolu from the database schema.

+

Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

+

Example

import * as S from "@effect/schema/Schema";
import * as E from "@evolu/common-web";

const TodoId = E.id("Todo");
type TodoId = typeof TodoId.Type;

const TodoTable = E.table({
id: TodoId,
title: E.NonEmptyString1000,
});
type TodoTable = typeof TodoTable.Type;

const Database = E.database({
todo: TodoTable,

// Prefix `_` makes the table local-only (it will not sync)
_todo: TodoTable,
});
type Database = typeof Database.Type;

const evolu = E.createEvolu(Database); +
+ +
\ No newline at end of file diff --git a/functions/_evolu_common_web.parseMnemonic.html b/functions/_evolu_common_web.parseMnemonic.html new file mode 100644 index 000000000..0efbd9456 --- /dev/null +++ b/functions/_evolu_common_web.parseMnemonic.html @@ -0,0 +1,3 @@ +parseMnemonic | Evolu

Parse a string to Mnemonic.

+

This function is async because Bip39 is imported dynamically.

+
\ No newline at end of file diff --git a/functions/_evolu_react.EvoluProvider.html b/functions/_evolu_react.EvoluProvider.html new file mode 100644 index 000000000..b4aae0eea --- /dev/null +++ b/functions/_evolu_react.EvoluProvider.html @@ -0,0 +1 @@ +EvoluProvider | Evolu

Function EvoluProvider

  • Type Parameters

    Parameters

    • __namedParameters: {
          children?: ReactNode;
          value: Evolu<S>;
      }
      • Optional Readonly children?: ReactNode
      • Readonly value: Evolu<S>

    Returns Element

\ No newline at end of file diff --git a/functions/_evolu_react.cast.html b/functions/_evolu_react.cast.html new file mode 100644 index 000000000..4d1a0fff7 --- /dev/null +++ b/functions/_evolu_react.cast.html @@ -0,0 +1,7 @@ +cast | Evolu
  • A helper for casting types not supported by SQLite. SQLite doesn't support +Date nor Boolean types, so Evolu emulates them with SqliteBoolean and +SqliteDate.

    +

    Parameters

    • value: boolean

    Returns SqliteBoolean

    Example

    const allTodosNotDeleted = evolu.createQuery((db) =>
    db
    .selectFrom("todo")
    .selectAll()
    // isDeleted is SqliteBoolean
    .where("isDeleted", "is not", Evolu.cast(true)),
    ); +
    + +
  • Parameters

    • value: number & Brand<"SqliteBoolean">

    Returns boolean

  • Parameters

    • value: Date

    Returns SqliteDate

  • Parameters

    • value: string & Brand<"SqliteDate">

    Returns Date

\ No newline at end of file diff --git a/functions/_evolu_react.createEvolu.html b/functions/_evolu_react.createEvolu.html new file mode 100644 index 000000000..ce7b6b11b --- /dev/null +++ b/functions/_evolu_react.createEvolu.html @@ -0,0 +1,7 @@ +createEvolu | Evolu

Function createEvolu

Create Evolu from the database schema.

+

Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

+

Example

import * as S from "@effect/schema/Schema";
import * as E from "@evolu/react";

const TodoId = E.id("Todo");
type TodoId = typeof TodoId.Type;

const TodoTable = E.table({
id: TodoId,
title: E.NonEmptyString1000,
});
type TodoTable = typeof TodoTable.Type;

const Database = E.database({
todo: TodoTable,

// Prefix `_` makes the table local-only (it will not sync)
_todo: TodoTable,
});
type Database = typeof Database.Type;

const evolu = E.createEvolu(Database); +
+ +
\ No newline at end of file diff --git a/functions/_evolu_react.createIndexes.html b/functions/_evolu_react.createIndexes.html new file mode 100644 index 000000000..ddad60a7f --- /dev/null +++ b/functions/_evolu_react.createIndexes.html @@ -0,0 +1,6 @@ +createIndexes | Evolu

Function createIndexes

Create SQLite indexes.

+

See https://www.evolu.dev/docs/indexes

+

Example

const indexes = createIndexes((create) => [
create("indexTodoCreatedAt").on("todo").column("createdAt"),
create("indexTodoCategoryCreatedAt")
.on("todoCategory")
.column("createdAt"),
]); +
+ +
  • Parameters

    • callback: ((create) => readonly CreateIndexBuilder<any>[])
        • (create): readonly CreateIndexBuilder<any>[]
        • Parameters

          • create: ((indexName) => CreateIndexBuilder<never>)
              • (indexName): CreateIndexBuilder<never>
              • Parameters

                • indexName: string

                Returns CreateIndexBuilder<never>

          Returns readonly CreateIndexBuilder<any>[]

    Returns readonly {
        name: string;
        sql: string;
    }[]

\ No newline at end of file diff --git a/functions/_evolu_react.database.html b/functions/_evolu_react.database.html new file mode 100644 index 000000000..59b147d2c --- /dev/null +++ b/functions/_evolu_react.database.html @@ -0,0 +1,8 @@ +database | Evolu

Function database

Create database schema.

+

Tables with a name prefixed with _ are local-only, which means they are not +synced. Local-only tables are useful for device-specific or temporal data.

+

Example

const Database = database({
// A local-only table.
_todo: TodoTable,
todo: TodoTable,
todoCategory: TodoCategoryTable,
});
type Database = typeof Database.Type; +
+ +
  • Type Parameters

    • Fields extends Fields
    • const Records extends readonly [Record, Record]

    Parameters

    Returns TypeLiteral<Fields, Records>

    Since

    1.0.0

    +
  • Type Parameters

    • Fields extends Fields

    Parameters

    Returns Struct<Fields>

\ No newline at end of file diff --git a/functions/_evolu_react.ensureTransferableError.html b/functions/_evolu_react.ensureTransferableError.html new file mode 100644 index 000000000..d86c61ea2 --- /dev/null +++ b/functions/_evolu_react.ensureTransferableError.html @@ -0,0 +1,2 @@ +ensureTransferableError | Evolu

Function ensureTransferableError

Error isn't a structured cloneable object.

+
  • Parameters

    • error: unknown

    Returns unknown

\ No newline at end of file diff --git a/functions/_evolu_react.id-2.html b/functions/_evolu_react.id-2.html new file mode 100644 index 000000000..3c1fce8c4 --- /dev/null +++ b/functions/_evolu_react.id-2.html @@ -0,0 +1,5 @@ +id | Evolu

A factory function to create Id Schema for a specific table.

+

Example

import * as S from "@effect/schema/Schema";
import { id } from "@evolu/react";

const TodoId = id("Todo");
type TodoId = typeof TodoId.Type; +
+ +
  • Type Parameters

    • T extends string

    Parameters

    • table: T

    Returns brand<brand<Schema<string, string, never>, "Id">, T>

\ No newline at end of file diff --git a/functions/_evolu_react.jsonArrayFrom.html b/functions/_evolu_react.jsonArrayFrom.html new file mode 100644 index 000000000..4084e2f07 --- /dev/null +++ b/functions/_evolu_react.jsonArrayFrom.html @@ -0,0 +1,15 @@ +jsonArrayFrom | Evolu

Function jsonArrayFrom

  • A SQLite helper for aggregating a subquery into a JSON array.

    +

    NOTE: This helper only works correctly if you've installed the ParseJSONResultsPlugin. +Otherwise the nested selections will be returned as JSON strings.

    +

    The plugin can be installed like this:

    +
    const db = new Kysely({
    dialect: new SqliteDialect(config),
    plugins: [new ParseJSONResultsPlugin()]
    }) +
    + +
    const result = await db
    .selectFrom('person')
    .select((eb) => [
    'id',
    jsonArrayFrom(
    eb.selectFrom('pet')
    .select(['pet.id as pet_id', 'pet.name'])
    .whereRef('pet.owner_id', '=', 'person.id')
    .orderBy('pet.name')
    ).as('pets')
    ])
    .execute()

    result[0].id
    result[0].pets[0].pet_id
    result[0].pets[0].name +
    + +

    The generated SQL (SQLite):

    +
    select "id", (
    select coalesce(json_group_array(json_object(
    'pet_id', "agg"."pet_id",
    'name', "agg"."name"
    )), '[]') from (
    select "pet"."id" as "pet_id", "pet"."name"
    from "pet"
    where "pet"."owner_id" = "person"."id"
    order by "pet"."name"
    ) as "agg"
    ) as "pets"
    from "person" +
    + +

    Type Parameters

    • O

    Parameters

    • expr: SelectQueryBuilderExpression<O>

    Returns RawBuilder<Simplify<O>[]>

\ No newline at end of file diff --git a/functions/_evolu_react.jsonObjectFrom.html b/functions/_evolu_react.jsonObjectFrom.html new file mode 100644 index 000000000..aed4347ac --- /dev/null +++ b/functions/_evolu_react.jsonObjectFrom.html @@ -0,0 +1,16 @@ +jsonObjectFrom | Evolu

Function jsonObjectFrom

  • A SQLite helper for turning a subquery into a JSON object.

    +

    The subquery must only return one row.

    +

    NOTE: This helper only works correctly if you've installed the ParseJSONResultsPlugin. +Otherwise the nested selections will be returned as JSON strings.

    +

    The plugin can be installed like this:

    +
    const db = new Kysely({
    dialect: new SqliteDialect(config),
    plugins: [new ParseJSONResultsPlugin()]
    }) +
    + +
    const result = await db
    .selectFrom('person')
    .select((eb) => [
    'id',
    jsonObjectFrom(
    eb.selectFrom('pet')
    .select(['pet.id as pet_id', 'pet.name'])
    .whereRef('pet.owner_id', '=', 'person.id')
    .where('pet.is_favorite', '=', true)
    ).as('favorite_pet')
    ])
    .execute()

    result[0].id
    result[0].favorite_pet.pet_id
    result[0].favorite_pet.name +
    + +

    The generated SQL (SQLite):

    +
    select "id", (
    select json_object(
    'pet_id', "obj"."pet_id",
    'name', "obj"."name"
    ) from (
    select "pet"."id" as "pet_id", "pet"."name"
    from "pet"
    where "pet"."owner_id" = "person"."id"
    and "pet"."is_favorite" = ?
    ) as obj
    ) as "favorite_pet"
    from "person"; +
    + +

    Type Parameters

    • O

    Parameters

    • expr: SelectQueryBuilderExpression<O>

    Returns RawBuilder<Simplify<O> | null>

\ No newline at end of file diff --git a/functions/_evolu_react.makeUnexpectedError.html b/functions/_evolu_react.makeUnexpectedError.html new file mode 100644 index 000000000..1c2531172 --- /dev/null +++ b/functions/_evolu_react.makeUnexpectedError.html @@ -0,0 +1 @@ +makeUnexpectedError | Evolu

Function makeUnexpectedError

\ No newline at end of file diff --git a/functions/_evolu_react.parseMnemonic.html b/functions/_evolu_react.parseMnemonic.html new file mode 100644 index 000000000..d4242249c --- /dev/null +++ b/functions/_evolu_react.parseMnemonic.html @@ -0,0 +1,3 @@ +parseMnemonic | Evolu

Function parseMnemonic

Parse a string to Mnemonic.

+

This function is async because Bip39 is imported dynamically.

+
\ No newline at end of file diff --git a/functions/_evolu_react.sql.html b/functions/_evolu_react.sql.html new file mode 100644 index 000000000..be33be555 --- /dev/null +++ b/functions/_evolu_react.sql.html @@ -0,0 +1,181 @@ +sql | Evolu
  • Template tag for creating raw SQL snippets and queries.

    +
    import { sql } from 'kysely'

    const id = 123
    const snippet = sql<Person[]>`select * from person where id = ${id}` +
    + +

    Substitutions (the things inside ${}) are automatically passed to the database +as parameters and are never interpolated to the SQL string. There's no need to worry +about SQL injection vulnerabilities. Substitutions can be values, other sql +expressions, queries and almost anything else Kysely can produce and they get +handled correctly. See the examples below.

    +

    If you need your substitutions to be interpreted as identifiers, value literals or +lists of things, see the Sql.ref, Sql.table, Sql.id, +Sql.lit, Sql.raw and Sql.join functions.

    +

    You can pass sql snippets returned by the sql tag pretty much anywhere. Whenever +something can't be done using the Kysely API, you should be able to drop down to +raw SQL using the sql tag. Here's an example query that uses raw sql in a bunch +of methods:

    +
    const persons = await db
    .selectFrom('person')
    .select(
    // If you use `sql` in a select statement, remember to call the `as`
    // method to give it an alias.
    sql<string>`concat(first_name, ' ', last_name)`.as('full_name')
    )
    .where(sql`birthdate between ${date1} and ${date2}`)
    // Here we assume we have list of nicknames for the person
    // (a list of strings) and we use the PostgreSQL `@>` operator
    // to test if all of them are valid nicknames for the user.
    .where('nicknames', '@>', sql`ARRAY[${sql.join(nicknames)}]`)
    .orderBy(sql`concat(first_name, ' ', last_name)`)
    .execute() +
    + +

    The generated SQL (PostgreSQL):

    +
    select concat(first_name, ' ', last_name) as "full_name"
    from "person"
    where birthdate between $1 and $2
    and "nicknames" @> ARRAY[$3, $4, $5, $6, $7, $8, $9, $10]
    order by concat(first_name, ' ', last_name) +
    + +

    SQL snippets can be executed by calling the execute method and passing a Kysely +instance as the only argument:

    +
    const result = await sql<Person[]>`select * from person`.execute(db)
    +
    + +

    You can merge other sql expressions and queries using substitutions:

    +
    const petName = db.selectFrom('pet').select('name').limit(1)
    const fullName = sql`concat(first_name, ' ', last_name)`

    sql`
    select ${fullName} as full_name, ${petName} as pet_name
    from person
    ` +
    + +

    Substitutions also handle ExpressionBuilder.ref, +DynamicModule.ref and pretty much anything else you +throw at it. Here's an example of calling a function in a +type-safe way:

    +
    db.selectFrom('person')
    .select([
    'first_name',
    'last_name',
    (eb) => {
    // The `eb.ref` method is type-safe and only accepts
    // column references that are possible.
    const firstName = eb.ref('first_name')
    const lastName = eb.ref('last_name')

    const fullName = sql<string>`concat(${firstName}, ' ', ${lastName})`
    return fullName.as('full_name')
    }
    ]) +
    + +

    don't know if that amount of ceremony is worth the small increase in +type-safety though... But it's possible.

    +

    Type Parameters

    • T = unknown

    Parameters

    • sqlFragments: TemplateStringsArray
    • Rest ...parameters: unknown[]

    Returns RawBuilder<T>

Methods

Methods

  • This can be used to add arbitrary identifiers to SQL snippets.

    +

    Does the same thing as ref and table +but can also be used for any other identifiers like index names.

    +

    You should use ref and table +instead of this whenever possible as they produce a more sematic +operation node tree.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const indexName = 'person_first_name_index'

    sql`create index ${indexName} on person` +
    + +

    The generated SQL (PostgreSQL):

    +
    create index "person_first_name_index" on person
    +
    + +

    Multiple identifiers get separated by dots:

    +
    const schema = 'public'
    const columnName = 'first_name'
    const table = 'person'

    sql`select ${sql.id(schema, table, columnName)}} from ${sql.id(schema, table)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "public"."person"."first_name" from "public"."person"
    +
    + +

    Parameters

    • Rest ...ids: readonly string[]

    Returns RawBuilder<unknown>

  • This can be used to add lists of things to SQL snippets.

    +
    function findByNicknames(nicknames: string[]): Promise<Person[]> {
    return db
    .selectFrom('person')
    .selectAll()
    .where('nicknames', '@>', sql`ARRAY[${sql.join(nicknames)}]`)
    .execute()
    } +
    + +

    The generated SQL (PostgreSQL):

    +
    select * from "person"
    where "nicknames" @> ARRAY[$1, $2, $3, $4, $5, $6, $7, $8] +
    + +

    The second argument is the joining SQL expression that defaults +to

    +
    sql`, `
    +
    + +

    In addition to values, items in the list can be also sql +expressions, queries or anything else the normal substitutions +support:

    +
    const things = [
    123,
    sql`(1 == 1)`,
    db.selectFrom('person').selectAll(),
    sql.lit(false),
    sql.id('first_name')
    ]

    sql`BEFORE ${sql.join(things, sql`::varchar, `)} AFTER` +
    + +

    The generated SQL (PostgreSQL):

    +
    BEFORE $1::varchar, (1 == 1)::varchar, (select * from "person")::varchar, false::varchar, "first_name" AFTER
    +
    + +

    Parameters

    • array: readonly unknown[]
    • Optional separator: RawBuilder<any>

    Returns RawBuilder<unknown>

  • This can be used to add literal values to SQL snippets.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way. +You almost always want to use normal substitutions that get sent to the +db as parameters.

    +
    const firstName = 'first_name'

    sql`select * from person where first_name = ${sql.lit(firstName)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select * from person where first_name = 'first_name'
    +
    + +

    As you can see from the example above, the value was added directly to +the SQL string instead of as a parameter. Only use this function when +something can't be sent as a parameter.

    +

    Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

  • Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

    Deprecated

    Use lit instead.

    +
  • This can be used to add arbitrary runtime SQL to SQL snippets.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const firstName = "'first_name'"

    sql`select * from person where first_name = ${sql.raw(firstName)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select * from person where first_name = 'first_name'
    +
    + +

    Note that the difference to sql.lit is that this function +doesn't assume the inputs are values. The input to this function +can be any sql and it's simply glued to the parent string as-is.

    +

    Type Parameters

    • R = unknown

    Parameters

    • anySql: string

    Returns RawBuilder<R>

  • This can be used to add runtime column references to SQL snippets.

    +

    By default ${} substitutions in sql template strings get +transformed into parameters. You can use this function to tell +Kysely to interpret them as column references instead.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const columnRef = 'first_name'

    sql`select ${sql.ref(columnRef)} from person` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "first_name" from person
    +
    + +

    The refefences can also include a table name:

    +
    const columnRef = 'person.first_name'

    sql`select ${sql.ref(columnRef)}} from person` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "person"."first_name" from person
    +
    + +

    The refefences can also include a schema on supported databases:

    +
    const columnRef = 'public.person.first_name'

    sql`select ${sql.ref(columnRef)}} from person` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "public"."person"."first_name" from person
    +
    + +

    Type Parameters

    • R = unknown

    Parameters

    • columnReference: string

    Returns RawBuilder<R>

  • This can be used to add runtime table references to SQL snippets.

    +

    By default ${} substitutions in sql template strings get +transformed into parameters. You can use this function to tell +Kysely to interpret them as table references instead.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const table = 'person'

    sql`select first_name from ${sql.table(table)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select first_name from "person"
    +
    + +

    The refefences can also include a schema on supported databases:

    +
    const table = 'public.person'

    sql`select first_name from ${sql.table(table)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select first_name from "public"."person"
    +
    + +

    Parameters

    • tableReference: string

    Returns RawBuilder<unknown>

  • sql.val(value) is a shortcut for:

    +
    sql<ValueType>`${value}`
    +
    + +

    Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

  • Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

    Deprecated

    Use Sql.val instead.

    +
\ No newline at end of file diff --git a/functions/_evolu_react.table.html b/functions/_evolu_react.table.html new file mode 100644 index 000000000..d5e09ada6 --- /dev/null +++ b/functions/_evolu_react.table.html @@ -0,0 +1,9 @@ +table | Evolu

Create table schema.

+

Supported types are null, string, number, Uint8Array, JSON Object, and JSON +Array. Use SqliteDate for dates and SqliteBoolean for booleans.

+

Reserved columns are createdAt, updatedAt, isDeleted. Those columns are added +by default.

+

Example

const TodoId = id("Todo");
type TodoId = typeof TodoId.Type;

const TodoTable = table({
id: TodoId,
title: NonEmptyString1000,
isCompleted: S.nullable(SqliteBoolean),
});
type TodoTable = typeof TodoTable.Type; +
+ +
  • Type Parameters

    • Fields extends TableFields

    Parameters

    Returns ValidateFieldsTypes<Fields> extends true
        ? ValidateFieldsNames<Fields> extends true
            ? ValidateFieldsHasId<Fields> extends true
                ? Schema<Simplify<Type<Fields> & {
                    createdAt: string & Brand<"SqliteDate">;
                    isDeleted: number & Brand<"SqliteBoolean">;
                    updatedAt: string & Brand<"SqliteDate">;
                }>, Simplify<{
                    readonly [K in string | number | symbol as Key<Fields, K>]: Encoded<Fields[K]>
                } & {
                    readonly [K in string | number | symbol as Key<Fields, K>]?: Encoded<Fields[K]>
                } & {
                    createdAt: string;
                    isDeleted: number;
                    updatedAt: string;
                }>, never>
                : EvoluTypeError<"table() called without id column.">
            : EvoluTypeError<"table() called with a reserved column. Reserved columns are createdAt, updatedAt, isDeleted. Those columns are added by default.">
        : EvoluTypeError<"table() called with unsupported type. Supported types are null, string, number, Uint8Array, JSON Object, and JSON Array. Use SqliteDate for dates and SqliteBoolean for booleans.">

\ No newline at end of file diff --git a/functions/_evolu_react.useEvolu.html b/functions/_evolu_react.useEvolu.html new file mode 100644 index 000000000..0c3eaa6cb --- /dev/null +++ b/functions/_evolu_react.useEvolu.html @@ -0,0 +1,6 @@ +useEvolu | Evolu

Function useEvolu

React Hook returning an instance of Evolu.

+

Please don't use it without the generic parameter.

+

Example

const Database = database({
todo: TodoTable,
});
type Database = typeof Database.Type;

const { create, update } = useEvolu<Database>();

// Or make an alias:
// const useEvolu = Evolu.useEvolu<Database>; +
+ +
  • Type Parameters

    Returns Evolu<S>

\ No newline at end of file diff --git a/functions/_evolu_react.useEvoluError.html b/functions/_evolu_react.useEvoluError.html new file mode 100644 index 000000000..a4b0e5a60 --- /dev/null +++ b/functions/_evolu_react.useEvoluError.html @@ -0,0 +1,2 @@ +useEvoluError | Evolu

Function useEvoluError

Subscribe to EvoluError changes.

+
  • Returns null | EvoluError

\ No newline at end of file diff --git a/functions/_evolu_react.useOwner.html b/functions/_evolu_react.useOwner.html new file mode 100644 index 000000000..4f43820eb --- /dev/null +++ b/functions/_evolu_react.useOwner.html @@ -0,0 +1,2 @@ +useOwner | Evolu

Function useOwner

Subscribe to Owner changes.

+
  • Returns null | Owner

\ No newline at end of file diff --git a/functions/_evolu_react.useQueries.html b/functions/_evolu_react.useQueries.html new file mode 100644 index 000000000..ea5eff58d --- /dev/null +++ b/functions/_evolu_react.useQueries.html @@ -0,0 +1,2 @@ +useQueries | Evolu

Function useQueries

The same as useQuery, but for many queries.

+
\ No newline at end of file diff --git a/functions/_evolu_react.useQuery.html b/functions/_evolu_react.useQuery.html new file mode 100644 index 000000000..39617bb7f --- /dev/null +++ b/functions/_evolu_react.useQuery.html @@ -0,0 +1,9 @@ +useQuery | Evolu

Function useQuery

Load and subscribe to the Query, and return an object with rows and row +properties that are automatically updated when data changes.

+

Note that useQuery uses React Suspense. It means every usage of +useQuery blocks rendering until loading is completed. To avoid loading +waterfall with more queries, use useQueries.

+

Example

// Get all rows.
const { rows } = useQuery(allTodos);

// Get the first row (it can be null).
const { row } = useQuery(todoById(1));

// Get all rows, but without subscribing to changes.
const { rows } = useQuery(allTodos, { once: true });

// Prefetch rows.
const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);
const allTodosPromise = evolu.loadQuery(allTodos);
// Use prefetched rows.
const { rows } = useQuery(allTodos, { promise: allTodosPromise }); +
+ +
  • Type Parameters

    Parameters

    • query: Query<R>
    • Optional options: Partial<{
          once: boolean;
          promise: Promise<QueryResult<R>>;
      }>

    Returns QueryResult<R>

\ No newline at end of file diff --git a/functions/_evolu_react.useQuerySubscription.html b/functions/_evolu_react.useQuerySubscription.html new file mode 100644 index 000000000..db1170c8b --- /dev/null +++ b/functions/_evolu_react.useQuerySubscription.html @@ -0,0 +1,2 @@ +useQuerySubscription | Evolu

Function useQuerySubscription

Subscribe to Query QueryResult changes.

+
  • Type Parameters

    Parameters

    • query: Query<R>
    • Optional options: Partial<{
          once: boolean;
      }>

    Returns QueryResult<R>

\ No newline at end of file diff --git a/functions/_evolu_react.useSyncState.html b/functions/_evolu_react.useSyncState.html new file mode 100644 index 000000000..12a6725ff --- /dev/null +++ b/functions/_evolu_react.useSyncState.html @@ -0,0 +1,2 @@ +useSyncState | Evolu

Function useSyncState

Subscribe to SyncState changes.

+
  • Returns SyncState

\ No newline at end of file diff --git a/functions/_evolu_react_native.EvoluProvider.html b/functions/_evolu_react_native.EvoluProvider.html new file mode 100644 index 000000000..ee4ee87e4 --- /dev/null +++ b/functions/_evolu_react_native.EvoluProvider.html @@ -0,0 +1 @@ +EvoluProvider | Evolu
  • Type Parameters

    Parameters

    • __namedParameters: {
          children?: ReactNode;
          value: Evolu<S>;
      }
      • Optional Readonly children?: ReactNode
      • Readonly value: Evolu<S>

    Returns Element

\ No newline at end of file diff --git a/functions/_evolu_react_native.cast.html b/functions/_evolu_react_native.cast.html new file mode 100644 index 000000000..88f005595 --- /dev/null +++ b/functions/_evolu_react_native.cast.html @@ -0,0 +1,7 @@ +cast | Evolu
  • A helper for casting types not supported by SQLite. SQLite doesn't support +Date nor Boolean types, so Evolu emulates them with SqliteBoolean and +SqliteDate.

    +

    Parameters

    • value: boolean

    Returns SqliteBoolean

    Example

    const allTodosNotDeleted = evolu.createQuery((db) =>
    db
    .selectFrom("todo")
    .selectAll()
    // isDeleted is SqliteBoolean
    .where("isDeleted", "is not", Evolu.cast(true)),
    ); +
    + +
  • Parameters

    • value: number & Brand<"SqliteBoolean">

    Returns boolean

  • Parameters

    • value: Date

    Returns SqliteDate

  • Parameters

    • value: string & Brand<"SqliteDate">

    Returns Date

\ No newline at end of file diff --git a/functions/_evolu_react_native.createEvolu.html b/functions/_evolu_react_native.createEvolu.html new file mode 100644 index 000000000..65ecf728d --- /dev/null +++ b/functions/_evolu_react_native.createEvolu.html @@ -0,0 +1,7 @@ +createEvolu | Evolu

Create Evolu from the database schema.

+

Tables with a name prefixed with _ are local-only, which means they are +never synced. It's useful for device-specific or temporal data.

+

Example

import * as S from "@effect/schema/Schema";
import * as E from "@evolu/react-native";

const TodoId = E.id("Todo");
type TodoId = typeof TodoId.Type;

const TodoTable = E.table({
id: TodoId,
title: E.NonEmptyString1000,
});
type TodoTable = typeof TodoTable.Type;

const Database = E.database({
todo: TodoTable,

// Prefix `_` makes the table local-only (it will not sync)
_todo: TodoTable,
});
type Database = typeof Database.Type;

const evolu = E.createEvolu(Database); +
+ +
\ No newline at end of file diff --git a/functions/_evolu_react_native.createIndexes.html b/functions/_evolu_react_native.createIndexes.html new file mode 100644 index 000000000..34c957f8f --- /dev/null +++ b/functions/_evolu_react_native.createIndexes.html @@ -0,0 +1,6 @@ +createIndexes | Evolu

Create SQLite indexes.

+

See https://www.evolu.dev/docs/indexes

+

Example

const indexes = createIndexes((create) => [
create("indexTodoCreatedAt").on("todo").column("createdAt"),
create("indexTodoCategoryCreatedAt")
.on("todoCategory")
.column("createdAt"),
]); +
+ +
  • Parameters

    • callback: ((create) => readonly CreateIndexBuilder<any>[])
        • (create): readonly CreateIndexBuilder<any>[]
        • Parameters

          • create: ((indexName) => CreateIndexBuilder<never>)
              • (indexName): CreateIndexBuilder<never>
              • Parameters

                • indexName: string

                Returns CreateIndexBuilder<never>

          Returns readonly CreateIndexBuilder<any>[]

    Returns readonly {
        name: string;
        sql: string;
    }[]

\ No newline at end of file diff --git a/functions/_evolu_react_native.database.html b/functions/_evolu_react_native.database.html new file mode 100644 index 000000000..513835f2d --- /dev/null +++ b/functions/_evolu_react_native.database.html @@ -0,0 +1,8 @@ +database | Evolu

Create database schema.

+

Tables with a name prefixed with _ are local-only, which means they are not +synced. Local-only tables are useful for device-specific or temporal data.

+

Example

const Database = database({
// A local-only table.
_todo: TodoTable,
todo: TodoTable,
todoCategory: TodoCategoryTable,
});
type Database = typeof Database.Type; +
+ +
  • Type Parameters

    • Fields extends Fields
    • const Records extends readonly [Record, Record]

    Parameters

    Returns TypeLiteral<Fields, Records>

    Since

    1.0.0

    +
  • Type Parameters

    • Fields extends Fields

    Parameters

    Returns Struct<Fields>

\ No newline at end of file diff --git a/functions/_evolu_react_native.ensureTransferableError.html b/functions/_evolu_react_native.ensureTransferableError.html new file mode 100644 index 000000000..5a012c964 --- /dev/null +++ b/functions/_evolu_react_native.ensureTransferableError.html @@ -0,0 +1,2 @@ +ensureTransferableError | Evolu

Function ensureTransferableError

Error isn't a structured cloneable object.

+
  • Parameters

    • error: unknown

    Returns unknown

\ No newline at end of file diff --git a/functions/_evolu_react_native.id-2.html b/functions/_evolu_react_native.id-2.html new file mode 100644 index 000000000..7f6512beb --- /dev/null +++ b/functions/_evolu_react_native.id-2.html @@ -0,0 +1,5 @@ +id | Evolu

A factory function to create Id Schema for a specific table.

+

Example

import * as S from "@effect/schema/Schema";
import { id } from "@evolu/react";

const TodoId = id("Todo");
type TodoId = typeof TodoId.Type; +
+ +
  • Type Parameters

    • T extends string

    Parameters

    • table: T

    Returns brand<brand<Schema<string, string, never>, "Id">, T>

\ No newline at end of file diff --git a/functions/_evolu_react_native.jsonArrayFrom.html b/functions/_evolu_react_native.jsonArrayFrom.html new file mode 100644 index 000000000..3ea28b671 --- /dev/null +++ b/functions/_evolu_react_native.jsonArrayFrom.html @@ -0,0 +1,15 @@ +jsonArrayFrom | Evolu
  • A SQLite helper for aggregating a subquery into a JSON array.

    +

    NOTE: This helper only works correctly if you've installed the ParseJSONResultsPlugin. +Otherwise the nested selections will be returned as JSON strings.

    +

    The plugin can be installed like this:

    +
    const db = new Kysely({
    dialect: new SqliteDialect(config),
    plugins: [new ParseJSONResultsPlugin()]
    }) +
    + +
    const result = await db
    .selectFrom('person')
    .select((eb) => [
    'id',
    jsonArrayFrom(
    eb.selectFrom('pet')
    .select(['pet.id as pet_id', 'pet.name'])
    .whereRef('pet.owner_id', '=', 'person.id')
    .orderBy('pet.name')
    ).as('pets')
    ])
    .execute()

    result[0].id
    result[0].pets[0].pet_id
    result[0].pets[0].name +
    + +

    The generated SQL (SQLite):

    +
    select "id", (
    select coalesce(json_group_array(json_object(
    'pet_id', "agg"."pet_id",
    'name', "agg"."name"
    )), '[]') from (
    select "pet"."id" as "pet_id", "pet"."name"
    from "pet"
    where "pet"."owner_id" = "person"."id"
    order by "pet"."name"
    ) as "agg"
    ) as "pets"
    from "person" +
    + +

    Type Parameters

    • O

    Parameters

    • expr: SelectQueryBuilderExpression<O>

    Returns RawBuilder<Simplify<O>[]>

\ No newline at end of file diff --git a/functions/_evolu_react_native.jsonObjectFrom.html b/functions/_evolu_react_native.jsonObjectFrom.html new file mode 100644 index 000000000..c0ee225e9 --- /dev/null +++ b/functions/_evolu_react_native.jsonObjectFrom.html @@ -0,0 +1,16 @@ +jsonObjectFrom | Evolu
  • A SQLite helper for turning a subquery into a JSON object.

    +

    The subquery must only return one row.

    +

    NOTE: This helper only works correctly if you've installed the ParseJSONResultsPlugin. +Otherwise the nested selections will be returned as JSON strings.

    +

    The plugin can be installed like this:

    +
    const db = new Kysely({
    dialect: new SqliteDialect(config),
    plugins: [new ParseJSONResultsPlugin()]
    }) +
    + +
    const result = await db
    .selectFrom('person')
    .select((eb) => [
    'id',
    jsonObjectFrom(
    eb.selectFrom('pet')
    .select(['pet.id as pet_id', 'pet.name'])
    .whereRef('pet.owner_id', '=', 'person.id')
    .where('pet.is_favorite', '=', true)
    ).as('favorite_pet')
    ])
    .execute()

    result[0].id
    result[0].favorite_pet.pet_id
    result[0].favorite_pet.name +
    + +

    The generated SQL (SQLite):

    +
    select "id", (
    select json_object(
    'pet_id', "obj"."pet_id",
    'name', "obj"."name"
    ) from (
    select "pet"."id" as "pet_id", "pet"."name"
    from "pet"
    where "pet"."owner_id" = "person"."id"
    and "pet"."is_favorite" = ?
    ) as obj
    ) as "favorite_pet"
    from "person"; +
    + +

    Type Parameters

    • O

    Parameters

    • expr: SelectQueryBuilderExpression<O>

    Returns RawBuilder<Simplify<O> | null>

\ No newline at end of file diff --git a/functions/_evolu_react_native.makeUnexpectedError.html b/functions/_evolu_react_native.makeUnexpectedError.html new file mode 100644 index 000000000..f23206f95 --- /dev/null +++ b/functions/_evolu_react_native.makeUnexpectedError.html @@ -0,0 +1 @@ +makeUnexpectedError | Evolu
\ No newline at end of file diff --git a/functions/_evolu_react_native.parseMnemonic.html b/functions/_evolu_react_native.parseMnemonic.html new file mode 100644 index 000000000..a92bab77a --- /dev/null +++ b/functions/_evolu_react_native.parseMnemonic.html @@ -0,0 +1,2 @@ +parseMnemonic | Evolu

Parse a string to Mnemonic.

+
\ No newline at end of file diff --git a/functions/_evolu_react_native.sql.html b/functions/_evolu_react_native.sql.html new file mode 100644 index 000000000..a067bbb61 --- /dev/null +++ b/functions/_evolu_react_native.sql.html @@ -0,0 +1,181 @@ +sql | Evolu
  • Template tag for creating raw SQL snippets and queries.

    +
    import { sql } from 'kysely'

    const id = 123
    const snippet = sql<Person[]>`select * from person where id = ${id}` +
    + +

    Substitutions (the things inside ${}) are automatically passed to the database +as parameters and are never interpolated to the SQL string. There's no need to worry +about SQL injection vulnerabilities. Substitutions can be values, other sql +expressions, queries and almost anything else Kysely can produce and they get +handled correctly. See the examples below.

    +

    If you need your substitutions to be interpreted as identifiers, value literals or +lists of things, see the Sql.ref, Sql.table, Sql.id, +Sql.lit, Sql.raw and Sql.join functions.

    +

    You can pass sql snippets returned by the sql tag pretty much anywhere. Whenever +something can't be done using the Kysely API, you should be able to drop down to +raw SQL using the sql tag. Here's an example query that uses raw sql in a bunch +of methods:

    +
    const persons = await db
    .selectFrom('person')
    .select(
    // If you use `sql` in a select statement, remember to call the `as`
    // method to give it an alias.
    sql<string>`concat(first_name, ' ', last_name)`.as('full_name')
    )
    .where(sql`birthdate between ${date1} and ${date2}`)
    // Here we assume we have list of nicknames for the person
    // (a list of strings) and we use the PostgreSQL `@>` operator
    // to test if all of them are valid nicknames for the user.
    .where('nicknames', '@>', sql`ARRAY[${sql.join(nicknames)}]`)
    .orderBy(sql`concat(first_name, ' ', last_name)`)
    .execute() +
    + +

    The generated SQL (PostgreSQL):

    +
    select concat(first_name, ' ', last_name) as "full_name"
    from "person"
    where birthdate between $1 and $2
    and "nicknames" @> ARRAY[$3, $4, $5, $6, $7, $8, $9, $10]
    order by concat(first_name, ' ', last_name) +
    + +

    SQL snippets can be executed by calling the execute method and passing a Kysely +instance as the only argument:

    +
    const result = await sql<Person[]>`select * from person`.execute(db)
    +
    + +

    You can merge other sql expressions and queries using substitutions:

    +
    const petName = db.selectFrom('pet').select('name').limit(1)
    const fullName = sql`concat(first_name, ' ', last_name)`

    sql`
    select ${fullName} as full_name, ${petName} as pet_name
    from person
    ` +
    + +

    Substitutions also handle ExpressionBuilder.ref, +DynamicModule.ref and pretty much anything else you +throw at it. Here's an example of calling a function in a +type-safe way:

    +
    db.selectFrom('person')
    .select([
    'first_name',
    'last_name',
    (eb) => {
    // The `eb.ref` method is type-safe and only accepts
    // column references that are possible.
    const firstName = eb.ref('first_name')
    const lastName = eb.ref('last_name')

    const fullName = sql<string>`concat(${firstName}, ' ', ${lastName})`
    return fullName.as('full_name')
    }
    ]) +
    + +

    don't know if that amount of ceremony is worth the small increase in +type-safety though... But it's possible.

    +

    Type Parameters

    • T = unknown

    Parameters

    • sqlFragments: TemplateStringsArray
    • Rest ...parameters: unknown[]

    Returns RawBuilder<T>

Methods

Methods

  • This can be used to add arbitrary identifiers to SQL snippets.

    +

    Does the same thing as ref and table +but can also be used for any other identifiers like index names.

    +

    You should use ref and table +instead of this whenever possible as they produce a more sematic +operation node tree.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const indexName = 'person_first_name_index'

    sql`create index ${indexName} on person` +
    + +

    The generated SQL (PostgreSQL):

    +
    create index "person_first_name_index" on person
    +
    + +

    Multiple identifiers get separated by dots:

    +
    const schema = 'public'
    const columnName = 'first_name'
    const table = 'person'

    sql`select ${sql.id(schema, table, columnName)}} from ${sql.id(schema, table)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "public"."person"."first_name" from "public"."person"
    +
    + +

    Parameters

    • Rest ...ids: readonly string[]

    Returns RawBuilder<unknown>

  • This can be used to add lists of things to SQL snippets.

    +
    function findByNicknames(nicknames: string[]): Promise<Person[]> {
    return db
    .selectFrom('person')
    .selectAll()
    .where('nicknames', '@>', sql`ARRAY[${sql.join(nicknames)}]`)
    .execute()
    } +
    + +

    The generated SQL (PostgreSQL):

    +
    select * from "person"
    where "nicknames" @> ARRAY[$1, $2, $3, $4, $5, $6, $7, $8] +
    + +

    The second argument is the joining SQL expression that defaults +to

    +
    sql`, `
    +
    + +

    In addition to values, items in the list can be also sql +expressions, queries or anything else the normal substitutions +support:

    +
    const things = [
    123,
    sql`(1 == 1)`,
    db.selectFrom('person').selectAll(),
    sql.lit(false),
    sql.id('first_name')
    ]

    sql`BEFORE ${sql.join(things, sql`::varchar, `)} AFTER` +
    + +

    The generated SQL (PostgreSQL):

    +
    BEFORE $1::varchar, (1 == 1)::varchar, (select * from "person")::varchar, false::varchar, "first_name" AFTER
    +
    + +

    Parameters

    • array: readonly unknown[]
    • Optional separator: RawBuilder<any>

    Returns RawBuilder<unknown>

  • This can be used to add literal values to SQL snippets.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way. +You almost always want to use normal substitutions that get sent to the +db as parameters.

    +
    const firstName = 'first_name'

    sql`select * from person where first_name = ${sql.lit(firstName)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select * from person where first_name = 'first_name'
    +
    + +

    As you can see from the example above, the value was added directly to +the SQL string instead of as a parameter. Only use this function when +something can't be sent as a parameter.

    +

    Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

  • Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

    Deprecated

    Use lit instead.

    +
  • This can be used to add arbitrary runtime SQL to SQL snippets.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const firstName = "'first_name'"

    sql`select * from person where first_name = ${sql.raw(firstName)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select * from person where first_name = 'first_name'
    +
    + +

    Note that the difference to sql.lit is that this function +doesn't assume the inputs are values. The input to this function +can be any sql and it's simply glued to the parent string as-is.

    +

    Type Parameters

    • R = unknown

    Parameters

    • anySql: string

    Returns RawBuilder<R>

  • This can be used to add runtime column references to SQL snippets.

    +

    By default ${} substitutions in sql template strings get +transformed into parameters. You can use this function to tell +Kysely to interpret them as column references instead.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const columnRef = 'first_name'

    sql`select ${sql.ref(columnRef)} from person` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "first_name" from person
    +
    + +

    The refefences can also include a table name:

    +
    const columnRef = 'person.first_name'

    sql`select ${sql.ref(columnRef)}} from person` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "person"."first_name" from person
    +
    + +

    The refefences can also include a schema on supported databases:

    +
    const columnRef = 'public.person.first_name'

    sql`select ${sql.ref(columnRef)}} from person` +
    + +

    The generated SQL (PostgreSQL):

    +
    select "public"."person"."first_name" from person
    +
    + +

    Type Parameters

    • R = unknown

    Parameters

    • columnReference: string

    Returns RawBuilder<R>

  • This can be used to add runtime table references to SQL snippets.

    +

    By default ${} substitutions in sql template strings get +transformed into parameters. You can use this function to tell +Kysely to interpret them as table references instead.

    +

    WARNING! Using this with unchecked inputs WILL lead to SQL injection +vulnerabilities. The input is not checked or escaped by Kysely in any way.

    +
    const table = 'person'

    sql`select first_name from ${sql.table(table)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select first_name from "person"
    +
    + +

    The refefences can also include a schema on supported databases:

    +
    const table = 'public.person'

    sql`select first_name from ${sql.table(table)}` +
    + +

    The generated SQL (PostgreSQL):

    +
    select first_name from "public"."person"
    +
    + +

    Parameters

    • tableReference: string

    Returns RawBuilder<unknown>

  • sql.val(value) is a shortcut for:

    +
    sql<ValueType>`${value}`
    +
    + +

    Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

  • Type Parameters

    • V

    Parameters

    • value: V

    Returns RawBuilder<V>

    Deprecated

    Use Sql.val instead.

    +
\ No newline at end of file diff --git a/functions/_evolu_react_native.table.html b/functions/_evolu_react_native.table.html new file mode 100644 index 000000000..c762da2f3 --- /dev/null +++ b/functions/_evolu_react_native.table.html @@ -0,0 +1,9 @@ +table | Evolu

Create table schema.

+

Supported types are null, string, number, Uint8Array, JSON Object, and JSON +Array. Use SqliteDate for dates and SqliteBoolean for booleans.

+

Reserved columns are createdAt, updatedAt, isDeleted. Those columns are added +by default.

+

Example

const TodoId = id("Todo");
type TodoId = typeof TodoId.Type;

const TodoTable = table({
id: TodoId,
title: NonEmptyString1000,
isCompleted: S.nullable(SqliteBoolean),
});
type TodoTable = typeof TodoTable.Type; +
+ +
  • Type Parameters

    • Fields extends TableFields

    Parameters

    Returns ValidateFieldsTypes<Fields> extends true
        ? ValidateFieldsNames<Fields> extends true
            ? ValidateFieldsHasId<Fields> extends true
                ? Schema<Simplify<Type<Fields> & {
                    createdAt: string & Brand<"SqliteDate">;
                    isDeleted: number & Brand<"SqliteBoolean">;
                    updatedAt: string & Brand<"SqliteDate">;
                }>, Simplify<{
                    readonly [K in string | number | symbol as Key<Fields, K>]: Encoded<Fields[K]>
                } & {
                    readonly [K in string | number | symbol as Key<Fields, K>]?: Encoded<Fields[K]>
                } & {
                    createdAt: string;
                    isDeleted: number;
                    updatedAt: string;
                }>, never>
                : EvoluTypeError<"table() called without id column.">
            : EvoluTypeError<"table() called with a reserved column. Reserved columns are createdAt, updatedAt, isDeleted. Those columns are added by default.">
        : EvoluTypeError<"table() called with unsupported type. Supported types are null, string, number, Uint8Array, JSON Object, and JSON Array. Use SqliteDate for dates and SqliteBoolean for booleans.">

\ No newline at end of file diff --git a/functions/_evolu_react_native.useEvolu.html b/functions/_evolu_react_native.useEvolu.html new file mode 100644 index 000000000..34c591e17 --- /dev/null +++ b/functions/_evolu_react_native.useEvolu.html @@ -0,0 +1,6 @@ +useEvolu | Evolu

React Hook returning an instance of Evolu.

+

Please don't use it without the generic parameter.

+

Example

const Database = database({
todo: TodoTable,
});
type Database = typeof Database.Type;

const { create, update } = useEvolu<Database>();

// Or make an alias:
// const useEvolu = Evolu.useEvolu<Database>; +
+ +
  • Type Parameters

    Returns Evolu<S>

\ No newline at end of file diff --git a/functions/_evolu_react_native.useEvoluError.html b/functions/_evolu_react_native.useEvoluError.html new file mode 100644 index 000000000..4c90ba70f --- /dev/null +++ b/functions/_evolu_react_native.useEvoluError.html @@ -0,0 +1,2 @@ +useEvoluError | Evolu

Subscribe to EvoluError changes.

+
  • Returns null | EvoluError

\ No newline at end of file diff --git a/functions/_evolu_react_native.useOwner.html b/functions/_evolu_react_native.useOwner.html new file mode 100644 index 000000000..fc2d31244 --- /dev/null +++ b/functions/_evolu_react_native.useOwner.html @@ -0,0 +1,2 @@ +useOwner | Evolu

Subscribe to Owner changes.

+
  • Returns null | Owner

\ No newline at end of file diff --git a/functions/_evolu_react_native.useQueries.html b/functions/_evolu_react_native.useQueries.html new file mode 100644 index 000000000..ba971a0eb --- /dev/null +++ b/functions/_evolu_react_native.useQueries.html @@ -0,0 +1,2 @@ +useQueries | Evolu

The same as useQuery, but for many queries.

+
\ No newline at end of file diff --git a/functions/_evolu_react_native.useQuery.html b/functions/_evolu_react_native.useQuery.html new file mode 100644 index 000000000..b32cf49bd --- /dev/null +++ b/functions/_evolu_react_native.useQuery.html @@ -0,0 +1,9 @@ +useQuery | Evolu

Load and subscribe to the Query, and return an object with rows and row +properties that are automatically updated when data changes.

+

Note that useQuery uses React Suspense. It means every usage of +useQuery blocks rendering until loading is completed. To avoid loading +waterfall with more queries, use useQueries.

+

Example

// Get all rows.
const { rows } = useQuery(allTodos);

// Get the first row (it can be null).
const { row } = useQuery(todoById(1));

// Get all rows, but without subscribing to changes.
const { rows } = useQuery(allTodos, { once: true });

// Prefetch rows.
const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);
const allTodosPromise = evolu.loadQuery(allTodos);
// Use prefetched rows.
const { rows } = useQuery(allTodos, { promise: allTodosPromise }); +
+ +
  • Type Parameters

    Parameters

    • query: Query<R>
    • Optional options: Partial<{
          once: boolean;
          promise: Promise<QueryResult<R>>;
      }>

    Returns QueryResult<R>

\ No newline at end of file diff --git a/functions/_evolu_react_native.useQuerySubscription.html b/functions/_evolu_react_native.useQuerySubscription.html new file mode 100644 index 000000000..b868d0856 --- /dev/null +++ b/functions/_evolu_react_native.useQuerySubscription.html @@ -0,0 +1,2 @@ +useQuerySubscription | Evolu

Subscribe to Query QueryResult changes.

+
  • Type Parameters

    Parameters

    • query: Query<R>
    • Optional options: Partial<{
          once: boolean;
      }>

    Returns QueryResult<R>

\ No newline at end of file diff --git a/functions/_evolu_react_native.useSyncState.html b/functions/_evolu_react_native.useSyncState.html new file mode 100644 index 000000000..8cc3feab5 --- /dev/null +++ b/functions/_evolu_react_native.useSyncState.html @@ -0,0 +1,2 @@ +useSyncState | Evolu

Subscribe to SyncState changes.

+
  • Returns SyncState

\ No newline at end of file diff --git a/hierarchy.html b/hierarchy.html new file mode 100644 index 000000000..9ee22c7b3 --- /dev/null +++ b/hierarchy.html @@ -0,0 +1 @@ +Evolu
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..dc72d1433 --- /dev/null +++ b/index.html @@ -0,0 +1,49 @@ +Evolu

Evolu

Evolu

Local-first platform designed for privacy, ease of use, and no vendor lock-in

+
    +
  • SQLite in all browsers, Electron, and React Native
  • +
  • CRDT for merging changes without conflicts
  • +
  • End-to-end encrypted sync and backup
  • +
  • Free Evolu sync and backup server, or you can run your own
  • +
  • Typed database schema (with branded types like NonEmptyString1000, PositiveInt, etc.)
  • +
  • Typed SQL via Kysely
  • +
  • Reactive queries with full React Suspense support
  • +
  • Real-time experience via revalidation on focus and network recovery
  • +
  • No signup/login, only bitcoin-like mnemonic (12 words)
  • +
  • Ad-hoc migration
  • +
  • Sqlite JSON support with automatic stringifying and parsing
  • +
  • Support for Kysely Relations (loading nested objects and arrays in a single SQL query)
  • +
  • Local-only tables (tables with _ prefix are not synced)
  • +
  • Evolu Solid/Vue/Svelte soon
  • +
+

Local-first apps allow users to own their data by storing them on their devices. Modern browsers provide API designed precisely for that. How is it different from keeping files on disk? Files are not the right abstraction for apps and cannot synchronize among devices. That's why traditional apps use the client-server architecture. But using client-server architecture also means that users' ability to use an app depends on some server that can be offline, temporarily or forever, if a company decides to ban a user or even goes bankrupt. That's unfortunate. Luckily, a way to restore data ownership exists. It's Evolu.

+

For detailed information and usage examples, please visit evolu.dev.

+

evoluhq.github.io/evolu

+

The Evolu community is on GitHub Discussions, where you can ask questions and voice ideas.

+

To chat with other community members, you can join the Evolu Discord.

+

Twitter URL

+

Evolu monorepo uses pnpm.

+

Install the dependencies with:

+
pnpm install
+
+ +

Build Evolu monorepo:

+
pnpm build
+
+ +

Start developing and watch for code changes:

+
pnpm dev
+
+ +

Start iOS developing (pnpm dev must be running too):

+
pnpm ios
+
+ +

Lint and tests:

+
pnpm lint test
+
+ +

Describe changes for release log:

+
pnpm changeset
+
+ +
\ No newline at end of file diff --git a/interfaces/_evolu_common.Callbacks.html b/interfaces/_evolu_common.Callbacks.html new file mode 100644 index 000000000..9570fd747 --- /dev/null +++ b/interfaces/_evolu_common.Callbacks.html @@ -0,0 +1,4 @@ +Callbacks | Evolu

Interface Callbacks

interface Callbacks {
    onError: ((error) => void);
    onReceive: (() => void);
    onSyncStateChange: ((state) => void);
}

Properties

onError: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onReceive: (() => void)

Type declaration

    • (): void
    • Returns void

onSyncStateChange: ((state) => void)

Type declaration

    • (state): void
    • Parameters

      Returns void

\ No newline at end of file diff --git a/interfaces/_evolu_common.Config.html b/interfaces/_evolu_common.Config.html new file mode 100644 index 000000000..86bfb219d --- /dev/null +++ b/interfaces/_evolu_common.Config.html @@ -0,0 +1,19 @@ +Config | Evolu

Interface Config

interface Config {
    maxDrift: number;
    minimumLogLevel: "none" | "trace" | "debug" | "warning";
    name: string;
    reloadUrl: string;
    syncUrl: string;
}

Hierarchy (view full)

Properties

maxDrift: number

Maximum physical clock drift allowed in ms.

+

The default value is 5 * 60 * 1000 (5 minutes).

+
minimumLogLevel: "none" | "trace" | "debug" | "warning"

Setting the minimum log level. The default value is none.

+

For development, use trace to log all events and debug to log only +events with values. For production, use warning.

+
name: string

Evolu is multitenant - it can run more instances concurrently. Every Evolu +instance has to have its own unique name. Database files are separated and +invisible to each other.

+

The default value is: Evolu.

+
reloadUrl: string

URL to reload browser tabs after Owner reset or restore.

+

The default value is /.

+
syncUrl: string

URL for Evolu sync and backup server.

+

The default value is https://evolu.world.

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.Db.html b/interfaces/_evolu_common.Db.html new file mode 100644 index 000000000..c3c17b9ab --- /dev/null +++ b/interfaces/_evolu_common.Db.html @@ -0,0 +1,9 @@ +Db | Evolu
interface Db {
    ensureSchema: ((schema) => Effect<void, never, never>);
    exportDatabase: (() => Effect<Uint8Array, never, never>);
    init: ((schema, initialData, onError, onSyncStateChange, onReceive) => Effect<Owner, TimestampTimeOutOfRangeError | TimestampDriftError | TimestampCounterOverflowError | NotSupportedPlatformError, Config>);
    loadQueries: ((queries) => Effect<readonly QueryPatches[], never, never>);
    mutate: ((mutations, queriesToRefresh) => Effect<readonly QueryPatches[], TimestampTimeOutOfRangeError | TimestampDriftError | TimestampCounterOverflowError, Config>);
    resetOwner: (() => Effect<void, never, never>);
    restoreOwner: ((schema, mnemonic) => Effect<void, never, never>);
    sync: ((queriesToRefresh) => Effect<readonly QueryPatches[], never, Config>);
}

Properties

ensureSchema: ((schema) => Effect<void, never, never>)

Type declaration

    • (schema): Effect<void, never, never>
    • Parameters

      Returns Effect<void, never, never>

exportDatabase: (() => Effect<Uint8Array, never, never>)

Type declaration

    • (): Effect<Uint8Array, never, never>
    • Returns Effect<Uint8Array, never, never>

init: ((schema, initialData, onError, onSyncStateChange, onReceive) => Effect<Owner, TimestampTimeOutOfRangeError | TimestampDriftError | TimestampCounterOverflowError | NotSupportedPlatformError, Config>)

Type declaration

loadQueries: ((queries) => Effect<readonly QueryPatches[], never, never>)

Type declaration

mutate: ((mutations, queriesToRefresh) => Effect<readonly QueryPatches[], TimestampTimeOutOfRangeError | TimestampDriftError | TimestampCounterOverflowError, Config>)

Type declaration

resetOwner: (() => Effect<void, never, never>)

Type declaration

    • (): Effect<void, never, never>
    • Returns Effect<void, never, never>

restoreOwner: ((schema, mnemonic) => Effect<void, never, never>)

Type declaration

    • (schema, mnemonic): Effect<void, never, never>
    • Parameters

      Returns Effect<void, never, never>

sync: ((queriesToRefresh) => Effect<readonly QueryPatches[], never, Config>)

Type declaration

\ No newline at end of file diff --git a/interfaces/_evolu_common.DbSchema.html b/interfaces/_evolu_common.DbSchema.html new file mode 100644 index 000000000..f1792fc77 --- /dev/null +++ b/interfaces/_evolu_common.DbSchema.html @@ -0,0 +1,3 @@ +DbSchema | Evolu

Interface DbSchema

interface DbSchema {
    indexes: readonly {
        name: string;
        sql: string;
    }[];
    tables: readonly Table[];
}

Properties

Properties

indexes: readonly {
    name: string;
    sql: string;
}[]
tables: readonly Table[]
\ No newline at end of file diff --git a/interfaces/_evolu_common.EncryptedMessage.html b/interfaces/_evolu_common.EncryptedMessage.html new file mode 100644 index 000000000..b71f4e289 --- /dev/null +++ b/interfaces/_evolu_common.EncryptedMessage.html @@ -0,0 +1,6 @@ +EncryptedMessage | Evolu

Interface EncryptedMessage

Generated

from protobuf message EncryptedMessage

+
interface EncryptedMessage {
    content: Uint8Array;
    timestamp: TimestampString;
}

Properties

Properties

content: Uint8Array

Generated

from protobuf field: bytes content = 2;

+
timestamp: TimestampString

Generated

from protobuf field: string timestamp = 1;

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.Evolu.html b/interfaces/_evolu_common.Evolu.html new file mode 100644 index 000000000..4d8f89e24 --- /dev/null +++ b/interfaces/_evolu_common.Evolu.html @@ -0,0 +1,166 @@ +Evolu | Evolu

Interface Evolu<T>

The Evolu interface provides a type-safe SQL query building and state +management defined by a database schema. It leverages Kysely for creating SQL +queries in TypeScript, enabling operations such as data querying, loading, +subscription to data changes, and mutations (create, update, createOrUpdate). +It also includes functionalities for error handling, syncing state +management, and owner data manipulation. Specifically, Evolu allows:

+
    +
  • Subscribing to and getting errors via subscribeError and getError.
  • +
  • Creating type-safe SQL queries with createQuery, leveraging Kysely's +capabilities.
  • +
  • Loading queries and subscribing to query result changes using loadQuery, +loadQueries, subscribeQuery, and getQuery.
  • +
  • Subscribing to and getting the owner's information and sync state changes.
  • +
  • Performing mutations on the database with create, update, and createOrUpdate +methods, which include automatic management of common columns like +createdAt, updatedAt, and isDeleted.
  • +
  • Managing owner data with resetOwner and restoreOwner.
  • +
  • Ensuring the database schema's integrity with ensureSchema.
  • +
+
interface Evolu<T> {
    create: Mutate<T, "create">;
    createOrUpdate: Mutate<T, "createOrUpdate">;
    createQuery: (<R>(queryCallback, options?) => Query<R>);
    ensureSchema: ((schema) => void);
    exportDatabase: (() => Promise<Uint8Array>);
    getError: (() => null | EvoluError);
    getOwner: (() => null | Owner);
    getQuery: (<R>(query) => QueryResult<R>);
    getSyncState: (() => SyncState);
    loadQueries: (<R, Q>(queries) => [...QueryResultsPromisesFromQueries<Q>[]]);
    loadQuery: (<R>(query) => Promise<QueryResult<R>>);
    resetOwner: (() => void);
    restoreOwner: ((mnemonic) => void);
    subscribeError: ((listener) => Unsubscribe);
    subscribeOwner: ((listener) => Unsubscribe);
    subscribeQuery: ((query) => ((listener) => Unsubscribe));
    subscribeSyncState: ((listener) => Unsubscribe);
    update: Mutate<T, "update">;
}

Type Parameters

Properties

create: Mutate<T, "create">

Create a row in the database and returns a new ID. The first argument is +the table name, and the second is an object.

+

The third optional argument, the onComplete callback, is generally +unnecessary because creating a row cannot fail. Still, UI libraries can use +it to ensure the DOM is updated if we want to manipulate it, for example, +to focus an element.

+

Evolu does not use SQL for mutations to ensure data can be safely and +predictably merged without conflicts.

+

Explicit mutations also allow Evolu to automatically add and update a few +useful columns common to all tables. Those columns are: createdAt, +updatedAt, and isDeleted.

+

Example

import * as S from "@effect/schema/Schema";

// Evolu uses the Schema to enforce domain model.
const title = S.decodeSync(Evolu.NonEmptyString1000)("A title");

const { id } = evolu.create("todo", { title }, () => {
// onComplete callback
}); +
+ +
createOrUpdate: Mutate<T, "createOrUpdate">

Create or update a row in the database and return the existing ID. The +first argument is the table name, and the second is an object.

+

This function is useful when we already have an id and want to create a +new row or update an existing one.

+

The third optional argument, the onComplete callback, is generally +unnecessary because updating a row cannot fail. Still, UI libraries can use +it to ensure the DOM is updated if we want to manipulate it, for example, +to focus an element.

+

Evolu does not use SQL for mutations to ensure data can be safely and +predictably merged without conflicts.

+

Explicit mutations also allow Evolu to automatically add and update a few +useful columns common to all tables. Those columns are: createdAt, +updatedAt, and isDeleted.

+

Example

import * as S from "@effect/schema/Schema";
import { Id } from "@evolu/react";

// Id can be stable.
// 2024-02-0800000000000
const id = S.decodeSync(Id)(date.toString().padEnd(21, "0")) as TodoId;

evolu.createOrUpdate("todo", { id, title }); +
+ +
createQuery: (<R>(queryCallback, options?) => Query<R>)

Create type-safe SQL Query.

+

Evolu uses Kysely - the type-safe SQL query builder for TypeScript. See +https://kysely.dev.

+

For mutations, use create and update.

+

Type declaration

    • <R>(queryCallback, options?): Query<R>
    • Type Parameters

      Parameters

      • queryCallback: ((db) => SelectQueryBuilder<any, any, R>)
          • (db): SelectQueryBuilder<any, any, R>
          • Parameters

            • db: Pick<Kysely<{
                  [Table in string | number | symbol]: NullableExceptIdCreatedAtUpdatedAt<{
                      [Column in string | number | symbol]: T[Table][Column]
                  }>
              } & {
                  evolu_message: {
                      column: string;
                      row: string & Brand<"Id">;
                      table: keyof T;
                      timestamp: TimestampString;
                      value: Value;
                  };
              }>, "with" | "selectFrom" | "fn" | "withRecursive">

            Returns SelectQueryBuilder<any, any, R>

      • Optional options: SqliteQueryOptions

      Returns Query<R>

Example

const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);

const todoById = (id: TodoId) =>
evolu.createQuery((db) =>
db.selectFrom("todo").selectAll().where("id", "=", id),
); +
+ +
ensureSchema: ((schema) => void)

Ensure tables and columns defined in EvoluSchema exist in the +database.

+

This function is for hot/live reloading.

+

Type declaration

    • (schema): void
    • Parameters

      Returns void

exportDatabase: (() => Promise<Uint8Array>)

Export SQLite database as Uint8Array.

+

Type declaration

    • (): Promise<Uint8Array>
    • Returns Promise<Uint8Array>

getError: (() => null | EvoluError)

Get EvoluError.

+

Type declaration

getOwner: (() => null | Owner)

Get Owner.

+

Type declaration

Example

const unsubscribe = evolu.subscribeOwner(() => {
const owner = evolu.getOwner();
}); +
+ +
getQuery: (<R>(query) => QueryResult<R>)

Type declaration

Example

const unsubscribe = evolu.subscribeQuery(allTodos)(() => {
const { rows } = evolu.getQuery(allTodos);
}); +
+ +
getSyncState: (() => SyncState)

Get SyncState.

+

Type declaration

Example

const unsubscribe = evolu.subscribeSyncState(() => {
const syncState = evolu.getSyncState();
}); +
+ +
loadQueries: (<R, Q>(queries) => [...QueryResultsPromisesFromQueries<Q>[]])

Load an array of Query queries and return an array of +QueryResult promises. It's like queries.map(loadQuery) but with +proper types for returned promises.

+

Type declaration

Example

evolu.loadQueries([allTodos, todoById(1)]);
+
+ +
loadQuery: (<R>(query) => Promise<QueryResult<R>>)

Load Query and return a promise with QueryResult.

+

A returned promise always resolves successfully because there is no reason +why loading should fail. All data are local, and the query is typed. A +serious unexpected Evolu error shall be handled with +subscribeError.

+

Loading is batched, and returned promises are cached, so there is no need +for an additional cache. Evolu's internal cache is invalidated on +mutation.

+

The returned promise is enriched with special status and value properties +for the upcoming React use Hook, but other UI libraries can also leverage +them. Speaking of React, there are two essential React Suspense-related +patterns that every developer should be aware of—passing promises to +children and caching over mutations.

+

With promises passed to children, we can load a query as soon as possible, +but we don't have to use the returned promise immediately. That's useful +for prefetching, which is generally not necessary for local-first apps but +can be if a query takes a long time to load.

+

Caching over mutation is a pattern that every developer should know. As we +said, Evolu caches promise until a mutation happens. A query loaded after +that will return a new pending promise. That's okay for general usage but +not for UI with React Suspense because a mutation would suspend rerendered +queries on a page, and that's not a good UX.

+

We call this pattern "caching over mutation" because it has no globally +accepted name yet. React RFC for React Cache does not exist yet.

+

For better UX, a query must be subscribed for updates. This way, instead of +Suspense flashes, the user sees new data immediately because Evolu replaces +cached promises with fresh, already resolved new ones.

+

If you are curious why Evolu does not do that for all queries by default, +the answer is simple: performance. Tracking changes is costly and +meaningful only for visible (hence subscribed) queries anyway. To subscribe +to a query, use subscribeQuery.

+

Type declaration

Example

const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);
evolu.loadQuery(allTodos).then(({ rows }) => {
console.log(rows);
}); +
+ +
resetOwner: (() => void)

Delete Owner and all their data from the current device. After the +deletion, Evolu will purge the application state. For browsers, this will +reload all tabs using Evolu. For native apps, it will restart the app.

+

Type declaration

    • (): void
    • Returns void

restoreOwner: ((mnemonic) => void)

Restore Owner with all their synced data.

+

Type declaration

    • (mnemonic): void
    • Parameters

      Returns void

subscribeError: ((listener) => Unsubscribe)

Subscribe to EvoluError changes.

+

Type declaration

Example

const unsubscribe = evolu.subscribeError(() => {
const error = evolu.getError();
console.log(error);
}); +
+ +
subscribeOwner: ((listener) => Unsubscribe)

Subscribe to Owner changes.

+

Type declaration

Example

const unsubscribe = evolu.subscribeOwner(() => {
const owner = evolu.getOwner();
}); +
+ +
subscribeQuery: ((query) => ((listener) => Unsubscribe))

Subscribe to Query QueryResult changes.

+

Type declaration

Example

const unsubscribe = evolu.subscribeQuery(allTodos)(() => {
const { rows } = evolu.getQuery(allTodos);
}); +
+ +
subscribeSyncState: ((listener) => Unsubscribe)

Subscribe to SyncState changes.

+

Type declaration

Example

const unsubscribe = evolu.subscribeSyncState(() => {
const syncState = evolu.getSyncState();
}); +
+ +
update: Mutate<T, "update">

Update a row in the database and return the existing ID. The first argument +is the table name, and the second is an object.

+

The third optional argument, the onComplete callback, is generally +unnecessary because updating a row cannot fail. Still, UI libraries can use +it to ensure the DOM is updated if we want to manipulate it, for example, +to focus an element.

+

Evolu does not use SQL for mutations to ensure data can be safely and +predictably merged without conflicts.

+

Explicit mutations also allow Evolu to automatically add and update a few +useful columns common to all tables. Those columns are: createdAt, +updatedAt, and isDeleted.

+

Example

import * as S from "@effect/schema/Schema";

// Evolu uses the Schema to enforce domain model.
const title = S.decodeSync(Evolu.NonEmptyString1000)("A title");
evolu.update("todo", { id, title });

// To delete a row, set `isDeleted` to true.
evolu.update("todo", { id, isDeleted: true }); +
+ +
\ No newline at end of file diff --git a/interfaces/_evolu_common.EvoluConfig.html b/interfaces/_evolu_common.EvoluConfig.html new file mode 100644 index 000000000..484d6915e --- /dev/null +++ b/interfaces/_evolu_common.EvoluConfig.html @@ -0,0 +1,28 @@ +EvoluConfig | Evolu

Interface EvoluConfig<T>

interface EvoluConfig<T> {
    indexes: readonly {
        name: string;
        sql: string;
    }[];
    initialData: ((evolu) => void);
    maxDrift: number;
    minimumLogLevel: "none" | "trace" | "debug" | "warning";
    name: string;
    reloadUrl: string;
    syncUrl: string;
}

Type Parameters

Hierarchy (view full)

Properties

indexes: readonly {
    name: string;
    sql: string;
}[]

Use the indexes property to define SQLite indexes.

+

Table and column names are not typed because Kysely doesn't support it.

+

https://medium.com/@JasonWyatt/squeezing-performance-from-sqlite-indexes-indexes-c4e175f3c346

+

Example

const indexes = [
createIndex("indexTodoCreatedAt").on("todo").column("createdAt"),

createIndex("indexTodoCategoryCreatedAt")
.on("todoCategory")
.column("createdAt"),
]; +
+ +
initialData: ((evolu) => void)

Use this option to create initial data (fixtures).

+

Type declaration

    • (evolu): void
    • Parameters

      • evolu: EvoluForInitialData<T>

      Returns void

maxDrift: number

Maximum physical clock drift allowed in ms.

+

The default value is 5 * 60 * 1000 (5 minutes).

+
minimumLogLevel: "none" | "trace" | "debug" | "warning"

Setting the minimum log level. The default value is none.

+

For development, use trace to log all events and debug to log only +events with values. For production, use warning.

+
name: string

Evolu is multitenant - it can run more instances concurrently. Every Evolu +instance has to have its own unique name. Database files are separated and +invisible to each other.

+

The default value is: Evolu.

+
reloadUrl: string

URL to reload browser tabs after Owner reset or restore.

+

The default value is /.

+
syncUrl: string

URL for Evolu sync and backup server.

+

The default value is https://evolu.world.

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.InvalidMnemonicError.html b/interfaces/_evolu_common.InvalidMnemonicError.html new file mode 100644 index 000000000..32d17a459 --- /dev/null +++ b/interfaces/_evolu_common.InvalidMnemonicError.html @@ -0,0 +1,2 @@ +InvalidMnemonicError | Evolu

Interface InvalidMnemonicError

interface InvalidMnemonicError {
    _tag: "InvalidMnemonicError";
}

Properties

Properties

_tag: "InvalidMnemonicError"
\ No newline at end of file diff --git a/interfaces/_evolu_common.MerkleTree.html b/interfaces/_evolu_common.MerkleTree.html new file mode 100644 index 000000000..40e44b5ab --- /dev/null +++ b/interfaces/_evolu_common.MerkleTree.html @@ -0,0 +1,7 @@ +MerkleTree | Evolu

Interface MerkleTree

interface MerkleTree {
    0?: MerkleTree;
    1?: MerkleTree;
    2?: MerkleTree;
    hash?: TimestampHash;
}

Properties

0? +1? +2? +hash? +

Properties

\ No newline at end of file diff --git a/interfaces/_evolu_common.Message.html b/interfaces/_evolu_common.Message.html new file mode 100644 index 000000000..105c5bf42 --- /dev/null +++ b/interfaces/_evolu_common.Message.html @@ -0,0 +1,6 @@ +Message | Evolu

Interface Message

interface Message {
    column: string;
    row: string & Brand<"Id">;
    table: string;
    timestamp: TimestampString;
    value: Value;
}

Hierarchy (view full)

Properties

Properties

column: string
row: string & Brand<"Id">
table: string
timestamp: TimestampString
value: Value
\ No newline at end of file diff --git a/interfaces/_evolu_common.MessageContent.html b/interfaces/_evolu_common.MessageContent.html new file mode 100644 index 000000000..6c92cb7a0 --- /dev/null +++ b/interfaces/_evolu_common.MessageContent.html @@ -0,0 +1,14 @@ +MessageContent | Evolu

Interface MessageContent

Generated

from protobuf message MessageContent

+
interface MessageContent {
    column: string;
    row: string & Brand<"Id">;
    table: string;
    value: {
        oneofKind: "stringValue";
        stringValue: string;
    } | {
        numberValue: string;
        oneofKind: "numberValue";
    } | {
        bytesValue: Uint8Array;
        oneofKind: "bytesValue";
    } | {
        jsonValue: string;
        oneofKind: "jsonValue";
    } | {
        oneofKind: undefined;
    };
}

Properties

Properties

column: string

Generated

from protobuf field: string column = 3;

+
row: string & Brand<"Id">

Generated

from protobuf field: string row = 2;

+
table: string

Generated

from protobuf field: string table = 1;

+
value: {
    oneofKind: "stringValue";
    stringValue: string;
} | {
    numberValue: string;
    oneofKind: "numberValue";
} | {
    bytesValue: Uint8Array;
    oneofKind: "bytesValue";
} | {
    jsonValue: string;
    oneofKind: "jsonValue";
} | {
    oneofKind: undefined;
}

Type declaration

  • oneofKind: "stringValue"
  • stringValue: string

    Generated

    from protobuf field: string stringValue = 4;

    +

Type declaration

  • numberValue: string

    Generated

    from protobuf field: string numberValue = 5;

    +
  • oneofKind: "numberValue"

Type declaration

  • bytesValue: Uint8Array

    Generated

    from protobuf field: bytes bytesValue = 6;

    +
  • oneofKind: "bytesValue"

Type declaration

  • jsonValue: string

    Generated

    from protobuf field: string jsonValue = 7;

    +
  • oneofKind: "jsonValue"

Type declaration

  • oneofKind: undefined

Generated

from protobuf oneof: value

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.Mutation.html b/interfaces/_evolu_common.Mutation.html new file mode 100644 index 000000000..31ad8beff --- /dev/null +++ b/interfaces/_evolu_common.Mutation.html @@ -0,0 +1,5 @@ +Mutation | Evolu

Interface Mutation

interface Mutation {
    id: string & Brand<"Id">;
    isInsert: boolean;
    table: string;
    values: ReadonlyRecord<string, undefined | boolean | Date | Value>;
}

Properties

Properties

id: string & Brand<"Id">
isInsert: boolean
table: string
values: ReadonlyRecord<string, undefined | boolean | Date | Value>
\ No newline at end of file diff --git a/interfaces/_evolu_common.NetworkError.html b/interfaces/_evolu_common.NetworkError.html new file mode 100644 index 000000000..c34234cd7 --- /dev/null +++ b/interfaces/_evolu_common.NetworkError.html @@ -0,0 +1,2 @@ +NetworkError | Evolu

Interface NetworkError

interface NetworkError {
    _tag: "NetworkError";
}

Properties

Properties

_tag: "NetworkError"
\ No newline at end of file diff --git a/interfaces/_evolu_common.NewMessage.html b/interfaces/_evolu_common.NewMessage.html new file mode 100644 index 000000000..b6fb92a96 --- /dev/null +++ b/interfaces/_evolu_common.NewMessage.html @@ -0,0 +1,5 @@ +NewMessage | Evolu

Interface NewMessage

interface NewMessage {
    column: string;
    row: string & Brand<"Id">;
    table: string;
    value: Value;
}

Hierarchy (view full)

Properties

Properties

column: string
row: string & Brand<"Id">
table: string
value: Value
\ No newline at end of file diff --git a/interfaces/_evolu_common.NotSupportedPlatformError.html b/interfaces/_evolu_common.NotSupportedPlatformError.html new file mode 100644 index 000000000..08b1f78a3 --- /dev/null +++ b/interfaces/_evolu_common.NotSupportedPlatformError.html @@ -0,0 +1,2 @@ +NotSupportedPlatformError | Evolu

Interface NotSupportedPlatformError

interface NotSupportedPlatformError {
    _tag: "NotSupportedPlatformError";
}

Properties

Properties

_tag: "NotSupportedPlatformError"
\ No newline at end of file diff --git a/interfaces/_evolu_common.Owner.html b/interfaces/_evolu_common.Owner.html new file mode 100644 index 000000000..20965420d --- /dev/null +++ b/interfaces/_evolu_common.Owner.html @@ -0,0 +1,15 @@ +Owner | Evolu

The Owner represents the Evolu database owner, a user. Instead of traditional +email with a password, the Owner uses a mnemonic, also known as a "seed +phrase," which is a set of 12 words in a specific order chosen from a +predefined list.

+

The purpose of the BIP39 mnemonic is to provide a human-readable way of +storing a private key.

+

Mnemonic is generated safely in the user's device and must not be shared with +anyone.

+
interface Owner {
    encryptionKey: Uint8Array;
    id: OwnerId;
    mnemonic: Mnemonic;
}

Properties

Properties

encryptionKey: Uint8Array

The encryption key safely derived from Mnemonic.

+

The unique identifier safely derived from Mnemonic.

+
mnemonic: Mnemonic

The Mnemonic associated with Owner.

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.PaymentRequiredError.html b/interfaces/_evolu_common.PaymentRequiredError.html new file mode 100644 index 000000000..df57847cc --- /dev/null +++ b/interfaces/_evolu_common.PaymentRequiredError.html @@ -0,0 +1,2 @@ +PaymentRequiredError | Evolu

Interface PaymentRequiredError

interface PaymentRequiredError {
    _tag: "PaymentRequiredError";
}

Properties

Properties

_tag: "PaymentRequiredError"
\ No newline at end of file diff --git a/interfaces/_evolu_common.QueryPatches.html b/interfaces/_evolu_common.QueryPatches.html new file mode 100644 index 000000000..8c6f50697 --- /dev/null +++ b/interfaces/_evolu_common.QueryPatches.html @@ -0,0 +1,3 @@ +QueryPatches | Evolu

Interface QueryPatches

interface QueryPatches {
    patches: readonly Patch[];
    query: Query;
}

Properties

Properties

patches: readonly Patch[]
query: Query
\ No newline at end of file diff --git a/interfaces/_evolu_common.QueryResult.html b/interfaces/_evolu_common.QueryResult.html new file mode 100644 index 000000000..796b7f186 --- /dev/null +++ b/interfaces/_evolu_common.QueryResult.html @@ -0,0 +1,7 @@ +QueryResult | Evolu

Interface QueryResult<R>

An object with rows and row properties.

+
interface QueryResult<R> {
    row: null | Readonly<DrainOuterGeneric<{
        [K in string | number | symbol]: R[K]
    }>>;
    rows: readonly Readonly<DrainOuterGeneric<{
        [K in string | number | symbol]: R[K]
    }>>[];
}

Type Parameters

Properties

Properties

row: null | Readonly<DrainOuterGeneric<{
    [K in string | number | symbol]: R[K]
}>>

The first row returned by the query, or null if no rows were returned. This +property is useful for queries that are expected to return a single row.

+
rows: readonly Readonly<DrainOuterGeneric<{
    [K in string | number | symbol]: R[K]
}>>[]

An array containing all the rows returned by the query.

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.ReplaceAllPatch.html b/interfaces/_evolu_common.ReplaceAllPatch.html new file mode 100644 index 000000000..3eebf3a14 --- /dev/null +++ b/interfaces/_evolu_common.ReplaceAllPatch.html @@ -0,0 +1,3 @@ +ReplaceAllPatch | Evolu

Interface ReplaceAllPatch

interface ReplaceAllPatch {
    op: "replaceAll";
    value: readonly Row[];
}

Properties

Properties

op: "replaceAll"
value: readonly Row[]
\ No newline at end of file diff --git a/interfaces/_evolu_common.ReplaceAtPatch.html b/interfaces/_evolu_common.ReplaceAtPatch.html new file mode 100644 index 000000000..802173f3e --- /dev/null +++ b/interfaces/_evolu_common.ReplaceAtPatch.html @@ -0,0 +1,4 @@ +ReplaceAtPatch | Evolu

Interface ReplaceAtPatch

interface ReplaceAtPatch {
    index: number;
    op: "replaceAt";
    value: Row;
}

Properties

Properties

index: number
op: "replaceAt"
value: Row
\ No newline at end of file diff --git a/interfaces/_evolu_common.ServerError.html b/interfaces/_evolu_common.ServerError.html new file mode 100644 index 000000000..b214a22c3 --- /dev/null +++ b/interfaces/_evolu_common.ServerError.html @@ -0,0 +1,3 @@ +ServerError | Evolu

Interface ServerError

interface ServerError {
    _tag: "ServerError";
    status: number;
}

Properties

Properties

_tag: "ServerError"
status: number
\ No newline at end of file diff --git a/interfaces/_evolu_common.Sqlite.html b/interfaces/_evolu_common.Sqlite.html new file mode 100644 index 000000000..85da7c339 --- /dev/null +++ b/interfaces/_evolu_common.Sqlite.html @@ -0,0 +1,13 @@ +Sqlite | Evolu

Interface Sqlite

interface Sqlite {
    exec: ((query) => Effect<SqliteExecResult, never, never>);
    export: (() => Effect<Uint8Array, never, never>);
    transaction: ((mode) => (<A, E, R>(effect) => Effect<A, E, Sqlite | R>));
}

Properties

Properties

exec: ((query) => Effect<SqliteExecResult, never, never>)

Type declaration

export: (() => Effect<Uint8Array, never, never>)

Type declaration

    • (): Effect<Uint8Array, never, never>
    • Returns Effect<Uint8Array, never, never>

transaction: ((mode) => (<A, E, R>(effect) => Effect<A, E, Sqlite | R>))

Type declaration

    • (mode): (<A, E, R>(effect) => Effect<A, E, Sqlite | R>)
    • Parameters

      • mode: SqliteTransactionMode

        Use exclusive for mutations and shared for read-only queries. This +shared/exclusive lock pattern allows multiple simultaneous readers but +only one writer. In Evolu, this pattern also ensures that every write can +be immediately read without waiting to complete. For example, we can add +data on one page and then immediately redirect to another, and the data +will be there.

        +

        There is also a last mode that ensures no other transaction can run. +It's for Db reset to ensure no data are accidentally saved after database +wipe-out.

        +

      Returns (<A, E, R>(effect) => Effect<A, E, Sqlite | R>)

        • <A, E, R>(effect): Effect<A, E, Sqlite | R>
        • Type Parameters

          • A
          • E
          • R

          Parameters

          • effect: Effect<A, E, R>

          Returns Effect<A, E, Sqlite | R>

\ No newline at end of file diff --git a/interfaces/_evolu_common.SqliteExecResult.html b/interfaces/_evolu_common.SqliteExecResult.html new file mode 100644 index 000000000..3c98d05e9 --- /dev/null +++ b/interfaces/_evolu_common.SqliteExecResult.html @@ -0,0 +1,3 @@ +SqliteExecResult | Evolu

Interface SqliteExecResult

interface SqliteExecResult {
    changes: number;
    rows: SqliteRow[];
}

Properties

Properties

changes: number
rows: SqliteRow[]
\ No newline at end of file diff --git a/interfaces/_evolu_common.SqliteQuery.html b/interfaces/_evolu_common.SqliteQuery.html new file mode 100644 index 000000000..c17fc53f1 --- /dev/null +++ b/interfaces/_evolu_common.SqliteQuery.html @@ -0,0 +1,4 @@ +SqliteQuery | Evolu

Interface SqliteQuery

interface SqliteQuery {
    options?: SqliteQueryOptions;
    parameters?: Value[];
    sql: string;
}

Properties

Properties

parameters?: Value[]
sql: string
\ No newline at end of file diff --git a/interfaces/_evolu_common.SqliteQueryOptions.html b/interfaces/_evolu_common.SqliteQueryOptions.html new file mode 100644 index 000000000..c8f8b2a44 --- /dev/null +++ b/interfaces/_evolu_common.SqliteQueryOptions.html @@ -0,0 +1,4 @@ +SqliteQueryOptions | Evolu

Interface SqliteQueryOptions

interface SqliteQueryOptions {
    logExplainQueryPlan?: boolean;
    logQueryExecutionTime?: boolean;
}

Properties

logExplainQueryPlan?: boolean
logQueryExecutionTime?: boolean
\ No newline at end of file diff --git a/interfaces/_evolu_common.Store.html b/interfaces/_evolu_common.Store.html new file mode 100644 index 000000000..00d188383 --- /dev/null +++ b/interfaces/_evolu_common.Store.html @@ -0,0 +1,4 @@ +Store | Evolu

Interface Store<T>

interface Store<T> {
    getState: (() => T);
    setState: ((state) => Effect<void, never, never>);
    subscribe: ((listener) => Unsubscribe);
}

Type Parameters

  • T

Properties

getState: (() => T)

Type declaration

    • (): T
    • Returns T

setState: ((state) => Effect<void, never, never>)

Type declaration

    • (state): Effect<void, never, never>
    • Parameters

      • state: T

      Returns Effect<void, never, never>

subscribe: ((listener) => Unsubscribe)

Type declaration

\ No newline at end of file diff --git a/interfaces/_evolu_common.Sync.html b/interfaces/_evolu_common.Sync.html new file mode 100644 index 000000000..033479168 --- /dev/null +++ b/interfaces/_evolu_common.Sync.html @@ -0,0 +1,3 @@ +Sync | Evolu
interface Sync {
    init: ((owner) => Effect<void, never, never>);
    sync: ((syncData) => Effect<SyncResult, SyncStateIsNotSynced, Config>);
}

Properties

Properties

init: ((owner) => Effect<void, never, never>)

Type declaration

    • (owner): Effect<void, never, never>
    • Parameters

      Returns Effect<void, never, never>

sync: ((syncData) => Effect<SyncResult, SyncStateIsNotSynced, Config>)

Type declaration

\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncData.html b/interfaces/_evolu_common.SyncData.html new file mode 100644 index 000000000..65e6cb22a --- /dev/null +++ b/interfaces/_evolu_common.SyncData.html @@ -0,0 +1,4 @@ +SyncData | Evolu

Interface SyncData

interface SyncData {
    merkleTree: MerkleTree;
    messages?: readonly Message[];
    timestamp: Timestamp;
}

Properties

merkleTree: MerkleTree
messages?: readonly Message[]
timestamp: Timestamp
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncLockRelease.html b/interfaces/_evolu_common.SyncLockRelease.html new file mode 100644 index 000000000..6da75039b --- /dev/null +++ b/interfaces/_evolu_common.SyncLockRelease.html @@ -0,0 +1,2 @@ +SyncLockRelease | Evolu

Interface SyncLockRelease

interface SyncLockRelease {
    release: Effect<void, never, never>;
}

Properties

Properties

release: Effect<void, never, never>
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncRequest.html b/interfaces/_evolu_common.SyncRequest.html new file mode 100644 index 000000000..f975625af --- /dev/null +++ b/interfaces/_evolu_common.SyncRequest.html @@ -0,0 +1,10 @@ +SyncRequest | Evolu

Interface SyncRequest

Generated

from protobuf message SyncRequest

+
interface SyncRequest {
    merkleTree: MerkleTreeString;
    messages: readonly EncryptedMessage[];
    nodeId: string & Brand<"NodeId">;
    userId: OwnerId;
}

Properties

merkleTree: MerkleTreeString

Generated

from protobuf field: string merkleTree = 4;

+
messages: readonly EncryptedMessage[]

Generated

from protobuf field: repeated EncryptedMessage messages = 1;

+
nodeId: string & Brand<"NodeId">

Generated

from protobuf field: string nodeId = 3;

+
userId: OwnerId

Generated

from protobuf field: string userId = 2;

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncResponse.html b/interfaces/_evolu_common.SyncResponse.html new file mode 100644 index 000000000..65860fc39 --- /dev/null +++ b/interfaces/_evolu_common.SyncResponse.html @@ -0,0 +1,6 @@ +SyncResponse | Evolu

Interface SyncResponse

Generated

from protobuf message SyncResponse

+
interface SyncResponse {
    merkleTree: MerkleTreeString;
    messages: readonly EncryptedMessage[];
}

Properties

Properties

merkleTree: MerkleTreeString

Generated

from protobuf field: string merkleTree = 2;

+
messages: readonly EncryptedMessage[]

Generated

from protobuf field: repeated EncryptedMessage messages = 1;

+
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncResult.html b/interfaces/_evolu_common.SyncResult.html new file mode 100644 index 000000000..552784e28 --- /dev/null +++ b/interfaces/_evolu_common.SyncResult.html @@ -0,0 +1,3 @@ +SyncResult | Evolu

Interface SyncResult

interface SyncResult {
    merkleTree: MerkleTree;
    messages: readonly Message[];
}

Properties

Properties

merkleTree: MerkleTree
messages: readonly Message[]
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncStateInitial.html b/interfaces/_evolu_common.SyncStateInitial.html new file mode 100644 index 000000000..783eb222c --- /dev/null +++ b/interfaces/_evolu_common.SyncStateInitial.html @@ -0,0 +1,3 @@ +SyncStateInitial | Evolu

Interface SyncStateInitial

On app start, we need to find out whether the state is synced.

+
interface SyncStateInitial {
    _tag: "SyncStateInitial";
}

Properties

Properties

_tag: "SyncStateInitial"
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncStateIsNotSynced.html b/interfaces/_evolu_common.SyncStateIsNotSynced.html new file mode 100644 index 000000000..c1cbd4f8a --- /dev/null +++ b/interfaces/_evolu_common.SyncStateIsNotSynced.html @@ -0,0 +1,3 @@ +SyncStateIsNotSynced | Evolu

Interface SyncStateIsNotSynced

interface SyncStateIsNotSynced {
    _tag: "SyncStateIsNotSynced";
    error: NetworkError | ServerError | PaymentRequiredError;
}

Properties

Properties

_tag: "SyncStateIsNotSynced"
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncStateIsSynced.html b/interfaces/_evolu_common.SyncStateIsSynced.html new file mode 100644 index 000000000..0742479c6 --- /dev/null +++ b/interfaces/_evolu_common.SyncStateIsSynced.html @@ -0,0 +1,3 @@ +SyncStateIsSynced | Evolu

Interface SyncStateIsSynced

interface SyncStateIsSynced {
    _tag: "SyncStateIsSynced";
    time: number & Brand<"Millis">;
}

Properties

Properties

_tag: "SyncStateIsSynced"
time: number & Brand<"Millis">
\ No newline at end of file diff --git a/interfaces/_evolu_common.SyncStateIsSyncing.html b/interfaces/_evolu_common.SyncStateIsSyncing.html new file mode 100644 index 000000000..945faa46b --- /dev/null +++ b/interfaces/_evolu_common.SyncStateIsSyncing.html @@ -0,0 +1,2 @@ +SyncStateIsSyncing | Evolu

Interface SyncStateIsSyncing

interface SyncStateIsSyncing {
    _tag: "SyncStateIsSyncing";
}

Properties

Properties

_tag: "SyncStateIsSyncing"
\ No newline at end of file diff --git a/interfaces/_evolu_common.Table.html b/interfaces/_evolu_common.Table.html new file mode 100644 index 000000000..08b36ab62 --- /dev/null +++ b/interfaces/_evolu_common.Table.html @@ -0,0 +1,3 @@ +Table | Evolu
interface Table {
    columns: readonly string[];
    name: string;
}

Properties

Properties

columns: readonly string[]
name: string
\ No newline at end of file diff --git a/interfaces/_evolu_common.Timestamp.html b/interfaces/_evolu_common.Timestamp.html new file mode 100644 index 000000000..1f14eacab --- /dev/null +++ b/interfaces/_evolu_common.Timestamp.html @@ -0,0 +1,4 @@ +Timestamp | Evolu

Interface Timestamp

interface Timestamp {
    counter: number & Brand<"Counter">;
    millis: number & Brand<"Millis">;
    node: string & Brand<"NodeId">;
}

Properties

Properties

counter: number & Brand<"Counter">
millis: number & Brand<"Millis">
node: string & Brand<"NodeId">
\ No newline at end of file diff --git a/interfaces/_evolu_common.TimestampCounterOverflowError.html b/interfaces/_evolu_common.TimestampCounterOverflowError.html new file mode 100644 index 000000000..962ba19d3 --- /dev/null +++ b/interfaces/_evolu_common.TimestampCounterOverflowError.html @@ -0,0 +1,2 @@ +TimestampCounterOverflowError | Evolu

Interface TimestampCounterOverflowError

interface TimestampCounterOverflowError {
    _tag: "TimestampCounterOverflowError";
}

Properties

Properties

_tag: "TimestampCounterOverflowError"
\ No newline at end of file diff --git a/interfaces/_evolu_common.TimestampDriftError.html b/interfaces/_evolu_common.TimestampDriftError.html new file mode 100644 index 000000000..5fd6f4582 --- /dev/null +++ b/interfaces/_evolu_common.TimestampDriftError.html @@ -0,0 +1,4 @@ +TimestampDriftError | Evolu

Interface TimestampDriftError

interface TimestampDriftError {
    _tag: "TimestampDriftError";
    next: number & Brand<"Millis">;
    now: number & Brand<"Millis">;
}

Properties

Properties

_tag: "TimestampDriftError"
next: number & Brand<"Millis">
now: number & Brand<"Millis">
\ No newline at end of file diff --git a/interfaces/_evolu_common.TimestampDuplicateNodeError.html b/interfaces/_evolu_common.TimestampDuplicateNodeError.html new file mode 100644 index 000000000..5a54c2fda --- /dev/null +++ b/interfaces/_evolu_common.TimestampDuplicateNodeError.html @@ -0,0 +1,3 @@ +TimestampDuplicateNodeError | Evolu

Interface TimestampDuplicateNodeError

interface TimestampDuplicateNodeError {
    _tag: "TimestampDuplicateNodeError";
    node: string & Brand<"NodeId">;
}

Properties

Properties

_tag: "TimestampDuplicateNodeError"
node: string & Brand<"NodeId">
\ No newline at end of file diff --git a/interfaces/_evolu_common.TimestampTimeOutOfRangeError.html b/interfaces/_evolu_common.TimestampTimeOutOfRangeError.html new file mode 100644 index 000000000..9b489dba1 --- /dev/null +++ b/interfaces/_evolu_common.TimestampTimeOutOfRangeError.html @@ -0,0 +1,2 @@ +TimestampTimeOutOfRangeError | Evolu

Interface TimestampTimeOutOfRangeError

interface TimestampTimeOutOfRangeError {
    _tag: "TimestampTimeOutOfRangeError";
}

Properties

Properties

_tag: "TimestampTimeOutOfRangeError"
\ No newline at end of file diff --git a/interfaces/_evolu_common.UnexpectedError.html b/interfaces/_evolu_common.UnexpectedError.html new file mode 100644 index 000000000..8cf37c055 --- /dev/null +++ b/interfaces/_evolu_common.UnexpectedError.html @@ -0,0 +1,5 @@ +UnexpectedError | Evolu

Interface UnexpectedError

UnexpectedError represents errors that can occur unexpectedly anywhere, even +in third-party libraries, because Evolu uses Effect to track all errors.

+
interface UnexpectedError {
    _tag: "UnexpectedError";
    error: unknown;
}

Properties

Properties

_tag: "UnexpectedError"
error: unknown
\ No newline at end of file diff --git a/interfaces/_evolu_react.InvalidMnemonicError.html b/interfaces/_evolu_react.InvalidMnemonicError.html new file mode 100644 index 000000000..e062a8f04 --- /dev/null +++ b/interfaces/_evolu_react.InvalidMnemonicError.html @@ -0,0 +1,2 @@ +InvalidMnemonicError | Evolu

Interface InvalidMnemonicError

interface InvalidMnemonicError {
    _tag: "InvalidMnemonicError";
}

Properties

Properties

_tag: "InvalidMnemonicError"
\ No newline at end of file diff --git a/interfaces/_evolu_react.Owner.html b/interfaces/_evolu_react.Owner.html new file mode 100644 index 000000000..4f1444652 --- /dev/null +++ b/interfaces/_evolu_react.Owner.html @@ -0,0 +1,15 @@ +Owner | Evolu

Interface Owner

The Owner represents the Evolu database owner, a user. Instead of traditional +email with a password, the Owner uses a mnemonic, also known as a "seed +phrase," which is a set of 12 words in a specific order chosen from a +predefined list.

+

The purpose of the BIP39 mnemonic is to provide a human-readable way of +storing a private key.

+

Mnemonic is generated safely in the user's device and must not be shared with +anyone.

+
interface Owner {
    encryptionKey: Uint8Array;
    id: OwnerId;
    mnemonic: Mnemonic;
}

Properties

Properties

encryptionKey: Uint8Array

The encryption key safely derived from Mnemonic.

+

The unique identifier safely derived from Mnemonic.

+
mnemonic: Mnemonic

The Mnemonic associated with Owner.

+
\ No newline at end of file diff --git a/interfaces/_evolu_react.QueryResult.html b/interfaces/_evolu_react.QueryResult.html new file mode 100644 index 000000000..75249867f --- /dev/null +++ b/interfaces/_evolu_react.QueryResult.html @@ -0,0 +1,7 @@ +QueryResult | Evolu

Interface QueryResult<R>

An object with rows and row properties.

+
interface QueryResult<R> {
    row: null | Readonly<DrainOuterGeneric<{
        [K in string | number | symbol]: R[K]
    }>>;
    rows: readonly Readonly<DrainOuterGeneric<{
        [K in string | number | symbol]: R[K]
    }>>[];
}

Type Parameters

Properties

Properties

row: null | Readonly<DrainOuterGeneric<{
    [K in string | number | symbol]: R[K]
}>>

The first row returned by the query, or null if no rows were returned. This +property is useful for queries that are expected to return a single row.

+
rows: readonly Readonly<DrainOuterGeneric<{
    [K in string | number | symbol]: R[K]
}>>[]

An array containing all the rows returned by the query.

+
\ No newline at end of file diff --git a/interfaces/_evolu_react.Timestamp.html b/interfaces/_evolu_react.Timestamp.html new file mode 100644 index 000000000..fa18e14c9 --- /dev/null +++ b/interfaces/_evolu_react.Timestamp.html @@ -0,0 +1,4 @@ +Timestamp | Evolu

Interface Timestamp

interface Timestamp {
    counter: number & Brand<"Counter">;
    millis: number & Brand<"Millis">;
    node: string & Brand<"NodeId">;
}

Properties

Properties

counter: number & Brand<"Counter">
millis: number & Brand<"Millis">
node: string & Brand<"NodeId">
\ No newline at end of file diff --git a/interfaces/_evolu_react.UnexpectedError.html b/interfaces/_evolu_react.UnexpectedError.html new file mode 100644 index 000000000..0ae9f1a9b --- /dev/null +++ b/interfaces/_evolu_react.UnexpectedError.html @@ -0,0 +1,5 @@ +UnexpectedError | Evolu

Interface UnexpectedError

UnexpectedError represents errors that can occur unexpectedly anywhere, even +in third-party libraries, because Evolu uses Effect to track all errors.

+
interface UnexpectedError {
    _tag: "UnexpectedError";
    error: unknown;
}

Properties

Properties

_tag: "UnexpectedError"
error: unknown
\ No newline at end of file diff --git a/interfaces/_evolu_react_native.InvalidMnemonicError.html b/interfaces/_evolu_react_native.InvalidMnemonicError.html new file mode 100644 index 000000000..eeb720b77 --- /dev/null +++ b/interfaces/_evolu_react_native.InvalidMnemonicError.html @@ -0,0 +1,2 @@ +InvalidMnemonicError | Evolu

Interface InvalidMnemonicError

interface InvalidMnemonicError {
    _tag: "InvalidMnemonicError";
}

Properties

Properties

_tag: "InvalidMnemonicError"
\ No newline at end of file diff --git a/interfaces/_evolu_react_native.Owner.html b/interfaces/_evolu_react_native.Owner.html new file mode 100644 index 000000000..f4987afc6 --- /dev/null +++ b/interfaces/_evolu_react_native.Owner.html @@ -0,0 +1,15 @@ +Owner | Evolu

The Owner represents the Evolu database owner, a user. Instead of traditional +email with a password, the Owner uses a mnemonic, also known as a "seed +phrase," which is a set of 12 words in a specific order chosen from a +predefined list.

+

The purpose of the BIP39 mnemonic is to provide a human-readable way of +storing a private key.

+

Mnemonic is generated safely in the user's device and must not be shared with +anyone.

+
interface Owner {
    encryptionKey: Uint8Array;
    id: OwnerId;
    mnemonic: Mnemonic;
}

Properties

Properties

encryptionKey: Uint8Array

The encryption key safely derived from Mnemonic.

+

The unique identifier safely derived from Mnemonic.

+
mnemonic: Mnemonic

The Mnemonic associated with Owner.

+
\ No newline at end of file diff --git a/interfaces/_evolu_react_native.QueryResult.html b/interfaces/_evolu_react_native.QueryResult.html new file mode 100644 index 000000000..56e3f0a6c --- /dev/null +++ b/interfaces/_evolu_react_native.QueryResult.html @@ -0,0 +1,7 @@ +QueryResult | Evolu

Interface QueryResult<R>

An object with rows and row properties.

+
interface QueryResult<R> {
    row: null | Readonly<DrainOuterGeneric<{
        [K in string | number | symbol]: R[K]
    }>>;
    rows: readonly Readonly<DrainOuterGeneric<{
        [K in string | number | symbol]: R[K]
    }>>[];
}

Type Parameters

Properties

Properties

row: null | Readonly<DrainOuterGeneric<{
    [K in string | number | symbol]: R[K]
}>>

The first row returned by the query, or null if no rows were returned. This +property is useful for queries that are expected to return a single row.

+
rows: readonly Readonly<DrainOuterGeneric<{
    [K in string | number | symbol]: R[K]
}>>[]

An array containing all the rows returned by the query.

+
\ No newline at end of file diff --git a/interfaces/_evolu_react_native.Timestamp.html b/interfaces/_evolu_react_native.Timestamp.html new file mode 100644 index 000000000..4135e60c2 --- /dev/null +++ b/interfaces/_evolu_react_native.Timestamp.html @@ -0,0 +1,4 @@ +Timestamp | Evolu
interface Timestamp {
    counter: number & Brand<"Counter">;
    millis: number & Brand<"Millis">;
    node: string & Brand<"NodeId">;
}

Properties

Properties

counter: number & Brand<"Counter">
millis: number & Brand<"Millis">
node: string & Brand<"NodeId">
\ No newline at end of file diff --git a/interfaces/_evolu_react_native.UnexpectedError.html b/interfaces/_evolu_react_native.UnexpectedError.html new file mode 100644 index 000000000..ae727618e --- /dev/null +++ b/interfaces/_evolu_react_native.UnexpectedError.html @@ -0,0 +1,5 @@ +UnexpectedError | Evolu

UnexpectedError represents errors that can occur unexpectedly anywhere, even +in third-party libraries, because Evolu uses Effect to track all errors.

+
interface UnexpectedError {
    _tag: "UnexpectedError";
    error: unknown;
}

Properties

Properties

_tag: "UnexpectedError"
error: unknown
\ No newline at end of file diff --git a/interfaces/_evolu_server.BadRequestError.html b/interfaces/_evolu_server.BadRequestError.html new file mode 100644 index 000000000..4f0c7244e --- /dev/null +++ b/interfaces/_evolu_server.BadRequestError.html @@ -0,0 +1,3 @@ +BadRequestError | Evolu

Interface BadRequestError

interface BadRequestError {
    _tag: "BadRequestError";
    error: unknown;
}

Properties

Properties

_tag: "BadRequestError"
error: unknown
\ No newline at end of file diff --git a/interfaces/_evolu_server.Database.html b/interfaces/_evolu_server.Database.html new file mode 100644 index 000000000..af46c8088 --- /dev/null +++ b/interfaces/_evolu_server.Database.html @@ -0,0 +1,4 @@ +Database | Evolu

Interface Database

Evolu Server database schema.

+
interface Database {
    merkleTree: MerkleTreeTable;
    message: MessageTable;
}

Properties

Properties

merkleTree: MerkleTreeTable
message: MessageTable
\ No newline at end of file diff --git a/interfaces/_evolu_server.Server.html b/interfaces/_evolu_server.Server.html new file mode 100644 index 000000000..9492d45b0 --- /dev/null +++ b/interfaces/_evolu_server.Server.html @@ -0,0 +1,5 @@ +Server | Evolu

Interface Server

interface Server {
    initDatabase: Effect<void, never, never>;
    sync: ((body) => Effect<Buffer, BadRequestError, never>);
}

Properties

Properties

initDatabase: Effect<void, never, never>

Create database tables and indexes if they do not exist.

+
sync: ((body) => Effect<Buffer, BadRequestError, never>)

Sync data.

+

Type declaration

\ No newline at end of file diff --git a/modules/_evolu_common.html b/modules/_evolu_common.html new file mode 100644 index 000000000..77dd633b9 --- /dev/null +++ b/modules/_evolu_common.html @@ -0,0 +1,213 @@ +@evolu/common - v5.1.2 | Evolu

Module @evolu/common - v5.1.2

Evolu

Local-first platform designed for privacy, ease of use, and no vendor lock-in

+
    +
  • SQLite in all browsers, Electron, and React Native
  • +
  • CRDT for merging changes without conflicts
  • +
  • End-to-end encrypted sync and backup
  • +
  • Free Evolu sync and backup server, or you can run your own
  • +
  • Typed database schema (with branded types like NonEmptyString1000, PositiveInt, etc.)
  • +
  • Typed SQL via Kysely
  • +
  • Reactive queries with full React Suspense support
  • +
  • Real-time experience via revalidation on focus and network recovery
  • +
  • No signup/login, only bitcoin-like mnemonic (12 words)
  • +
  • Ad-hoc migration
  • +
  • Sqlite JSON support with automatic stringifying and parsing
  • +
  • Support for Kysely Relations (loading nested objects and arrays in a single SQL query)
  • +
  • Local-only tables (tables with _ prefix are not synced)
  • +
  • Evolu Solid/Vue/Svelte soon
  • +
+

Local-first apps allow users to own their data by storing them on their devices. Modern browsers provide API designed precisely for that. How is it different from keeping files on disk? Files are not the right abstraction for apps and cannot synchronize among devices. That's why traditional apps use the client-server architecture. But using client-server architecture also means that users' ability to use an app depends on some server that can be offline, temporarily or forever, if a company decides to ban a user or even goes bankrupt. That's unfortunate. Luckily, a way to restore data ownership exists. It's Evolu.

+

For detailed information and usage examples, please visit evolu.dev.

+

evoluhq.github.io/evolu

+

The Evolu community is on GitHub Discussions, where you can ask questions and voice ideas.

+

To chat with other community members, you can join the Evolu Discord.

+

Twitter URL

+

Evolu monorepo uses pnpm.

+

Install the dependencies with:

+
pnpm install
+
+ +

Build Evolu monorepo:

+
pnpm build
+
+ +

Start developing and watch for code changes:

+
pnpm dev
+
+ +

Start iOS developing (pnpm dev must be running too):

+
pnpm ios
+
+ +

Lint and tests:

+
pnpm lint test
+
+ +

Describe changes for release log:

+
pnpm changeset
+
+ +

Index

Other

AppState +Bip39 +DbFactory +EvoluFactory +NanoIdGenerator +SecretBox +SqliteFactory +SyncFactory +SyncLock +SyncLockAlreadySyncingError +Time +Callbacks +Config +Db +DbSchema +EncryptedMessage +Evolu +EvoluConfig +InvalidMnemonicError +MerkleTree +Message +MessageContent +Mutation +NetworkError +NewMessage +NotSupportedPlatformError +Owner +PaymentRequiredError +QueryPatches +QueryResult +ReplaceAllPatch +ReplaceAtPatch +ServerError +Sqlite +SqliteExecResult +SqliteQuery +SqliteQueryOptions +Store +Sync +SyncData +SyncLockRelease +SyncRequest +SyncResponse +SyncResult +SyncStateInitial +SyncStateIsNotSynced +SyncStateIsSynced +SyncStateIsSyncing +Table +Timestamp +TimestampCounterOverflowError +TimestampDriftError +TimestampDuplicateNodeError +TimestampTimeOutOfRangeError +UnexpectedError +Counter +EvoluError +EvoluSchema +ExtractRow +FlushSync +Id +Index +JsonObjectOrArray +Listener +MerkleTreeString +Millis +Mnemonic +NanoId +NodeId +NonEmptyString1000 +OwnerId +Patch +PositiveInt +Queries +Query +QueryResultsFromQueries +QueryResultsPromisesFromQueries +QueryRowsMap +Row +SqliteBoolean +SqliteDate +SqliteQueryPlanRow +SqliteRow +SqliteTransactionMode +SqliteValue +String +String1000 +SyncState +TimestampError +TimestampHash +TimestampString +Unsubscribe +Value +AllowedTimeRange +Callbacks +Config +Counter +EncryptedMessage +FlushSync +Id +Index +MessageContent +Millis +NodeId +NonEmptyString1000 +Owner +PositiveInt +Sqlite +SqliteBoolean +SqliteDate +String +String1000 +Sync +SyncRequest +SyncResponse +createDb +createSync +defaultConfig +initialMerkleTree +initialMillis +initialSyncState +makeInitialTimestamp +notSupportedPlatformWorker +applyPatches +areEqual +cast +createIndexes +createNanoIdGeneratorLive +createRuntime +deserializeQuery +diffMerkleTrees +drawSqliteQueryPlan +emptyRows +ensureTransferableError +getLockName +id +insertIntoMerkleTree +isJsonObjectOrArray +isSqlMutation +makeOwner +makePatches +makeStore +makeSyncTimestamp +makeUnexpectedError +maybeJson +maybeLogSqliteQueryExecutionTime +maybeParseJson +merkleTreeToString +millisToMerkleTreePath +murmurhash +queryResultFromRows +receiveTimestamp +sendTimestamp +serializeQuery +slip21Derive +table +timestampToHash +timestampToString +unsafeMerkleTreeFromString +unsafeTimestampFromString +upsertValueIntoTableRowColumn +validateMnemonicToEffect +valuesToSqliteValues +

constructors

\ No newline at end of file diff --git a/modules/_evolu_common_react.html b/modules/_evolu_common_react.html new file mode 100644 index 000000000..bddcbf967 --- /dev/null +++ b/modules/_evolu_common_react.html @@ -0,0 +1,16 @@ +@evolu/common-react - v8.0.5 | Evolu

Module @evolu/common-react - v8.0.5

Evolu Common for React

Common code for Evolu React and Evolu React Native.

+

For detailed information and usage examples, please visit evolu.dev.

+

The Evolu community is on GitHub Discussions, where you can ask questions and voice ideas.

+

To chat with other community members, you can join the Evolu Discord.

+

Twitter URL

+

Index

Variables

Functions

\ No newline at end of file diff --git a/modules/_evolu_common_web.html b/modules/_evolu_common_web.html new file mode 100644 index 000000000..3dd206a48 --- /dev/null +++ b/modules/_evolu_common_web.html @@ -0,0 +1,9 @@ +@evolu/common-web - v8.0.4 | Evolu

Module @evolu/common-web - v8.0.4

Evolu Common for Web

Common code for Evolu React and other UI libraries for the web.

+

For detailed information and usage examples, please visit evolu.dev.

+

The Evolu community is on GitHub Discussions, where you can ask questions and voice ideas.

+

To chat with other community members, you can join the Evolu Discord.

+

Twitter URL

+

Index

Variables

Functions

\ No newline at end of file diff --git a/modules/_evolu_react.html b/modules/_evolu_react.html new file mode 100644 index 000000000..7cb584a63 --- /dev/null +++ b/modules/_evolu_react.html @@ -0,0 +1,55 @@ +@evolu/react - v8.0.2 | Evolu

Module @evolu/react - v8.0.2

Evolu for React

Evolu for React.

+

For detailed information and usage examples, please visit evolu.dev.

+

The Evolu community is on GitHub Discussions, where you can ask questions and voice ideas.

+

To chat with other community members, you can join the Evolu Discord.

+

Twitter URL

+

Index

Other

constructors

\ No newline at end of file diff --git a/modules/_evolu_react_native.html b/modules/_evolu_react_native.html new file mode 100644 index 000000000..e18af12a3 --- /dev/null +++ b/modules/_evolu_react_native.html @@ -0,0 +1,56 @@ +@evolu/react-native - v10.0.2 | Evolu
\ No newline at end of file diff --git a/modules/_evolu_server.html b/modules/_evolu_server.html new file mode 100644 index 000000000..e8dacf5f8 --- /dev/null +++ b/modules/_evolu_server.html @@ -0,0 +1,14 @@ +@evolu/server - v7.0.6 | Evolu

Module @evolu/server - v7.0.6

Evolu Server

Evolu Server for Evolu library.

+

For detailed information and usage examples, please visit evolu.dev.

+

The Evolu community is on GitHub Discussions, where you can ask questions and voice ideas.

+

To chat with other community members, you can join the Evolu Discord.

+

Twitter URL

+

Index

Interfaces

Type Aliases

Db +

Variables

\ No newline at end of file diff --git a/types/_evolu_common.Counter.html b/types/_evolu_common.Counter.html new file mode 100644 index 000000000..91310f80b --- /dev/null +++ b/types/_evolu_common.Counter.html @@ -0,0 +1 @@ +Counter | Evolu

Type Alias Counter

Counter: typeof Counter.Type
\ No newline at end of file diff --git a/types/_evolu_common.EvoluError.html b/types/_evolu_common.EvoluError.html new file mode 100644 index 000000000..f8dd0609a --- /dev/null +++ b/types/_evolu_common.EvoluError.html @@ -0,0 +1,2 @@ +EvoluError | Evolu

Type Alias EvoluError

The EvoluError type is used to represent errors that can occur in Evolu.

+
\ No newline at end of file diff --git a/types/_evolu_common.EvoluSchema.html b/types/_evolu_common.EvoluSchema.html new file mode 100644 index 000000000..5e71d3808 --- /dev/null +++ b/types/_evolu_common.EvoluSchema.html @@ -0,0 +1,2 @@ +EvoluSchema | Evolu

Type Alias EvoluSchema

EvoluSchema: Record.ReadonlyRecord<string, Record.ReadonlyRecord<string, Value> & {
    id: Id;
}>

A type to define tables, columns, and column types.

+
\ No newline at end of file diff --git a/types/_evolu_common.ExtractRow.html b/types/_evolu_common.ExtractRow.html new file mode 100644 index 000000000..2be4cb06a --- /dev/null +++ b/types/_evolu_common.ExtractRow.html @@ -0,0 +1,5 @@ +ExtractRow | Evolu

Type Alias ExtractRow<T>

ExtractRow<T>: T extends Query<infer R>
    ? R
    : never

Extract Row from Query instance.

+

Type Parameters

Example

const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);
type AllTodosRow = ExtractRow<typeof allTodos>; +
+ +
\ No newline at end of file diff --git a/types/_evolu_common.FlushSync.html b/types/_evolu_common.FlushSync.html new file mode 100644 index 000000000..cb7806493 --- /dev/null +++ b/types/_evolu_common.FlushSync.html @@ -0,0 +1,5 @@ +FlushSync | Evolu

Type Alias FlushSync

FlushSync: ((callback) => void)

FlushSync is a service for libraries like React to synchronously flush +updates inside the provided callback to ensure the DOM is updated +immediately.

+

https://react.dev/reference/react-dom/flushSync

+

Type declaration

    • (callback): void
    • Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      Returns void

\ No newline at end of file diff --git a/types/_evolu_common.Id.html b/types/_evolu_common.Id.html new file mode 100644 index 000000000..8f82d447c --- /dev/null +++ b/types/_evolu_common.Id.html @@ -0,0 +1 @@ +Id | Evolu
\ No newline at end of file diff --git a/types/_evolu_common.Index.html b/types/_evolu_common.Index.html new file mode 100644 index 000000000..e7079f623 --- /dev/null +++ b/types/_evolu_common.Index.html @@ -0,0 +1 @@ +Index | Evolu

Type Alias Index

Index: typeof Index.Type
\ No newline at end of file diff --git a/types/_evolu_common.JsonObjectOrArray.html b/types/_evolu_common.JsonObjectOrArray.html new file mode 100644 index 000000000..e4625c570 --- /dev/null +++ b/types/_evolu_common.JsonObjectOrArray.html @@ -0,0 +1 @@ +JsonObjectOrArray | Evolu

Type Alias JsonObjectOrArray

JsonObjectOrArray: JsonObject | JsonArray
\ No newline at end of file diff --git a/types/_evolu_common.Listener.html b/types/_evolu_common.Listener.html new file mode 100644 index 000000000..6f9e34adf --- /dev/null +++ b/types/_evolu_common.Listener.html @@ -0,0 +1 @@ +Listener | Evolu

Type Alias Listener

Listener: (() => void)

Type declaration

    • (): void
    • Returns void

\ No newline at end of file diff --git a/types/_evolu_common.MerkleTreeString.html b/types/_evolu_common.MerkleTreeString.html new file mode 100644 index 000000000..730bcedf0 --- /dev/null +++ b/types/_evolu_common.MerkleTreeString.html @@ -0,0 +1 @@ +MerkleTreeString | Evolu

Type Alias MerkleTreeString

MerkleTreeString: string & Brand.Brand<"MerkleTreeString">
\ No newline at end of file diff --git a/types/_evolu_common.Millis.html b/types/_evolu_common.Millis.html new file mode 100644 index 000000000..e5e04fa18 --- /dev/null +++ b/types/_evolu_common.Millis.html @@ -0,0 +1 @@ +Millis | Evolu

Type Alias Millis

Millis: typeof Millis.Type
\ No newline at end of file diff --git a/types/_evolu_common.Mnemonic.html b/types/_evolu_common.Mnemonic.html new file mode 100644 index 000000000..56165cb12 --- /dev/null +++ b/types/_evolu_common.Mnemonic.html @@ -0,0 +1,5 @@ +Mnemonic | Evolu

Type Alias Mnemonic

Mnemonic: string & Brand.Brand<"Mnemonic">

Mnemonic is a password generated by Evolu in BIP39 format.

+

A mnemonic, also known as a "seed phrase," is a set of 12 words in a specific +order chosen from a predefined list. The purpose of the BIP39 mnemonic is to +provide a human-readable way of storing a private key.

+
\ No newline at end of file diff --git a/types/_evolu_common.NanoId.html b/types/_evolu_common.NanoId.html new file mode 100644 index 000000000..220ad1329 --- /dev/null +++ b/types/_evolu_common.NanoId.html @@ -0,0 +1 @@ +NanoId | Evolu

Type Alias NanoId

NanoId: string & Brand.Brand<"NanoId">
\ No newline at end of file diff --git a/types/_evolu_common.NodeId.html b/types/_evolu_common.NodeId.html new file mode 100644 index 000000000..af1c0db60 --- /dev/null +++ b/types/_evolu_common.NodeId.html @@ -0,0 +1 @@ +NodeId | Evolu
\ No newline at end of file diff --git a/types/_evolu_common.NonEmptyString1000.html b/types/_evolu_common.NonEmptyString1000.html new file mode 100644 index 000000000..8d61a4eff --- /dev/null +++ b/types/_evolu_common.NonEmptyString1000.html @@ -0,0 +1 @@ +NonEmptyString1000 | Evolu

Type Alias NonEmptyString1000

NonEmptyString1000: typeof NonEmptyString1000.Type
\ No newline at end of file diff --git a/types/_evolu_common.OwnerId.html b/types/_evolu_common.OwnerId.html new file mode 100644 index 000000000..750a9dca3 --- /dev/null +++ b/types/_evolu_common.OwnerId.html @@ -0,0 +1,3 @@ +OwnerId | Evolu

Type Alias OwnerId

OwnerId: Id & Brand.Brand<"Owner">

The unique identifier of Owner safely derived from its +Mnemonic.

+
\ No newline at end of file diff --git a/types/_evolu_common.Patch.html b/types/_evolu_common.Patch.html new file mode 100644 index 000000000..90471cae3 --- /dev/null +++ b/types/_evolu_common.Patch.html @@ -0,0 +1 @@ +Patch | Evolu
\ No newline at end of file diff --git a/types/_evolu_common.PositiveInt.html b/types/_evolu_common.PositiveInt.html new file mode 100644 index 000000000..4f1d6a211 --- /dev/null +++ b/types/_evolu_common.PositiveInt.html @@ -0,0 +1 @@ +PositiveInt | Evolu

Type Alias PositiveInt

PositiveInt: typeof PositiveInt.Type
\ No newline at end of file diff --git a/types/_evolu_common.Queries.html b/types/_evolu_common.Queries.html new file mode 100644 index 000000000..93a1f0377 --- /dev/null +++ b/types/_evolu_common.Queries.html @@ -0,0 +1 @@ +Queries | Evolu

Type Alias Queries<R>

Queries<R>: ReadonlyArray<Query<R>>

Type Parameters

\ No newline at end of file diff --git a/types/_evolu_common.Query.html b/types/_evolu_common.Query.html new file mode 100644 index 000000000..845e5f0e0 --- /dev/null +++ b/types/_evolu_common.Query.html @@ -0,0 +1,3 @@ +Query | Evolu

Type Alias Query<R>

Query<R>: string & Brand.Brand<"Query"> & {
    [___queryBrand]: R;
}

Query is SQL query serialized as a string with a branded type representing a +row it returns.

+

Type Parameters

Type declaration

  • Readonly [___queryBrand]: R
\ No newline at end of file diff --git a/types/_evolu_common.QueryResultsFromQueries.html b/types/_evolu_common.QueryResultsFromQueries.html new file mode 100644 index 000000000..7d66ade95 --- /dev/null +++ b/types/_evolu_common.QueryResultsFromQueries.html @@ -0,0 +1 @@ +QueryResultsFromQueries | Evolu

Type Alias QueryResultsFromQueries<Q>

QueryResultsFromQueries<Q>: {
    [P in keyof Q]: Q[P] extends Query<infer R>
        ? QueryResult<R>
        : never
}

Type Parameters

\ No newline at end of file diff --git a/types/_evolu_common.QueryResultsPromisesFromQueries.html b/types/_evolu_common.QueryResultsPromisesFromQueries.html new file mode 100644 index 000000000..cc91a4187 --- /dev/null +++ b/types/_evolu_common.QueryResultsPromisesFromQueries.html @@ -0,0 +1 @@ +QueryResultsPromisesFromQueries | Evolu

Type Alias QueryResultsPromisesFromQueries<Q>

QueryResultsPromisesFromQueries<Q>: {
    [P in keyof Q]: Q[P] extends Query<infer R>
        ? Promise<QueryResult<R>>
        : never
}

Type Parameters

\ No newline at end of file diff --git a/types/_evolu_common.QueryRowsMap.html b/types/_evolu_common.QueryRowsMap.html new file mode 100644 index 000000000..b8c25ff56 --- /dev/null +++ b/types/_evolu_common.QueryRowsMap.html @@ -0,0 +1 @@ +QueryRowsMap | Evolu

Type Alias QueryRowsMap

QueryRowsMap: ReadonlyMap<Query, ReadonlyArray<Row>>
\ No newline at end of file diff --git a/types/_evolu_common.Row.html b/types/_evolu_common.Row.html new file mode 100644 index 000000000..bb69c95d0 --- /dev/null +++ b/types/_evolu_common.Row.html @@ -0,0 +1 @@ +Row | Evolu

Type Alias Row

Row: {
    [key: string]: Value | Row | ReadonlyArray<Row>;
}

Type declaration

\ No newline at end of file diff --git a/types/_evolu_common.SqliteBoolean.html b/types/_evolu_common.SqliteBoolean.html new file mode 100644 index 000000000..3b5966fb0 --- /dev/null +++ b/types/_evolu_common.SqliteBoolean.html @@ -0,0 +1 @@ +SqliteBoolean | Evolu

Type Alias SqliteBoolean

SqliteBoolean: typeof SqliteBoolean.Type
\ No newline at end of file diff --git a/types/_evolu_common.SqliteDate.html b/types/_evolu_common.SqliteDate.html new file mode 100644 index 000000000..a7233ab95 --- /dev/null +++ b/types/_evolu_common.SqliteDate.html @@ -0,0 +1 @@ +SqliteDate | Evolu

Type Alias SqliteDate

SqliteDate: typeof SqliteDate.Type
\ No newline at end of file diff --git a/types/_evolu_common.SqliteQueryPlanRow.html b/types/_evolu_common.SqliteQueryPlanRow.html new file mode 100644 index 000000000..13deada17 --- /dev/null +++ b/types/_evolu_common.SqliteQueryPlanRow.html @@ -0,0 +1 @@ +SqliteQueryPlanRow | Evolu

Type Alias SqliteQueryPlanRow

SqliteQueryPlanRow: {
    detail: string;
    id: number;
    parent: number;
}

Type declaration

  • detail: string
  • id: number
  • parent: number
\ No newline at end of file diff --git a/types/_evolu_common.SqliteRow.html b/types/_evolu_common.SqliteRow.html new file mode 100644 index 000000000..b4d77f425 --- /dev/null +++ b/types/_evolu_common.SqliteRow.html @@ -0,0 +1 @@ +SqliteRow | Evolu

Type Alias SqliteRow

SqliteRow: Record<string, SqliteValue>
\ No newline at end of file diff --git a/types/_evolu_common.SqliteTransactionMode.html b/types/_evolu_common.SqliteTransactionMode.html new file mode 100644 index 000000000..2d56df980 --- /dev/null +++ b/types/_evolu_common.SqliteTransactionMode.html @@ -0,0 +1 @@ +SqliteTransactionMode | Evolu

Type Alias SqliteTransactionMode

SqliteTransactionMode: "exclusive" | "shared" | "last"
\ No newline at end of file diff --git a/types/_evolu_common.SqliteValue.html b/types/_evolu_common.SqliteValue.html new file mode 100644 index 000000000..c1cbe1c8f --- /dev/null +++ b/types/_evolu_common.SqliteValue.html @@ -0,0 +1 @@ +SqliteValue | Evolu

Type Alias SqliteValue

SqliteValue: null | string | number | Uint8Array
\ No newline at end of file diff --git a/types/_evolu_common.String.html b/types/_evolu_common.String.html new file mode 100644 index 000000000..2c50aba4e --- /dev/null +++ b/types/_evolu_common.String.html @@ -0,0 +1 @@ +String | Evolu
\ No newline at end of file diff --git a/types/_evolu_common.String1000.html b/types/_evolu_common.String1000.html new file mode 100644 index 000000000..fd2f73c7b --- /dev/null +++ b/types/_evolu_common.String1000.html @@ -0,0 +1 @@ +String1000 | Evolu

Type Alias String1000

String1000: typeof String1000.Type
\ No newline at end of file diff --git a/types/_evolu_common.SyncState.html b/types/_evolu_common.SyncState.html new file mode 100644 index 000000000..8a9c1c5ea --- /dev/null +++ b/types/_evolu_common.SyncState.html @@ -0,0 +1,3 @@ +SyncState | Evolu

Type Alias SyncState

The SyncState type represents the various states that a synchronization +process can be in.

+
\ No newline at end of file diff --git a/types/_evolu_common.TimestampError.html b/types/_evolu_common.TimestampError.html new file mode 100644 index 000000000..1ea6a9562 --- /dev/null +++ b/types/_evolu_common.TimestampError.html @@ -0,0 +1,4 @@ +TimestampError | Evolu

Type Alias TimestampError

The TimestampError type represents all Timestamp-related errors. If such an +error happens, the device clock is skewed and should be set to the current +time.

+
\ No newline at end of file diff --git a/types/_evolu_common.TimestampHash.html b/types/_evolu_common.TimestampHash.html new file mode 100644 index 000000000..91f176bed --- /dev/null +++ b/types/_evolu_common.TimestampHash.html @@ -0,0 +1 @@ +TimestampHash | Evolu

Type Alias TimestampHash

TimestampHash: number & Brand.Brand<"TimestampHash">
\ No newline at end of file diff --git a/types/_evolu_common.TimestampString.html b/types/_evolu_common.TimestampString.html new file mode 100644 index 000000000..6553cbc95 --- /dev/null +++ b/types/_evolu_common.TimestampString.html @@ -0,0 +1 @@ +TimestampString | Evolu

Type Alias TimestampString

TimestampString: string & Brand.Brand<"TimestampString">
\ No newline at end of file diff --git a/types/_evolu_common.Unsubscribe.html b/types/_evolu_common.Unsubscribe.html new file mode 100644 index 000000000..a7ece1260 --- /dev/null +++ b/types/_evolu_common.Unsubscribe.html @@ -0,0 +1 @@ +Unsubscribe | Evolu

Type Alias Unsubscribe

Unsubscribe: (() => void)

Type declaration

    • (): void
    • Returns void

\ No newline at end of file diff --git a/types/_evolu_common.Value.html b/types/_evolu_common.Value.html new file mode 100644 index 000000000..d6b7d8bfe --- /dev/null +++ b/types/_evolu_common.Value.html @@ -0,0 +1 @@ +Value | Evolu
\ No newline at end of file diff --git a/types/_evolu_react.EvoluError.html b/types/_evolu_react.EvoluError.html new file mode 100644 index 000000000..9f1fce244 --- /dev/null +++ b/types/_evolu_react.EvoluError.html @@ -0,0 +1,2 @@ +EvoluError | Evolu

Type Alias EvoluError

The EvoluError type is used to represent errors that can occur in Evolu.

+
\ No newline at end of file diff --git a/types/_evolu_react.ExtractRow.html b/types/_evolu_react.ExtractRow.html new file mode 100644 index 000000000..9bd4d2b3c --- /dev/null +++ b/types/_evolu_react.ExtractRow.html @@ -0,0 +1,5 @@ +ExtractRow | Evolu

Type Alias ExtractRow<T>

ExtractRow<T>: T extends Query<infer R>
    ? R
    : never

Extract Row from Query instance.

+

Type Parameters

Example

const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);
type AllTodosRow = ExtractRow<typeof allTodos>; +
+ +
\ No newline at end of file diff --git a/types/_evolu_react.Id.html b/types/_evolu_react.Id.html new file mode 100644 index 000000000..0bb5cc275 --- /dev/null +++ b/types/_evolu_react.Id.html @@ -0,0 +1 @@ +Id | Evolu

Type Alias Id

Id: typeof Id.Type
\ No newline at end of file diff --git a/types/_evolu_react.Mnemonic.html b/types/_evolu_react.Mnemonic.html new file mode 100644 index 000000000..b8cb0099c --- /dev/null +++ b/types/_evolu_react.Mnemonic.html @@ -0,0 +1,5 @@ +Mnemonic | Evolu

Type Alias Mnemonic

Mnemonic: string & Brand.Brand<"Mnemonic">

Mnemonic is a password generated by Evolu in BIP39 format.

+

A mnemonic, also known as a "seed phrase," is a set of 12 words in a specific +order chosen from a predefined list. The purpose of the BIP39 mnemonic is to +provide a human-readable way of storing a private key.

+
\ No newline at end of file diff --git a/types/_evolu_react.NonEmptyString1000.html b/types/_evolu_react.NonEmptyString1000.html new file mode 100644 index 000000000..042a93f6b --- /dev/null +++ b/types/_evolu_react.NonEmptyString1000.html @@ -0,0 +1 @@ +NonEmptyString1000 | Evolu

Type Alias NonEmptyString1000

NonEmptyString1000: typeof NonEmptyString1000.Type
\ No newline at end of file diff --git a/types/_evolu_react.NotNull.html b/types/_evolu_react.NotNull.html new file mode 100644 index 000000000..54feb2318 --- /dev/null +++ b/types/_evolu_react.NotNull.html @@ -0,0 +1,6 @@ +NotNull | Evolu

Type Alias NotNull

NotNull: {
    __notNull__: unique symbol;
}

A type constant for marking a column as not null. Can be used with $narrowPartial.

+

Example:

+
const person = await db.selectFrom('person')
.where('nullable_column', 'is not', null)
.selectAll()
.$narrowType<{ nullable_column: NotNull }>()
.executeTakeFirstOrThrow() +
+ +

Type declaration

  • Readonly __notNull__: unique symbol
\ No newline at end of file diff --git a/types/_evolu_react.OwnerId.html b/types/_evolu_react.OwnerId.html new file mode 100644 index 000000000..07045ccca --- /dev/null +++ b/types/_evolu_react.OwnerId.html @@ -0,0 +1,3 @@ +OwnerId | Evolu

Type Alias OwnerId

OwnerId: Id & Brand.Brand<"Owner">

The unique identifier of Owner safely derived from its +Mnemonic.

+
\ No newline at end of file diff --git a/types/_evolu_react.PositiveInt.html b/types/_evolu_react.PositiveInt.html new file mode 100644 index 000000000..2ef88b049 --- /dev/null +++ b/types/_evolu_react.PositiveInt.html @@ -0,0 +1 @@ +PositiveInt | Evolu

Type Alias PositiveInt

PositiveInt: typeof PositiveInt.Type
\ No newline at end of file diff --git a/types/_evolu_react.SqliteBoolean.html b/types/_evolu_react.SqliteBoolean.html new file mode 100644 index 000000000..294cacaf3 --- /dev/null +++ b/types/_evolu_react.SqliteBoolean.html @@ -0,0 +1 @@ +SqliteBoolean | Evolu

Type Alias SqliteBoolean

SqliteBoolean: typeof SqliteBoolean.Type
\ No newline at end of file diff --git a/types/_evolu_react.SqliteDate.html b/types/_evolu_react.SqliteDate.html new file mode 100644 index 000000000..76ed490d9 --- /dev/null +++ b/types/_evolu_react.SqliteDate.html @@ -0,0 +1 @@ +SqliteDate | Evolu

Type Alias SqliteDate

SqliteDate: typeof SqliteDate.Type
\ No newline at end of file diff --git a/types/_evolu_react.String.html b/types/_evolu_react.String.html new file mode 100644 index 000000000..28ab9fb86 --- /dev/null +++ b/types/_evolu_react.String.html @@ -0,0 +1 @@ +String | Evolu

Type Alias String

String: typeof String.Type
\ No newline at end of file diff --git a/types/_evolu_react.String1000.html b/types/_evolu_react.String1000.html new file mode 100644 index 000000000..afcd961e2 --- /dev/null +++ b/types/_evolu_react.String1000.html @@ -0,0 +1 @@ +String1000 | Evolu

Type Alias String1000

String1000: typeof String1000.Type
\ No newline at end of file diff --git a/types/_evolu_react.SyncState.html b/types/_evolu_react.SyncState.html new file mode 100644 index 000000000..7188532ce --- /dev/null +++ b/types/_evolu_react.SyncState.html @@ -0,0 +1,3 @@ +SyncState | Evolu

Type Alias SyncState

The SyncState type represents the various states that a synchronization +process can be in.

+
\ No newline at end of file diff --git a/types/_evolu_react.TimestampError.html b/types/_evolu_react.TimestampError.html new file mode 100644 index 000000000..9c2b9b7c5 --- /dev/null +++ b/types/_evolu_react.TimestampError.html @@ -0,0 +1,4 @@ +TimestampError | Evolu

Type Alias TimestampError

The TimestampError type represents all Timestamp-related errors. If such an +error happens, the device clock is skewed and should be set to the current +time.

+
\ No newline at end of file diff --git a/types/_evolu_react_native.EvoluError.html b/types/_evolu_react_native.EvoluError.html new file mode 100644 index 000000000..b4cc03ca0 --- /dev/null +++ b/types/_evolu_react_native.EvoluError.html @@ -0,0 +1,2 @@ +EvoluError | Evolu

The EvoluError type is used to represent errors that can occur in Evolu.

+
\ No newline at end of file diff --git a/types/_evolu_react_native.ExtractRow.html b/types/_evolu_react_native.ExtractRow.html new file mode 100644 index 000000000..318763b40 --- /dev/null +++ b/types/_evolu_react_native.ExtractRow.html @@ -0,0 +1,5 @@ +ExtractRow | Evolu

Type Alias ExtractRow<T>

ExtractRow<T>: T extends Query<infer R>
    ? R
    : never

Extract Row from Query instance.

+

Type Parameters

Example

const allTodos = evolu.createQuery((db) =>
db.selectFrom("todo").selectAll(),
);
type AllTodosRow = ExtractRow<typeof allTodos>; +
+ +
\ No newline at end of file diff --git a/types/_evolu_react_native.Id.html b/types/_evolu_react_native.Id.html new file mode 100644 index 000000000..33b856b81 --- /dev/null +++ b/types/_evolu_react_native.Id.html @@ -0,0 +1 @@ +Id | Evolu
Id: typeof Id.Type
\ No newline at end of file diff --git a/types/_evolu_react_native.Mnemonic.html b/types/_evolu_react_native.Mnemonic.html new file mode 100644 index 000000000..362284cc2 --- /dev/null +++ b/types/_evolu_react_native.Mnemonic.html @@ -0,0 +1,5 @@ +Mnemonic | Evolu
Mnemonic: string & Brand.Brand<"Mnemonic">

Mnemonic is a password generated by Evolu in BIP39 format.

+

A mnemonic, also known as a "seed phrase," is a set of 12 words in a specific +order chosen from a predefined list. The purpose of the BIP39 mnemonic is to +provide a human-readable way of storing a private key.

+
\ No newline at end of file diff --git a/types/_evolu_react_native.NonEmptyString1000.html b/types/_evolu_react_native.NonEmptyString1000.html new file mode 100644 index 000000000..bac86172a --- /dev/null +++ b/types/_evolu_react_native.NonEmptyString1000.html @@ -0,0 +1 @@ +NonEmptyString1000 | Evolu

Type Alias NonEmptyString1000

NonEmptyString1000: typeof NonEmptyString1000.Type
\ No newline at end of file diff --git a/types/_evolu_react_native.NotNull.html b/types/_evolu_react_native.NotNull.html new file mode 100644 index 000000000..7131cb0ca --- /dev/null +++ b/types/_evolu_react_native.NotNull.html @@ -0,0 +1,6 @@ +NotNull | Evolu
NotNull: {
    __notNull__: unique symbol;
}

A type constant for marking a column as not null. Can be used with $narrowPartial.

+

Example:

+
const person = await db.selectFrom('person')
.where('nullable_column', 'is not', null)
.selectAll()
.$narrowType<{ nullable_column: NotNull }>()
.executeTakeFirstOrThrow() +
+ +

Type declaration

  • Readonly __notNull__: unique symbol
\ No newline at end of file diff --git a/types/_evolu_react_native.OwnerId.html b/types/_evolu_react_native.OwnerId.html new file mode 100644 index 000000000..1a9c4b7ef --- /dev/null +++ b/types/_evolu_react_native.OwnerId.html @@ -0,0 +1,3 @@ +OwnerId | Evolu
OwnerId: Id & Brand.Brand<"Owner">

The unique identifier of Owner safely derived from its +Mnemonic.

+
\ No newline at end of file diff --git a/types/_evolu_react_native.PositiveInt.html b/types/_evolu_react_native.PositiveInt.html new file mode 100644 index 000000000..205765b6d --- /dev/null +++ b/types/_evolu_react_native.PositiveInt.html @@ -0,0 +1 @@ +PositiveInt | Evolu
PositiveInt: typeof PositiveInt.Type
\ No newline at end of file diff --git a/types/_evolu_react_native.SqliteBoolean.html b/types/_evolu_react_native.SqliteBoolean.html new file mode 100644 index 000000000..ea542b0fa --- /dev/null +++ b/types/_evolu_react_native.SqliteBoolean.html @@ -0,0 +1 @@ +SqliteBoolean | Evolu
SqliteBoolean: typeof SqliteBoolean.Type
\ No newline at end of file diff --git a/types/_evolu_react_native.SqliteDate.html b/types/_evolu_react_native.SqliteDate.html new file mode 100644 index 000000000..3e7e2cdb2 --- /dev/null +++ b/types/_evolu_react_native.SqliteDate.html @@ -0,0 +1 @@ +SqliteDate | Evolu
SqliteDate: typeof SqliteDate.Type
\ No newline at end of file diff --git a/types/_evolu_react_native.String.html b/types/_evolu_react_native.String.html new file mode 100644 index 000000000..9c7242ec5 --- /dev/null +++ b/types/_evolu_react_native.String.html @@ -0,0 +1 @@ +String | Evolu
String: typeof String.Type
\ No newline at end of file diff --git a/types/_evolu_react_native.String1000.html b/types/_evolu_react_native.String1000.html new file mode 100644 index 000000000..baff55ad4 --- /dev/null +++ b/types/_evolu_react_native.String1000.html @@ -0,0 +1 @@ +String1000 | Evolu
String1000: typeof String1000.Type
\ No newline at end of file diff --git a/types/_evolu_react_native.SyncState.html b/types/_evolu_react_native.SyncState.html new file mode 100644 index 000000000..2aed6ab1c --- /dev/null +++ b/types/_evolu_react_native.SyncState.html @@ -0,0 +1,3 @@ +SyncState | Evolu

The SyncState type represents the various states that a synchronization +process can be in.

+
\ No newline at end of file diff --git a/types/_evolu_react_native.TimestampError.html b/types/_evolu_react_native.TimestampError.html new file mode 100644 index 000000000..5fe8d3ed7 --- /dev/null +++ b/types/_evolu_react_native.TimestampError.html @@ -0,0 +1,4 @@ +TimestampError | Evolu

The TimestampError type represents all Timestamp-related errors. If such an +error happens, the device clock is skewed and should be set to the current +time.

+
\ No newline at end of file diff --git a/types/_evolu_server.Db.html b/types/_evolu_server.Db.html new file mode 100644 index 000000000..5a1aac133 --- /dev/null +++ b/types/_evolu_server.Db.html @@ -0,0 +1,3 @@ +Db | Evolu
Db: Kysely<Database>

Evolu Server Kysely instance. Use only PostgreSQL or SQLite dialects for now. +https://kysely-org.github.io/kysely-apidoc/classes/InsertQueryBuilder.html#onConflict

+
\ No newline at end of file diff --git a/variables/_evolu_common.AllowedTimeRange.html b/variables/_evolu_common.AllowedTimeRange.html new file mode 100644 index 000000000..3e18a7fbf --- /dev/null +++ b/variables/_evolu_common.AllowedTimeRange.html @@ -0,0 +1 @@ +AllowedTimeRange | Evolu

Variable AllowedTimeRangeConst

AllowedTimeRange: {
    greaterThan: number;
    lessThan: number;
} = ...

Type declaration

  • greaterThan: number
  • lessThan: number
\ No newline at end of file diff --git a/variables/_evolu_common.Callbacks-1.html b/variables/_evolu_common.Callbacks-1.html new file mode 100644 index 000000000..fb95009d5 --- /dev/null +++ b/variables/_evolu_common.Callbacks-1.html @@ -0,0 +1 @@ +Callbacks | Evolu
\ No newline at end of file diff --git a/variables/_evolu_common.Config-1.html b/variables/_evolu_common.Config-1.html new file mode 100644 index 000000000..e15622072 --- /dev/null +++ b/variables/_evolu_common.Config-1.html @@ -0,0 +1 @@ +Config | Evolu
\ No newline at end of file diff --git a/variables/_evolu_common.Counter-1.html b/variables/_evolu_common.Counter-1.html new file mode 100644 index 000000000..e51f9146a --- /dev/null +++ b/variables/_evolu_common.Counter-1.html @@ -0,0 +1 @@ +Counter | Evolu

Variable CounterConst

Counter: brand<filter<Schema<number, number, never>>, "Counter"> = ...
\ No newline at end of file diff --git a/variables/_evolu_common.EncryptedMessage-1.html b/variables/_evolu_common.EncryptedMessage-1.html new file mode 100644 index 000000000..10ef6bd41 --- /dev/null +++ b/variables/_evolu_common.EncryptedMessage-1.html @@ -0,0 +1,2 @@ +EncryptedMessage | Evolu

Variable EncryptedMessage

EncryptedMessage: EncryptedMessage$Type

Generated

MessageType for protobuf message EncryptedMessage

+
\ No newline at end of file diff --git a/variables/_evolu_common.FlushSync-1.html b/variables/_evolu_common.FlushSync-1.html new file mode 100644 index 000000000..0c26614fc --- /dev/null +++ b/variables/_evolu_common.FlushSync-1.html @@ -0,0 +1 @@ +FlushSync | Evolu
\ No newline at end of file diff --git a/variables/_evolu_common.Id-1.html b/variables/_evolu_common.Id-1.html new file mode 100644 index 000000000..bffba8fdf --- /dev/null +++ b/variables/_evolu_common.Id-1.html @@ -0,0 +1,2 @@ +Id | Evolu

Variable IdConst

Id: brand<filter<Schema<string, string, never>>, "Id"> = ...

Branded Id Schema. To create Id Schema for a specific table, use id.

+
\ No newline at end of file diff --git a/variables/_evolu_common.Index-1.html b/variables/_evolu_common.Index-1.html new file mode 100644 index 000000000..d85c676e1 --- /dev/null +++ b/variables/_evolu_common.Index-1.html @@ -0,0 +1 @@ +Index | Evolu

Variable IndexConst

Index: Struct<{
    name: typeof String$;
    sql: typeof String$;
}> = ...

Type declaration

  • name: typeof String$
  • sql: typeof String$
\ No newline at end of file diff --git a/variables/_evolu_common.MessageContent-1.html b/variables/_evolu_common.MessageContent-1.html new file mode 100644 index 000000000..003dafd5f --- /dev/null +++ b/variables/_evolu_common.MessageContent-1.html @@ -0,0 +1,2 @@ +MessageContent | Evolu

Variable MessageContent

MessageContent: MessageContent$Type

Generated

MessageType for protobuf message MessageContent

+
\ No newline at end of file diff --git a/variables/_evolu_common.Millis-1.html b/variables/_evolu_common.Millis-1.html new file mode 100644 index 000000000..24082e306 --- /dev/null +++ b/variables/_evolu_common.Millis-1.html @@ -0,0 +1,6 @@ +Millis | Evolu

Variable MillisConst

Millis: brand<filter<Schema<number, number, never>>, "Millis"> = ...

Millis represents a time that is valid for usage with the Merkle tree. It +must be between Apr 13, 1997, and Nov 05, 2051, to ensure MinutesBase3 length +equals 16. We can find diff for two Merkle trees only within this range. If +the device clock is out of range, Evolu will not store data until it's +fixed.

+
\ No newline at end of file diff --git a/variables/_evolu_common.NodeId-1.html b/variables/_evolu_common.NodeId-1.html new file mode 100644 index 000000000..ff519509f --- /dev/null +++ b/variables/_evolu_common.NodeId-1.html @@ -0,0 +1 @@ +NodeId | Evolu

Variable NodeIdConst

NodeId: brand<filter<Schema<string, string, never>>, "NodeId"> = ...
\ No newline at end of file diff --git a/variables/_evolu_common.NonEmptyString1000-1.html b/variables/_evolu_common.NonEmptyString1000-1.html new file mode 100644 index 000000000..d8246d201 --- /dev/null +++ b/variables/_evolu_common.NonEmptyString1000-1.html @@ -0,0 +1,5 @@ +NonEmptyString1000 | Evolu

Variable NonEmptyString1000Const

NonEmptyString1000: brand<filter<Schema<string & Brand<"String">, string, never>>, "NonEmptyString1000"> = ...

A nonempty string with a maximum length of 1000 characters.

+

Example

import * as S from "@effect/schema/Schema";
import { NonEmptyString1000 } from "@evolu/react";

S.decode(NonEmptyString1000)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_common.Owner-1.html b/variables/_evolu_common.Owner-1.html new file mode 100644 index 000000000..c33bb42b3 --- /dev/null +++ b/variables/_evolu_common.Owner-1.html @@ -0,0 +1 @@ +Owner | Evolu
\ No newline at end of file diff --git a/variables/_evolu_common.PositiveInt-1.html b/variables/_evolu_common.PositiveInt-1.html new file mode 100644 index 000000000..2c8ebe4ba --- /dev/null +++ b/variables/_evolu_common.PositiveInt-1.html @@ -0,0 +1,5 @@ +PositiveInt | Evolu

Variable PositiveIntConst

PositiveInt: brand<filter<Schema<number, number, never>>, "PositiveInt"> = ...

A positive integer.

+

Example

import * as S from "@effect/schema/Schema";
import { PositiveInt } from "@evolu/react";

S.decode(PositiveInt)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_common.Sqlite-1.html b/variables/_evolu_common.Sqlite-1.html new file mode 100644 index 000000000..c8c18d8b3 --- /dev/null +++ b/variables/_evolu_common.Sqlite-1.html @@ -0,0 +1 @@ +Sqlite | Evolu
\ No newline at end of file diff --git a/variables/_evolu_common.SqliteBoolean-1.html b/variables/_evolu_common.SqliteBoolean-1.html new file mode 100644 index 000000000..bc52cb1df --- /dev/null +++ b/variables/_evolu_common.SqliteBoolean-1.html @@ -0,0 +1,4 @@ +SqliteBoolean | Evolu

Variable SqliteBooleanConst

SqliteBoolean: brand<filter<filter<Schema<number, number, never>>>, "SqliteBoolean"> = ...

SQLite doesn't support the boolean type, so Evolu uses SqliteBoolean instead. +Use the cast helper to cast SqliteBoolean from boolean and back. +https://www.sqlite.org/quirks.html#no_separate_boolean_datatype

+
\ No newline at end of file diff --git a/variables/_evolu_common.SqliteDate-1.html b/variables/_evolu_common.SqliteDate-1.html new file mode 100644 index 000000000..a6bb1efe3 --- /dev/null +++ b/variables/_evolu_common.SqliteDate-1.html @@ -0,0 +1,4 @@ +SqliteDate | Evolu

Variable SqliteDateConst

SqliteDate: brand<filter<typeof String$>, "SqliteDate"> = ...

SQLite doesn't support the Date type, so Evolu uses SqliteDate instead. Use +the cast helper to cast SqliteDate from Date and back. +https://www.sqlite.org/quirks.html#no_separate_datetime_datatype

+
\ No newline at end of file diff --git a/variables/_evolu_common.String-1.html b/variables/_evolu_common.String-1.html new file mode 100644 index 000000000..03055059e --- /dev/null +++ b/variables/_evolu_common.String-1.html @@ -0,0 +1,5 @@ +String | Evolu

Variable StringConst

String: brand<filter<typeof String$>, "String"> = ...

String schema represents a string that is not stringified JSON. Using String +schema for strings stored in SQLite is crucial to ensure a stored string is +not automatically parsed to a JSON object or array when retrieved. Use String +schema for all string-based schemas.

+
\ No newline at end of file diff --git a/variables/_evolu_common.String1000-1.html b/variables/_evolu_common.String1000-1.html new file mode 100644 index 000000000..00031303a --- /dev/null +++ b/variables/_evolu_common.String1000-1.html @@ -0,0 +1,5 @@ +String1000 | Evolu

Variable String1000Const

String1000: brand<filter<Schema<string & Brand<"String">, string, never>>, "String1000"> = ...

A string with a maximum length of 1000 characters.

+

Example

import * as S from "@effect/schema/Schema";
import { String1000 } from "@evolu/react";

S.decode(String1000)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_common.Sync-1.html b/variables/_evolu_common.Sync-1.html new file mode 100644 index 000000000..700c745fc --- /dev/null +++ b/variables/_evolu_common.Sync-1.html @@ -0,0 +1 @@ +Sync | Evolu
\ No newline at end of file diff --git a/variables/_evolu_common.SyncRequest-1.html b/variables/_evolu_common.SyncRequest-1.html new file mode 100644 index 000000000..a988b8745 --- /dev/null +++ b/variables/_evolu_common.SyncRequest-1.html @@ -0,0 +1,2 @@ +SyncRequest | Evolu

Variable SyncRequest

SyncRequest: SyncRequest$Type

Generated

MessageType for protobuf message SyncRequest

+
\ No newline at end of file diff --git a/variables/_evolu_common.SyncResponse-1.html b/variables/_evolu_common.SyncResponse-1.html new file mode 100644 index 000000000..b7b1e21e1 --- /dev/null +++ b/variables/_evolu_common.SyncResponse-1.html @@ -0,0 +1,2 @@ +SyncResponse | Evolu

Variable SyncResponse

SyncResponse: SyncResponse$Type

Generated

MessageType for protobuf message SyncResponse

+
\ No newline at end of file diff --git a/variables/_evolu_common.createDb.html b/variables/_evolu_common.createDb.html new file mode 100644 index 000000000..a58329822 --- /dev/null +++ b/variables/_evolu_common.createDb.html @@ -0,0 +1 @@ +createDb | Evolu

Variable createDbConst

createDb: Effect.Effect<Db, never, SqliteFactory | Bip39 | NanoIdGenerator | Time | SyncFactory | SyncLock> = ...
\ No newline at end of file diff --git a/variables/_evolu_common.createSync.html b/variables/_evolu_common.createSync.html new file mode 100644 index 000000000..eb718801a --- /dev/null +++ b/variables/_evolu_common.createSync.html @@ -0,0 +1 @@ +createSync | Evolu

Variable createSyncConst

createSync: Effect<Sync, never, SecretBox> = ...
\ No newline at end of file diff --git a/variables/_evolu_common.defaultConfig.html b/variables/_evolu_common.defaultConfig.html new file mode 100644 index 000000000..349b31556 --- /dev/null +++ b/variables/_evolu_common.defaultConfig.html @@ -0,0 +1 @@ +defaultConfig | Evolu

Variable defaultConfigConst

defaultConfig: Config = ...
\ No newline at end of file diff --git a/variables/_evolu_common.initialMerkleTree.html b/variables/_evolu_common.initialMerkleTree.html new file mode 100644 index 000000000..79b2635ee --- /dev/null +++ b/variables/_evolu_common.initialMerkleTree.html @@ -0,0 +1 @@ +initialMerkleTree | Evolu

Variable initialMerkleTreeConst

initialMerkleTree: MerkleTree = ...
\ No newline at end of file diff --git a/variables/_evolu_common.initialMillis.html b/variables/_evolu_common.initialMillis.html new file mode 100644 index 000000000..731fe400e --- /dev/null +++ b/variables/_evolu_common.initialMillis.html @@ -0,0 +1 @@ +initialMillis | Evolu

Variable initialMillisConst

initialMillis: number & Brand<"Millis"> = ...
\ No newline at end of file diff --git a/variables/_evolu_common.initialSyncState.html b/variables/_evolu_common.initialSyncState.html new file mode 100644 index 000000000..7d2d8b315 --- /dev/null +++ b/variables/_evolu_common.initialSyncState.html @@ -0,0 +1 @@ +initialSyncState | Evolu

Variable initialSyncStateConst

initialSyncState: SyncStateInitial = ...
\ No newline at end of file diff --git a/variables/_evolu_common.makeInitialTimestamp.html b/variables/_evolu_common.makeInitialTimestamp.html new file mode 100644 index 000000000..a390f9caa --- /dev/null +++ b/variables/_evolu_common.makeInitialTimestamp.html @@ -0,0 +1 @@ +makeInitialTimestamp | Evolu

Variable makeInitialTimestampConst

makeInitialTimestamp: Effect<Timestamp, never, NanoIdGenerator> = ...
\ No newline at end of file diff --git a/variables/_evolu_common.notSupportedPlatformWorker.html b/variables/_evolu_common.notSupportedPlatformWorker.html new file mode 100644 index 000000000..199764c37 --- /dev/null +++ b/variables/_evolu_common.notSupportedPlatformWorker.html @@ -0,0 +1 @@ +notSupportedPlatformWorker | Evolu

Variable notSupportedPlatformWorkerConst

notSupportedPlatformWorker: Db = ...
\ No newline at end of file diff --git a/variables/_evolu_common_react.EvoluContext.html b/variables/_evolu_common_react.EvoluContext.html new file mode 100644 index 000000000..fd4342452 --- /dev/null +++ b/variables/_evolu_common_react.EvoluContext.html @@ -0,0 +1 @@ +EvoluContext | Evolu

Variable EvoluContextConst

EvoluContext: Context<null | Evolu<EvoluSchema>> = ...
\ No newline at end of file diff --git a/variables/_evolu_common_web.EvoluFactoryWeb.html b/variables/_evolu_common_web.EvoluFactoryWeb.html new file mode 100644 index 000000000..21f7ba576 --- /dev/null +++ b/variables/_evolu_common_web.EvoluFactoryWeb.html @@ -0,0 +1 @@ +EvoluFactoryWeb | Evolu

Variable EvoluFactoryWebConst

EvoluFactoryWeb: Layer<EvoluFactory, never, never> = ...
\ No newline at end of file diff --git a/variables/_evolu_react.EvoluContext.html b/variables/_evolu_react.EvoluContext.html new file mode 100644 index 000000000..35e5c7b23 --- /dev/null +++ b/variables/_evolu_react.EvoluContext.html @@ -0,0 +1 @@ +EvoluContext | Evolu

Variable EvoluContextConst

EvoluContext: Context
\ No newline at end of file diff --git a/variables/_evolu_react.Id-1.html b/variables/_evolu_react.Id-1.html new file mode 100644 index 000000000..52aefd745 --- /dev/null +++ b/variables/_evolu_react.Id-1.html @@ -0,0 +1,2 @@ +Id | Evolu

Variable IdConst

Id: S.brand<S.filter<S.Schema<string, string, never>>, "Id">

Branded Id Schema. To create Id Schema for a specific table, use id.

+
\ No newline at end of file diff --git a/variables/_evolu_react.NonEmptyString1000-1.html b/variables/_evolu_react.NonEmptyString1000-1.html new file mode 100644 index 000000000..2dafa091b --- /dev/null +++ b/variables/_evolu_react.NonEmptyString1000-1.html @@ -0,0 +1,5 @@ +NonEmptyString1000 | Evolu

Variable NonEmptyString1000Const

NonEmptyString1000: S.brand<S.filter<S.Schema<string & Brand, string, never>>, "NonEmptyString1000">

A nonempty string with a maximum length of 1000 characters.

+

Example

import * as S from "@effect/schema/Schema";
import { NonEmptyString1000 } from "@evolu/react";

S.decode(NonEmptyString1000)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_react.Owner-1.html b/variables/_evolu_react.Owner-1.html new file mode 100644 index 000000000..52c4a36c1 --- /dev/null +++ b/variables/_evolu_react.Owner-1.html @@ -0,0 +1 @@ +Owner | Evolu
Owner: Tag<Owner, Owner>
\ No newline at end of file diff --git a/variables/_evolu_react.PositiveInt-1.html b/variables/_evolu_react.PositiveInt-1.html new file mode 100644 index 000000000..4d1e96633 --- /dev/null +++ b/variables/_evolu_react.PositiveInt-1.html @@ -0,0 +1,5 @@ +PositiveInt | Evolu

Variable PositiveIntConst

PositiveInt: S.brand<S.filter<S.Schema<number, number, never>>, "PositiveInt">

A positive integer.

+

Example

import * as S from "@effect/schema/Schema";
import { PositiveInt } from "@evolu/react";

S.decode(PositiveInt)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_react.SqliteBoolean-1.html b/variables/_evolu_react.SqliteBoolean-1.html new file mode 100644 index 000000000..3f8c1bfdf --- /dev/null +++ b/variables/_evolu_react.SqliteBoolean-1.html @@ -0,0 +1,4 @@ +SqliteBoolean | Evolu

Variable SqliteBooleanConst

SqliteBoolean: S.brand<S.filter<S.filter<S.Schema<number, number, never>>>, "SqliteBoolean">

SQLite doesn't support the boolean type, so Evolu uses SqliteBoolean instead. +Use the cast helper to cast SqliteBoolean from boolean and back. +https://www.sqlite.org/quirks.html#no_separate_boolean_datatype

+
\ No newline at end of file diff --git a/variables/_evolu_react.SqliteDate-1.html b/variables/_evolu_react.SqliteDate-1.html new file mode 100644 index 000000000..31b09f54f --- /dev/null +++ b/variables/_evolu_react.SqliteDate-1.html @@ -0,0 +1,4 @@ +SqliteDate | Evolu

Variable SqliteDateConst

SqliteDate: S.brand<S.filter<typeof S.String>, "SqliteDate">

SQLite doesn't support the Date type, so Evolu uses SqliteDate instead. Use +the cast helper to cast SqliteDate from Date and back. +https://www.sqlite.org/quirks.html#no_separate_datetime_datatype

+
\ No newline at end of file diff --git a/variables/_evolu_react.String-1.html b/variables/_evolu_react.String-1.html new file mode 100644 index 000000000..37c9ed588 --- /dev/null +++ b/variables/_evolu_react.String-1.html @@ -0,0 +1,5 @@ +String | Evolu

Variable StringConst

String: S.brand<S.filter<typeof S.String>, "String">

String schema represents a string that is not stringified JSON. Using String +schema for strings stored in SQLite is crucial to ensure a stored string is +not automatically parsed to a JSON object or array when retrieved. Use String +schema for all string-based schemas.

+
\ No newline at end of file diff --git a/variables/_evolu_react.String1000-1.html b/variables/_evolu_react.String1000-1.html new file mode 100644 index 000000000..f4a0ca3ae --- /dev/null +++ b/variables/_evolu_react.String1000-1.html @@ -0,0 +1,5 @@ +String1000 | Evolu

Variable String1000Const

String1000: S.brand<S.filter<S.Schema<string & Brand, string, never>>, "String1000">

A string with a maximum length of 1000 characters.

+

Example

import * as S from "@effect/schema/Schema";
import { String1000 } from "@evolu/react";

S.decode(String1000)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_react.use.html b/variables/_evolu_react.use.html new file mode 100644 index 000000000..b48998fb1 --- /dev/null +++ b/variables/_evolu_react.use.html @@ -0,0 +1,4 @@ +use | Evolu

Variable useConst

use: typeof ReactExports.use
\ No newline at end of file diff --git a/variables/_evolu_react_native.EvoluContext.html b/variables/_evolu_react_native.EvoluContext.html new file mode 100644 index 000000000..e847d3734 --- /dev/null +++ b/variables/_evolu_react_native.EvoluContext.html @@ -0,0 +1 @@ +EvoluContext | Evolu

Variable EvoluContextConst

EvoluContext: Context
\ No newline at end of file diff --git a/variables/_evolu_react_native.EvoluFactoryReactNative.html b/variables/_evolu_react_native.EvoluFactoryReactNative.html new file mode 100644 index 000000000..a90f610ad --- /dev/null +++ b/variables/_evolu_react_native.EvoluFactoryReactNative.html @@ -0,0 +1 @@ +EvoluFactoryReactNative | Evolu

Variable EvoluFactoryReactNativeConst

EvoluFactoryReactNative: Layer<EvoluFactory, never, never> = ...
\ No newline at end of file diff --git a/variables/_evolu_react_native.Id-1.html b/variables/_evolu_react_native.Id-1.html new file mode 100644 index 000000000..ef3cd00a7 --- /dev/null +++ b/variables/_evolu_react_native.Id-1.html @@ -0,0 +1,2 @@ +Id | Evolu
Id: S.brand<S.filter<S.Schema<string, string, never>>, "Id">

Branded Id Schema. To create Id Schema for a specific table, use id.

+
\ No newline at end of file diff --git a/variables/_evolu_react_native.NonEmptyString1000-1.html b/variables/_evolu_react_native.NonEmptyString1000-1.html new file mode 100644 index 000000000..d391bdf1b --- /dev/null +++ b/variables/_evolu_react_native.NonEmptyString1000-1.html @@ -0,0 +1,5 @@ +NonEmptyString1000 | Evolu

Variable NonEmptyString1000Const

NonEmptyString1000: S.brand<S.filter<S.Schema<string & Brand, string, never>>, "NonEmptyString1000">

A nonempty string with a maximum length of 1000 characters.

+

Example

import * as S from "@effect/schema/Schema";
import { NonEmptyString1000 } from "@evolu/react";

S.decode(NonEmptyString1000)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_react_native.Owner-1.html b/variables/_evolu_react_native.Owner-1.html new file mode 100644 index 000000000..6b66bfa06 --- /dev/null +++ b/variables/_evolu_react_native.Owner-1.html @@ -0,0 +1 @@ +Owner | Evolu
Owner: Tag<Owner, Owner>
\ No newline at end of file diff --git a/variables/_evolu_react_native.PositiveInt-1.html b/variables/_evolu_react_native.PositiveInt-1.html new file mode 100644 index 000000000..c96c2c2b2 --- /dev/null +++ b/variables/_evolu_react_native.PositiveInt-1.html @@ -0,0 +1,5 @@ +PositiveInt | Evolu

Variable PositiveIntConst

PositiveInt: S.brand<S.filter<S.Schema<number, number, never>>, "PositiveInt">

A positive integer.

+

Example

import * as S from "@effect/schema/Schema";
import { PositiveInt } from "@evolu/react";

S.decode(PositiveInt)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_react_native.SqliteBoolean-1.html b/variables/_evolu_react_native.SqliteBoolean-1.html new file mode 100644 index 000000000..ede8e592a --- /dev/null +++ b/variables/_evolu_react_native.SqliteBoolean-1.html @@ -0,0 +1,4 @@ +SqliteBoolean | Evolu

Variable SqliteBooleanConst

SqliteBoolean: S.brand<S.filter<S.filter<S.Schema<number, number, never>>>, "SqliteBoolean">

SQLite doesn't support the boolean type, so Evolu uses SqliteBoolean instead. +Use the cast helper to cast SqliteBoolean from boolean and back. +https://www.sqlite.org/quirks.html#no_separate_boolean_datatype

+
\ No newline at end of file diff --git a/variables/_evolu_react_native.SqliteDate-1.html b/variables/_evolu_react_native.SqliteDate-1.html new file mode 100644 index 000000000..fb629bad4 --- /dev/null +++ b/variables/_evolu_react_native.SqliteDate-1.html @@ -0,0 +1,4 @@ +SqliteDate | Evolu

Variable SqliteDateConst

SqliteDate: S.brand<S.filter<typeof S.String>, "SqliteDate">

SQLite doesn't support the Date type, so Evolu uses SqliteDate instead. Use +the cast helper to cast SqliteDate from Date and back. +https://www.sqlite.org/quirks.html#no_separate_datetime_datatype

+
\ No newline at end of file diff --git a/variables/_evolu_react_native.String-1.html b/variables/_evolu_react_native.String-1.html new file mode 100644 index 000000000..297e1f441 --- /dev/null +++ b/variables/_evolu_react_native.String-1.html @@ -0,0 +1,5 @@ +String | Evolu

Variable StringConst

String: S.brand<S.filter<typeof S.String>, "String">

String schema represents a string that is not stringified JSON. Using String +schema for strings stored in SQLite is crucial to ensure a stored string is +not automatically parsed to a JSON object or array when retrieved. Use String +schema for all string-based schemas.

+
\ No newline at end of file diff --git a/variables/_evolu_react_native.String1000-1.html b/variables/_evolu_react_native.String1000-1.html new file mode 100644 index 000000000..e41fe0fc7 --- /dev/null +++ b/variables/_evolu_react_native.String1000-1.html @@ -0,0 +1,5 @@ +String1000 | Evolu

Variable String1000Const

String1000: S.brand<S.filter<S.Schema<string & Brand, string, never>>, "String1000">

A string with a maximum length of 1000 characters.

+

Example

import * as S from "@effect/schema/Schema";
import { String1000 } from "@evolu/react";

S.decode(String1000)(value); +
+ +
\ No newline at end of file diff --git a/variables/_evolu_react_native.use.html b/variables/_evolu_react_native.use.html new file mode 100644 index 000000000..fe10e2524 --- /dev/null +++ b/variables/_evolu_react_native.use.html @@ -0,0 +1,4 @@ +use | Evolu

Variable useConst

use: typeof ReactExports.use
\ No newline at end of file diff --git a/variables/_evolu_server.Db-1.html b/variables/_evolu_server.Db-1.html new file mode 100644 index 000000000..9eb352db9 --- /dev/null +++ b/variables/_evolu_server.Db-1.html @@ -0,0 +1 @@ +Db | Evolu
Db: Tag<Db, Db>
\ No newline at end of file diff --git a/variables/_evolu_server.Server-1.html b/variables/_evolu_server.Server-1.html new file mode 100644 index 000000000..a45e24075 --- /dev/null +++ b/variables/_evolu_server.Server-1.html @@ -0,0 +1 @@ +Server | Evolu
Server: Tag<Server, Server>
\ No newline at end of file diff --git a/variables/_evolu_server.ServerLive.html b/variables/_evolu_server.ServerLive.html new file mode 100644 index 000000000..f7881d2c7 --- /dev/null +++ b/variables/_evolu_server.ServerLive.html @@ -0,0 +1 @@ +ServerLive | Evolu

Variable ServerLiveConst

ServerLive: Layer<Server, never, Db> = ...
\ No newline at end of file diff --git a/variables/_evolu_server.createExpressApp.html b/variables/_evolu_server.createExpressApp.html new file mode 100644 index 000000000..4c3b2bdcd --- /dev/null +++ b/variables/_evolu_server.createExpressApp.html @@ -0,0 +1 @@ +createExpressApp | Evolu

Variable createExpressAppConst

createExpressApp: Effect<Express, never, never> = ...
\ No newline at end of file