@spooky-sync/client-react 1.0.0-beta.4 → 1.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { RecordId, RecordId as RecordId$1, Surreal, Uuid } from "surrealdb";
|
|
4
4
|
import { AppReleaseOptions, AuthService, BucketHandle, BucketPutOptions, BucketPutResult, ChannelOp, ChannelQuery, ChannelState, ChannelStatus, ChannelStatus as ChannelStatus$1, ChannelsConfig, ConnectionState, ConnectionState as ConnectionState$1, CrdtField, FeatureFlagOptions, ImpersonationInfo, PreloadOptions, PreloadOptions as PreloadOptions$1, PreloadRefresh, PushDeviceKind, PushNotification, PushPayload, ReconnectConfig, RunOptions, Sp00kyChannel, Sp00kyChannel as Sp00kyChannel$1, Sp00kyClient, Sp00kyConfig, Sp00kyQueryResultPromise, StorageHealth, StorageHealth as StorageHealth$1, StorageHealthStatus, StorageHealthStatus as StorageHealthStatus$1, SyncHealth, SyncHealth as SyncHealth$1, SyncHealthConfig, SyncHealthStatus, SyncHealthStatus as SyncHealthStatus$1, UpdateOptions, WebPushClientMessage, WebPushConfig, WebPushDevice, WebPushError, WebPushErrorCode, WebPushInfo, WebPushMessage, WebPushMessageInput, WebPushModule, WebPushModule as WebPushModule$1, WebPushSubscribeOptions, WebPushSupport, WebPushSyncOptions, WebPushSyncStatus, WebPushUnsubscribeOptions, WebPushUnsupportedReason, WebPushUpdateOptions } from "@spooky-sync/core";
|
|
5
5
|
import { CSSProperties, ReactNode, useLayoutEffect } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
7
7
|
import { BackendNames, BackendRoutes, BucketDefinitionSchema, BucketNames, ChannelPeer, ChannelTableNames, ColumnSchema, FinalQuery, GenericModel, GenericSchema, GenericSchema as GenericSchema$1, GetCardinality, GetRelationship, GetTable, GetTable as GetTable$1, InferRelatedModelFromMetadata, InnerQuery, QueryBuilder, QueryInfo, QueryModifier, QueryModifierBuilder, QueryResult, QueryResult as QueryResult$1, RelatedFieldMapEntry, RelatedFieldsMap, RelationshipDefinition, RelationshipFieldsFromSchema, RelationshipsMetadata, RoutePayload, SchemaStructure, TableModel, TableModel as TableModel$1, TableNames, TableNames as TableNames$1 } from "@spooky-sync/query-builder";
|
|
8
8
|
|
|
9
9
|
//#region src/types.d.ts
|
|
@@ -178,7 +178,7 @@ interface Sp00kyProviderProps<S extends SchemaStructure> {
|
|
|
178
178
|
* The client is created in an effect, never during render, so a server render
|
|
179
179
|
* only produces the fallback and StrictMode's double render creates nothing.
|
|
180
180
|
*/
|
|
181
|
-
declare function Sp00kyProvider<S extends SchemaStructure>(props: Sp00kyProviderProps<S>):
|
|
181
|
+
declare function Sp00kyProvider<S extends SchemaStructure>(props: Sp00kyProviderProps<S>): react_jsx_runtime1.JSX.Element;
|
|
182
182
|
//# sourceMappingURL=provider.d.ts.map
|
|
183
183
|
|
|
184
184
|
//#endregion
|
|
@@ -567,7 +567,7 @@ declare function Blurhash({
|
|
|
567
567
|
punch,
|
|
568
568
|
className,
|
|
569
569
|
style
|
|
570
|
-
}: BlurhashProps):
|
|
570
|
+
}: BlurhashProps): react_jsx_runtime1.JSX.Element;
|
|
571
571
|
interface BucketImageProps {
|
|
572
572
|
/** Bucket name from the schema. */
|
|
573
573
|
bucket: string;
|
|
@@ -599,7 +599,7 @@ interface BucketImageProps {
|
|
|
599
599
|
* once the fade settles. Respects prefers-reduced-motion. The container is
|
|
600
600
|
* made `position: relative` unless your class positions it already.
|
|
601
601
|
*/
|
|
602
|
-
declare function BucketImage(props: BucketImageProps):
|
|
602
|
+
declare function BucketImage(props: BucketImageProps): react_jsx_runtime1.JSX.Element;
|
|
603
603
|
//# sourceMappingURL=files.d.ts.map
|
|
604
604
|
//#endregion
|
|
605
605
|
//#region src/index.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spooky-sync/client-react",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "React bindings for the sp00ky local-first sync client",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
"packageManager": "pnpm@9.0.0",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@spooky-sync/core": "1.0.0-beta.
|
|
55
|
-
"@spooky-sync/query-builder": "1.0.0-beta.
|
|
54
|
+
"@spooky-sync/core": "1.0.0-beta.6",
|
|
55
|
+
"@spooky-sync/query-builder": "1.0.0-beta.6",
|
|
56
56
|
"@surrealdb/wasm": "^3.1.0",
|
|
57
57
|
"surrealdb": "2.1.0"
|
|
58
58
|
},
|