@edifice.io/react 2.5.12-develop-enabling.20260224121421 → 2.5.12-develop-enabling.20260227103812
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/hooks/useConf/useConf.d.ts +1 -1
- package/dist/hooks/useSession/useSession.d.ts +1 -1
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +1 -1
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
- package/dist/utilities/react-query/react-query-utils.d.ts +1 -1
- package/package.json +7 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { App, IGetConf } from '@edifice.io/client';
|
|
2
2
|
export default function useConf({ appCode }: {
|
|
3
3
|
appCode: App;
|
|
4
|
-
}): import('
|
|
4
|
+
}): import('@tanstack/react-query').UseQueryResult<IGetConf, Error>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IGetSession } from '@edifice.io/client';
|
|
2
|
-
export default function useSession(): import('
|
|
2
|
+
export default function useSession(): import('@tanstack/react-query').UseQueryResult<IGetSession, Error>;
|
|
@@ -5,7 +5,7 @@ export interface CreateFolderParams {
|
|
|
5
5
|
}
|
|
6
6
|
declare function useWorkspaceFolders(): {
|
|
7
7
|
folders: WorkspaceElement[];
|
|
8
|
-
createFolderMutation: import('
|
|
8
|
+
createFolderMutation: import('@tanstack/react-query').UseMutationResult<any, Error, CreateFolderParams, unknown>;
|
|
9
9
|
canCopyFileIntoFolder: (folderId: string) => boolean;
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { CreateParameters, CreateResult, ID, IFolder, UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
3
|
-
import { UseMutationResult } from '
|
|
3
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
4
4
|
export interface FormInputs {
|
|
5
5
|
title: string;
|
|
6
6
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationOptions, UseMutationResult } from '
|
|
2
|
+
import { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
declare const useUpdateMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<UpdateResult, Error, UpdateParameters>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, PutShareResponse, RightStringified, ShareRight, ShareRightAction, ShareRightActionDisplayName, ShareUrls } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationResult } from '
|
|
2
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration options for sharing a resource
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationResult } from '
|
|
2
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
export type PublicationType = 'RESTRAINT' | 'IMMEDIATE' | undefined;
|
|
4
4
|
export interface ShareBlogProps {
|
|
5
5
|
resourceId: ID;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PutShareResponse, ShareRight } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationOptions, UseMutationResult } from '
|
|
2
|
+
import { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
declare const useShareMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<PutShareResponse, Error, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { App, IGetConf, IGetSession, IUserDescription, IUserInfo, IWebApp, UserProfile } from '@edifice.io/client';
|
|
3
|
-
import { UseQueryResult } from '
|
|
3
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
4
4
|
export interface EdificeClientParams {
|
|
5
5
|
alternativeApp?: boolean;
|
|
6
6
|
app: App;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InvalidateQueryFilters, QueryClient } from '
|
|
1
|
+
import { InvalidateQueryFilters, QueryClient } from '@tanstack/react-query';
|
|
2
2
|
/**
|
|
3
3
|
* Invalidates queries and resets infinite query data to only contain the first page.
|
|
4
4
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.5.12-develop-enabling.
|
|
3
|
+
"version": "2.5.12-develop-enabling.20260227103812",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -135,9 +135,9 @@
|
|
|
135
135
|
"react-slugify": "3.0.3",
|
|
136
136
|
"swiper": "10.1.0",
|
|
137
137
|
"ua-parser-js": "1.0.36",
|
|
138
|
-
"@edifice.io/bootstrap": "2.5.12-develop-enabling.
|
|
139
|
-
"@edifice.io/tiptap-extensions": "2.5.12-develop-enabling.
|
|
140
|
-
"@edifice.io/utilities": "2.5.12-develop-enabling.
|
|
138
|
+
"@edifice.io/bootstrap": "2.5.12-develop-enabling.20260227103812",
|
|
139
|
+
"@edifice.io/tiptap-extensions": "2.5.12-develop-enabling.20260227103812",
|
|
140
|
+
"@edifice.io/utilities": "2.5.12-develop-enabling.20260227103812"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
143
|
"@babel/plugin-transform-react-pure-annotations": "7.27.1",
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
"vite": "5.4.14",
|
|
169
169
|
"vite-plugin-dts": "4.5.4",
|
|
170
170
|
"vite-tsconfig-paths": "5.1.4",
|
|
171
|
-
"@edifice.io/
|
|
172
|
-
"@edifice.io/
|
|
171
|
+
"@edifice.io/config": "2.5.12-develop-enabling.20260227103812",
|
|
172
|
+
"@edifice.io/client": "2.5.12-develop-enabling.20260227103812"
|
|
173
173
|
},
|
|
174
174
|
"peerDependencies": {
|
|
175
175
|
"@react-spring/web": "9.7.5",
|
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
"scripts": {
|
|
187
187
|
"build": "pnpm build:icons && vite build",
|
|
188
188
|
"build:icons": "svgr src/modules/icons/assets --config-file ./svgr.config.cjs",
|
|
189
|
+
"build:analyze": "vite build --mode analyze",
|
|
189
190
|
"fix": "eslint --fix --report-unused-disable-directives --max-warnings 0",
|
|
190
191
|
"format": "pnpm run format:write && pnpm run format:check",
|
|
191
192
|
"format:check": "npx prettier --check \"src/**/*.{ts,tsx}\"",
|