mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-23 10:24:25 -05:00
Update rspc to 0.0.6
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
"build": "tauri build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rspc/client": "^0.0.5",
|
||||
"@rspc/client": "^0.0.6",
|
||||
"@rspc/tauri": "^0.0.6",
|
||||
"@sd/client": "workspace:*",
|
||||
"@sd/core": "workspace:*",
|
||||
"@sd/interface": "workspace:*",
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
// import Spacedrive JS client
|
||||
import { TauriTransport, createClient } from '@rspc/client';
|
||||
import { createClient } from '@rspc/client';
|
||||
import { TauriTransport } from '@rspc/tauri';
|
||||
import { Operations, queryClient, rspc } from '@sd/client';
|
||||
import SpacedriveInterface, { Platform } from '@sd/interface';
|
||||
import { dialog, invoke, os, shell } from '@tauri-apps/api';
|
||||
import { Event, listen } from '@tauri-apps/api/event';
|
||||
import { listen } from '@tauri-apps/api/event';
|
||||
import { convertFileSrc } from '@tauri-apps/api/tauri';
|
||||
import { appWindow } from '@tauri-apps/api/window';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
"@react-navigation/drawer": "^6.4.4",
|
||||
"@react-navigation/native": "^6.0.12",
|
||||
"@react-navigation/stack": "^6.2.3",
|
||||
"@rspc/client": "^0.0.5",
|
||||
"@rspc/client": "^0.0.6",
|
||||
"@rspc/react": "^0.0.6",
|
||||
"@sd/assets": "file:../../packages/assets",
|
||||
"@tanstack/react-query": "^4.2.3",
|
||||
"byte-size": "^8.1.0",
|
||||
|
||||
BIN
apps/mobile/pnpm-lock.yaml
generated
BIN
apps/mobile/pnpm-lock.yaml
generated
Binary file not shown.
@@ -1,11 +1,5 @@
|
||||
import {
|
||||
ClientTransformer,
|
||||
OperationKey,
|
||||
OperationType,
|
||||
RSPCError,
|
||||
Transport,
|
||||
createReactQueryHooks
|
||||
} from '@rspc/client';
|
||||
import { ClientTransformer, OperationKey, OperationType, RSPCError, Transport } from '@rspc/client';
|
||||
import { createReactQueryHooks } from '@rspc/react';
|
||||
import {
|
||||
QueryClient,
|
||||
UseMutationOptions,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/inter": "^4.5.11",
|
||||
"@rspc/client": "^0.0.5",
|
||||
"@rspc/client": "^0.0.6",
|
||||
"@sd/client": "workspace:*",
|
||||
"@sd/core": "workspace:*",
|
||||
"@sd/interface": "workspace:*",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { WebsocketTransport, createClient } from '@rspc/client';
|
||||
import { Operations, queryClient, rspc } from '@sd/client';
|
||||
import SpacedriveInterface from '@sd/interface';
|
||||
import React, { useEffect } from 'react';
|
||||
import { useEffect } from 'react';
|
||||
|
||||
const client = createClient<Operations>({
|
||||
transport: new WebsocketTransport(
|
||||
|
||||
@@ -17,9 +17,10 @@
|
||||
"preset": "scripts/jest/node"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rspc/client": "^0.0.5",
|
||||
"@sd/core": "workspace:*",
|
||||
"@rspc/client": "^0.0.6",
|
||||
"@rspc/react": "^0.0.6",
|
||||
"@sd/config": "workspace:*",
|
||||
"@sd/core": "workspace:*",
|
||||
"@sd/interface": "workspace:*",
|
||||
"@tanstack/react-query": "^4.0.10",
|
||||
"eventemitter3": "^4.0.7",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { RSPCError, createReactQueryHooks } from '@rspc/client';
|
||||
import { RSPCError } from '@rspc/client';
|
||||
import { createReactQueryHooks } from '@rspc/react';
|
||||
import { LibraryArgs, Operations } from '@sd/core';
|
||||
import {
|
||||
QueryClient,
|
||||
|
||||
BIN
pnpm-lock.yaml
generated
BIN
pnpm-lock.yaml
generated
Binary file not shown.
Reference in New Issue
Block a user