@plitzi/plitzi-builder 0.37.2 → 0.37.4
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/CHANGELOG.md +1192 -0
- package/dist/App.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.html +3 -2
- package/dist/modules/AI/components/ChatInput/components/ModelSelector/components/ModelOption/ModelOption.d.ts +2 -1
- package/dist/modules/App/AppContainer/containers/ContainerFunctions.d.ts +2 -0
- package/dist/modules/App/AppContainer/containers/ContainerRuntime.d.ts +2 -0
- package/dist/modules/App/AppContainer/containers/ContainerVisitors.d.ts +2 -0
- package/dist/modules/App/AppContext.d.ts +2 -0
- package/dist/modules/App/AppMain.d.ts +2 -1
- package/dist/modules/App/components/AppHeader/IssuesButton/IssuesButton.d.ts +2 -0
- package/dist/modules/App/components/AppHeader/IssuesButton/helpers.d.ts +4 -0
- package/dist/modules/App/components/AppHeader/IssuesButton/index.d.ts +3 -0
- package/dist/modules/App/components/AppHeader/RuntimeIdleNotice/RuntimeIdleNotice.d.ts +2 -0
- package/dist/modules/App/components/AppHeader/RuntimeIdleNotice/index.d.ts +1 -0
- package/dist/modules/App/components/AppHeader/RuntimeIdleNotice/timeLeftOf.d.ts +3 -0
- package/dist/modules/Builder/components/BuilderOverlay/BuilderOverlayDrag.d.ts +0 -2
- package/dist/modules/Builder/helpers/elementChain.d.ts +1 -2
- package/dist/modules/Elements/ElementHelper.d.ts +2 -0
- package/dist/modules/Functions/Functions.d.ts +7 -0
- package/dist/modules/Functions/components/FunctionsDeclared/FunctionsDeclared.d.ts +10 -0
- package/dist/modules/Functions/components/FunctionsDeclared/index.d.ts +3 -0
- package/dist/modules/Functions/components/FunctionsFiles/FunctionsFiles.d.ts +11 -0
- package/dist/modules/Functions/components/FunctionsFiles/index.d.ts +3 -0
- package/dist/modules/Functions/components/FunctionsProblems/FunctionsProblems.d.ts +8 -0
- package/dist/modules/Functions/components/FunctionsProblems/index.d.ts +3 -0
- package/dist/modules/Functions/components/FunctionsTry/FunctionsTry.d.ts +13 -0
- package/dist/modules/Functions/components/FunctionsTry/index.d.ts +3 -0
- package/dist/modules/Functions/editor/functionsEnvironment.d.ts +6 -0
- package/dist/modules/Functions/editor/useFunctionsTypeScript.d.ts +13 -0
- package/dist/modules/Functions/helpers.d.ts +11 -0
- package/dist/modules/Functions/index.d.ts +2 -0
- package/dist/modules/Functions/useFunctions.d.ts +14 -0
- package/dist/modules/History/History.d.ts +7 -0
- package/dist/modules/History/components/ChangeEntry/ChangeEntry.d.ts +7 -0
- package/dist/modules/History/components/ChangeEntry/index.d.ts +3 -0
- package/dist/modules/History/components/ChangeGroup/ChangeGroup.d.ts +10 -0
- package/dist/modules/History/components/ChangeGroup/index.d.ts +3 -0
- package/dist/modules/History/components/ChangeLine/ChangeLine.d.ts +10 -0
- package/dist/modules/History/components/ChangeLine/index.d.ts +3 -0
- package/dist/modules/History/components/LineLabel/LineLabel.d.ts +7 -0
- package/dist/modules/History/components/LineLabel/index.d.ts +3 -0
- package/dist/modules/History/components/SaveDetail/SaveDetail.d.ts +7 -0
- package/dist/modules/History/components/SaveDetail/index.d.ts +3 -0
- package/dist/modules/History/components/SnapshotMarker/SnapshotMarker.d.ts +7 -0
- package/dist/modules/History/components/SnapshotMarker/index.d.ts +3 -0
- package/dist/modules/History/helpers.d.ts +63 -0
- package/dist/modules/History/hooks/useSpaceChanges.d.ts +22 -0
- package/dist/modules/History/index.d.ts +3 -0
- package/dist/modules/Interactions/components/Workflow/WorkflowNode/NodeWhileRunning.d.ts +15 -0
- package/dist/modules/Interactions/components/Workflow/WorkflowNode/WorkflowNode.d.ts +3 -2
- package/dist/modules/Interactions/components/Workflow/helpers/whileRunning.d.ts +8 -0
- package/dist/modules/Queue/QueueContext.d.ts +0 -6
- package/dist/modules/Queue/helpers.d.ts +14 -0
- package/dist/modules/Queue/hooks/useQueueManager.d.ts +2 -6
- package/dist/modules/Queue/hooks/useQueueManager.test.d.ts +1 -0
- package/dist/modules/Resources/components/Resource/components/PluginInUse/PluginInUse.d.ts +7 -0
- package/dist/modules/Resources/components/Resource/components/PluginInUse/index.d.ts +3 -0
- package/dist/modules/Resources/components/Resource/subTypes/ResourceMedia/ResourceMedia.d.ts +15 -0
- package/dist/modules/Resources/components/Resource/subTypes/ResourceMedia/index.d.ts +3 -0
- package/dist/modules/Resources/components/ResourceContent/components/ContentPlugin/helpers.d.ts +2 -0
- package/dist/modules/Resources/components/ResourceContent/components/ContentPlugin/index.d.ts +3 -0
- package/dist/modules/Resources/helpers.d.ts +6 -0
- package/dist/modules/Resources/helpers.test.d.ts +1 -0
- package/dist/modules/Runtime/Runtime.d.ts +8 -0
- package/dist/modules/Runtime/components/RuntimeCodeNote/RuntimeCodeNote.d.ts +12 -0
- package/dist/modules/Runtime/components/RuntimeCodeNote/index.d.ts +2 -0
- package/dist/modules/Runtime/components/RuntimeEnvironments/RuntimeEnvironments.d.ts +13 -0
- package/dist/modules/Runtime/components/RuntimeEnvironments/index.d.ts +2 -0
- package/dist/modules/Runtime/components/RuntimePower/RuntimePower.d.ts +15 -0
- package/dist/modules/Runtime/components/RuntimePower/index.d.ts +2 -0
- package/dist/modules/Runtime/components/RuntimeSize/RuntimeSize.d.ts +17 -0
- package/dist/modules/Runtime/components/RuntimeSize/index.d.ts +2 -0
- package/dist/modules/Runtime/components/RuntimeVariables/RuntimeVariables.d.ts +11 -0
- package/dist/modules/Runtime/components/RuntimeVariables/index.d.ts +2 -0
- package/dist/modules/Runtime/helpers/idleDurationOf.d.ts +6 -0
- package/dist/modules/Runtime/helpers/idleDurationOf.test.d.ts +1 -0
- package/dist/modules/Runtime/helpers/stopMomentOf.d.ts +6 -0
- package/dist/modules/Runtime/index.d.ts +1 -0
- package/dist/modules/Schema/helpers/templateProblem.d.ts +8 -0
- package/dist/modules/Schema/helpers/templateProblem.test.d.ts +1 -0
- package/dist/modules/Space/components/SpaceIssues/SpaceIssues.d.ts +16 -0
- package/dist/modules/Space/components/SpaceIssues/components/IssueGroup/IssueGroup.d.ts +10 -0
- package/dist/modules/Space/components/SpaceIssues/components/IssueGroup/index.d.ts +3 -0
- package/dist/modules/Space/components/SpaceIssues/components/IssueItem/IssueItem.d.ts +15 -0
- package/dist/modules/Space/components/SpaceIssues/components/IssueItem/index.d.ts +3 -0
- package/dist/modules/Space/components/SpaceIssues/helpers.d.ts +4 -0
- package/dist/modules/Space/components/SpaceIssues/index.d.ts +3 -0
- package/dist/modules/Space/helpers/spaceIssues.d.ts +15 -0
- package/dist/modules/Space/helpers/spaceIssues.test.d.ts +1 -0
- package/dist/modules/Space/hooks/useFixSpaceIssues.d.ts +9 -0
- package/dist/modules/Space/hooks/useShowSpaceIssues.d.ts +8 -0
- package/dist/modules/Space/hooks/useSpaceIssues.d.ts +14 -0
- package/dist/modules/Undoable/UndoableContext.d.ts +0 -1
- package/dist/modules/Visitors/Visitors.d.ts +8 -0
- package/dist/modules/Visitors/components/VisitorGrants/VisitorGrants.d.ts +12 -0
- package/dist/modules/Visitors/components/VisitorGrants/index.d.ts +2 -0
- package/dist/modules/Visitors/components/VisitorRoles/VisitorRoles.d.ts +13 -0
- package/dist/modules/Visitors/components/VisitorRoles/index.d.ts +2 -0
- package/dist/modules/Visitors/index.d.ts +1 -0
- package/dist/package.json.d.ts +13 -6
- package/dist/plitzi-builder.css +1 -1
- package/dist/plitzi-builder.css.gz +0 -0
- package/dist/plitzi-builder.js +2716 -2485
- package/dist/plitzi-builder.js.gz +0 -0
- package/dist/plitzi-functions-worker.js +6 -0
- package/package.json +26 -19
- package/dist/modules/AI/components/ChatInput/components/ButtonVoice/ButtonVoice.d.ts +0 -9
- package/dist/modules/AI/components/ChatInput/components/ButtonVoice/index.d.ts +0 -3
- package/dist/modules/AI/components/ToggleMode/components/ToggleItem/ToggleItem.d.ts +0 -10
- package/dist/modules/AI/components/ToggleMode/components/ToggleItem/index.d.ts +0 -3
- package/dist/modules/App/AppContainer/containers/ContainerIntegrations.d.ts +0 -2
- package/dist/modules/App/AppContainer/containers/ContainerMarketplace.d.ts +0 -2
- package/dist/modules/Marketplace/Marketplace.d.ts +0 -2
- package/dist/modules/Marketplace/components/MarketNews/MarketNews.d.ts +0 -2
- package/dist/modules/Marketplace/components/MarketNews/index.d.ts +0 -3
- package/dist/modules/Marketplace/components/MarketPlugins/MarketPlugins.d.ts +0 -2
- package/dist/modules/Marketplace/components/MarketPlugins/PluginDetails/DetailsContent.d.ts +0 -2
- package/dist/modules/Marketplace/components/MarketPlugins/PluginDetails/DetailsSidebar.d.ts +0 -19
- package/dist/modules/Marketplace/components/MarketPlugins/PluginDetails/PluginDetails.d.ts +0 -23
- package/dist/modules/Marketplace/components/MarketPlugins/PluginDetails/index.d.ts +0 -3
- package/dist/modules/Marketplace/components/MarketPlugins/PluginItem.d.ts +0 -14
- package/dist/modules/Marketplace/components/MarketPlugins/PluginList.d.ts +0 -7
- package/dist/modules/Marketplace/components/MarketPlugins/PluginsFilter/FilterCategory.d.ts +0 -9
- package/dist/modules/Marketplace/components/MarketPlugins/PluginsFilter/PluginsFilter.d.ts +0 -13
- package/dist/modules/Marketplace/components/MarketPlugins/PluginsFilter/index.d.ts +0 -3
- package/dist/modules/Marketplace/components/MarketPlugins/index.d.ts +0 -3
- package/dist/modules/Marketplace/components/MarketSidebar.d.ts +0 -6
- package/dist/modules/Marketplace/components/MarketSidebarItem.d.ts +0 -9
- package/dist/modules/Marketplace/components/MarketTemplates/MarketTemplates.d.ts +0 -2
- package/dist/modules/Marketplace/components/MarketTemplates/index.d.ts +0 -3
- package/dist/modules/Marketplace/helpers/PluginHelper.d.ts +0 -2
- package/dist/modules/Marketplace/index.d.ts +0 -3
- package/dist/modules/Marketplace/types/index.d.ts +0 -44
- package/dist/modules/Network/hooks/useInfiniteGraphQL.d.ts +0 -18
- package/dist/modules/Resources/Models/PluginSettingsForm.d.ts +0 -8
- package/dist/modules/Resources/components/Resource/subTypes/ResourceImage/ResourceImage.d.ts +0 -14
- package/dist/modules/Resources/components/Resource/subTypes/ResourceImage/index.d.ts +0 -3
- package/dist/modules/Resources/components/Resource/subTypes/ResourcePlugin/PluginContent.d.ts +0 -13
- package/dist/modules/Resources/components/Resource/subTypes/ResourceVideo/ResourceVideo.d.ts +0 -14
- package/dist/modules/Resources/components/Resource/subTypes/ResourceVideo/index.d.ts +0 -3
- package/dist/modules/Resources/components/ResourceManager/helpers/formatBytes.d.ts +0 -2
- package/dist/modules/Space/SpaceContext.d.ts +0 -3
- package/dist/modules/Space/SpaceContextProvider.d.ts +0 -6
- package/dist/modules/Space/helpers/elementsByRoot.d.ts +0 -19
- /package/dist/modules/{AI/components/ChatMessage/helpers/formatTime.d.ts → App/components/AppHeader/RuntimeIdleNotice/timeLeftOf.test.d.ts} +0 -0
- /package/dist/modules/{Integrations/Integrations.d.ts → Functions/editor/functionsEnvironment.test.d.ts} +0 -0
- /package/dist/modules/{Plugins/index.d.ts → Functions/editor/typescriptWorker.d.ts} +0 -0
- /package/dist/modules/{Space/helpers/elementsByRoot.test.d.ts → History/helpers.test.d.ts} +0 -0
- /package/dist/modules/{index.d.ts → Interactions/components/Workflow/helpers/whileRunning.test.d.ts} +0 -0
- /package/dist/modules/Resources/components/{ResourceManager/ResourceContent → ResourceContent}/ResourceContent.d.ts +0 -0
- /package/dist/modules/Resources/components/{ResourceManager/ResourceContent/contents → ResourceContent/components/ContentPlugin}/ContentPlugin.d.ts +0 -0
- /package/dist/modules/Resources/components/{ResourceManager/ResourceContent → ResourceContent}/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/plitzi-builder",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.4",
|
|
4
4
|
"homepage": "./",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"files": [
|
|
@@ -27,26 +27,32 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@apollo/client": "^4.3.1",
|
|
30
|
+
"@codemirror/autocomplete": "^6",
|
|
31
|
+
"@codemirror/lint": "^6",
|
|
32
|
+
"@codemirror/state": "^6",
|
|
30
33
|
"@fortawesome/fontawesome-free": "^7.3.1",
|
|
31
|
-
"@plitzi/nexus": "^1.
|
|
32
|
-
"@plitzi/plitzi-sdk": "0.37.
|
|
33
|
-
"@plitzi/plitzi-ui": "^1.6.
|
|
34
|
-
"@plitzi/sdk-auth": "0.37.
|
|
35
|
-
"@plitzi/sdk-authoring": "0.37.
|
|
36
|
-
"@plitzi/sdk-dev-tools": "0.37.
|
|
37
|
-
"@plitzi/sdk-elements": "0.37.
|
|
38
|
-
"@plitzi/sdk-event-bridge": "0.37.
|
|
39
|
-
"@plitzi/sdk-interactions": "0.37.
|
|
40
|
-
"@plitzi/sdk-navigation": "0.37.
|
|
41
|
-
"@plitzi/sdk-plugins": "0.37.
|
|
42
|
-
"@plitzi/sdk-schema": "0.37.
|
|
43
|
-
"@plitzi/sdk-shared": "0.37.
|
|
44
|
-
"@plitzi/sdk-style": "0.37.
|
|
45
|
-
"@plitzi/sdk-variables": "0.37.
|
|
34
|
+
"@plitzi/nexus": "^1.3.1",
|
|
35
|
+
"@plitzi/plitzi-sdk": "0.37.4",
|
|
36
|
+
"@plitzi/plitzi-ui": "^1.6.24",
|
|
37
|
+
"@plitzi/sdk-auth": "0.37.4",
|
|
38
|
+
"@plitzi/sdk-authoring": "0.37.4",
|
|
39
|
+
"@plitzi/sdk-dev-tools": "0.37.4",
|
|
40
|
+
"@plitzi/sdk-elements": "0.37.4",
|
|
41
|
+
"@plitzi/sdk-event-bridge": "0.37.4",
|
|
42
|
+
"@plitzi/sdk-interactions": "0.37.4",
|
|
43
|
+
"@plitzi/sdk-navigation": "0.37.4",
|
|
44
|
+
"@plitzi/sdk-plugins": "0.37.4",
|
|
45
|
+
"@plitzi/sdk-schema": "0.37.4",
|
|
46
|
+
"@plitzi/sdk-shared": "0.37.4",
|
|
47
|
+
"@plitzi/sdk-style": "0.37.4",
|
|
48
|
+
"@plitzi/sdk-variables": "0.37.4",
|
|
46
49
|
"@tanstack/react-virtual": "^3.14.13",
|
|
50
|
+
"@typescript/vfs": "^1.6.5",
|
|
51
|
+
"@valtown/codemirror-ts": "^2.3.1",
|
|
47
52
|
"@xyflow/react": "^12.11.6",
|
|
48
53
|
"apollo-upload-client": "^20.0.0",
|
|
49
54
|
"clsx": "^2.1.1",
|
|
55
|
+
"comlink": "^4.4.2",
|
|
50
56
|
"graphql": "^17.0.2",
|
|
51
57
|
"graphql-ws": "^6.2.2",
|
|
52
58
|
"immer": "^11.1.18",
|
|
@@ -72,6 +78,7 @@
|
|
|
72
78
|
"@babel/polyfill": "^7.12.1",
|
|
73
79
|
"@babel/preset-env": "^8.0.6",
|
|
74
80
|
"@babel/preset-react": "^8.0.1",
|
|
81
|
+
"@plitzi/sdk-server": "0.37.4",
|
|
75
82
|
"@tailwindcss/postcss": "^4.3.3",
|
|
76
83
|
"css-loader": "^7.1.5",
|
|
77
84
|
"eslint": "^9.39.5",
|
|
@@ -94,7 +101,7 @@
|
|
|
94
101
|
"stylelint-scss": "^7.3.0",
|
|
95
102
|
"terser": "^5.51.2",
|
|
96
103
|
"typescript": "^6.0.3",
|
|
97
|
-
"vite": "^8.3.
|
|
104
|
+
"vite": "^8.3.1",
|
|
98
105
|
"vite-plugin-dts": "^5.1.1",
|
|
99
106
|
"vite-plugin-ejs": "^2.0.0",
|
|
100
107
|
"vite-plugin-mkcert": "^2.1.0",
|
|
@@ -109,11 +116,11 @@
|
|
|
109
116
|
"lint-style": "stylelint \"**/*.scss\" --custom-syntax postcss-scss",
|
|
110
117
|
"lint-style:fix": "stylelint \"**/*.scss\" --custom-syntax postcss-scss --fix",
|
|
111
118
|
"typecheck": "tsc -p tsconfig.app.json --noEmit",
|
|
112
|
-
"build:dev": "tsc -p tsconfig.app.json --noEmit && vite build --mode development",
|
|
119
|
+
"build:dev": "tsc -p tsconfig.app.json --noEmit && vite build --mode development && vite build --config vite.functions-worker.config.ts --mode development",
|
|
113
120
|
"build:dev-watch": "tsc -p tsconfig.app.json --noEmit && vite build --mode development --watch",
|
|
114
121
|
"build:dev-gzip": "tsc -p tsconfig.app.json --noEmit && ONLY_GZIP=1 vite build --mode development",
|
|
115
122
|
"build:dev-analyze": "tsc -p tsconfig.app.json --noEmit && ONLY_ANALYZE=1 vite build --mode development",
|
|
116
|
-
"build:prod": "tsc -p tsconfig.app.json --noEmit && vite build",
|
|
123
|
+
"build:prod": "tsc -p tsconfig.app.json --noEmit && vite build && vite build --config vite.functions-worker.config.ts",
|
|
117
124
|
"build:prod-watch": "tsc -p tsconfig.app.json --noEmit && vite build --watch",
|
|
118
125
|
"build:prod-gzip": "tsc -p tsconfig.app.json --noEmit && ONLY_GZIP=1 vite build",
|
|
119
126
|
"build:prod-analyze": "tsc -p tsconfig.app.json --noEmit && ONLY_ANALYZE=1 vite build",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AiMode } from '../../../../types';
|
|
2
|
-
export type ButtonVoiceProps = {
|
|
3
|
-
mode: AiMode;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
isListening: boolean;
|
|
6
|
-
onVoiceToggle?: () => void;
|
|
7
|
-
};
|
|
8
|
-
declare const ButtonVoice: ({ mode, disabled, isListening, onVoiceToggle }: ButtonVoiceProps) => import('react').JSX.Element;
|
|
9
|
-
export default ButtonVoice;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AiMode } from '../../../../types';
|
|
2
|
-
export type ToggleItemProps = {
|
|
3
|
-
mode: AiMode;
|
|
4
|
-
active?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
title?: string;
|
|
7
|
-
onClick?: (mode: AiMode) => void;
|
|
8
|
-
};
|
|
9
|
-
declare const ToggleItem: ({ mode, active, disabled, title, onClick }: ToggleItemProps) => import('react').JSX.Element;
|
|
10
|
-
export default ToggleItem;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type DetailsSidebarProps = {
|
|
2
|
-
name?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
createdAt?: number;
|
|
5
|
-
icon?: string;
|
|
6
|
-
revisions?: {
|
|
7
|
-
version: string;
|
|
8
|
-
}[];
|
|
9
|
-
owner?: string;
|
|
10
|
-
website?: string;
|
|
11
|
-
color?: string;
|
|
12
|
-
version: string;
|
|
13
|
-
latestVersion: string;
|
|
14
|
-
onAdd?: (version: string) => void;
|
|
15
|
-
onUpdate?: (version: string) => Promise<boolean>;
|
|
16
|
-
onRemove?: () => void;
|
|
17
|
-
};
|
|
18
|
-
declare const DetailsSidebar: ({ name, description, createdAt, icon, revisions, owner, website, color, version: versionInstalled, latestVersion, onAdd, onUpdate, onRemove }: DetailsSidebarProps) => import('react').JSX.Element;
|
|
19
|
-
export default DetailsSidebar;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MarketPlacePlugin } from '../../../types';
|
|
2
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
-
export type PluginDetailsProps = {
|
|
4
|
-
name?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
type?: string;
|
|
7
|
-
latestVersion: string;
|
|
8
|
-
version: string;
|
|
9
|
-
revisions: {
|
|
10
|
-
version: string;
|
|
11
|
-
}[];
|
|
12
|
-
icon?: string;
|
|
13
|
-
color?: string;
|
|
14
|
-
owner?: string;
|
|
15
|
-
website?: string;
|
|
16
|
-
createdAt?: number;
|
|
17
|
-
setPluginSelected?: Dispatch<SetStateAction<MarketPlacePlugin | undefined>>;
|
|
18
|
-
onAdd?: (version: string) => void;
|
|
19
|
-
onUpdate?: (version: string) => Promise<boolean>;
|
|
20
|
-
onRemove?: () => void;
|
|
21
|
-
};
|
|
22
|
-
declare const PluginDetails: ({ name, description, icon, color, owner, website, revisions, version, latestVersion, createdAt, setPluginSelected, onAdd, onUpdate, onRemove }: PluginDetailsProps) => import('react').JSX.Element;
|
|
23
|
-
export default PluginDetails;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type PluginItemProps = {
|
|
2
|
-
className?: string;
|
|
3
|
-
name?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
type?: string;
|
|
6
|
-
latestVersion?: string;
|
|
7
|
-
version?: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
website?: string;
|
|
10
|
-
color?: string;
|
|
11
|
-
onClick?: (type: string) => void;
|
|
12
|
-
};
|
|
13
|
-
declare const PluginItem: ({ className, name, type, description, latestVersion, version, icon, website, color, onClick }: PluginItemProps) => import('react').JSX.Element;
|
|
14
|
-
export default PluginItem;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MarketPlacePluginRaw } from '../../types';
|
|
2
|
-
export type PluginListProps = {
|
|
3
|
-
plugins?: MarketPlacePluginRaw[];
|
|
4
|
-
onClick?: (plugin: string) => void;
|
|
5
|
-
};
|
|
6
|
-
declare const PluginList: ({ plugins, onClick }: PluginListProps) => import('react').JSX.Element;
|
|
7
|
-
export default PluginList;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type FilterCategoryProps = {
|
|
2
|
-
className?: string;
|
|
3
|
-
id?: string;
|
|
4
|
-
active?: boolean;
|
|
5
|
-
name?: string;
|
|
6
|
-
onClick?: (id: string) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const FilterCategory: ({ className, id, active, name, onClick }: FilterCategoryProps) => import('react').JSX.Element;
|
|
9
|
-
export default FilterCategory;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type PluginsFilterProps = {
|
|
2
|
-
filter: {
|
|
3
|
-
name: {
|
|
4
|
-
contains: string;
|
|
5
|
-
};
|
|
6
|
-
owner: {
|
|
7
|
-
contains: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
onChange?: (value: string, key?: string) => void;
|
|
11
|
-
};
|
|
12
|
-
declare const PluginsFilter: ({ filter, onChange }: PluginsFilterProps) => import('react').JSX.Element;
|
|
13
|
-
export default PluginsFilter;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type MarketSidebarItemProps = {
|
|
2
|
-
id?: string;
|
|
3
|
-
isSelected?: boolean;
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
onClick?: (id: string) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const MarketSidebarItem: ({ id, isSelected, className, children, onClick }: MarketSidebarItemProps) => import('react').JSX.Element;
|
|
9
|
-
export default MarketSidebarItem;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export type MarketPlacePluginRaw = {
|
|
2
|
-
name: string;
|
|
3
|
-
description: string;
|
|
4
|
-
type: string;
|
|
5
|
-
latestVersion: {
|
|
6
|
-
version: string;
|
|
7
|
-
createdAt: number;
|
|
8
|
-
updatedAt: number;
|
|
9
|
-
};
|
|
10
|
-
version: string;
|
|
11
|
-
revisions: {
|
|
12
|
-
version: string;
|
|
13
|
-
}[];
|
|
14
|
-
market: {
|
|
15
|
-
icon: string;
|
|
16
|
-
backgroundColor: string;
|
|
17
|
-
owner: string;
|
|
18
|
-
category: {
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
verified: boolean;
|
|
22
|
-
website: string;
|
|
23
|
-
};
|
|
24
|
-
createdAt: number;
|
|
25
|
-
updatedAt: number;
|
|
26
|
-
};
|
|
27
|
-
export type MarketPlacePlugin = {
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
type: string;
|
|
31
|
-
latestVersion: string;
|
|
32
|
-
version: string;
|
|
33
|
-
owner: string;
|
|
34
|
-
verified: boolean;
|
|
35
|
-
category: string;
|
|
36
|
-
color: string;
|
|
37
|
-
icon: string;
|
|
38
|
-
website: string;
|
|
39
|
-
revisions: {
|
|
40
|
-
version: string;
|
|
41
|
-
}[];
|
|
42
|
-
createdAt: number;
|
|
43
|
-
updatedAt: number;
|
|
44
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BuilderQueriesMap, PageInfo } from '@plitzi/sdk-shared';
|
|
2
|
-
import { SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
-
declare const useInfiniteGraphQL: <K extends keyof BuilderQueriesMap, T>(queryKey: K | null, transform: (data: BuilderQueriesMap[K] | undefined) => {
|
|
4
|
-
edges: T[];
|
|
5
|
-
pageInfo: PageInfo;
|
|
6
|
-
} | undefined, variables?: Record<string, unknown>, config?: SWRInfiniteConfiguration<BuilderQueriesMap[K]> & {
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
}) => {
|
|
9
|
-
data: (T | undefined)[];
|
|
10
|
-
error: Error | undefined;
|
|
11
|
-
size: number;
|
|
12
|
-
setSize: (size: number | ((_size: number) => number)) => Promise<BuilderQueriesMap[K][] | undefined>;
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
isValidating: boolean;
|
|
15
|
-
isEmpty: boolean;
|
|
16
|
-
mutate: import('swr/infinite').SWRInfiniteKeyedMutator<BuilderQueriesMap[K][]>;
|
|
17
|
-
};
|
|
18
|
-
export default useInfiniteGraphQL;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type PluginSettingsFormProps = {
|
|
2
|
-
className?: string;
|
|
3
|
-
values?: object;
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
onSubmit?: (values: object) => void;
|
|
6
|
-
};
|
|
7
|
-
declare const PluginSettingsForm: ({ className }: PluginSettingsFormProps) => import('react').JSX.Element;
|
|
8
|
-
export default PluginSettingsForm;
|
package/dist/modules/Resources/components/Resource/subTypes/ResourceImage/ResourceImage.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
export type ResourceImageProps = {
|
|
3
|
-
className?: string;
|
|
4
|
-
id: string;
|
|
5
|
-
src: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
removing?: boolean;
|
|
8
|
-
directoryName?: string;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
onRemove?: (e: MouseEvent) => void;
|
|
12
|
-
};
|
|
13
|
-
declare const ResourceImage: ({ className, id, title, src, removing, directoryName, isLoading, onClick, onRemove }: ResourceImageProps) => import('react').JSX.Element;
|
|
14
|
-
export default ResourceImage;
|
package/dist/modules/Resources/components/Resource/subTypes/ResourcePlugin/PluginContent.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type PluginContentProps = {
|
|
2
|
-
className?: string;
|
|
3
|
-
backgroundColor?: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
version?: string;
|
|
7
|
-
author?: string;
|
|
8
|
-
size?: number;
|
|
9
|
-
components?: string;
|
|
10
|
-
isUploaded?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const PluginContent: ({ className, backgroundColor, icon, name, version, author, size, components, isUploaded }: PluginContentProps) => import('react').JSX.Element;
|
|
13
|
-
export default PluginContent;
|
package/dist/modules/Resources/components/Resource/subTypes/ResourceVideo/ResourceVideo.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
export type ResourceVideoProps = {
|
|
3
|
-
className?: string;
|
|
4
|
-
id: string;
|
|
5
|
-
src: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
removing?: boolean;
|
|
8
|
-
directoryName?: string;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
onRemove?: (e: MouseEvent) => void;
|
|
12
|
-
};
|
|
13
|
-
declare const ResourceVideo: ({ className, id, title, src, removing, directoryName, isLoading, onClick, onRemove }: ResourceVideoProps) => import('react').JSX.Element;
|
|
14
|
-
export default ResourceVideo;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Element } from '@plitzi/sdk-shared';
|
|
2
|
-
/** One root of the schema — a page, or a layout several pages render inside — and how many elements it holds. */
|
|
3
|
-
export interface RootElements {
|
|
4
|
-
page: string;
|
|
5
|
-
elements: number;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* The element count, grouped by the page that holds it, off the LIVE schema.
|
|
9
|
-
*
|
|
10
|
-
* The same grouping the API answers for every other space, done here for the one being edited: those figures are
|
|
11
|
-
* whatever was last saved, and this one moves with the element someone just dropped — which is the whole reason the
|
|
12
|
-
* meter is in the editor rather than on a dashboard.
|
|
13
|
-
*
|
|
14
|
-
* It is a grouping, not a second measurement: it adds up to the element count exactly. Layouts are roots too and are
|
|
15
|
-
* listed as themselves rather than shared out over the pages that render inside them — their elements are authored
|
|
16
|
-
* once, and splitting them between pages would report a total that no page has.
|
|
17
|
-
*/
|
|
18
|
-
declare const elementsByRoot: (flat: Record<string, Element>) => RootElements[];
|
|
19
|
-
export default elementsByRoot;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/modules/{index.d.ts → Interactions/components/Workflow/helpers/whileRunning.test.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|