From 143cce8b9af4d3dbb451350a3ed0b055958f9454 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Tue, 12 Sep 2023 18:16:56 +0530 Subject: [PATCH 01/20] List field - basic --- .../fields/ListField/groupsObject.js | 657 +++++ .../fields/ListField/index.stories.tsx | 55 + .../components/fields/ListField/index.tsx | 91 + .../fields/ListField/sceneObject.js | 2342 +++++++++++++++++ 4 files changed, 3145 insertions(+) create mode 100644 web/src/beta/components/fields/ListField/groupsObject.js create mode 100644 web/src/beta/components/fields/ListField/index.stories.tsx create mode 100644 web/src/beta/components/fields/ListField/index.tsx create mode 100644 web/src/beta/components/fields/ListField/sceneObject.js diff --git a/web/src/beta/components/fields/ListField/groupsObject.js b/web/src/beta/components/fields/ListField/groupsObject.js new file mode 100644 index 0000000000..77480ca3a1 --- /dev/null +++ b/web/src/beta/components/fields/ListField/groupsObject.js @@ -0,0 +1,657 @@ +export default { + groups: [ + { + id: "default", + title: "Scene", + fields: [ + { + id: "camera", + type: "camera", + title: "Initial camera position", + description: "The starting position of your project.", + }, + { + id: "allowEnterGround", + type: "bool", + title: "Enter the ground", + defaultValue: false, + description: "Set to true to allow the camera to enter the surface of the earth.", + }, + { + id: "sceneMode", + type: "string", + title: "Scene mode", + description: "Specify scene mode.", + defaultValue: "3d", + choices: [ + { + key: "3d", + label: "Scene 3D", + }, + { + key: "2d", + label: "Scene 2D", + }, + { + key: "columbus", + label: "Columbus View", + }, + ], + }, + { + id: "skybox", + type: "bool", + title: "Sky", + defaultValue: true, + description: "Show the stars.", + }, + { + id: "bgcolor", + type: "string", + title: "Background color", + description: "With Sky disabled, choose a background color.", + ui: "color", + }, + { + id: "ion", + type: "string", + title: "Cesium Ion API access token", + description: + "Cesium Ion account users may use their personal API keys to be able to use their Cesium Ion assets(tile data, 3D data, etc) with their project.", + }, + { + id: "vr", + type: "bool", + title: "VR", + description: "Enable VR mode to split the screen into left and right.", + }, + ], + }, + { + id: "tiles", + title: "Tiles", + description: + "You may change the look of the Earth by obtaining map tile data and setting it here.", + list: true, + representativeField: "tile_type", + fields: [ + { + id: "tile_type", + type: "string", + title: "Tile type", + defaultValue: "default", + choices: [ + { + key: "default", + label: "Default", + }, + { + key: "default_label", + label: "Labelled", + }, + { + key: "default_road", + label: "Road Map", + }, + { + key: "stamen_watercolor", + label: "Stamen Watercolor", + }, + { + key: "stamen_toner", + label: "Stamen Toner", + }, + { + key: "open_street_map", + label: "OpenStreetMap", + }, + { + key: "esri_world_topo", + label: "ESRI Topography", + }, + { + key: "black_marble", + label: "Earth at night", + }, + { + key: "japan_gsi_standard", + label: "Japan GSI Standard Map", + }, + { + key: "url", + label: "URL", + }, + ], + }, + { + id: "tile_url", + type: "string", + title: "Tile map URL", + availableIf: { + field: "tile_type", + type: "string", + value: "url", + }, + }, + { + id: "tile_minLevel", + type: "number", + title: "Minimum zoom level", + min: 0, + max: 30, + }, + { + id: "tile_maxLevel", + type: "number", + title: "Maximum zoom level", + min: 0, + max: 30, + }, + { + id: "tile_opacity", + type: "number", + title: "Opacity", + description: "Change the opacity of the selected tile map. Min: 0 Max: 1", + defaultValue: 1, + ui: "slider", + min: 0, + max: 1, + }, + ], + }, + { + id: "terrain", + title: "Terrain", + fields: [ + { + id: "terrain", + type: "bool", + title: "Terrain", + description: "Show elevation when close to the surface.", + }, + { + id: "terrainType", + type: "string", + title: "Terrain type", + description: "Specify terrain type.", + defaultValue: "cesium", + choices: [ + { + key: "cesium", + label: "Cesium World Terrain", + }, + { + key: "arcgis", + label: "ArcGIS Terrain", + }, + { + key: "cesiumion", + label: "Cesium Ion", + }, + ], + }, + { + id: "terrainCesiumIonAsset", + type: "string", + title: "Terrain Cesium Ion asset ID", + description: "Specify the ID of a terrain asset registered on Cesium Ion.", + availableIf: { + field: "terrainType", + type: "string", + value: "cesiumion", + }, + }, + { + id: "terrainCesiumIonAccessToken", + type: "string", + title: "Terrain Cesium Ion access token", + description: + "Specify a Cesium Ion access token if you want to override the access token in the scene-wide settings for this tile.", + availableIf: { + field: "terrainType", + type: "string", + value: "cesiumion", + }, + }, + { + id: "terrainCesiumIonUrl", + type: "string", + title: "Terrain URL", + description: + "Specify the URL of Cesium's terrain server if it is delivered on-premises rather than Cesum Ion. This takes precedence over the asset ID setting.", + availableIf: { + field: "terrainType", + type: "string", + value: "cesiumion", + }, + }, + { + id: "terrainExaggeration", + type: "number", + title: "Terrain exaggeration", + description: + "A scalar used to exaggerate the terrain. Defaults to 1.0 (no exaggeration). A value of 2.0 scales the terrain by 2x. A value of 0.0 makes the terrain completely flat.", + defaultValue: 1, + suffix: "x", + }, + { + id: "terrainExaggerationRelativeHeight", + type: "number", + title: "Terrain exaggeration relative height", + description: + "The height from which terrain is exaggerated. Defaults to 0.0. Terrain that is above this height will scale upwards and terrain that is below this height will scale downwards.", + defaultValue: 0, + suffix: "m", + }, + { + id: "depthTestAgainstTerrain", + type: "bool", + title: "Hide objects under terrain", + description: + "Hides objects under the terrain. Depending on the loading status of the terrain, objects may be shown or hidden.", + }, + ], + }, + { + id: "indicator", + title: "Indicator", + description: "Set the style of indicator shown when selecting a layer on the map.", + fields: [ + { + id: "indicator_type", + type: "string", + title: "Type", + defaultValue: "default", + description: "Choose how the indicator will look.", + choices: [ + { + key: "default", + label: "Default", + }, + { + key: "crosshair", + label: "Crosshair", + }, + { + key: "custom", + label: "Custom", + }, + ], + }, + { + id: "indicator_image", + type: "url", + title: "Image URL", + ui: "image", + availableIf: { + field: "indicator_type", + type: "string", + value: "custom", + }, + }, + { + id: "indicator_image_scale", + type: "number", + title: "Image scale", + availableIf: { + field: "indicator_type", + type: "string", + value: "custom", + }, + }, + ], + }, + { + id: "theme", + title: "Publish Theme", + description: "Set your theme.", + fields: [ + { + id: "themeType", + type: "string", + title: "Theme", + defaultValue: "dark", + description: "Select the theme.", + choices: [ + { + key: "dark", + label: "Re:Earth Dark", + }, + { + key: "light", + label: "Re:Earth Light", + }, + { + key: "forest", + label: "Forest", + }, + { + key: "custom", + label: "Custom theme", + }, + ], + }, + { + id: "themeTextColor", + type: "string", + ui: "color", + title: "Text color", + description: "Select a color.", + defaultValue: "#434343", + availableIf: { + field: "themeType", + type: "string", + value: "custom", + }, + }, + { + id: "themeSelectColor", + type: "string", + ui: "color", + title: "Select color", + description: "Select a color.", + defaultValue: "#C52C63", + availableIf: { + field: "themeType", + type: "string", + value: "custom", + }, + }, + { + id: "themeBackgroundColor", + type: "string", + ui: "color", + title: "Background color", + description: "Select a color.", + defaultValue: "#DFE5F0", + availableIf: { + field: "themeType", + type: "string", + value: "custom", + }, + }, + ], + }, + { + id: "atmosphere", + title: "Atmospheric Conditions", + description: "Set the look and feel of the Earth.", + fields: [ + { + id: "enable_sun", + type: "bool", + title: "Sun", + defaultValue: true, + description: "Display the Sun.", + }, + { + id: "enable_lighting", + type: "bool", + title: "Lighting", + defaultValue: false, + description: "Display natural lighting from the sun.", + }, + { + id: "ground_atmosphere", + type: "bool", + title: "Ground atmosphere", + defaultValue: true, + description: "Display a lower atmospheric layer.", + }, + { + id: "sky_atmosphere", + type: "bool", + title: "Sky atmosphere", + defaultValue: true, + description: "Display an upper atmospheric layer.", + }, + { + id: "shadows", + type: "bool", + title: "Shadow", + description: + "Display shadows on the Earth. Shadows for each layers should be also enabled to see them.", + }, + { + id: "fog", + type: "bool", + title: "Fog", + defaultValue: true, + description: "Display customizable fog.", + }, + { + id: "fog_density", + type: "number", + title: "Fog density", + defaultValue: 0.0002, + description: "Set a thickness to the fog. Min: 0 Max: 1", + min: 0, + max: 1, + }, + { + id: "brightness_shift", + type: "number", + title: "Fog brightness", + defaultValue: 0.03, + description: "Set brightness of the fog. Min: -1 Max: 1", + min: -1, + max: 1, + }, + { + id: "hue_shift", + type: "number", + title: "Fog hue", + description: "Set hue of the fog. Min: -1 Max: 1", + min: -1, + max: 1, + }, + { + id: "surturation_shift", + type: "number", + title: "Fog saturation", + description: "Set saturation of the fog. Min: -1 Max: 1", + min: -1, + max: 1, + }, + ], + }, + { + id: "timeline", + title: "Timeline", + fields: [ + { + id: "animation", + type: "bool", + title: "Animation", + defaultValue: false, + description: "Enables animation play. If enabled, each 3D models can animate.", + }, + { + id: "visible", + type: "bool", + title: "Timeline", + description: "Whether the timeline UI is displayed or not", + }, + { + id: "current", + type: "string", + title: "Current time", + ui: "datetime", + }, + { + id: "start", + type: "string", + title: "Start time", + description: + "If nothing is set, it will be set automatically according to the data being displayed.", + ui: "datetime", + }, + { + id: "stop", + type: "string", + title: "Stop time", + description: + "If nothing is set, it will be set automatically according to the data being displayed.", + ui: "datetime", + }, + { + id: "stepType", + type: "string", + title: "Tick type", + defaultValue: "rate", + description: "How to specify the playback speed", + choices: [ + { + key: "rate", + label: "Rate", + }, + { + key: "fixed", + label: "Fixed", + }, + ], + }, + { + id: "multiplier", + type: "number", + title: "Multiplier", + description: + "Specifies the playback speed as a multiple of the real time speed. Negative values can also be specified. Default is 1x.", + defaultValue: 1, + prefix: "x", + availableIf: { + field: "stepType", + type: "string", + value: "rate", + }, + }, + { + id: "step", + type: "number", + title: "Step", + description: + "Specifies the playback speed in seconds. Each time the screen is repeatedly drawn, it advances by the specified specified number of seconds. Negative values can also be specified. The default is 1 second.", + defaultValue: 1, + suffix: "s", + availableIf: { + field: "stepType", + type: "string", + value: "fixed", + }, + }, + { + id: "rangeType", + type: "string", + title: "Range", + description: + "Specifies the playback speed in seconds. Negative values can also be specified.", + defaultValue: "unbounded", + choices: [ + { + key: "unbounded", + label: "Unbounded", + }, + { + key: "clamped", + label: "Clamped", + }, + { + key: "bounced", + label: "Bounced", + }, + ], + }, + ], + }, + { + id: "cameraLimiter", + title: "Camera Limiter", + description: "Set the camera limiting box.", + fields: [ + { + id: "cameraLimitterEnabled", + type: "bool", + title: "Enable", + defaultValue: false, + description: "Enable camera limiter.", + }, + { + id: "cameraLimitterShowHelper", + type: "bool", + title: "Show helper", + defaultValue: false, + description: "Display the limiter boundaries.", + }, + { + id: "cameraLimitterTargetArea", + type: "camera", + title: "Target max height", + description: + "The base position of the camera movement range. This position is the center point of the limit box in the horizontal and depth directions, and is the maximum height of the movable range. The camera will not be able to zoom out beyond the height specified here.", + }, + { + id: "cameraLimitterTargetWidth", + type: "number", + title: "Target width", + description: + "Specifies the width (longitude direction) of the box that represents the limiter boundaries.", + min: 5, + defaultValue: 1000000, + suffix: "m", + }, + { + id: "cameraLimitterTargetLength", + type: "number", + title: "Target length", + description: + "Specifies the depth (latitude direction) of the box that represents the limiter boundaries.", + min: 5, + defaultValue: 1000000, + suffix: "m", + }, + ], + }, + { + id: "googleAnalytics", + title: "Google Analytics", + description: + "Set your Google Analytics tracking ID and analyze how your published project is being viewed.", + fields: [ + { + id: "enableGA", + type: "bool", + title: "Enable", + defaultValue: false, + description: "Enable Google Analytics", + }, + { + id: "trackingId", + type: "string", + title: "Tracking ID", + description: + "Paste your Google Analytics tracking ID here. This will be embedded in your published project.", + }, + ], + }, + { + id: "experimental", + title: "Advanced", + fields: [ + { + id: "experimental_core", + type: "bool", + title: "Enable advanced features", + defaultValue: false, + description: "Enable advanced features for this scene. (beta)", + }, + { + id: "experimental_sandbox", + type: "bool", + title: "Enable sandbox (alpha)", + defaultValue: false, + description: "Enable sandbox for plugin iframes. (alpha)", + }, + ], + }, + ], +}; diff --git a/web/src/beta/components/fields/ListField/index.stories.tsx b/web/src/beta/components/fields/ListField/index.stories.tsx new file mode 100644 index 0000000000..d04fbc9ebf --- /dev/null +++ b/web/src/beta/components/fields/ListField/index.stories.tsx @@ -0,0 +1,55 @@ +import { useArgs } from "@storybook/preview-api"; +import { Meta, StoryObj } from "@storybook/react"; +import { useCallback } from "react"; + +import { styled } from "@reearth/services/theme"; + +import ListField, { Props } from "."; + +const meta: Meta = { + component: ListField, +}; + +export default meta; + +type Story = StoryObj; + +export const Default: Story = (args: Props) => { + const [_, updateArgs] = useArgs(); + + const addItem = useCallback( + () => updateArgs({ items: [...args.items, `Items ${args.items.length}`] }), + [updateArgs, args.items], + ); + + const removeItem = useCallback( + (key: string) => { + updateArgs({ items: args.items.filter(item => item != key) }); + }, + [updateArgs, args.items], + ); + + return ( + +
+ +
+
+ ); +}; + +const Wrapper = styled.div` + display: flex; + flex-direction: column; + gap: 10%; + margin-left: 2rem; + margin-top: 2rem; + height: 300px; + width: 300px; +`; + +Default.args = { + name: "List Field", + description: "List field Sample description", + items: [], +}; diff --git a/web/src/beta/components/fields/ListField/index.tsx b/web/src/beta/components/fields/ListField/index.tsx new file mode 100644 index 0000000000..13269ce64d --- /dev/null +++ b/web/src/beta/components/fields/ListField/index.tsx @@ -0,0 +1,91 @@ +import { useCallback, useState } from "react"; + +import Button from "@reearth/beta/components/Button"; +import Property from "@reearth/beta/components/fields"; +import { useT } from "@reearth/services/i18n"; +import { styled } from "@reearth/services/theme"; + +export type Props = { + name?: string; + description?: string; + items: string[]; + removeItem: (key: string) => void; + addItem: () => void; +}; + +// TODO: where would the field rendering logic go?? + +const ListField: React.FC = ({ name, description, items, removeItem, addItem }: Props) => { + const t = useT(); + const [selected, setSelected] = useState(null); + + const deleteItem = useCallback(() => { + if (!selected) return; + removeItem(selected); + setSelected(null); + }, [selected, removeItem]); + + return ( + + + {/* TODO: Make this drag and drop */} + {items.map(item => ( + setSelected(item)} key={item} selected={selected === item}> + {item} + + ))} + + + + + + + ); +}; + +const FieldWrapper = styled.div` + min-height: 84px; + max-height: 224px; + border-radius: 4px; + border: 1px solid rgba(77, 83, 88, 1); + overflow: auto; +`; + +const Item = styled.p<{ selected: boolean }>` + padding: 0 12px; + height: 28px; + font-size: 12px; + cursor: pointer; + background: ${({ theme, selected }) => (selected ? theme.select.main : "inherit")}; + &:hover { + background: ${({ theme, selected }) => (selected ? theme.select.main : theme.bg[2])}; + } +`; + +const ButtonGroup = styled.div` + display: flex; + gap: 4px; +`; + +const ButtonWrapper = styled(Button)` + height: 28px; + width: 100%; + padding: 0px; + margin: 0px; + opacity: ${({ disabled }) => (disabled ? 0.6 : 1)}; +`; + +export default ListField; diff --git a/web/src/beta/components/fields/ListField/sceneObject.js b/web/src/beta/components/fields/ListField/sceneObject.js new file mode 100644 index 0000000000..cb4e249491 --- /dev/null +++ b/web/src/beta/components/fields/ListField/sceneObject.js @@ -0,0 +1,2342 @@ +export default { + id: "01h79x1hkxcgfzpykc251kthxc", + clusters: [], + plugins: [ + { + __typename: "ScenePlugin", + property: null, + plugin: { + __typename: "Plugin", + id: "reearth", + name: "Re:Earth Official Plugin", + extensions: [ + { + __typename: "PluginExtension", + extensionId: "cesium", + description: + "Select here to find scene settings in the right panel. This includes setting map tiles, atmospheric conditions, real lighting, and more.", + name: "Cesium", + translatedDescription: + "Select here to find scene settings in the right panel. This includes setting map tiles, atmospheric conditions, real lighting, and more.", + translatedName: "Cesium", + icon: "", + singleOnly: false, + type: "VISUALIZER", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "infobox", + description: + "Create an information area that appears when a layer is highlighted. Text, pictures, video, etc can be added to an infobox.", + name: "Infobox", + translatedDescription: + "Create an information area that appears when a layer is highlighted. Text, pictures, video, etc can be added to an infobox.", + translatedName: "Infobox", + icon: "", + singleOnly: false, + type: "INFOBOX", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "marker", + description: "A standard map marker.", + name: "Marker", + translatedDescription: "A standard map marker.", + translatedName: "Marker", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "polyline", + description: "Polyline primitive", + name: "Polyline", + translatedDescription: "Polyline primitive", + translatedName: "Polyline", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "polygon", + description: "Polygon primitive", + name: "Polygon", + translatedDescription: "Polygon primitive", + translatedName: "Polygon", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "rect", + description: "Rectangle primitive", + name: "Rectangle", + translatedDescription: "Rectangle primitive", + translatedName: "Rectangle", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "photooverlay", + description: + "An Icon marker that allows you to set a photo that will appear after reaching its location.", + name: "Photo overlay", + translatedDescription: + "An Icon marker that allows you to set a photo that will appear after reaching its location.", + translatedName: "Photo overlay", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "ellipsoid", + description: "A 3D ellipsoid", + name: "Sphere", + translatedDescription: "A 3D ellipsoid", + translatedName: "Sphere", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "model", + description: "A 3D model", + name: "3D Model", + translatedDescription: "A 3D model", + translatedName: "3D Model", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "tileset", + description: '3D tiles in "3D Tiles" format', + name: "3D Tiles", + translatedDescription: '3D tiles in "3D Tiles" format', + translatedName: "3D Tiles", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "resource", + description: + "Import your own primitives to be used instead of Re:Earth's built in ones.", + name: "File", + translatedDescription: + "Import your own primitives to be used instead of Re:Earth's built in ones.", + translatedName: "File", + icon: "", + singleOnly: false, + type: "PRIMITIVE", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "textblock", + description: "Text block", + name: "Text", + translatedDescription: "Text block", + translatedName: "Text", + icon: "", + singleOnly: false, + type: "BLOCK", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "imageblock", + description: "Image block", + name: "Image", + translatedDescription: "Image block", + translatedName: "Image", + icon: "", + singleOnly: false, + type: "BLOCK", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "videoblock", + description: "Video block", + name: "Video", + translatedDescription: "Video block", + translatedName: "Video", + icon: "", + singleOnly: false, + type: "BLOCK", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "locationblock", + description: "Location block", + name: "Location", + translatedDescription: "Location block", + translatedName: "Location", + icon: "", + singleOnly: false, + type: "BLOCK", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "dlblock", + description: "Table block", + name: "Table", + translatedDescription: "Table block", + translatedName: "Table", + icon: "", + singleOnly: false, + type: "BLOCK", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "htmlblock", + description: "HTML block", + name: "HTML", + translatedDescription: "HTML block", + translatedName: "HTML", + icon: "", + singleOnly: false, + type: "BLOCK", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "menu", + description: "Menu widgets", + name: "Menu (legacy)", + translatedDescription: "Menu widgets", + translatedName: "Menu (legacy)", + icon: "", + singleOnly: true, + type: "WIDGET", + widgetLayout: { + __typename: "WidgetLayout", + extendable: { + __typename: "WidgetExtendable", + vertically: false, + horizontally: false, + }, + extended: false, + floating: true, + defaultLocation: null, + }, + }, + { + __typename: "PluginExtension", + extensionId: "button", + description: "Button widget", + name: "Button", + translatedDescription: "Button widget", + translatedName: "Button", + icon: "", + singleOnly: false, + type: "WIDGET", + widgetLayout: { + __typename: "WidgetLayout", + extendable: { + __typename: "WidgetExtendable", + vertically: false, + horizontally: false, + }, + extended: false, + floating: false, + defaultLocation: { + __typename: "WidgetLocation", + zone: "OUTER", + section: "LEFT", + area: "TOP", + }, + }, + }, + { + __typename: "PluginExtension", + extensionId: "splashscreen", + description: + "A unique start screen that will display on load of your archive(ex. display the archive's title).", + name: "Splash screen", + translatedDescription: + "A unique start screen that will display on load of your archive(ex. display the archive's title).", + translatedName: "Splash screen", + icon: "", + singleOnly: true, + type: "WIDGET", + widgetLayout: { + __typename: "WidgetLayout", + extendable: { + __typename: "WidgetExtendable", + vertically: false, + horizontally: false, + }, + extended: false, + floating: true, + defaultLocation: null, + }, + }, + { + __typename: "PluginExtension", + extensionId: "storytelling", + description: + "SA feature that enables you to create a story. Connect points in a meaningful way so that your information can be consumed and understood easily.", + name: "Storytelling", + translatedDescription: + "SA feature that enables you to create a story. Connect points in a meaningful way so that your information can be consumed and understood easily.", + translatedName: "Storytelling", + icon: "", + singleOnly: true, + type: "WIDGET", + widgetLayout: { + __typename: "WidgetLayout", + extendable: { + __typename: "WidgetExtendable", + vertically: false, + horizontally: true, + }, + extended: false, + floating: false, + defaultLocation: { + __typename: "WidgetLocation", + zone: "OUTER", + section: "LEFT", + area: "BOTTOM", + }, + }, + }, + { + __typename: "PluginExtension", + extensionId: "cluster", + description: "Defines how layers are clustered together and displayed on earth.", + name: "Cluster", + translatedDescription: + "Defines how layers are clustered together and displayed on earth.", + translatedName: "Cluster", + icon: "", + singleOnly: false, + type: "Cluster", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "timeline", + description: + "A timeline widget that allows for viewing layers and data at specific points in time.", + name: "Timeline", + translatedDescription: + "A timeline widget that allows for viewing layers and data at specific points in time.", + translatedName: "Timeline", + icon: "", + singleOnly: true, + type: "WIDGET", + widgetLayout: { + __typename: "WidgetLayout", + extendable: { + __typename: "WidgetExtendable", + vertically: false, + horizontally: true, + }, + extended: false, + floating: false, + defaultLocation: { + __typename: "WidgetLocation", + zone: "OUTER", + section: "CENTER", + area: "BOTTOM", + }, + }, + }, + { + __typename: "PluginExtension", + extensionId: "navigator", + description: + "A navigator widget that allows for viewing the earth from various angle by operating menu.", + name: "Navigator", + translatedDescription: + "A navigator widget that allows for viewing the earth from various angle by operating menu.", + translatedName: "Navigator", + icon: "", + singleOnly: true, + type: "WIDGET", + widgetLayout: { + __typename: "WidgetLayout", + extendable: { + __typename: "WidgetExtendable", + vertically: false, + horizontally: false, + }, + extended: false, + floating: false, + defaultLocation: { + __typename: "WidgetLocation", + zone: "OUTER", + section: "RIGHT", + area: "TOP", + }, + }, + }, + { + __typename: "PluginExtension", + extensionId: "story", + description: "Storytelling story", + name: "Story", + translatedDescription: "Storytelling story", + translatedName: "Story", + icon: "", + singleOnly: false, + type: "Story", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "storyPage", + description: "Storytelling Page", + name: "Page", + translatedDescription: "Storytelling Page", + translatedName: "Page", + icon: "", + singleOnly: false, + type: "StoryPage", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "storyBlock", + description: "Storytelling Block", + name: "Block", + translatedDescription: "Storytelling Block", + translatedName: "Block", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "textStoryBlock", + description: "Storytelling Text Block", + name: "Text Block", + translatedDescription: "Storytelling Text Block", + translatedName: "Text Block", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "mdTextStoryBlock", + description: "Storytelling MD Text Block", + name: "MD Test Block", + translatedDescription: "Storytelling MD Text Block", + translatedName: "MD Test Block", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "imageStoryBlock", + description: "Storytelling Image Block", + name: "Image Block", + translatedDescription: "Storytelling Image Block", + translatedName: "Image Block", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "videoStoryBlock", + description: "Storytelling Video Block", + name: "Video Block", + translatedDescription: "Storytelling Video Block", + translatedName: "Video Block", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "cameraButtonStoryBlock", + description: "Storytelling Camera Button", + name: "Camera Button", + translatedDescription: "Storytelling Camera Button", + translatedName: "Camera Button", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "linkButtonStoryBlock", + description: "Storytelling Link Button", + name: "Link Button", + translatedDescription: "Storytelling Link Button", + translatedName: "Link Button", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + { + __typename: "PluginExtension", + extensionId: "timelineStoryBlock", + description: "Storytelling Timeline Block", + name: "Timeline Block", + translatedDescription: "Storytelling Timeline Block", + translatedName: "Timeline Block", + icon: "", + singleOnly: false, + type: "StoryBlock", + widgetLayout: null, + }, + ], + }, + }, + ], + projectId: "01h79x1h9dj779aq637rt4sq3h", + property: { + __typename: "Property", + id: "01h79x1hkxcgfzpykc29r4srvf", + schema: { + __typename: "PropertySchema", + id: "reearth/cesium", + groups: [ + { + __typename: "PropertySchemaGroup", + schemaGroupId: "default", + title: "Scene", + translatedTitle: "Scene", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "camera", + title: "Initial camera position", + description: "The starting position of your project.", + translatedTitle: "Initial camera position", + translatedDescription: "The starting position of your project.", + prefix: null, + suffix: null, + type: "CAMERA", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "allowEnterGround", + title: "Enter the ground", + description: "Set to true to allow the camera to enter the surface of the earth.", + translatedTitle: "Enter the ground", + translatedDescription: + "Set to true to allow the camera to enter the surface of the earth.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "sceneMode", + title: "Scene mode", + description: "Specify scene mode.", + translatedTitle: "Scene mode", + translatedDescription: "Specify scene mode.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "3d", + ui: null, + min: null, + max: null, + choices: [ + { + __typename: "PropertySchemaFieldChoice", + key: "3d", + icon: null, + title: "Scene 3D", + translatedTitle: "Scene 3D", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "2d", + icon: null, + title: "Scene 2D", + translatedTitle: "Scene 2D", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "columbus", + icon: null, + title: "Columbus View", + translatedTitle: "Columbus View", + }, + ], + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "skybox", + title: "Sky", + description: "Show the stars.", + translatedTitle: "Sky", + translatedDescription: "Show the stars.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: true, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "bgcolor", + title: "Background color", + description: "With Sky disabled, choose a background color.", + translatedTitle: "Background color", + translatedDescription: "With Sky disabled, choose a background color.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: "COLOR", + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "ion", + title: "Cesium Ion API access token", + description: + "Cesium Ion account users may use their personal API keys to be able to use their Cesium Ion assets(tile data, 3D data, etc) with their project.", + translatedTitle: "Cesium Ion API access token", + translatedDescription: + "Cesium Ion account users may use their personal API keys to be able to use their Cesium Ion assets(tile data, 3D data, etc) with their project.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "vr", + title: "VR", + description: "Enable VR mode to split the screen into left and right.", + translatedTitle: "VR", + translatedDescription: "Enable VR mode to split the screen into left and right.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "tiles", + title: "Tiles", + translatedTitle: "Tiles", + isList: true, + representativeFieldId: "tile_type", + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "tile_type", + title: "Tile type", + description: "", + translatedTitle: "Tile type", + translatedDescription: "", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "default", + ui: null, + min: null, + max: null, + choices: [ + { + __typename: "PropertySchemaFieldChoice", + key: "default", + icon: null, + title: "Default", + translatedTitle: "Default", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "default_label", + icon: null, + title: "Labelled", + translatedTitle: "Labelled", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "default_road", + icon: null, + title: "Road Map", + translatedTitle: "Road Map", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "stamen_watercolor", + icon: null, + title: "Stamen Watercolor", + translatedTitle: "Stamen Watercolor", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "stamen_toner", + icon: null, + title: "Stamen Toner", + translatedTitle: "Stamen Toner", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "open_street_map", + icon: null, + title: "OpenStreetMap", + translatedTitle: "OpenStreetMap", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "esri_world_topo", + icon: null, + title: "ESRI Topography", + translatedTitle: "ESRI Topography", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "black_marble", + icon: null, + title: "Earth at night", + translatedTitle: "Earth at night", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "japan_gsi_standard", + icon: null, + title: "Japan GSI Standard Map", + translatedTitle: "Japan GSI Standard Map", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "url", + icon: null, + title: "URL", + translatedTitle: "URL", + }, + ], + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "tile_url", + title: "Tile map URL", + description: "", + translatedTitle: "Tile map URL", + translatedDescription: "", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "tile_type", + type: "STRING", + value: "url", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "tile_minLevel", + title: "Minimum zoom level", + description: "", + translatedTitle: "Minimum zoom level", + translatedDescription: "", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: null, + ui: null, + min: 0, + max: 30, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "tile_maxLevel", + title: "Maximum zoom level", + description: "", + translatedTitle: "Maximum zoom level", + translatedDescription: "", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: null, + ui: null, + min: 0, + max: 30, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "tile_opacity", + title: "Opacity", + description: "Change the opacity of the selected tile map. Min: 0 Max: 1", + translatedTitle: "Opacity", + translatedDescription: "Change the opacity of the selected tile map. Min: 0 Max: 1", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: 1, + ui: "SLIDER", + min: 0, + max: 1, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "terrain", + title: "Terrain", + translatedTitle: "Terrain", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "terrain", + title: "Terrain", + description: "Show elevation when close to the surface.", + translatedTitle: "Terrain", + translatedDescription: "Show elevation when close to the surface.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "terrainType", + title: "Terrain type", + description: "Specify terrain type.", + translatedTitle: "Terrain type", + translatedDescription: "Specify terrain type.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "cesium", + ui: null, + min: null, + max: null, + choices: [ + { + __typename: "PropertySchemaFieldChoice", + key: "cesium", + icon: null, + title: "Cesium World Terrain", + translatedTitle: "Cesium World Terrain", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "arcgis", + icon: null, + title: "ArcGIS Terrain", + translatedTitle: "ArcGIS Terrain", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "cesiumion", + icon: null, + title: "Cesium Ion", + translatedTitle: "Cesium Ion", + }, + ], + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "terrainCesiumIonAsset", + title: "Terrain Cesium Ion asset ID", + description: "Specify the ID of a terrain asset registered on Cesium Ion.", + translatedTitle: "Terrain Cesium Ion asset ID", + translatedDescription: "Specify the ID of a terrain asset registered on Cesium Ion.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "terrainType", + type: "STRING", + value: "cesiumion", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "terrainCesiumIonAccessToken", + title: "Terrain Cesium Ion access token", + description: + "Specify a Cesium Ion access token if you want to override the access token in the scene-wide settings for this tile.", + translatedTitle: "Terrain Cesium Ion access token", + translatedDescription: + "Specify a Cesium Ion access token if you want to override the access token in the scene-wide settings for this tile.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "terrainType", + type: "STRING", + value: "cesiumion", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "terrainCesiumIonUrl", + title: "Terrain URL", + description: + "Specify the URL of Cesium's terrain server if it is delivered on-premises rather than Cesum Ion. This takes precedence over the asset ID setting.", + translatedTitle: "Terrain URL", + translatedDescription: + "Specify the URL of Cesium's terrain server if it is delivered on-premises rather than Cesum Ion. This takes precedence over the asset ID setting.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "terrainType", + type: "STRING", + value: "cesiumion", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "terrainExaggeration", + title: "Terrain exaggeration", + description: + "A scalar used to exaggerate the terrain. Defaults to 1.0 (no exaggeration). A value of 2.0 scales the terrain by 2x. A value of 0.0 makes the terrain completely flat.", + translatedTitle: "Terrain exaggeration", + translatedDescription: + "A scalar used to exaggerate the terrain. Defaults to 1.0 (no exaggeration). A value of 2.0 scales the terrain by 2x. A value of 0.0 makes the terrain completely flat.", + prefix: null, + suffix: "x", + type: "NUMBER", + defaultValue: 1, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "terrainExaggerationRelativeHeight", + title: "Terrain exaggeration relative height", + description: + "The height from which terrain is exaggerated. Defaults to 0.0. Terrain that is above this height will scale upwards and terrain that is below this height will scale downwards.", + translatedTitle: "Terrain exaggeration relative height", + translatedDescription: + "The height from which terrain is exaggerated. Defaults to 0.0. Terrain that is above this height will scale upwards and terrain that is below this height will scale downwards.", + prefix: null, + suffix: "m", + type: "NUMBER", + defaultValue: 0, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "depthTestAgainstTerrain", + title: "Hide objects under terrain", + description: + "Hides objects under the terrain. Depending on the loading status of the terrain, objects may be shown or hidden.", + translatedTitle: "Hide objects under terrain", + translatedDescription: + "Hides objects under the terrain. Depending on the loading status of the terrain, objects may be shown or hidden.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "indicator", + title: "Indicator", + translatedTitle: "Indicator", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "indicator_type", + title: "Type", + description: "Choose how the indicator will look.", + translatedTitle: "Type", + translatedDescription: "Choose how the indicator will look.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "default", + ui: null, + min: null, + max: null, + choices: [ + { + __typename: "PropertySchemaFieldChoice", + key: "default", + icon: null, + title: "Default", + translatedTitle: "Default", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "crosshair", + icon: null, + title: "Crosshair", + translatedTitle: "Crosshair", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "custom", + icon: null, + title: "Custom", + translatedTitle: "Custom", + }, + ], + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "indicator_image", + title: "Image URL", + description: "", + translatedTitle: "Image URL", + translatedDescription: "", + prefix: null, + suffix: null, + type: "URL", + defaultValue: null, + ui: "IMAGE", + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "indicator_type", + type: "STRING", + value: "custom", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "indicator_image_scale", + title: "Image scale", + description: "", + translatedTitle: "Image scale", + translatedDescription: "", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "indicator_type", + type: "STRING", + value: "custom", + }, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "theme", + title: "Publish Theme", + translatedTitle: "Publish Theme", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "themeType", + title: "Theme", + description: "Select the theme.", + translatedTitle: "Theme", + translatedDescription: "Select the theme.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "dark", + ui: null, + min: null, + max: null, + choices: [ + { + __typename: "PropertySchemaFieldChoice", + key: "dark", + icon: null, + title: "Re:Earth Dark", + translatedTitle: "Re:Earth Dark", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "light", + icon: null, + title: "Re:Earth Light", + translatedTitle: "Re:Earth Light", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "forest", + icon: null, + title: "Forest", + translatedTitle: "Forest", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "custom", + icon: null, + title: "Custom theme", + translatedTitle: "Custom theme", + }, + ], + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "themeTextColor", + title: "Text color", + description: "Select a color.", + translatedTitle: "Text color", + translatedDescription: "Select a color.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "#434343", + ui: "COLOR", + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "themeType", + type: "STRING", + value: "custom", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "themeSelectColor", + title: "Select color", + description: "Select a color.", + translatedTitle: "Select color", + translatedDescription: "Select a color.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "#C52C63", + ui: "COLOR", + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "themeType", + type: "STRING", + value: "custom", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "themeBackgroundColor", + title: "Background color", + description: "Select a color.", + translatedTitle: "Background color", + translatedDescription: "Select a color.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "#DFE5F0", + ui: "COLOR", + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "themeType", + type: "STRING", + value: "custom", + }, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "atmosphere", + title: "Atmospheric Conditions", + translatedTitle: "Atmospheric Conditions", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "enable_sun", + title: "Sun", + description: "Display the Sun.", + translatedTitle: "Sun", + translatedDescription: "Display the Sun.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: true, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "enable_lighting", + title: "Lighting", + description: "Display natural lighting from the sun.", + translatedTitle: "Lighting", + translatedDescription: "Display natural lighting from the sun.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "ground_atmosphere", + title: "Ground atmosphere", + description: "Display a lower atmospheric layer.", + translatedTitle: "Ground atmosphere", + translatedDescription: "Display a lower atmospheric layer.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: true, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "sky_atmosphere", + title: "Sky atmosphere", + description: "Display an upper atmospheric layer.", + translatedTitle: "Sky atmosphere", + translatedDescription: "Display an upper atmospheric layer.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: true, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "shadows", + title: "Shadow", + description: + "Display shadows on the Earth. Shadows for each layers should be also enabled to see them.", + translatedTitle: "Shadow", + translatedDescription: + "Display shadows on the Earth. Shadows for each layers should be also enabled to see them.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "fog", + title: "Fog", + description: "Display customizable fog.", + translatedTitle: "Fog", + translatedDescription: "Display customizable fog.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: true, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "fog_density", + title: "Fog density", + description: "Set a thickness to the fog. Min: 0 Max: 1", + translatedTitle: "Fog density", + translatedDescription: "Set a thickness to the fog. Min: 0 Max: 1", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: 0.0002, + ui: null, + min: 0, + max: 1, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "brightness_shift", + title: "Fog brightness", + description: "Set brightness of the fog. Min: -1 Max: 1", + translatedTitle: "Fog brightness", + translatedDescription: "Set brightness of the fog. Min: -1 Max: 1", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: 0.03, + ui: null, + min: -1, + max: 1, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "hue_shift", + title: "Fog hue", + description: "Set hue of the fog. Min: -1 Max: 1", + translatedTitle: "Fog hue", + translatedDescription: "Set hue of the fog. Min: -1 Max: 1", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: null, + ui: null, + min: -1, + max: 1, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "surturation_shift", + title: "Fog saturation", + description: "Set saturation of the fog. Min: -1 Max: 1", + translatedTitle: "Fog saturation", + translatedDescription: "Set saturation of the fog. Min: -1 Max: 1", + prefix: null, + suffix: null, + type: "NUMBER", + defaultValue: null, + ui: null, + min: -1, + max: 1, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "timeline", + title: "Timeline", + translatedTitle: "Timeline", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "animation", + title: "Animation", + description: "Enables animation play. If enabled, each 3D models can animate.", + translatedTitle: "Animation", + translatedDescription: + "Enables animation play. If enabled, each 3D models can animate.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "visible", + title: "Timeline", + description: "Whether the timeline UI is displayed or not", + translatedTitle: "Timeline", + translatedDescription: "Whether the timeline UI is displayed or not", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "current", + title: "Current time", + description: "", + translatedTitle: "Current time", + translatedDescription: "", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: "DATETIME", + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "start", + title: "Start time", + description: + "If nothing is set, it will be set automatically according to the data being displayed.", + translatedTitle: "Start time", + translatedDescription: + "If nothing is set, it will be set automatically according to the data being displayed.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: "DATETIME", + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "stop", + title: "Stop time", + description: + "If nothing is set, it will be set automatically according to the data being displayed.", + translatedTitle: "Stop time", + translatedDescription: + "If nothing is set, it will be set automatically according to the data being displayed.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: "DATETIME", + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "stepType", + title: "Tick type", + description: "How to specify the playback speed", + translatedTitle: "Tick type", + translatedDescription: "How to specify the playback speed", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "rate", + ui: null, + min: null, + max: null, + choices: [ + { + __typename: "PropertySchemaFieldChoice", + key: "rate", + icon: null, + title: "Rate", + translatedTitle: "Rate", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "fixed", + icon: null, + title: "Fixed", + translatedTitle: "Fixed", + }, + ], + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "multiplier", + title: "Multiplier", + description: + "Specifies the playback speed as a multiple of the real time speed. Negative values can also be specified. Default is 1x.", + translatedTitle: "Multiplier", + translatedDescription: + "Specifies the playback speed as a multiple of the real time speed. Negative values can also be specified. Default is 1x.", + prefix: "x", + suffix: null, + type: "NUMBER", + defaultValue: 1, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "stepType", + type: "STRING", + value: "rate", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "step", + title: "Step", + description: + "Specifies the playback speed in seconds. Each time the screen is repeatedly drawn, it advances by the specified specified number of seconds. Negative values can also be specified. The default is 1 second.", + translatedTitle: "Step", + translatedDescription: + "Specifies the playback speed in seconds. Each time the screen is repeatedly drawn, it advances by the specified specified number of seconds. Negative values can also be specified. The default is 1 second.", + prefix: null, + suffix: "s", + type: "NUMBER", + defaultValue: 1, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: { + __typename: "PropertyCondition", + fieldId: "stepType", + type: "STRING", + value: "fixed", + }, + }, + { + __typename: "PropertySchemaField", + fieldId: "rangeType", + title: "Range", + description: + "Specifies the playback speed in seconds. Negative values can also be specified.", + translatedTitle: "Range", + translatedDescription: + "Specifies the playback speed in seconds. Negative values can also be specified.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: "unbounded", + ui: null, + min: null, + max: null, + choices: [ + { + __typename: "PropertySchemaFieldChoice", + key: "unbounded", + icon: null, + title: "Unbounded", + translatedTitle: "Unbounded", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "clamped", + icon: null, + title: "Clamped", + translatedTitle: "Clamped", + }, + { + __typename: "PropertySchemaFieldChoice", + key: "bounced", + icon: null, + title: "Bounced", + translatedTitle: "Bounced", + }, + ], + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "cameraLimiter", + title: "Camera Limiter", + translatedTitle: "Camera Limiter", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "cameraLimitterEnabled", + title: "Enable", + description: "Enable camera limiter.", + translatedTitle: "Enable", + translatedDescription: "Enable camera limiter.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "cameraLimitterShowHelper", + title: "Show helper", + description: "Display the limiter boundaries.", + translatedTitle: "Show helper", + translatedDescription: "Display the limiter boundaries.", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "cameraLimitterTargetArea", + title: "Target max height", + description: + "The base position of the camera movement range. This position is the center point of the limit box in the horizontal and depth directions, and is the maximum height of the movable range. The camera will not be able to zoom out beyond the height specified here.", + translatedTitle: "Target max height", + translatedDescription: + "The base position of the camera movement range. This position is the center point of the limit box in the horizontal and depth directions, and is the maximum height of the movable range. The camera will not be able to zoom out beyond the height specified here.", + prefix: null, + suffix: null, + type: "CAMERA", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "cameraLimitterTargetWidth", + title: "Target width", + description: + "Specifies the width (longitude direction) of the box that represents the limiter boundaries.", + translatedTitle: "Target width", + translatedDescription: + "Specifies the width (longitude direction) of the box that represents the limiter boundaries.", + prefix: null, + suffix: "m", + type: "NUMBER", + defaultValue: 1000000, + ui: null, + min: 5, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "cameraLimitterTargetLength", + title: "Target length", + description: + "Specifies the depth (latitude direction) of the box that represents the limiter boundaries.", + translatedTitle: "Target length", + translatedDescription: + "Specifies the depth (latitude direction) of the box that represents the limiter boundaries.", + prefix: null, + suffix: "m", + type: "NUMBER", + defaultValue: 1000000, + ui: null, + min: 5, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "googleAnalytics", + title: "Google Analytics", + translatedTitle: "Google Analytics", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "enableGA", + title: "Enable", + description: "Enable Google Analytics", + translatedTitle: "Enable", + translatedDescription: "Enable Google Analytics", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "trackingId", + title: "Tracking ID", + description: + "Paste your Google Analytics tracking ID here. This will be embedded in your published project.", + translatedTitle: "Tracking ID", + translatedDescription: + "Paste your Google Analytics tracking ID here. This will be embedded in your published project.", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "experimental", + title: "Advanced", + translatedTitle: "Advanced", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "experimental_core", + title: "Enable advanced features", + description: "Enable advanced features for this scene. (beta)", + translatedTitle: "Enable advanced features", + translatedDescription: "Enable advanced features for this scene. (beta)", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "experimental_sandbox", + title: "Enable sandbox (alpha)", + description: "Enable sandbox for plugin iframes. (alpha)", + translatedTitle: "Enable sandbox (alpha)", + translatedDescription: "Enable sandbox for plugin iframes. (alpha)", + prefix: null, + suffix: null, + type: "BOOL", + defaultValue: false, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + ], + }, + items: [ + { + __typename: "PropertyGroupList", + id: "01h79x1hkxcgfzpykc2d9s6jjx", + schemaGroupId: "tiles", + groups: [ + { + __typename: "PropertyGroup", + id: "01h79x1hkxcgfzpykc2ebe0yx7", + schemaGroupId: "tiles", + fields: [], + }, + ], + }, + ], + }, + rootLayerId: "01h79x1hkxcgfzpykc26fx0khs", + newLayers: [], + tags: [], + stories: [ + { + __typename: "Story", + id: "01h79x1j0f3xptq3pzgnysk6dp", + title: "Default", + panelPosition: "LEFT", + isBasicAuthActive: false, + basicAuthUsername: "", + basicAuthPassword: "", + alias: "", + publicTitle: "", + publicDescription: "", + publicImage: "", + publicNoIndex: false, + pages: [ + { + __typename: "StoryPage", + id: "01ha3yqjspksp134k3gzv3yxnk", + title: "Page", + swipeable: false, + propertyId: "01ha3yqjspksp134k3gz04a9d2", + property: { + __typename: "Property", + id: "01ha3yqjspksp134k3gz04a9d2", + schema: { + __typename: "PropertySchema", + id: "reearth/storyPage", + groups: [ + { + __typename: "PropertySchemaGroup", + schemaGroupId: "panel", + title: "Panel Setting", + translatedTitle: "Panel Setting", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "padding", + title: "Padding", + description: "", + translatedTitle: "Padding", + translatedDescription: "", + prefix: null, + suffix: null, + type: "SPACING", + defaultValue: null, + ui: "PADDING", + min: 0, + max: 100, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "gap", + title: "Gap", + description: "", + translatedTitle: "Gap", + translatedDescription: "", + prefix: null, + suffix: "px", + type: "NUMBER", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "title", + title: "Title Setting", + translatedTitle: "Title Setting", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "title", + title: "Title", + description: "", + translatedTitle: "Title", + translatedDescription: "", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "color", + title: "Color", + description: "", + translatedTitle: "Color", + translatedDescription: "", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: "COLOR", + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "cameraAnimation", + title: "Camera Animation", + translatedTitle: "Camera Animation", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "cameraPosition", + title: "Camera position", + description: "", + translatedTitle: "Camera position", + translatedDescription: "", + prefix: null, + suffix: null, + type: "CAMERA", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "cameraDuration", + title: "Duration", + description: "", + translatedTitle: "Duration", + translatedDescription: "", + prefix: null, + suffix: "s", + type: "NUMBER", + defaultValue: null, + ui: null, + min: 0, + max: null, + choices: null, + isAvailableIf: null, + }, + { + __typename: "PropertySchemaField", + fieldId: "cameraDelay", + title: "Delay", + description: "", + translatedTitle: "Delay", + translatedDescription: "", + prefix: null, + suffix: "s", + type: "NUMBER", + defaultValue: null, + ui: null, + min: 0, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + { + __typename: "PropertySchemaGroup", + schemaGroupId: "timePoint", + title: "Time Point Setting", + translatedTitle: "Time Point Setting", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "timePoint", + title: "Time", + description: "", + translatedTitle: "Time", + translatedDescription: "", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: "DATETIME", + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + ], + }, + items: [], + }, + blocks: [ + { + __typename: "StoryBlock", + id: "01ha3yr4jcmvxd59d15dw0td81", + pluginId: "reearth", + extensionId: "storyBlock", + property: { + __typename: "Property", + id: "01ha3yr4jcmvxd59d15cpt672v", + schema: { + __typename: "PropertySchema", + id: "reearth/storyBlock", + groups: [ + { + __typename: "PropertySchemaGroup", + schemaGroupId: "default", + title: "Basic", + translatedTitle: "Basic", + isList: false, + representativeFieldId: null, + isAvailableIf: null, + fields: [ + { + __typename: "PropertySchemaField", + fieldId: "title", + title: "Title", + description: "", + translatedTitle: "Title", + translatedDescription: "", + prefix: null, + suffix: null, + type: "STRING", + defaultValue: null, + ui: null, + min: null, + max: null, + choices: null, + isAvailableIf: null, + }, + ], + }, + ], + }, + items: [], + }, + }, + ], + }, + ], + }, + ], + teamId: "01h6tpqrk5nxpckgfsw3h89p6x", + widgetAlignSystem: { + __typename: "WidgetAlignSystem", + outer: { + __typename: "WidgetZone", + left: { + __typename: "WidgetSection", + top: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + middle: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + bottom: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + }, + center: { + __typename: "WidgetSection", + top: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + middle: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + bottom: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + }, + right: { + __typename: "WidgetSection", + top: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + middle: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + bottom: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + }, + }, + inner: { + __typename: "WidgetZone", + left: { + __typename: "WidgetSection", + top: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + middle: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + bottom: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + }, + center: { + __typename: "WidgetSection", + top: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + middle: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + bottom: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + }, + right: { + __typename: "WidgetSection", + top: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + middle: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + bottom: { + __typename: "WidgetArea", + widgetIds: [], + align: "START", + padding: null, + gap: null, + centered: false, + background: null, + }, + }, + }, + }, + widgets: [], +}; From 73c1617f60e19cad5995366421243fa9e3805bc7 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Wed, 13 Sep 2023 09:08:13 +0530 Subject: [PATCH 02/20] - Translations --- web/src/services/i18n/translations/en.yml | 9 +++++---- web/src/services/i18n/translations/ja.yml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/web/src/services/i18n/translations/en.yml b/web/src/services/i18n/translations/en.yml index 93606c7c79..2eee628bf8 100644 --- a/web/src/services/i18n/translations/en.yml +++ b/web/src/services/i18n/translations/en.yml @@ -18,6 +18,8 @@ Cancel: Cancel Apply: Apply You have passed the maximum value.: You have passed the maximum value. You have passed the minimum value.: You have passed the minimum value. +Remove: Remove +Add Item: '' Please choose an option: '' Not found: Not found Date: Date @@ -37,10 +39,6 @@ Value: '' Description around.: '' Write down your text: '' Add to Layer: '' -Padding settings: Padding settings -Remove: Remove -Untitled: Untitled -Page: Page Scene: Scene Layers: Layers Outline: Outline @@ -74,7 +72,9 @@ Page will be available as result on search engines: '' Your project will be unpublished.: Your project will be unpublished. This means that anybody with the URL will become unable to view this project.: This means that anybody with the URL will become unable to view this project. '**Warning**: This includes websites where this project is embedded.': '**Warning**: This includes websites where this project is embedded.' +Untitled: Untitled New Page: New Page +Page: Page Page Settings: Page Settings Align System: Align System Widget Manager: Widget Manager @@ -183,6 +183,7 @@ Playback timeline: Playback timeline Play timeline: Play timeline ellipse: ellipse Open timeline: Open timeline +Padding settings: Padding settings Drop here: Drop here Write your story :): Write your story :) Double click to start to write your story :): Double click to start to write your story :) diff --git a/web/src/services/i18n/translations/ja.yml b/web/src/services/i18n/translations/ja.yml index f05dfd98ee..32cb26cefa 100644 --- a/web/src/services/i18n/translations/ja.yml +++ b/web/src/services/i18n/translations/ja.yml @@ -18,6 +18,8 @@ Cancel: キャンセル Apply: Apply You have passed the maximum value.: You have passed the maximum value. You have passed the minimum value.: You have passed the minimum value. +Remove: 削除 +Add Item: '' Please choose an option: '' Not found: ページが見つかりません Date: 作成日時順 @@ -37,10 +39,6 @@ Value: '' Description around.: '' Write down your text: '' Add to Layer: '' -Padding settings: '' -Remove: 削除 -Untitled: 無名 -Page: ページ Scene: シーン Layers: レイヤー Outline: アウトライン @@ -70,7 +68,9 @@ Page will be available as result on search engines: '' Your project will be unpublished.: プロジェクトを非公開にする This means that anybody with the URL will become unable to view this project.: URLを知っている人もこのプロジェクトを見ることができなくなります。 '**Warning**: This includes websites where this project is embedded.': '**Warning**このプロジェクトを埋め込んだWebサイトへ影響を及ぼす可能性があります。' +Untitled: 無名 New Page: 新しいページ +Page: ページ Page Settings: ページ設定 Align System: アラインシステム Widget Manager: ウィジェット管理 @@ -164,6 +164,7 @@ Playback timeline: タイムラインを逆再生する Play timeline: タイムラインを再生する ellipse: 円錐 Open timeline: タイムラインを開く +Padding settings: '' Drop here: ここにドロップ Write your story :): '' Double click to start to write your story :): '' From 158cfa3e7d6f71c76bcc432f913774c691f1e739 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Wed, 13 Sep 2023 14:53:57 +0530 Subject: [PATCH 03/20] export prop types in DragAndDrop --- web/src/beta/components/DragAndDropList/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/beta/components/DragAndDropList/index.tsx b/web/src/beta/components/DragAndDropList/index.tsx index 367db4f558..f68b89f0c0 100644 --- a/web/src/beta/components/DragAndDropList/index.tsx +++ b/web/src/beta/components/DragAndDropList/index.tsx @@ -5,7 +5,7 @@ import { styled } from "@reearth/services/theme"; import Item from "./Item"; -type Props = { +export type Props = { uniqueKey: string; items: Item[]; getId: (item: Item) => string; From 67536aaf249e5ca46ec5bf94ff12b4bd3fa056c8 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Wed, 13 Sep 2023 14:54:28 +0530 Subject: [PATCH 04/20] - List field component UI ready --- .../fields/ListField/index.stories.tsx | 60 ++++++++++++++++--- .../components/fields/ListField/index.tsx | 47 +++++++++++---- 2 files changed, 89 insertions(+), 18 deletions(-) diff --git a/web/src/beta/components/fields/ListField/index.stories.tsx b/web/src/beta/components/fields/ListField/index.stories.tsx index d04fbc9ebf..0537ed5f1d 100644 --- a/web/src/beta/components/fields/ListField/index.stories.tsx +++ b/web/src/beta/components/fields/ListField/index.stories.tsx @@ -17,14 +17,35 @@ type Story = StoryObj; export const Default: Story = (args: Props) => { const [_, updateArgs] = useArgs(); - const addItem = useCallback( - () => updateArgs({ items: [...args.items, `Items ${args.items.length}`] }), - [updateArgs, args.items], - ); + const addItem = useCallback(() => { + const randomId = (Math.random() + 1).toString(36).substring(7); + updateArgs({ + items: [ + ...args.items, + { + id: randomId, + value: `Item ${randomId}`, + }, + ], + }); + }, [updateArgs, args.items]); const removeItem = useCallback( (key: string) => { - updateArgs({ items: args.items.filter(item => item != key) }); + updateArgs({ items: args.items.filter(({ id }) => id != key) }); + }, + [updateArgs, args.items], + ); + + const onItemDrop = useCallback( + (item: { id: string; value: string }, index: number) => { + const items = [...args.items]; + items.splice( + items.findIndex(x => x.id === item.id), + 1, + ); + items.splice(index, 0, item); + updateArgs({ items }); }, [updateArgs, args.items], ); @@ -32,7 +53,7 @@ export const Default: Story = (args: Props) => { return (
- +
); @@ -51,5 +72,30 @@ const Wrapper = styled.div` Default.args = { name: "List Field", description: "List field Sample description", - items: [], + items: [ + { + id: "w3tlwi", + value: "Item w3tlwi", + }, + { + id: "77eg5", + value: "Item 77eg5", + }, + { + id: "7p218", + value: "Item 7p218", + }, + { + id: "xquyo", + value: "Item xquyo", + }, + { + id: "2mewj", + value: "Item 2mewj", + }, + { + id: "d2gmu", + value: "Item d2gmu", + }, + ], }; diff --git a/web/src/beta/components/fields/ListField/index.tsx b/web/src/beta/components/fields/ListField/index.tsx index 13269ce64d..c91a790ac1 100644 --- a/web/src/beta/components/fields/ListField/index.tsx +++ b/web/src/beta/components/fields/ListField/index.tsx @@ -1,39 +1,64 @@ import { useCallback, useState } from "react"; import Button from "@reearth/beta/components/Button"; +import DragAndDropList, { + Props as DragAndDropProps, +} from "@reearth/beta/components/DragAndDropList"; import Property from "@reearth/beta/components/fields"; import { useT } from "@reearth/services/i18n"; import { styled } from "@reearth/services/theme"; +type ListItem = { + id: string; + value: string; +}; + export type Props = { name?: string; description?: string; - items: string[]; + items: ListItem[]; removeItem: (key: string) => void; addItem: () => void; -}; +} & Pick; // TODO: where would the field rendering logic go?? -const ListField: React.FC = ({ name, description, items, removeItem, addItem }: Props) => { +const ListField: React.FC = ({ + name, + description, + items, + removeItem, + addItem, + onItemDrop, +}: Props) => { const t = useT(); const [selected, setSelected] = useState(null); const deleteItem = useCallback(() => { - if (!selected) return; + if (selected == null || selected == undefined) return; removeItem(selected); setSelected(null); }, [selected, removeItem]); + const getId = useCallback(({ id }: ListItem) => { + return id; + }, []); + return ( - {/* TODO: Make this drag and drop */} - {items.map(item => ( - setSelected(item)} key={item} selected={selected === item}> - {item} - - ))} + + uniqueKey="ListField" + items={items} + onItemDrop={onItemDrop} + getId={getId} + renderItem={({ id, value }) => ( + setSelected(id)} selected={selected === id}> + {value} + + )} + gap={0} + /> = ({ name, description, items, removeItem, addI buttonType="secondary" text={t("Remove")} size="medium" - disabled={!selected} + disabled={selected == null || selected == undefined} /> Date: Wed, 13 Sep 2023 14:55:02 +0530 Subject: [PATCH 05/20] - Minor changes --- web/src/beta/components/fields/ListField/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/beta/components/fields/ListField/index.tsx b/web/src/beta/components/fields/ListField/index.tsx index c91a790ac1..c4c6b0e70c 100644 --- a/web/src/beta/components/fields/ListField/index.tsx +++ b/web/src/beta/components/fields/ListField/index.tsx @@ -35,7 +35,7 @@ const ListField: React.FC = ({ const [selected, setSelected] = useState(null); const deleteItem = useCallback(() => { - if (selected == null || selected == undefined) return; + if (!selected) return; removeItem(selected); setSelected(null); }, [selected, removeItem]); @@ -67,7 +67,7 @@ const ListField: React.FC = ({ buttonType="secondary" text={t("Remove")} size="medium" - disabled={selected == null || selected == undefined} + disabled={!selected} /> Date: Wed, 13 Sep 2023 15:01:16 +0530 Subject: [PATCH 06/20] - Minor changes --- web/src/services/i18n/translations/en.yml | 1 - web/src/services/i18n/translations/ja.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/web/src/services/i18n/translations/en.yml b/web/src/services/i18n/translations/en.yml index df284ab118..d8fbe160a0 100644 --- a/web/src/services/i18n/translations/en.yml +++ b/web/src/services/i18n/translations/en.yml @@ -185,7 +185,6 @@ Play timeline: Play timeline ellipse: ellipse Open timeline: Open timeline Padding settings: Padding settings -Remove: Remove Drop here: Drop here Write your story :): Write your story :) Double click to start to write your story :): Double click to start to write your story :) diff --git a/web/src/services/i18n/translations/ja.yml b/web/src/services/i18n/translations/ja.yml index c7b80a1eb4..d1163c7221 100644 --- a/web/src/services/i18n/translations/ja.yml +++ b/web/src/services/i18n/translations/ja.yml @@ -166,7 +166,6 @@ Play timeline: タイムラインを再生する ellipse: 円錐 Open timeline: タイムラインを開く Padding settings: 余白設定 -Remove: 削除 Drop here: ここにドロップ Write your story :): '' Double click to start to write your story :): '' From d1638b3e88aa93bbe11c913e8480f63e8a8483ff Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Mon, 18 Sep 2023 17:18:00 +0530 Subject: [PATCH 07/20] - Minor styling fixes --- web/src/beta/components/fields/ListField/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/beta/components/fields/ListField/index.tsx b/web/src/beta/components/fields/ListField/index.tsx index c4c6b0e70c..e38685adfe 100644 --- a/web/src/beta/components/fields/ListField/index.tsx +++ b/web/src/beta/components/fields/ListField/index.tsx @@ -5,6 +5,7 @@ import DragAndDropList, { Props as DragAndDropProps, } from "@reearth/beta/components/DragAndDropList"; import Property from "@reearth/beta/components/fields"; +import Text from "@reearth/beta/components/Text"; import { useT } from "@reearth/services/i18n"; import { styled } from "@reearth/services/theme"; @@ -21,8 +22,6 @@ export type Props = { addItem: () => void; } & Pick; -// TODO: where would the field rendering logic go?? - const ListField: React.FC = ({ name, description, @@ -54,7 +53,7 @@ const ListField: React.FC = ({ getId={getId} renderItem={({ id, value }) => ( setSelected(id)} selected={selected === id}> - {value} + {value} )} gap={0} @@ -89,10 +88,11 @@ const FieldWrapper = styled.div` overflow: auto; `; -const Item = styled.p<{ selected: boolean }>` +const Item = styled.div<{ selected: boolean }>` + display: flex; + align-items: center; padding: 0 12px; height: 28px; - font-size: 12px; cursor: pointer; background: ${({ theme, selected }) => (selected ? theme.select.main : "inherit")}; &:hover { From a1322f6ad368a65eaf5f946b6f1aba7b3d0d3be1 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:00:21 +0530 Subject: [PATCH 08/20] - idk man, sounds about right --- .../fields/PropertyFields/index.tsx | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index 0e5b337e4d..e8f554c74e 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -1,4 +1,7 @@ +import { useCallback, useState } from "react"; + import ColorField from "@reearth/beta/components/fields/ColorField"; +import ListField from "@reearth/beta/components/fields/ListField"; import LocationField from "@reearth/beta/components/fields/LocationField"; import NumberField from "@reearth/beta/components/fields/NumberField"; import SelectField from "@reearth/beta/components/fields/SelectField"; @@ -21,8 +24,56 @@ type Props = { const PropertyFields: React.FC = ({ propertyId, item }) => { const { handlePropertyValueUpdate } = useHooks(); + // Just for the ListItem Property + const isList = item && "items" in item; + const [listItems, setListItems] = useState>([]); + + const addItem = useCallback(() => { + if (!isList) return; + // TODO: Won't be a random string. Need fields + const randomId = (Math.random() + 1).toString(36).substring(7); + setListItems([ + ...listItems, + { + id: randomId, + value: `Item ${randomId}`, + }, + ]); + }, [isList, listItems, setListItems]); + + const removeItem = useCallback( + (key: string) => { + if (!isList) return; + setListItems(listItems.filter(({ id }) => id != key)); + }, + [isList, listItems, setListItems], + ); + + const onItemDrop = useCallback( + (item: { id: string; value: string }, index: number) => { + if (!isList) return; + const items = [...listItems]; + items.splice( + items.findIndex(x => x.id === item.id), + 1, + ); + items.splice(index, 0, item); + setListItems(listItems); + }, + [isList, listItems, setListItems], + ); + return ( <> + {isList && ( + + )} {item?.schemaFields.map(sf => { const isList = item && "items" in item; const value = !isList ? item.fields.find(f => f.id === sf.id)?.value : sf.defaultValue; From 8580cb9e9c74416c36c7393bbe886f6a14cfd3c2 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:23:48 +0530 Subject: [PATCH 09/20] - idk man, it works --- .../fields/PropertyFields/index.tsx | 158 +++++++++--------- 1 file changed, 80 insertions(+), 78 deletions(-) diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index e8f554c74e..a4bee1c46b 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -74,107 +74,109 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { onItemDrop={onItemDrop} /> )} - {item?.schemaFields.map(sf => { - const isList = item && "items" in item; - const value = !isList ? item.fields.find(f => f.id === sf.id)?.value : sf.defaultValue; + {isList && + listItems.length > 0 && + item?.schemaFields.map(sf => { + const isList = item && "items" in item; + const value = !isList ? item.fields.find(f => f.id === sf.id)?.value : sf.defaultValue; - const handleChange = handlePropertyValueUpdate( - item.schemaGroup, - propertyId, - sf.id, - sf.type, - ); + const handleChange = handlePropertyValueUpdate( + item.schemaGroup, + propertyId, + sf.id, + sf.type, + ); - return sf.type === "string" ? ( - sf.ui === "color" ? ( - + ) : sf.ui === "selection" || sf.choices ? ( + + ) : sf.ui === "buttons" ? ( +

Button radio field

+ ) : ( + + ) + ) : sf.type === "spacing" ? ( + - ) : sf.ui === "selection" || sf.choices ? ( - - ) : sf.ui === "buttons" ? ( -

Button radio field

- ) : ( - + ) : ( + + ) + ) : sf.type === "latlng" ? ( + - ) - ) : sf.type === "spacing" ? ( - - ) : sf.type === "bool" ? ( - - ) : sf.type === "number" ? ( - sf.ui === "slider" ? ( - ) : ( - - ) - ) : sf.type === "latlng" ? ( - - ) : sf.type === "camera" ? ( - - ) : ( -

{sf.name} field

- ); - })} +

{sf.name} field

+ ); + })} ); }; From 5712d2cf3cdb34125f417692589e7cea83d3fa16 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:54:17 +0530 Subject: [PATCH 10/20] - added some todos --- web/src/beta/components/fields/PropertyFields/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index a4bee1c46b..c52ae0503d 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -28,6 +28,7 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { const isList = item && "items" in item; const [listItems, setListItems] = useState>([]); + // TODO: Will go in the hooks const addItem = useCallback(() => { if (!isList) return; // TODO: Won't be a random string. Need fields @@ -74,6 +75,7 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { onItemDrop={onItemDrop} /> )} + {/* TODO: Wrong logic. Need to fix */} {isList && listItems.length > 0 && item?.schemaFields.map(sf => { From 9af3f06bfca236a85f471058366b1309e0e400e4 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Thu, 21 Sep 2023 02:05:17 +0530 Subject: [PATCH 11/20] - List field updated --- .../fields/ListField/index.stories.tsx | 10 +++++++++- .../components/fields/ListField/index.tsx | 20 +++++++++++++------ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/web/src/beta/components/fields/ListField/index.stories.tsx b/web/src/beta/components/fields/ListField/index.stories.tsx index 0537ed5f1d..9dba7cae23 100644 --- a/web/src/beta/components/fields/ListField/index.stories.tsx +++ b/web/src/beta/components/fields/ListField/index.stories.tsx @@ -50,10 +50,18 @@ export const Default: Story = (args: Props) => { [updateArgs, args.items], ); + const onSelect = useCallback((id: string) => updateArgs({ selected: id }), [updateArgs]); + return (
- +
); diff --git a/web/src/beta/components/fields/ListField/index.tsx b/web/src/beta/components/fields/ListField/index.tsx index e38685adfe..276a4c405c 100644 --- a/web/src/beta/components/fields/ListField/index.tsx +++ b/web/src/beta/components/fields/ListField/index.tsx @@ -1,4 +1,4 @@ -import { useCallback, useState } from "react"; +import { useCallback, useMemo } from "react"; import Button from "@reearth/beta/components/Button"; import DragAndDropList, { @@ -18,8 +18,10 @@ export type Props = { name?: string; description?: string; items: ListItem[]; - removeItem: (key: string) => void; + removeItem: (id: string) => void; addItem: () => void; + onSelect: (id: string) => void; + selected?: string; } & Pick; const ListField: React.FC = ({ @@ -29,20 +31,26 @@ const ListField: React.FC = ({ removeItem, addItem, onItemDrop, + onSelect, + selected, }: Props) => { const t = useT(); - const [selected, setSelected] = useState(null); const deleteItem = useCallback(() => { if (!selected) return; removeItem(selected); - setSelected(null); }, [selected, removeItem]); const getId = useCallback(({ id }: ListItem) => { return id; }, []); + const disableRemoveButton = useMemo(() => { + if (!selected) return true; + + return !items.find(({ id }) => id == selected); + }, [items, selected]); + return ( @@ -52,7 +60,7 @@ const ListField: React.FC = ({ onItemDrop={onItemDrop} getId={getId} renderItem={({ id, value }) => ( - setSelected(id)} selected={selected === id}> + onSelect(id)} selected={selected === id}> {value} )} @@ -66,7 +74,7 @@ const ListField: React.FC = ({ buttonType="secondary" text={t("Remove")} size="medium" - disabled={!selected} + disabled={disableRemoveButton} /> Date: Thu, 21 Sep 2023 02:06:57 +0530 Subject: [PATCH 12/20] - added hooks for the list field - working as expected - need to code clean and refactor all this --- .../components/fields/PropertyFields/hooks.ts | 27 ++++- .../fields/PropertyFields/index.tsx | 103 ++++++++++++------ .../beta/lib/lexical/RichTextEditor/index.tsx | 3 + web/src/services/api/propertyApi/index.ts | 90 ++++++++++++++- web/src/services/gql/__gen__/gql.ts | 24 +++- web/src/services/gql/__gen__/graphql.ts | 49 ++++++++- web/src/services/gql/queries/property.ts | 68 ++++++++++++ 7 files changed, 326 insertions(+), 38 deletions(-) diff --git a/web/src/beta/components/fields/PropertyFields/hooks.ts b/web/src/beta/components/fields/PropertyFields/hooks.ts index 1a553e2306..32b4969fed 100644 --- a/web/src/beta/components/fields/PropertyFields/hooks.ts +++ b/web/src/beta/components/fields/PropertyFields/hooks.ts @@ -4,7 +4,8 @@ import { ValueType, ValueTypes } from "@reearth/beta/utils/value"; import { usePropertyFetcher } from "@reearth/services/api"; export default () => { - const { useUpdatePropertyValue } = usePropertyFetcher(); + const { useUpdatePropertyValue, useAddPropertyItem, useRemovePropertyItem, useMovePropertyItem } = + usePropertyFetcher(); const handlePropertyValueUpdate = useCallback( ( @@ -21,7 +22,31 @@ export default () => { [useUpdatePropertyValue], ); + const handleAddPropertyItem = useCallback( + (propertyId: string, schemaGroupId: string) => { + return useAddPropertyItem(propertyId, schemaGroupId); + }, + [useAddPropertyItem], + ); + + const handleRemovePropertyItem = useCallback( + (propertyId: string, schemaGroupId: string, itemId: string) => { + return useRemovePropertyItem(propertyId, schemaGroupId, itemId); + }, + [useRemovePropertyItem], + ); + + const handleMovePropertyItem = useCallback( + (propertyId: string, schemaGroupId: string, itemId: string, index: number) => { + return useMovePropertyItem(propertyId, schemaGroupId, itemId, index); + }, + [useMovePropertyItem], + ); + return { handlePropertyValueUpdate, + handleAddPropertyItem, + handleRemovePropertyItem, + handleMovePropertyItem, }; }; diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index c52ae0503d..77fe828ce4 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -1,4 +1,4 @@ -import { useCallback, useState } from "react"; +import { useCallback, useState, useMemo } from "react"; import ColorField from "@reearth/beta/components/fields/ColorField"; import ListField from "@reearth/beta/components/fields/ListField"; @@ -22,71 +22,108 @@ type Props = { }; const PropertyFields: React.FC = ({ propertyId, item }) => { - const { handlePropertyValueUpdate } = useHooks(); + const { + handlePropertyValueUpdate, + handleAddPropertyItem, + handleRemovePropertyItem, + handleMovePropertyItem, + } = useHooks(); // Just for the ListItem Property const isList = item && "items" in item; - const [listItems, setListItems] = useState>([]); - // TODO: Will go in the hooks - const addItem = useCallback(() => { + // TODO: Only applies to list, should be refactored + const [selected, setSelected] = useState(); + + const propertyListItems: Array<{ id: string; value: string }> = useMemo( + () => + isList + ? item.items + .filter(i => "id" in i) + .map(i => { + const representativeField = item?.representativeField + ? i.fields.find(f => f.id === item.representativeField) + : undefined; + const nameSchemaField = item?.schemaFields?.find( + sf => sf.id === item.representativeField, + ); + + const value = representativeField?.value || nameSchemaField?.defaultValue; + + const choice = nameSchemaField?.choices + ? nameSchemaField?.choices?.find(c => c.key === value)?.label + : undefined; + + const title = choice || value; + + return { + id: i.id, + value: title as string, + }; + }) + : [], + [isList, item], + ); + + // TODO: Will go in the hooks. Uses the common propertyId and schemaGroup param + const addItem = useCallback(async () => { if (!isList) return; - // TODO: Won't be a random string. Need fields - const randomId = (Math.random() + 1).toString(36).substring(7); - setListItems([ - ...listItems, - { - id: randomId, - value: `Item ${randomId}`, - }, - ]); - }, [isList, listItems, setListItems]); + handleAddPropertyItem(propertyId, item.schemaGroup); + }, [isList, propertyId, item?.schemaGroup, handleAddPropertyItem]); const removeItem = useCallback( - (key: string) => { + (id: string) => { if (!isList) return; - setListItems(listItems.filter(({ id }) => id != key)); + handleRemovePropertyItem(propertyId, item.schemaGroup, id); }, - [isList, listItems, setListItems], + [isList, propertyId, item?.schemaGroup, handleRemovePropertyItem], ); const onItemDrop = useCallback( - (item: { id: string; value: string }, index: number) => { + ({ id }: { id: string }, index: number) => { if (!isList) return; - const items = [...listItems]; - items.splice( - items.findIndex(x => x.id === item.id), - 1, - ); - items.splice(index, 0, item); - setListItems(listItems); + handleMovePropertyItem(propertyId, item.schemaGroup, id, index); }, - [isList, listItems, setListItems], + [isList, propertyId, item?.schemaGroup, handleMovePropertyItem], ); + // TODO: Double check this + const showFields = useMemo(() => { + return isList ? (selected ? item.items.find(({ id }) => id == selected) : false) : true; + }, [item, selected, isList]); + + // TODO: Remove debugging code + console.log(isList, item); + return ( <> {isList && ( )} - {/* TODO: Wrong logic. Need to fix */} - {isList && - listItems.length > 0 && + {showFields && item?.schemaFields.map(sf => { const isList = item && "items" in item; - const value = !isList ? item.fields.find(f => f.id === sf.id)?.value : sf.defaultValue; + // if it's a list and there's no selected, return empty. TODO: Could very well be optimized + + // TODO: fix type errors here + const value = isList + ? item.items.find(({ id }) => selected == id)?.fields.find(f => f.id == sf.id)?.value + : item.fields.find(f => f.id === sf.id)?.value; const handleChange = handlePropertyValueUpdate( item.schemaGroup, propertyId, sf.id, sf.type, + selected, ); return sf.type === "string" ? ( @@ -146,6 +183,8 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { max={sf.max} description={sf.description} onChange={handleChange} + // TODO: Where should the step come from? + step={0.1} /> ) : ( = ({ + {editorRef.current && ( { const [, setNotification] = useNotification(); const [updatePropertyValue] = useMutation(UPDATE_PROPERTY_VALUE); + const [addPropertyItem] = useMutation(ADD_PROPERTY_ITEM); + const [removePropertyItem] = useMutation(REMOVE_PROPERTY_ITEM); + const [movePropertyItem] = useMutation(MOVE_PROPERTY_ITEM); const useUpdatePropertyValue = useCallback( async ( @@ -55,7 +63,87 @@ export default () => { [updatePropertyValue, setNotification, t], ); + const useAddPropertyItem = useCallback( + async (propertyId: string, schemaGroupId: string) => { + const { data, errors } = await addPropertyItem({ + variables: { + propertyId, + schemaGroupId, + }, + refetchQueries: ["GetScene"], + }); + + if (errors || !data?.addPropertyItem) { + console.log("GraphQL: Failed to update property", errors); + setNotification({ type: "error", text: t("Failed to update property.") }); + + return { status: "error" }; + } + + return { + data: data.addPropertyItem.property, + status: "success", + }; + }, + [addPropertyItem, setNotification, t], + ); + + const useRemovePropertyItem = useCallback( + async (propertyId: string, schemaGroupId: string, itemId: string) => { + const { data, errors } = await removePropertyItem({ + variables: { + propertyId, + schemaGroupId, + itemId, + }, + refetchQueries: ["GetScene"], + }); + + if (errors || !data?.removePropertyItem) { + console.log("GraphQL: Failed to update property", errors); + setNotification({ type: "error", text: t("Failed to update property.") }); + + return { status: "error" }; + } + + return { + data: data.removePropertyItem.property, + status: "success", + }; + }, + [removePropertyItem, setNotification, t], + ); + + const useMovePropertyItem = useCallback( + async (propertyId: string, schemaGroupId: string, itemId: string, index: number) => { + const { data, errors } = await movePropertyItem({ + variables: { + propertyId, + schemaGroupId, + itemId, + index, + }, + refetchQueries: ["GetScene"], + }); + + if (errors || !data?.movePropertyItem) { + console.log("GraphQL: Failed to update property", errors); + setNotification({ type: "error", text: t("Failed to update property.") }); + + return { status: "error" }; + } + + return { + data: data.movePropertyItem.property, + status: "success", + }; + }, + [movePropertyItem, setNotification, t], + ); return { useUpdatePropertyValue, + useAddPropertyItem, + useRemovePropertyItem, + useMovePropertyItem, }; }; diff --git a/web/src/services/gql/__gen__/gql.ts b/web/src/services/gql/__gen__/gql.ts index 6057f0a120..11081ad243 100644 --- a/web/src/services/gql/__gen__/gql.ts +++ b/web/src/services/gql/__gen__/gql.ts @@ -45,7 +45,11 @@ const documents = { "\n mutation PublishProject($projectId: ID!, $alias: String, $status: PublishmentStatus!) {\n publishProject(input: { projectId: $projectId, alias: $alias, status: $status }) {\n project {\n id\n alias\n publishmentStatus\n }\n }\n }\n": types.PublishProjectDocument, "\n mutation ArchiveProject($projectId: ID!, $archived: Boolean!) {\n updateProject(input: { projectId: $projectId, archived: $archived }) {\n project {\n id\n isArchived\n }\n }\n }\n": types.ArchiveProjectDocument, "\n mutation DeleteProject($projectId: ID!) {\n deleteProject(input: { projectId: $projectId }) {\n projectId\n }\n }\n": types.DeleteProjectDocument, - "\n mutation UpdatePropertyValue(\n $propertyId: ID!\n $schemaGroupId: ID\n $itemId: ID\n $fieldId: ID!\n $value: Any\n $type: ValueType!\n $lang: Lang\n ) {\n updatePropertyValue(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n fieldId: $fieldId\n value: $value\n type: $type\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n\n": types.UpdatePropertyValueDocument, + "\n mutation UpdatePropertyValue(\n $propertyId: ID!\n $schemaGroupId: ID\n $itemId: ID\n $fieldId: ID!\n $value: Any\n $type: ValueType!\n $lang: Lang\n ) {\n updatePropertyValue(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n fieldId: $fieldId\n value: $value\n type: $type\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n": types.UpdatePropertyValueDocument, + "\n mutation AddPropertyItem(\n $propertyId: ID!\n $schemaGroupId: ID!\n $lang: Lang\n ) {\n addPropertyItem(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n": types.AddPropertyItemDocument, + "\n mutation RemovePropertyItem($propertyId: ID!, $schemaGroupId: ID!, $itemId: ID!, $lang: Lang) {\n removePropertyItem(\n input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, itemId: $itemId }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n": types.RemovePropertyItemDocument, + "\n mutation UpdatePropertyItems(\n $propertyId: ID!\n $schemaGroupId: ID!\n $operations: [UpdatePropertyItemOperationInput!]!\n $lang: Lang\n ) {\n updatePropertyItems(\n input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, operations: $operations }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n": types.UpdatePropertyItemsDocument, + "\n mutation MovePropertyItem(\n $propertyId: ID!\n $schemaGroupId: ID!\n $itemId: ID!\n $index: Int!\n $lang: Lang\n ) {\n movePropertyItem(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n index: $index\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n": types.MovePropertyItemDocument, "\n query GetScene($sceneId: ID!, $lang: Lang) {\n node(id: $sceneId, type: SCENE) {\n id\n ... on Scene {\n rootLayerId\n teamId\n projectId\n property {\n id\n ...PropertyFragment\n }\n clusters {\n id\n name\n propertyId\n property {\n id\n ...PropertyFragment\n }\n }\n tags {\n id\n label\n ... on TagGroup {\n tags {\n id\n label\n }\n }\n }\n plugins {\n property {\n id\n ...PropertyFragment\n }\n plugin {\n ...PluginFragment\n }\n }\n widgets {\n id\n enabled\n extended\n pluginId\n extensionId\n property {\n id\n ...PropertyFragment\n }\n }\n widgetAlignSystem {\n ...WidgetAlignSystemFragment\n }\n stories {\n ...StoryFragment\n }\n newLayers {\n ...NLSLayerCommon\n }\n }\n }\n }\n": types.GetSceneDocument, "\n mutation CreateScene($projectId: ID!) {\n createScene(input: { projectId: $projectId }) {\n scene {\n id\n }\n }\n }\n": types.CreateSceneDocument, "\n mutation CreateStory($input: CreateStoryInput!) {\n createStory(input: $input) {\n story {\n id\n }\n }\n }\n": types.CreateStoryDocument, @@ -215,7 +219,23 @@ export function gql(source: "\n mutation DeleteProject($projectId: ID!) {\n /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\n mutation UpdatePropertyValue(\n $propertyId: ID!\n $schemaGroupId: ID\n $itemId: ID\n $fieldId: ID!\n $value: Any\n $type: ValueType!\n $lang: Lang\n ) {\n updatePropertyValue(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n fieldId: $fieldId\n value: $value\n type: $type\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n\n"): (typeof documents)["\n mutation UpdatePropertyValue(\n $propertyId: ID!\n $schemaGroupId: ID\n $itemId: ID\n $fieldId: ID!\n $value: Any\n $type: ValueType!\n $lang: Lang\n ) {\n updatePropertyValue(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n fieldId: $fieldId\n value: $value\n type: $type\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n\n"]; +export function gql(source: "\n mutation UpdatePropertyValue(\n $propertyId: ID!\n $schemaGroupId: ID\n $itemId: ID\n $fieldId: ID!\n $value: Any\n $type: ValueType!\n $lang: Lang\n ) {\n updatePropertyValue(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n fieldId: $fieldId\n value: $value\n type: $type\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"): (typeof documents)["\n mutation UpdatePropertyValue(\n $propertyId: ID!\n $schemaGroupId: ID\n $itemId: ID\n $fieldId: ID!\n $value: Any\n $type: ValueType!\n $lang: Lang\n ) {\n updatePropertyValue(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n fieldId: $fieldId\n value: $value\n type: $type\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n mutation AddPropertyItem(\n $propertyId: ID!\n $schemaGroupId: ID!\n $lang: Lang\n ) {\n addPropertyItem(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"): (typeof documents)["\n mutation AddPropertyItem(\n $propertyId: ID!\n $schemaGroupId: ID!\n $lang: Lang\n ) {\n addPropertyItem(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n mutation RemovePropertyItem($propertyId: ID!, $schemaGroupId: ID!, $itemId: ID!, $lang: Lang) {\n removePropertyItem(\n input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, itemId: $itemId }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"): (typeof documents)["\n mutation RemovePropertyItem($propertyId: ID!, $schemaGroupId: ID!, $itemId: ID!, $lang: Lang) {\n removePropertyItem(\n input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, itemId: $itemId }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n mutation UpdatePropertyItems(\n $propertyId: ID!\n $schemaGroupId: ID!\n $operations: [UpdatePropertyItemOperationInput!]!\n $lang: Lang\n ) {\n updatePropertyItems(\n input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, operations: $operations }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"): (typeof documents)["\n mutation UpdatePropertyItems(\n $propertyId: ID!\n $schemaGroupId: ID!\n $operations: [UpdatePropertyItemOperationInput!]!\n $lang: Lang\n ) {\n updatePropertyItems(\n input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, operations: $operations }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n mutation MovePropertyItem(\n $propertyId: ID!\n $schemaGroupId: ID!\n $itemId: ID!\n $index: Int!\n $lang: Lang\n ) {\n movePropertyItem(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n index: $index\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"): (typeof documents)["\n mutation MovePropertyItem(\n $propertyId: ID!\n $schemaGroupId: ID!\n $itemId: ID!\n $index: Int!\n $lang: Lang\n ) {\n movePropertyItem(\n input: {\n propertyId: $propertyId\n schemaGroupId: $schemaGroupId\n itemId: $itemId\n index: $index\n }\n ) {\n property {\n id\n ...PropertyFragment\n layer {\n id\n ...Layer1Fragment\n }\n }\n }\n }\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/web/src/services/gql/__gen__/graphql.ts b/web/src/services/gql/__gen__/graphql.ts index 7ec58e444e..89c0140f29 100644 --- a/web/src/services/gql/__gen__/graphql.ts +++ b/web/src/services/gql/__gen__/graphql.ts @@ -2374,6 +2374,7 @@ export type UpdateMemberOfTeamPayload = { }; export type UpdateNlsLayerInput = { + config?: InputMaybe; layerId: Scalars['ID']['input']; name?: InputMaybe; visible?: InputMaybe; @@ -2455,9 +2456,9 @@ export type UpdateStoryPageInput = { export type UpdateStyleInput = { StyleId: Scalars['ID']['input']; - name: Scalars['String']['input']; + name?: InputMaybe; sceneId: Scalars['ID']['input']; - value: Scalars['JSON']['input']; + value?: InputMaybe; }; export type UpdateStylePayload = { @@ -3037,6 +3038,46 @@ export type UpdatePropertyValueMutationVariables = Exact<{ export type UpdatePropertyValueMutation = { __typename?: 'Mutation', updatePropertyValue?: { __typename?: 'PropertyFieldPayload', property: { __typename?: 'Property', id: string, layer?: { __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, layers: Array<{ __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null>, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } } | null }; +export type AddPropertyItemMutationVariables = Exact<{ + propertyId: Scalars['ID']['input']; + schemaGroupId: Scalars['ID']['input']; + lang?: InputMaybe; +}>; + + +export type AddPropertyItemMutation = { __typename?: 'Mutation', addPropertyItem?: { __typename?: 'PropertyItemPayload', property: { __typename?: 'Property', id: string, layer?: { __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, layers: Array<{ __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null>, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } } | null }; + +export type RemovePropertyItemMutationVariables = Exact<{ + propertyId: Scalars['ID']['input']; + schemaGroupId: Scalars['ID']['input']; + itemId: Scalars['ID']['input']; + lang?: InputMaybe; +}>; + + +export type RemovePropertyItemMutation = { __typename?: 'Mutation', removePropertyItem?: { __typename?: 'PropertyItemPayload', property: { __typename?: 'Property', id: string, layer?: { __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, layers: Array<{ __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null>, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } } | null }; + +export type UpdatePropertyItemsMutationVariables = Exact<{ + propertyId: Scalars['ID']['input']; + schemaGroupId: Scalars['ID']['input']; + operations: Array | UpdatePropertyItemOperationInput; + lang?: InputMaybe; +}>; + + +export type UpdatePropertyItemsMutation = { __typename?: 'Mutation', updatePropertyItems?: { __typename?: 'PropertyItemPayload', property: { __typename?: 'Property', id: string, layer?: { __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, layers: Array<{ __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null>, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } } | null }; + +export type MovePropertyItemMutationVariables = Exact<{ + propertyId: Scalars['ID']['input']; + schemaGroupId: Scalars['ID']['input']; + itemId: Scalars['ID']['input']; + index: Scalars['Int']['input']; + lang?: InputMaybe; +}>; + + +export type MovePropertyItemMutation = { __typename?: 'Mutation', movePropertyItem?: { __typename?: 'PropertyItemPayload', property: { __typename?: 'Property', id: string, layer?: { __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, layers: Array<{ __typename?: 'LayerGroup', id: string, linkedDatasetSchemaId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null>, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | { __typename?: 'LayerItem', id: string, linkedDatasetId?: string | null, name: string, isVisible: boolean, pluginId?: string | null, extensionId?: string | null, merged?: { __typename?: 'MergedLayer', parentId?: string | null, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, infobox?: { __typename?: 'MergedInfobox', property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null, fields: Array<{ __typename?: 'MergedInfoboxField', originalId: string, pluginId: string, extensionId: string, property?: { __typename?: 'MergedProperty', originalId?: string | null, parentId?: string | null, linkedDatasetId?: string | null, schema?: { __typename?: 'PropertySchema', id: string } | null, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, groups: Array<{ __typename?: 'MergedPropertyGroup', schemaGroupId: string, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }>, fields: Array<{ __typename?: 'MergedPropertyField', fieldId: string, type: ValueType, actualValue?: any | null, overridden: boolean, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> } | null }> } | null } | null, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, infobox?: { __typename?: 'Infobox', propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null, fields: Array<{ __typename?: 'InfoboxField', id: string, pluginId: string, extensionId: string, propertyId: string, property?: { __typename?: 'Property', id: string, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } | null }> } | null } | null, schema?: { __typename?: 'PropertySchema', id: string, groups: Array<{ __typename?: 'PropertySchemaGroup', schemaGroupId: string, title?: string | null, translatedTitle: string, isList: boolean, representativeFieldId?: string | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null, fields: Array<{ __typename?: 'PropertySchemaField', fieldId: string, title: string, description: string, translatedTitle: string, translatedDescription: string, prefix?: string | null, suffix?: string | null, type: ValueType, defaultValue?: any | null, ui?: PropertySchemaFieldUi | null, min?: number | null, max?: number | null, choices?: Array<{ __typename?: 'PropertySchemaFieldChoice', key: string, icon?: string | null, title: string, translatedTitle: string }> | null, isAvailableIf?: { __typename?: 'PropertyCondition', fieldId: string, type: ValueType, value?: any | null } | null }> }> } | null, items: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> } | { __typename?: 'PropertyGroupList', id: string, schemaGroupId: string, groups: Array<{ __typename?: 'PropertyGroup', id: string, schemaGroupId: string, fields: Array<{ __typename?: 'PropertyField', id: string, fieldId: string, type: ValueType, value?: any | null, links?: Array<{ __typename?: 'PropertyFieldLink', datasetId?: string | null, datasetSchemaId: string, datasetSchemaFieldId: string }> | null }> }> }> } } | null }; + export type GetSceneQueryVariables = Exact<{ sceneId: Scalars['ID']['input']; lang?: InputMaybe; @@ -3278,6 +3319,10 @@ export const PublishProjectDocument = {"kind":"Document","definitions":[{"kind": export const ArchiveProjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveProject"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"archived"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"archived"},"value":{"kind":"Variable","name":{"kind":"Name","value":"archived"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}}]}}]}}]}}]} as unknown as DocumentNode; export const DeleteProjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProject"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteProject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectId"}}]}}]}}]} as unknown as DocumentNode; export const UpdatePropertyValueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdatePropertyValue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fieldId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"value"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Any"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ValueType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lang"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Lang"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatePropertyValue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"propertyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"schemaGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"itemId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"fieldId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fieldId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"value"},"value":{"kind":"Variable","name":{"kind":"Name","value":"value"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}},{"kind":"Field","name":{"kind":"Name","value":"layer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"Layer1Fragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldLink"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyFieldLink"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"datasetId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaFieldId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroupList"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"translatedDescription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"choices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]}]}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"isList"}},{"kind":"Field","name":{"kind":"Name","value":"representativeFieldId"}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaGroupFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Infobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"actualValue"}},{"kind":"Field","name":{"kind":"Name","value":"overridden"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedInfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedInfobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LayerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoboxFragment"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetSchemaId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"merged"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedInfoboxFragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Layer1Fragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}}]}}]}}]}}]} as unknown as DocumentNode; +export const AddPropertyItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddPropertyItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lang"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Lang"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addPropertyItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"propertyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"schemaGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}},{"kind":"Field","name":{"kind":"Name","value":"layer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"Layer1Fragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldLink"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyFieldLink"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"datasetId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaFieldId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroupList"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"translatedDescription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"choices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]}]}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"isList"}},{"kind":"Field","name":{"kind":"Name","value":"representativeFieldId"}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaGroupFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Infobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"actualValue"}},{"kind":"Field","name":{"kind":"Name","value":"overridden"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedInfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedInfobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LayerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoboxFragment"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetSchemaId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"merged"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedInfoboxFragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Layer1Fragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}}]}}]}}]}}]} as unknown as DocumentNode; +export const RemovePropertyItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemovePropertyItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lang"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Lang"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removePropertyItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"propertyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"schemaGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"itemId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}},{"kind":"Field","name":{"kind":"Name","value":"layer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"Layer1Fragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldLink"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyFieldLink"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"datasetId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaFieldId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroupList"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"translatedDescription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"choices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]}]}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"isList"}},{"kind":"Field","name":{"kind":"Name","value":"representativeFieldId"}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaGroupFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Infobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"actualValue"}},{"kind":"Field","name":{"kind":"Name","value":"overridden"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedInfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedInfobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LayerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoboxFragment"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetSchemaId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"merged"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedInfoboxFragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Layer1Fragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}}]}}]}}]}}]} as unknown as DocumentNode; +export const UpdatePropertyItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdatePropertyItems"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"operations"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdatePropertyItemOperationInput"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lang"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Lang"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatePropertyItems"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"propertyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"schemaGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"operations"},"value":{"kind":"Variable","name":{"kind":"Name","value":"operations"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}},{"kind":"Field","name":{"kind":"Name","value":"layer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"Layer1Fragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldLink"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyFieldLink"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"datasetId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaFieldId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroupList"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"translatedDescription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"choices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]}]}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"isList"}},{"kind":"Field","name":{"kind":"Name","value":"representativeFieldId"}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaGroupFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Infobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"actualValue"}},{"kind":"Field","name":{"kind":"Name","value":"overridden"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedInfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedInfobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LayerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoboxFragment"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetSchemaId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"merged"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedInfoboxFragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Layer1Fragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}}]}}]}}]}}]} as unknown as DocumentNode; +export const MovePropertyItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MovePropertyItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"index"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lang"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Lang"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"movePropertyItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"propertyId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"propertyId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"schemaGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"schemaGroupId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"itemId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"index"},"value":{"kind":"Variable","name":{"kind":"Name","value":"index"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}},{"kind":"Field","name":{"kind":"Name","value":"layer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"Layer1Fragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldLink"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyFieldLink"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"datasetId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaFieldId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroupList"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"translatedDescription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"choices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]}]}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"isList"}},{"kind":"Field","name":{"kind":"Name","value":"representativeFieldId"}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaGroupFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Infobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"actualValue"}},{"kind":"Field","name":{"kind":"Name","value":"overridden"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedPropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupCommonFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedPropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedProperty"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MergedInfoboxFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergedInfobox"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"originalId"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LayerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isVisible"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoboxFragment"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetSchemaId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkedDatasetId"}},{"kind":"Field","name":{"kind":"Name","value":"merged"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedPropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MergedInfoboxFragment"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Layer1Fragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Layer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LayerFragment"}}]}}]}}]}}]} as unknown as DocumentNode; export const GetSceneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetScene"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sceneId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lang"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Lang"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sceneId"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"EnumValue","value":"SCENE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Scene"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rootLayerId"}},{"kind":"Field","name":{"kind":"Name","value":"teamId"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"clusters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TagGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"plugins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"plugin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PluginFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"widgets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"extended"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"widgetAlignSystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetAlignSystemFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StoryFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"newLayers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NLSLayerCommon"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldLink"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyFieldLink"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"datasetId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaId"}},{"kind":"Field","name":{"kind":"Name","value":"datasetSchemaFieldId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldLink"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyItemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroupList"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertyGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyGroupFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyItemFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaFieldFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"translatedDescription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"prefix"}},{"kind":"Field","name":{"kind":"Name","value":"suffix"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"choices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]}]}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertySchemaGroupFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PropertySchemaGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"schemaGroupId"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"translatedTitle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"isList"}},{"kind":"Field","name":{"kind":"Name","value":"representativeFieldId"}},{"kind":"Field","name":{"kind":"Name","value":"isAvailableIf"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fieldId"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaFieldFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WidgetAreaFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WidgetArea"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"widgetIds"}},{"kind":"Field","name":{"kind":"Name","value":"align"}},{"kind":"Field","name":{"kind":"Name","value":"padding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"top"}},{"kind":"Field","name":{"kind":"Name","value":"bottom"}},{"kind":"Field","name":{"kind":"Name","value":"left"}},{"kind":"Field","name":{"kind":"Name","value":"right"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gap"}},{"kind":"Field","name":{"kind":"Name","value":"centered"}},{"kind":"Field","name":{"kind":"Name","value":"background"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WidgetSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WidgetSection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"top"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetAreaFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"middle"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetAreaFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bottom"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetAreaFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WidgetZoneFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WidgetZone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"left"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetSectionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"center"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetSectionFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"right"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetSectionFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PropertyFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Property"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragmentWithoutSchema"}},{"kind":"Field","name":{"kind":"Name","value":"schema"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertySchemaGroupFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StoryPageFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StoryPage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"swipeable"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"blocks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PluginFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Plugin"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extensions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translatedDescription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"translatedName"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"lang"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lang"}}}]},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"singleOnly"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"widgetLayout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"extendable"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vertically"}},{"kind":"Field","name":{"kind":"Name","value":"horizontally"}}]}},{"kind":"Field","name":{"kind":"Name","value":"extended"}},{"kind":"Field","name":{"kind":"Name","value":"floating"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"zone"}},{"kind":"Field","name":{"kind":"Name","value":"section"}},{"kind":"Field","name":{"kind":"Name","value":"area"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WidgetAlignSystemFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WidgetAlignSystem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"outer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetZoneFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"inner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WidgetZoneFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StoryFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Story"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"panelPosition"}},{"kind":"Field","name":{"kind":"Name","value":"isBasicAuthActive"}},{"kind":"Field","name":{"kind":"Name","value":"basicAuthUsername"}},{"kind":"Field","name":{"kind":"Name","value":"basicAuthPassword"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"publicTitle"}},{"kind":"Field","name":{"kind":"Name","value":"publicDescription"}},{"kind":"Field","name":{"kind":"Name","value":"publicImage"}},{"kind":"Field","name":{"kind":"Name","value":"publicNoIndex"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StoryPageFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NLSLayerCommon"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NLSLayer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"visible"}},{"kind":"Field","name":{"kind":"Name","value":"layerType"}},{"kind":"Field","name":{"kind":"Name","value":"config"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tagId"}},{"kind":"Field","name":{"kind":"Name","value":"tag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LayerTagGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tagId"}},{"kind":"Field","name":{"kind":"Name","value":"tag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"infobox"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pluginId"}},{"kind":"Field","name":{"kind":"Name","value":"extensionId"}},{"kind":"Field","name":{"kind":"Name","value":"propertyId"}},{"kind":"Field","name":{"kind":"Name","value":"scenePlugin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"property"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"PropertyFragment"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NLSLayerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; export const CreateSceneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateScene"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createScene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"scene"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; export const CreateStoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateStory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateStoryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createStory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"story"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; diff --git a/web/src/services/gql/queries/property.ts b/web/src/services/gql/queries/property.ts index 119ee36817..22e293c3f3 100644 --- a/web/src/services/gql/queries/property.ts +++ b/web/src/services/gql/queries/property.ts @@ -30,5 +30,73 @@ export const UPDATE_PROPERTY_VALUE = gql(` } } } +`); +export const ADD_PROPERTY_ITEM = gql(` + mutation AddPropertyItem( + $propertyId: ID! + $schemaGroupId: ID! + $lang: Lang + ) { + addPropertyItem( + input: { + propertyId: $propertyId + schemaGroupId: $schemaGroupId + } + ) { + property { + id + ...PropertyFragment + layer { + id + ...Layer1Fragment + } + } + } + } +`); + +export const REMOVE_PROPERTY_ITEM = gql(` + mutation RemovePropertyItem($propertyId: ID!, $schemaGroupId: ID!, $itemId: ID!, $lang: Lang) { + removePropertyItem( + input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, itemId: $itemId } + ) { + property { + id + ...PropertyFragment + layer { + id + ...Layer1Fragment + } + } + } + } +`); + +export const MOVE_PROPERTY_ITEM = gql(` + mutation MovePropertyItem( + $propertyId: ID! + $schemaGroupId: ID! + $itemId: ID! + $index: Int! + $lang: Lang + ) { + movePropertyItem( + input: { + propertyId: $propertyId + schemaGroupId: $schemaGroupId + itemId: $itemId + index: $index + } + ) { + property { + id + ...PropertyFragment + layer { + id + ...Layer1Fragment + } + } + } + } `); From 96437cf695b8f4e0b38db96614e203f1b43fd785 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:43:43 +0530 Subject: [PATCH 13/20] - removed files and reverted some unintended changes --- .../fields/ListField/groupsObject.js | 657 ----- .../fields/ListField/sceneObject.js | 2342 ----------------- .../beta/lib/lexical/RichTextEditor/index.tsx | 3 - 3 files changed, 3002 deletions(-) delete mode 100644 web/src/beta/components/fields/ListField/groupsObject.js delete mode 100644 web/src/beta/components/fields/ListField/sceneObject.js diff --git a/web/src/beta/components/fields/ListField/groupsObject.js b/web/src/beta/components/fields/ListField/groupsObject.js deleted file mode 100644 index 77480ca3a1..0000000000 --- a/web/src/beta/components/fields/ListField/groupsObject.js +++ /dev/null @@ -1,657 +0,0 @@ -export default { - groups: [ - { - id: "default", - title: "Scene", - fields: [ - { - id: "camera", - type: "camera", - title: "Initial camera position", - description: "The starting position of your project.", - }, - { - id: "allowEnterGround", - type: "bool", - title: "Enter the ground", - defaultValue: false, - description: "Set to true to allow the camera to enter the surface of the earth.", - }, - { - id: "sceneMode", - type: "string", - title: "Scene mode", - description: "Specify scene mode.", - defaultValue: "3d", - choices: [ - { - key: "3d", - label: "Scene 3D", - }, - { - key: "2d", - label: "Scene 2D", - }, - { - key: "columbus", - label: "Columbus View", - }, - ], - }, - { - id: "skybox", - type: "bool", - title: "Sky", - defaultValue: true, - description: "Show the stars.", - }, - { - id: "bgcolor", - type: "string", - title: "Background color", - description: "With Sky disabled, choose a background color.", - ui: "color", - }, - { - id: "ion", - type: "string", - title: "Cesium Ion API access token", - description: - "Cesium Ion account users may use their personal API keys to be able to use their Cesium Ion assets(tile data, 3D data, etc) with their project.", - }, - { - id: "vr", - type: "bool", - title: "VR", - description: "Enable VR mode to split the screen into left and right.", - }, - ], - }, - { - id: "tiles", - title: "Tiles", - description: - "You may change the look of the Earth by obtaining map tile data and setting it here.", - list: true, - representativeField: "tile_type", - fields: [ - { - id: "tile_type", - type: "string", - title: "Tile type", - defaultValue: "default", - choices: [ - { - key: "default", - label: "Default", - }, - { - key: "default_label", - label: "Labelled", - }, - { - key: "default_road", - label: "Road Map", - }, - { - key: "stamen_watercolor", - label: "Stamen Watercolor", - }, - { - key: "stamen_toner", - label: "Stamen Toner", - }, - { - key: "open_street_map", - label: "OpenStreetMap", - }, - { - key: "esri_world_topo", - label: "ESRI Topography", - }, - { - key: "black_marble", - label: "Earth at night", - }, - { - key: "japan_gsi_standard", - label: "Japan GSI Standard Map", - }, - { - key: "url", - label: "URL", - }, - ], - }, - { - id: "tile_url", - type: "string", - title: "Tile map URL", - availableIf: { - field: "tile_type", - type: "string", - value: "url", - }, - }, - { - id: "tile_minLevel", - type: "number", - title: "Minimum zoom level", - min: 0, - max: 30, - }, - { - id: "tile_maxLevel", - type: "number", - title: "Maximum zoom level", - min: 0, - max: 30, - }, - { - id: "tile_opacity", - type: "number", - title: "Opacity", - description: "Change the opacity of the selected tile map. Min: 0 Max: 1", - defaultValue: 1, - ui: "slider", - min: 0, - max: 1, - }, - ], - }, - { - id: "terrain", - title: "Terrain", - fields: [ - { - id: "terrain", - type: "bool", - title: "Terrain", - description: "Show elevation when close to the surface.", - }, - { - id: "terrainType", - type: "string", - title: "Terrain type", - description: "Specify terrain type.", - defaultValue: "cesium", - choices: [ - { - key: "cesium", - label: "Cesium World Terrain", - }, - { - key: "arcgis", - label: "ArcGIS Terrain", - }, - { - key: "cesiumion", - label: "Cesium Ion", - }, - ], - }, - { - id: "terrainCesiumIonAsset", - type: "string", - title: "Terrain Cesium Ion asset ID", - description: "Specify the ID of a terrain asset registered on Cesium Ion.", - availableIf: { - field: "terrainType", - type: "string", - value: "cesiumion", - }, - }, - { - id: "terrainCesiumIonAccessToken", - type: "string", - title: "Terrain Cesium Ion access token", - description: - "Specify a Cesium Ion access token if you want to override the access token in the scene-wide settings for this tile.", - availableIf: { - field: "terrainType", - type: "string", - value: "cesiumion", - }, - }, - { - id: "terrainCesiumIonUrl", - type: "string", - title: "Terrain URL", - description: - "Specify the URL of Cesium's terrain server if it is delivered on-premises rather than Cesum Ion. This takes precedence over the asset ID setting.", - availableIf: { - field: "terrainType", - type: "string", - value: "cesiumion", - }, - }, - { - id: "terrainExaggeration", - type: "number", - title: "Terrain exaggeration", - description: - "A scalar used to exaggerate the terrain. Defaults to 1.0 (no exaggeration). A value of 2.0 scales the terrain by 2x. A value of 0.0 makes the terrain completely flat.", - defaultValue: 1, - suffix: "x", - }, - { - id: "terrainExaggerationRelativeHeight", - type: "number", - title: "Terrain exaggeration relative height", - description: - "The height from which terrain is exaggerated. Defaults to 0.0. Terrain that is above this height will scale upwards and terrain that is below this height will scale downwards.", - defaultValue: 0, - suffix: "m", - }, - { - id: "depthTestAgainstTerrain", - type: "bool", - title: "Hide objects under terrain", - description: - "Hides objects under the terrain. Depending on the loading status of the terrain, objects may be shown or hidden.", - }, - ], - }, - { - id: "indicator", - title: "Indicator", - description: "Set the style of indicator shown when selecting a layer on the map.", - fields: [ - { - id: "indicator_type", - type: "string", - title: "Type", - defaultValue: "default", - description: "Choose how the indicator will look.", - choices: [ - { - key: "default", - label: "Default", - }, - { - key: "crosshair", - label: "Crosshair", - }, - { - key: "custom", - label: "Custom", - }, - ], - }, - { - id: "indicator_image", - type: "url", - title: "Image URL", - ui: "image", - availableIf: { - field: "indicator_type", - type: "string", - value: "custom", - }, - }, - { - id: "indicator_image_scale", - type: "number", - title: "Image scale", - availableIf: { - field: "indicator_type", - type: "string", - value: "custom", - }, - }, - ], - }, - { - id: "theme", - title: "Publish Theme", - description: "Set your theme.", - fields: [ - { - id: "themeType", - type: "string", - title: "Theme", - defaultValue: "dark", - description: "Select the theme.", - choices: [ - { - key: "dark", - label: "Re:Earth Dark", - }, - { - key: "light", - label: "Re:Earth Light", - }, - { - key: "forest", - label: "Forest", - }, - { - key: "custom", - label: "Custom theme", - }, - ], - }, - { - id: "themeTextColor", - type: "string", - ui: "color", - title: "Text color", - description: "Select a color.", - defaultValue: "#434343", - availableIf: { - field: "themeType", - type: "string", - value: "custom", - }, - }, - { - id: "themeSelectColor", - type: "string", - ui: "color", - title: "Select color", - description: "Select a color.", - defaultValue: "#C52C63", - availableIf: { - field: "themeType", - type: "string", - value: "custom", - }, - }, - { - id: "themeBackgroundColor", - type: "string", - ui: "color", - title: "Background color", - description: "Select a color.", - defaultValue: "#DFE5F0", - availableIf: { - field: "themeType", - type: "string", - value: "custom", - }, - }, - ], - }, - { - id: "atmosphere", - title: "Atmospheric Conditions", - description: "Set the look and feel of the Earth.", - fields: [ - { - id: "enable_sun", - type: "bool", - title: "Sun", - defaultValue: true, - description: "Display the Sun.", - }, - { - id: "enable_lighting", - type: "bool", - title: "Lighting", - defaultValue: false, - description: "Display natural lighting from the sun.", - }, - { - id: "ground_atmosphere", - type: "bool", - title: "Ground atmosphere", - defaultValue: true, - description: "Display a lower atmospheric layer.", - }, - { - id: "sky_atmosphere", - type: "bool", - title: "Sky atmosphere", - defaultValue: true, - description: "Display an upper atmospheric layer.", - }, - { - id: "shadows", - type: "bool", - title: "Shadow", - description: - "Display shadows on the Earth. Shadows for each layers should be also enabled to see them.", - }, - { - id: "fog", - type: "bool", - title: "Fog", - defaultValue: true, - description: "Display customizable fog.", - }, - { - id: "fog_density", - type: "number", - title: "Fog density", - defaultValue: 0.0002, - description: "Set a thickness to the fog. Min: 0 Max: 1", - min: 0, - max: 1, - }, - { - id: "brightness_shift", - type: "number", - title: "Fog brightness", - defaultValue: 0.03, - description: "Set brightness of the fog. Min: -1 Max: 1", - min: -1, - max: 1, - }, - { - id: "hue_shift", - type: "number", - title: "Fog hue", - description: "Set hue of the fog. Min: -1 Max: 1", - min: -1, - max: 1, - }, - { - id: "surturation_shift", - type: "number", - title: "Fog saturation", - description: "Set saturation of the fog. Min: -1 Max: 1", - min: -1, - max: 1, - }, - ], - }, - { - id: "timeline", - title: "Timeline", - fields: [ - { - id: "animation", - type: "bool", - title: "Animation", - defaultValue: false, - description: "Enables animation play. If enabled, each 3D models can animate.", - }, - { - id: "visible", - type: "bool", - title: "Timeline", - description: "Whether the timeline UI is displayed or not", - }, - { - id: "current", - type: "string", - title: "Current time", - ui: "datetime", - }, - { - id: "start", - type: "string", - title: "Start time", - description: - "If nothing is set, it will be set automatically according to the data being displayed.", - ui: "datetime", - }, - { - id: "stop", - type: "string", - title: "Stop time", - description: - "If nothing is set, it will be set automatically according to the data being displayed.", - ui: "datetime", - }, - { - id: "stepType", - type: "string", - title: "Tick type", - defaultValue: "rate", - description: "How to specify the playback speed", - choices: [ - { - key: "rate", - label: "Rate", - }, - { - key: "fixed", - label: "Fixed", - }, - ], - }, - { - id: "multiplier", - type: "number", - title: "Multiplier", - description: - "Specifies the playback speed as a multiple of the real time speed. Negative values can also be specified. Default is 1x.", - defaultValue: 1, - prefix: "x", - availableIf: { - field: "stepType", - type: "string", - value: "rate", - }, - }, - { - id: "step", - type: "number", - title: "Step", - description: - "Specifies the playback speed in seconds. Each time the screen is repeatedly drawn, it advances by the specified specified number of seconds. Negative values can also be specified. The default is 1 second.", - defaultValue: 1, - suffix: "s", - availableIf: { - field: "stepType", - type: "string", - value: "fixed", - }, - }, - { - id: "rangeType", - type: "string", - title: "Range", - description: - "Specifies the playback speed in seconds. Negative values can also be specified.", - defaultValue: "unbounded", - choices: [ - { - key: "unbounded", - label: "Unbounded", - }, - { - key: "clamped", - label: "Clamped", - }, - { - key: "bounced", - label: "Bounced", - }, - ], - }, - ], - }, - { - id: "cameraLimiter", - title: "Camera Limiter", - description: "Set the camera limiting box.", - fields: [ - { - id: "cameraLimitterEnabled", - type: "bool", - title: "Enable", - defaultValue: false, - description: "Enable camera limiter.", - }, - { - id: "cameraLimitterShowHelper", - type: "bool", - title: "Show helper", - defaultValue: false, - description: "Display the limiter boundaries.", - }, - { - id: "cameraLimitterTargetArea", - type: "camera", - title: "Target max height", - description: - "The base position of the camera movement range. This position is the center point of the limit box in the horizontal and depth directions, and is the maximum height of the movable range. The camera will not be able to zoom out beyond the height specified here.", - }, - { - id: "cameraLimitterTargetWidth", - type: "number", - title: "Target width", - description: - "Specifies the width (longitude direction) of the box that represents the limiter boundaries.", - min: 5, - defaultValue: 1000000, - suffix: "m", - }, - { - id: "cameraLimitterTargetLength", - type: "number", - title: "Target length", - description: - "Specifies the depth (latitude direction) of the box that represents the limiter boundaries.", - min: 5, - defaultValue: 1000000, - suffix: "m", - }, - ], - }, - { - id: "googleAnalytics", - title: "Google Analytics", - description: - "Set your Google Analytics tracking ID and analyze how your published project is being viewed.", - fields: [ - { - id: "enableGA", - type: "bool", - title: "Enable", - defaultValue: false, - description: "Enable Google Analytics", - }, - { - id: "trackingId", - type: "string", - title: "Tracking ID", - description: - "Paste your Google Analytics tracking ID here. This will be embedded in your published project.", - }, - ], - }, - { - id: "experimental", - title: "Advanced", - fields: [ - { - id: "experimental_core", - type: "bool", - title: "Enable advanced features", - defaultValue: false, - description: "Enable advanced features for this scene. (beta)", - }, - { - id: "experimental_sandbox", - type: "bool", - title: "Enable sandbox (alpha)", - defaultValue: false, - description: "Enable sandbox for plugin iframes. (alpha)", - }, - ], - }, - ], -}; diff --git a/web/src/beta/components/fields/ListField/sceneObject.js b/web/src/beta/components/fields/ListField/sceneObject.js deleted file mode 100644 index cb4e249491..0000000000 --- a/web/src/beta/components/fields/ListField/sceneObject.js +++ /dev/null @@ -1,2342 +0,0 @@ -export default { - id: "01h79x1hkxcgfzpykc251kthxc", - clusters: [], - plugins: [ - { - __typename: "ScenePlugin", - property: null, - plugin: { - __typename: "Plugin", - id: "reearth", - name: "Re:Earth Official Plugin", - extensions: [ - { - __typename: "PluginExtension", - extensionId: "cesium", - description: - "Select here to find scene settings in the right panel. This includes setting map tiles, atmospheric conditions, real lighting, and more.", - name: "Cesium", - translatedDescription: - "Select here to find scene settings in the right panel. This includes setting map tiles, atmospheric conditions, real lighting, and more.", - translatedName: "Cesium", - icon: "", - singleOnly: false, - type: "VISUALIZER", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "infobox", - description: - "Create an information area that appears when a layer is highlighted. Text, pictures, video, etc can be added to an infobox.", - name: "Infobox", - translatedDescription: - "Create an information area that appears when a layer is highlighted. Text, pictures, video, etc can be added to an infobox.", - translatedName: "Infobox", - icon: "", - singleOnly: false, - type: "INFOBOX", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "marker", - description: "A standard map marker.", - name: "Marker", - translatedDescription: "A standard map marker.", - translatedName: "Marker", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "polyline", - description: "Polyline primitive", - name: "Polyline", - translatedDescription: "Polyline primitive", - translatedName: "Polyline", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "polygon", - description: "Polygon primitive", - name: "Polygon", - translatedDescription: "Polygon primitive", - translatedName: "Polygon", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "rect", - description: "Rectangle primitive", - name: "Rectangle", - translatedDescription: "Rectangle primitive", - translatedName: "Rectangle", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "photooverlay", - description: - "An Icon marker that allows you to set a photo that will appear after reaching its location.", - name: "Photo overlay", - translatedDescription: - "An Icon marker that allows you to set a photo that will appear after reaching its location.", - translatedName: "Photo overlay", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "ellipsoid", - description: "A 3D ellipsoid", - name: "Sphere", - translatedDescription: "A 3D ellipsoid", - translatedName: "Sphere", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "model", - description: "A 3D model", - name: "3D Model", - translatedDescription: "A 3D model", - translatedName: "3D Model", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "tileset", - description: '3D tiles in "3D Tiles" format', - name: "3D Tiles", - translatedDescription: '3D tiles in "3D Tiles" format', - translatedName: "3D Tiles", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "resource", - description: - "Import your own primitives to be used instead of Re:Earth's built in ones.", - name: "File", - translatedDescription: - "Import your own primitives to be used instead of Re:Earth's built in ones.", - translatedName: "File", - icon: "", - singleOnly: false, - type: "PRIMITIVE", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "textblock", - description: "Text block", - name: "Text", - translatedDescription: "Text block", - translatedName: "Text", - icon: "", - singleOnly: false, - type: "BLOCK", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "imageblock", - description: "Image block", - name: "Image", - translatedDescription: "Image block", - translatedName: "Image", - icon: "", - singleOnly: false, - type: "BLOCK", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "videoblock", - description: "Video block", - name: "Video", - translatedDescription: "Video block", - translatedName: "Video", - icon: "", - singleOnly: false, - type: "BLOCK", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "locationblock", - description: "Location block", - name: "Location", - translatedDescription: "Location block", - translatedName: "Location", - icon: "", - singleOnly: false, - type: "BLOCK", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "dlblock", - description: "Table block", - name: "Table", - translatedDescription: "Table block", - translatedName: "Table", - icon: "", - singleOnly: false, - type: "BLOCK", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "htmlblock", - description: "HTML block", - name: "HTML", - translatedDescription: "HTML block", - translatedName: "HTML", - icon: "", - singleOnly: false, - type: "BLOCK", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "menu", - description: "Menu widgets", - name: "Menu (legacy)", - translatedDescription: "Menu widgets", - translatedName: "Menu (legacy)", - icon: "", - singleOnly: true, - type: "WIDGET", - widgetLayout: { - __typename: "WidgetLayout", - extendable: { - __typename: "WidgetExtendable", - vertically: false, - horizontally: false, - }, - extended: false, - floating: true, - defaultLocation: null, - }, - }, - { - __typename: "PluginExtension", - extensionId: "button", - description: "Button widget", - name: "Button", - translatedDescription: "Button widget", - translatedName: "Button", - icon: "", - singleOnly: false, - type: "WIDGET", - widgetLayout: { - __typename: "WidgetLayout", - extendable: { - __typename: "WidgetExtendable", - vertically: false, - horizontally: false, - }, - extended: false, - floating: false, - defaultLocation: { - __typename: "WidgetLocation", - zone: "OUTER", - section: "LEFT", - area: "TOP", - }, - }, - }, - { - __typename: "PluginExtension", - extensionId: "splashscreen", - description: - "A unique start screen that will display on load of your archive(ex. display the archive's title).", - name: "Splash screen", - translatedDescription: - "A unique start screen that will display on load of your archive(ex. display the archive's title).", - translatedName: "Splash screen", - icon: "", - singleOnly: true, - type: "WIDGET", - widgetLayout: { - __typename: "WidgetLayout", - extendable: { - __typename: "WidgetExtendable", - vertically: false, - horizontally: false, - }, - extended: false, - floating: true, - defaultLocation: null, - }, - }, - { - __typename: "PluginExtension", - extensionId: "storytelling", - description: - "SA feature that enables you to create a story. Connect points in a meaningful way so that your information can be consumed and understood easily.", - name: "Storytelling", - translatedDescription: - "SA feature that enables you to create a story. Connect points in a meaningful way so that your information can be consumed and understood easily.", - translatedName: "Storytelling", - icon: "", - singleOnly: true, - type: "WIDGET", - widgetLayout: { - __typename: "WidgetLayout", - extendable: { - __typename: "WidgetExtendable", - vertically: false, - horizontally: true, - }, - extended: false, - floating: false, - defaultLocation: { - __typename: "WidgetLocation", - zone: "OUTER", - section: "LEFT", - area: "BOTTOM", - }, - }, - }, - { - __typename: "PluginExtension", - extensionId: "cluster", - description: "Defines how layers are clustered together and displayed on earth.", - name: "Cluster", - translatedDescription: - "Defines how layers are clustered together and displayed on earth.", - translatedName: "Cluster", - icon: "", - singleOnly: false, - type: "Cluster", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "timeline", - description: - "A timeline widget that allows for viewing layers and data at specific points in time.", - name: "Timeline", - translatedDescription: - "A timeline widget that allows for viewing layers and data at specific points in time.", - translatedName: "Timeline", - icon: "", - singleOnly: true, - type: "WIDGET", - widgetLayout: { - __typename: "WidgetLayout", - extendable: { - __typename: "WidgetExtendable", - vertically: false, - horizontally: true, - }, - extended: false, - floating: false, - defaultLocation: { - __typename: "WidgetLocation", - zone: "OUTER", - section: "CENTER", - area: "BOTTOM", - }, - }, - }, - { - __typename: "PluginExtension", - extensionId: "navigator", - description: - "A navigator widget that allows for viewing the earth from various angle by operating menu.", - name: "Navigator", - translatedDescription: - "A navigator widget that allows for viewing the earth from various angle by operating menu.", - translatedName: "Navigator", - icon: "", - singleOnly: true, - type: "WIDGET", - widgetLayout: { - __typename: "WidgetLayout", - extendable: { - __typename: "WidgetExtendable", - vertically: false, - horizontally: false, - }, - extended: false, - floating: false, - defaultLocation: { - __typename: "WidgetLocation", - zone: "OUTER", - section: "RIGHT", - area: "TOP", - }, - }, - }, - { - __typename: "PluginExtension", - extensionId: "story", - description: "Storytelling story", - name: "Story", - translatedDescription: "Storytelling story", - translatedName: "Story", - icon: "", - singleOnly: false, - type: "Story", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "storyPage", - description: "Storytelling Page", - name: "Page", - translatedDescription: "Storytelling Page", - translatedName: "Page", - icon: "", - singleOnly: false, - type: "StoryPage", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "storyBlock", - description: "Storytelling Block", - name: "Block", - translatedDescription: "Storytelling Block", - translatedName: "Block", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "textStoryBlock", - description: "Storytelling Text Block", - name: "Text Block", - translatedDescription: "Storytelling Text Block", - translatedName: "Text Block", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "mdTextStoryBlock", - description: "Storytelling MD Text Block", - name: "MD Test Block", - translatedDescription: "Storytelling MD Text Block", - translatedName: "MD Test Block", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "imageStoryBlock", - description: "Storytelling Image Block", - name: "Image Block", - translatedDescription: "Storytelling Image Block", - translatedName: "Image Block", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "videoStoryBlock", - description: "Storytelling Video Block", - name: "Video Block", - translatedDescription: "Storytelling Video Block", - translatedName: "Video Block", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "cameraButtonStoryBlock", - description: "Storytelling Camera Button", - name: "Camera Button", - translatedDescription: "Storytelling Camera Button", - translatedName: "Camera Button", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "linkButtonStoryBlock", - description: "Storytelling Link Button", - name: "Link Button", - translatedDescription: "Storytelling Link Button", - translatedName: "Link Button", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - { - __typename: "PluginExtension", - extensionId: "timelineStoryBlock", - description: "Storytelling Timeline Block", - name: "Timeline Block", - translatedDescription: "Storytelling Timeline Block", - translatedName: "Timeline Block", - icon: "", - singleOnly: false, - type: "StoryBlock", - widgetLayout: null, - }, - ], - }, - }, - ], - projectId: "01h79x1h9dj779aq637rt4sq3h", - property: { - __typename: "Property", - id: "01h79x1hkxcgfzpykc29r4srvf", - schema: { - __typename: "PropertySchema", - id: "reearth/cesium", - groups: [ - { - __typename: "PropertySchemaGroup", - schemaGroupId: "default", - title: "Scene", - translatedTitle: "Scene", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "camera", - title: "Initial camera position", - description: "The starting position of your project.", - translatedTitle: "Initial camera position", - translatedDescription: "The starting position of your project.", - prefix: null, - suffix: null, - type: "CAMERA", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "allowEnterGround", - title: "Enter the ground", - description: "Set to true to allow the camera to enter the surface of the earth.", - translatedTitle: "Enter the ground", - translatedDescription: - "Set to true to allow the camera to enter the surface of the earth.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "sceneMode", - title: "Scene mode", - description: "Specify scene mode.", - translatedTitle: "Scene mode", - translatedDescription: "Specify scene mode.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "3d", - ui: null, - min: null, - max: null, - choices: [ - { - __typename: "PropertySchemaFieldChoice", - key: "3d", - icon: null, - title: "Scene 3D", - translatedTitle: "Scene 3D", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "2d", - icon: null, - title: "Scene 2D", - translatedTitle: "Scene 2D", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "columbus", - icon: null, - title: "Columbus View", - translatedTitle: "Columbus View", - }, - ], - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "skybox", - title: "Sky", - description: "Show the stars.", - translatedTitle: "Sky", - translatedDescription: "Show the stars.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: true, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "bgcolor", - title: "Background color", - description: "With Sky disabled, choose a background color.", - translatedTitle: "Background color", - translatedDescription: "With Sky disabled, choose a background color.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: "COLOR", - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "ion", - title: "Cesium Ion API access token", - description: - "Cesium Ion account users may use their personal API keys to be able to use their Cesium Ion assets(tile data, 3D data, etc) with their project.", - translatedTitle: "Cesium Ion API access token", - translatedDescription: - "Cesium Ion account users may use their personal API keys to be able to use their Cesium Ion assets(tile data, 3D data, etc) with their project.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "vr", - title: "VR", - description: "Enable VR mode to split the screen into left and right.", - translatedTitle: "VR", - translatedDescription: "Enable VR mode to split the screen into left and right.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "tiles", - title: "Tiles", - translatedTitle: "Tiles", - isList: true, - representativeFieldId: "tile_type", - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "tile_type", - title: "Tile type", - description: "", - translatedTitle: "Tile type", - translatedDescription: "", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "default", - ui: null, - min: null, - max: null, - choices: [ - { - __typename: "PropertySchemaFieldChoice", - key: "default", - icon: null, - title: "Default", - translatedTitle: "Default", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "default_label", - icon: null, - title: "Labelled", - translatedTitle: "Labelled", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "default_road", - icon: null, - title: "Road Map", - translatedTitle: "Road Map", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "stamen_watercolor", - icon: null, - title: "Stamen Watercolor", - translatedTitle: "Stamen Watercolor", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "stamen_toner", - icon: null, - title: "Stamen Toner", - translatedTitle: "Stamen Toner", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "open_street_map", - icon: null, - title: "OpenStreetMap", - translatedTitle: "OpenStreetMap", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "esri_world_topo", - icon: null, - title: "ESRI Topography", - translatedTitle: "ESRI Topography", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "black_marble", - icon: null, - title: "Earth at night", - translatedTitle: "Earth at night", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "japan_gsi_standard", - icon: null, - title: "Japan GSI Standard Map", - translatedTitle: "Japan GSI Standard Map", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "url", - icon: null, - title: "URL", - translatedTitle: "URL", - }, - ], - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "tile_url", - title: "Tile map URL", - description: "", - translatedTitle: "Tile map URL", - translatedDescription: "", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "tile_type", - type: "STRING", - value: "url", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "tile_minLevel", - title: "Minimum zoom level", - description: "", - translatedTitle: "Minimum zoom level", - translatedDescription: "", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: null, - ui: null, - min: 0, - max: 30, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "tile_maxLevel", - title: "Maximum zoom level", - description: "", - translatedTitle: "Maximum zoom level", - translatedDescription: "", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: null, - ui: null, - min: 0, - max: 30, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "tile_opacity", - title: "Opacity", - description: "Change the opacity of the selected tile map. Min: 0 Max: 1", - translatedTitle: "Opacity", - translatedDescription: "Change the opacity of the selected tile map. Min: 0 Max: 1", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: 1, - ui: "SLIDER", - min: 0, - max: 1, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "terrain", - title: "Terrain", - translatedTitle: "Terrain", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "terrain", - title: "Terrain", - description: "Show elevation when close to the surface.", - translatedTitle: "Terrain", - translatedDescription: "Show elevation when close to the surface.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "terrainType", - title: "Terrain type", - description: "Specify terrain type.", - translatedTitle: "Terrain type", - translatedDescription: "Specify terrain type.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "cesium", - ui: null, - min: null, - max: null, - choices: [ - { - __typename: "PropertySchemaFieldChoice", - key: "cesium", - icon: null, - title: "Cesium World Terrain", - translatedTitle: "Cesium World Terrain", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "arcgis", - icon: null, - title: "ArcGIS Terrain", - translatedTitle: "ArcGIS Terrain", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "cesiumion", - icon: null, - title: "Cesium Ion", - translatedTitle: "Cesium Ion", - }, - ], - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "terrainCesiumIonAsset", - title: "Terrain Cesium Ion asset ID", - description: "Specify the ID of a terrain asset registered on Cesium Ion.", - translatedTitle: "Terrain Cesium Ion asset ID", - translatedDescription: "Specify the ID of a terrain asset registered on Cesium Ion.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "terrainType", - type: "STRING", - value: "cesiumion", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "terrainCesiumIonAccessToken", - title: "Terrain Cesium Ion access token", - description: - "Specify a Cesium Ion access token if you want to override the access token in the scene-wide settings for this tile.", - translatedTitle: "Terrain Cesium Ion access token", - translatedDescription: - "Specify a Cesium Ion access token if you want to override the access token in the scene-wide settings for this tile.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "terrainType", - type: "STRING", - value: "cesiumion", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "terrainCesiumIonUrl", - title: "Terrain URL", - description: - "Specify the URL of Cesium's terrain server if it is delivered on-premises rather than Cesum Ion. This takes precedence over the asset ID setting.", - translatedTitle: "Terrain URL", - translatedDescription: - "Specify the URL of Cesium's terrain server if it is delivered on-premises rather than Cesum Ion. This takes precedence over the asset ID setting.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "terrainType", - type: "STRING", - value: "cesiumion", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "terrainExaggeration", - title: "Terrain exaggeration", - description: - "A scalar used to exaggerate the terrain. Defaults to 1.0 (no exaggeration). A value of 2.0 scales the terrain by 2x. A value of 0.0 makes the terrain completely flat.", - translatedTitle: "Terrain exaggeration", - translatedDescription: - "A scalar used to exaggerate the terrain. Defaults to 1.0 (no exaggeration). A value of 2.0 scales the terrain by 2x. A value of 0.0 makes the terrain completely flat.", - prefix: null, - suffix: "x", - type: "NUMBER", - defaultValue: 1, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "terrainExaggerationRelativeHeight", - title: "Terrain exaggeration relative height", - description: - "The height from which terrain is exaggerated. Defaults to 0.0. Terrain that is above this height will scale upwards and terrain that is below this height will scale downwards.", - translatedTitle: "Terrain exaggeration relative height", - translatedDescription: - "The height from which terrain is exaggerated. Defaults to 0.0. Terrain that is above this height will scale upwards and terrain that is below this height will scale downwards.", - prefix: null, - suffix: "m", - type: "NUMBER", - defaultValue: 0, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "depthTestAgainstTerrain", - title: "Hide objects under terrain", - description: - "Hides objects under the terrain. Depending on the loading status of the terrain, objects may be shown or hidden.", - translatedTitle: "Hide objects under terrain", - translatedDescription: - "Hides objects under the terrain. Depending on the loading status of the terrain, objects may be shown or hidden.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "indicator", - title: "Indicator", - translatedTitle: "Indicator", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "indicator_type", - title: "Type", - description: "Choose how the indicator will look.", - translatedTitle: "Type", - translatedDescription: "Choose how the indicator will look.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "default", - ui: null, - min: null, - max: null, - choices: [ - { - __typename: "PropertySchemaFieldChoice", - key: "default", - icon: null, - title: "Default", - translatedTitle: "Default", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "crosshair", - icon: null, - title: "Crosshair", - translatedTitle: "Crosshair", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "custom", - icon: null, - title: "Custom", - translatedTitle: "Custom", - }, - ], - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "indicator_image", - title: "Image URL", - description: "", - translatedTitle: "Image URL", - translatedDescription: "", - prefix: null, - suffix: null, - type: "URL", - defaultValue: null, - ui: "IMAGE", - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "indicator_type", - type: "STRING", - value: "custom", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "indicator_image_scale", - title: "Image scale", - description: "", - translatedTitle: "Image scale", - translatedDescription: "", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "indicator_type", - type: "STRING", - value: "custom", - }, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "theme", - title: "Publish Theme", - translatedTitle: "Publish Theme", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "themeType", - title: "Theme", - description: "Select the theme.", - translatedTitle: "Theme", - translatedDescription: "Select the theme.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "dark", - ui: null, - min: null, - max: null, - choices: [ - { - __typename: "PropertySchemaFieldChoice", - key: "dark", - icon: null, - title: "Re:Earth Dark", - translatedTitle: "Re:Earth Dark", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "light", - icon: null, - title: "Re:Earth Light", - translatedTitle: "Re:Earth Light", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "forest", - icon: null, - title: "Forest", - translatedTitle: "Forest", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "custom", - icon: null, - title: "Custom theme", - translatedTitle: "Custom theme", - }, - ], - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "themeTextColor", - title: "Text color", - description: "Select a color.", - translatedTitle: "Text color", - translatedDescription: "Select a color.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "#434343", - ui: "COLOR", - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "themeType", - type: "STRING", - value: "custom", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "themeSelectColor", - title: "Select color", - description: "Select a color.", - translatedTitle: "Select color", - translatedDescription: "Select a color.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "#C52C63", - ui: "COLOR", - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "themeType", - type: "STRING", - value: "custom", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "themeBackgroundColor", - title: "Background color", - description: "Select a color.", - translatedTitle: "Background color", - translatedDescription: "Select a color.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "#DFE5F0", - ui: "COLOR", - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "themeType", - type: "STRING", - value: "custom", - }, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "atmosphere", - title: "Atmospheric Conditions", - translatedTitle: "Atmospheric Conditions", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "enable_sun", - title: "Sun", - description: "Display the Sun.", - translatedTitle: "Sun", - translatedDescription: "Display the Sun.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: true, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "enable_lighting", - title: "Lighting", - description: "Display natural lighting from the sun.", - translatedTitle: "Lighting", - translatedDescription: "Display natural lighting from the sun.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "ground_atmosphere", - title: "Ground atmosphere", - description: "Display a lower atmospheric layer.", - translatedTitle: "Ground atmosphere", - translatedDescription: "Display a lower atmospheric layer.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: true, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "sky_atmosphere", - title: "Sky atmosphere", - description: "Display an upper atmospheric layer.", - translatedTitle: "Sky atmosphere", - translatedDescription: "Display an upper atmospheric layer.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: true, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "shadows", - title: "Shadow", - description: - "Display shadows on the Earth. Shadows for each layers should be also enabled to see them.", - translatedTitle: "Shadow", - translatedDescription: - "Display shadows on the Earth. Shadows for each layers should be also enabled to see them.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "fog", - title: "Fog", - description: "Display customizable fog.", - translatedTitle: "Fog", - translatedDescription: "Display customizable fog.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: true, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "fog_density", - title: "Fog density", - description: "Set a thickness to the fog. Min: 0 Max: 1", - translatedTitle: "Fog density", - translatedDescription: "Set a thickness to the fog. Min: 0 Max: 1", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: 0.0002, - ui: null, - min: 0, - max: 1, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "brightness_shift", - title: "Fog brightness", - description: "Set brightness of the fog. Min: -1 Max: 1", - translatedTitle: "Fog brightness", - translatedDescription: "Set brightness of the fog. Min: -1 Max: 1", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: 0.03, - ui: null, - min: -1, - max: 1, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "hue_shift", - title: "Fog hue", - description: "Set hue of the fog. Min: -1 Max: 1", - translatedTitle: "Fog hue", - translatedDescription: "Set hue of the fog. Min: -1 Max: 1", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: null, - ui: null, - min: -1, - max: 1, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "surturation_shift", - title: "Fog saturation", - description: "Set saturation of the fog. Min: -1 Max: 1", - translatedTitle: "Fog saturation", - translatedDescription: "Set saturation of the fog. Min: -1 Max: 1", - prefix: null, - suffix: null, - type: "NUMBER", - defaultValue: null, - ui: null, - min: -1, - max: 1, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "timeline", - title: "Timeline", - translatedTitle: "Timeline", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "animation", - title: "Animation", - description: "Enables animation play. If enabled, each 3D models can animate.", - translatedTitle: "Animation", - translatedDescription: - "Enables animation play. If enabled, each 3D models can animate.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "visible", - title: "Timeline", - description: "Whether the timeline UI is displayed or not", - translatedTitle: "Timeline", - translatedDescription: "Whether the timeline UI is displayed or not", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "current", - title: "Current time", - description: "", - translatedTitle: "Current time", - translatedDescription: "", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: "DATETIME", - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "start", - title: "Start time", - description: - "If nothing is set, it will be set automatically according to the data being displayed.", - translatedTitle: "Start time", - translatedDescription: - "If nothing is set, it will be set automatically according to the data being displayed.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: "DATETIME", - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "stop", - title: "Stop time", - description: - "If nothing is set, it will be set automatically according to the data being displayed.", - translatedTitle: "Stop time", - translatedDescription: - "If nothing is set, it will be set automatically according to the data being displayed.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: "DATETIME", - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "stepType", - title: "Tick type", - description: "How to specify the playback speed", - translatedTitle: "Tick type", - translatedDescription: "How to specify the playback speed", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "rate", - ui: null, - min: null, - max: null, - choices: [ - { - __typename: "PropertySchemaFieldChoice", - key: "rate", - icon: null, - title: "Rate", - translatedTitle: "Rate", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "fixed", - icon: null, - title: "Fixed", - translatedTitle: "Fixed", - }, - ], - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "multiplier", - title: "Multiplier", - description: - "Specifies the playback speed as a multiple of the real time speed. Negative values can also be specified. Default is 1x.", - translatedTitle: "Multiplier", - translatedDescription: - "Specifies the playback speed as a multiple of the real time speed. Negative values can also be specified. Default is 1x.", - prefix: "x", - suffix: null, - type: "NUMBER", - defaultValue: 1, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "stepType", - type: "STRING", - value: "rate", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "step", - title: "Step", - description: - "Specifies the playback speed in seconds. Each time the screen is repeatedly drawn, it advances by the specified specified number of seconds. Negative values can also be specified. The default is 1 second.", - translatedTitle: "Step", - translatedDescription: - "Specifies the playback speed in seconds. Each time the screen is repeatedly drawn, it advances by the specified specified number of seconds. Negative values can also be specified. The default is 1 second.", - prefix: null, - suffix: "s", - type: "NUMBER", - defaultValue: 1, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: { - __typename: "PropertyCondition", - fieldId: "stepType", - type: "STRING", - value: "fixed", - }, - }, - { - __typename: "PropertySchemaField", - fieldId: "rangeType", - title: "Range", - description: - "Specifies the playback speed in seconds. Negative values can also be specified.", - translatedTitle: "Range", - translatedDescription: - "Specifies the playback speed in seconds. Negative values can also be specified.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: "unbounded", - ui: null, - min: null, - max: null, - choices: [ - { - __typename: "PropertySchemaFieldChoice", - key: "unbounded", - icon: null, - title: "Unbounded", - translatedTitle: "Unbounded", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "clamped", - icon: null, - title: "Clamped", - translatedTitle: "Clamped", - }, - { - __typename: "PropertySchemaFieldChoice", - key: "bounced", - icon: null, - title: "Bounced", - translatedTitle: "Bounced", - }, - ], - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "cameraLimiter", - title: "Camera Limiter", - translatedTitle: "Camera Limiter", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "cameraLimitterEnabled", - title: "Enable", - description: "Enable camera limiter.", - translatedTitle: "Enable", - translatedDescription: "Enable camera limiter.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "cameraLimitterShowHelper", - title: "Show helper", - description: "Display the limiter boundaries.", - translatedTitle: "Show helper", - translatedDescription: "Display the limiter boundaries.", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "cameraLimitterTargetArea", - title: "Target max height", - description: - "The base position of the camera movement range. This position is the center point of the limit box in the horizontal and depth directions, and is the maximum height of the movable range. The camera will not be able to zoom out beyond the height specified here.", - translatedTitle: "Target max height", - translatedDescription: - "The base position of the camera movement range. This position is the center point of the limit box in the horizontal and depth directions, and is the maximum height of the movable range. The camera will not be able to zoom out beyond the height specified here.", - prefix: null, - suffix: null, - type: "CAMERA", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "cameraLimitterTargetWidth", - title: "Target width", - description: - "Specifies the width (longitude direction) of the box that represents the limiter boundaries.", - translatedTitle: "Target width", - translatedDescription: - "Specifies the width (longitude direction) of the box that represents the limiter boundaries.", - prefix: null, - suffix: "m", - type: "NUMBER", - defaultValue: 1000000, - ui: null, - min: 5, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "cameraLimitterTargetLength", - title: "Target length", - description: - "Specifies the depth (latitude direction) of the box that represents the limiter boundaries.", - translatedTitle: "Target length", - translatedDescription: - "Specifies the depth (latitude direction) of the box that represents the limiter boundaries.", - prefix: null, - suffix: "m", - type: "NUMBER", - defaultValue: 1000000, - ui: null, - min: 5, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "googleAnalytics", - title: "Google Analytics", - translatedTitle: "Google Analytics", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "enableGA", - title: "Enable", - description: "Enable Google Analytics", - translatedTitle: "Enable", - translatedDescription: "Enable Google Analytics", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "trackingId", - title: "Tracking ID", - description: - "Paste your Google Analytics tracking ID here. This will be embedded in your published project.", - translatedTitle: "Tracking ID", - translatedDescription: - "Paste your Google Analytics tracking ID here. This will be embedded in your published project.", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "experimental", - title: "Advanced", - translatedTitle: "Advanced", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "experimental_core", - title: "Enable advanced features", - description: "Enable advanced features for this scene. (beta)", - translatedTitle: "Enable advanced features", - translatedDescription: "Enable advanced features for this scene. (beta)", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "experimental_sandbox", - title: "Enable sandbox (alpha)", - description: "Enable sandbox for plugin iframes. (alpha)", - translatedTitle: "Enable sandbox (alpha)", - translatedDescription: "Enable sandbox for plugin iframes. (alpha)", - prefix: null, - suffix: null, - type: "BOOL", - defaultValue: false, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - ], - }, - items: [ - { - __typename: "PropertyGroupList", - id: "01h79x1hkxcgfzpykc2d9s6jjx", - schemaGroupId: "tiles", - groups: [ - { - __typename: "PropertyGroup", - id: "01h79x1hkxcgfzpykc2ebe0yx7", - schemaGroupId: "tiles", - fields: [], - }, - ], - }, - ], - }, - rootLayerId: "01h79x1hkxcgfzpykc26fx0khs", - newLayers: [], - tags: [], - stories: [ - { - __typename: "Story", - id: "01h79x1j0f3xptq3pzgnysk6dp", - title: "Default", - panelPosition: "LEFT", - isBasicAuthActive: false, - basicAuthUsername: "", - basicAuthPassword: "", - alias: "", - publicTitle: "", - publicDescription: "", - publicImage: "", - publicNoIndex: false, - pages: [ - { - __typename: "StoryPage", - id: "01ha3yqjspksp134k3gzv3yxnk", - title: "Page", - swipeable: false, - propertyId: "01ha3yqjspksp134k3gz04a9d2", - property: { - __typename: "Property", - id: "01ha3yqjspksp134k3gz04a9d2", - schema: { - __typename: "PropertySchema", - id: "reearth/storyPage", - groups: [ - { - __typename: "PropertySchemaGroup", - schemaGroupId: "panel", - title: "Panel Setting", - translatedTitle: "Panel Setting", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "padding", - title: "Padding", - description: "", - translatedTitle: "Padding", - translatedDescription: "", - prefix: null, - suffix: null, - type: "SPACING", - defaultValue: null, - ui: "PADDING", - min: 0, - max: 100, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "gap", - title: "Gap", - description: "", - translatedTitle: "Gap", - translatedDescription: "", - prefix: null, - suffix: "px", - type: "NUMBER", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "title", - title: "Title Setting", - translatedTitle: "Title Setting", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "title", - title: "Title", - description: "", - translatedTitle: "Title", - translatedDescription: "", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "color", - title: "Color", - description: "", - translatedTitle: "Color", - translatedDescription: "", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: "COLOR", - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "cameraAnimation", - title: "Camera Animation", - translatedTitle: "Camera Animation", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "cameraPosition", - title: "Camera position", - description: "", - translatedTitle: "Camera position", - translatedDescription: "", - prefix: null, - suffix: null, - type: "CAMERA", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "cameraDuration", - title: "Duration", - description: "", - translatedTitle: "Duration", - translatedDescription: "", - prefix: null, - suffix: "s", - type: "NUMBER", - defaultValue: null, - ui: null, - min: 0, - max: null, - choices: null, - isAvailableIf: null, - }, - { - __typename: "PropertySchemaField", - fieldId: "cameraDelay", - title: "Delay", - description: "", - translatedTitle: "Delay", - translatedDescription: "", - prefix: null, - suffix: "s", - type: "NUMBER", - defaultValue: null, - ui: null, - min: 0, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - { - __typename: "PropertySchemaGroup", - schemaGroupId: "timePoint", - title: "Time Point Setting", - translatedTitle: "Time Point Setting", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "timePoint", - title: "Time", - description: "", - translatedTitle: "Time", - translatedDescription: "", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: "DATETIME", - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - ], - }, - items: [], - }, - blocks: [ - { - __typename: "StoryBlock", - id: "01ha3yr4jcmvxd59d15dw0td81", - pluginId: "reearth", - extensionId: "storyBlock", - property: { - __typename: "Property", - id: "01ha3yr4jcmvxd59d15cpt672v", - schema: { - __typename: "PropertySchema", - id: "reearth/storyBlock", - groups: [ - { - __typename: "PropertySchemaGroup", - schemaGroupId: "default", - title: "Basic", - translatedTitle: "Basic", - isList: false, - representativeFieldId: null, - isAvailableIf: null, - fields: [ - { - __typename: "PropertySchemaField", - fieldId: "title", - title: "Title", - description: "", - translatedTitle: "Title", - translatedDescription: "", - prefix: null, - suffix: null, - type: "STRING", - defaultValue: null, - ui: null, - min: null, - max: null, - choices: null, - isAvailableIf: null, - }, - ], - }, - ], - }, - items: [], - }, - }, - ], - }, - ], - }, - ], - teamId: "01h6tpqrk5nxpckgfsw3h89p6x", - widgetAlignSystem: { - __typename: "WidgetAlignSystem", - outer: { - __typename: "WidgetZone", - left: { - __typename: "WidgetSection", - top: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - middle: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - bottom: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - }, - center: { - __typename: "WidgetSection", - top: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - middle: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - bottom: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - }, - right: { - __typename: "WidgetSection", - top: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - middle: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - bottom: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - }, - }, - inner: { - __typename: "WidgetZone", - left: { - __typename: "WidgetSection", - top: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - middle: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - bottom: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - }, - center: { - __typename: "WidgetSection", - top: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - middle: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - bottom: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - }, - right: { - __typename: "WidgetSection", - top: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - middle: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - bottom: { - __typename: "WidgetArea", - widgetIds: [], - align: "START", - padding: null, - gap: null, - centered: false, - background: null, - }, - }, - }, - }, - widgets: [], -}; diff --git a/web/src/beta/lib/lexical/RichTextEditor/index.tsx b/web/src/beta/lib/lexical/RichTextEditor/index.tsx index a6fb1432d5..317a7bd352 100644 --- a/web/src/beta/lib/lexical/RichTextEditor/index.tsx +++ b/web/src/beta/lib/lexical/RichTextEditor/index.tsx @@ -1,10 +1,8 @@ -import { TRANSFORMERS } from "@lexical/markdown"; import { LexicalComposer } from "@lexical/react/LexicalComposer"; import { ContentEditable } from "@lexical/react/LexicalContentEditable"; import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary"; import { HistoryPlugin } from "@lexical/react/LexicalHistoryPlugin"; import { ListPlugin } from "@lexical/react/LexicalListPlugin"; -import { MarkdownShortcutPlugin } from "@lexical/react/LexicalMarkdownShortcutPlugin"; import { OnChangePlugin } from "@lexical/react/LexicalOnChangePlugin"; import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin"; import { EditorState } from "lexical"; @@ -103,7 +101,6 @@ const RichTextEditor: React.FC = ({ - {editorRef.current && ( Date: Mon, 25 Sep 2023 11:12:29 +0530 Subject: [PATCH 14/20] - just removed a comment --- web/src/beta/components/fields/PropertyFields/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index 77fe828ce4..67ca085d42 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -87,7 +87,6 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { [isList, propertyId, item?.schemaGroup, handleMovePropertyItem], ); - // TODO: Double check this const showFields = useMemo(() => { return isList ? (selected ? item.items.find(({ id }) => id == selected) : false) : true; }, [item, selected, isList]); From 0489b19556ed7dd78d08bbdbdfe619d71e8e9661 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:51:12 +0530 Subject: [PATCH 15/20] - slider field to have a default step --- web/src/beta/components/Slider/index.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/web/src/beta/components/Slider/index.tsx b/web/src/beta/components/Slider/index.tsx index 6a49a790c1..fd0fb74840 100644 --- a/web/src/beta/components/Slider/index.tsx +++ b/web/src/beta/components/Slider/index.tsx @@ -12,11 +12,14 @@ export type Props = { max?: number; } & Omit, "defaultValue">; -const Slider: React.FC = ({ ...props }) => ( - - - -); +const Slider: React.FC = ({ ...props }) => { + const calculatedStep = props.step ? props.step : props.max ? props.max / 10 : 0.1; + return ( + + + + ); +}; const SliderStyled = styled.div<{ disabled: boolean }>` width: 100%; From 4a8b8044d59e336e89498756e2fa7aaf5aae0393 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:05:30 +0530 Subject: [PATCH 16/20] - refactord code --- .../components/fields/PropertyFields/hooks.ts | 35 +++++-------- .../fields/PropertyFields/index.tsx | 52 +++---------------- 2 files changed, 21 insertions(+), 66 deletions(-) diff --git a/web/src/beta/components/fields/PropertyFields/hooks.ts b/web/src/beta/components/fields/PropertyFields/hooks.ts index 32b4969fed..abc9e321ad 100644 --- a/web/src/beta/components/fields/PropertyFields/hooks.ts +++ b/web/src/beta/components/fields/PropertyFields/hooks.ts @@ -3,44 +3,35 @@ import { useCallback } from "react"; import { ValueType, ValueTypes } from "@reearth/beta/utils/value"; import { usePropertyFetcher } from "@reearth/services/api"; -export default () => { +export default (propertyId: string, schemaGroup: string) => { const { useUpdatePropertyValue, useAddPropertyItem, useRemovePropertyItem, useMovePropertyItem } = usePropertyFetcher(); const handlePropertyValueUpdate = useCallback( - ( - schemaGroupId: string, - propertyId: string, - fieldId: string, - vt: ValueType, - itemId?: string, - ) => { + (fieldId: string, vt: ValueType, itemId?: string) => { return async (v?: ValueTypes[ValueType]) => { - await useUpdatePropertyValue(propertyId, schemaGroupId, itemId, fieldId, "en", v, vt); + await useUpdatePropertyValue(propertyId, schemaGroup, itemId, fieldId, "en", v, vt); }; }, - [useUpdatePropertyValue], + [propertyId, schemaGroup, useUpdatePropertyValue], ); - const handleAddPropertyItem = useCallback( - (propertyId: string, schemaGroupId: string) => { - return useAddPropertyItem(propertyId, schemaGroupId); - }, - [useAddPropertyItem], - ); + const handleAddPropertyItem = useCallback(() => { + return useAddPropertyItem(propertyId, schemaGroup); + }, [propertyId, schemaGroup, useAddPropertyItem]); const handleRemovePropertyItem = useCallback( - (propertyId: string, schemaGroupId: string, itemId: string) => { - return useRemovePropertyItem(propertyId, schemaGroupId, itemId); + (itemId: string) => { + return useRemovePropertyItem(propertyId, schemaGroup, itemId); }, - [useRemovePropertyItem], + [propertyId, schemaGroup, useRemovePropertyItem], ); const handleMovePropertyItem = useCallback( - (propertyId: string, schemaGroupId: string, itemId: string, index: number) => { - return useMovePropertyItem(propertyId, schemaGroupId, itemId, index); + ({ id }: { id: string }, index: number) => { + return useMovePropertyItem(propertyId, schemaGroup, id, index); }, - [useMovePropertyItem], + [propertyId, schemaGroup, useMovePropertyItem], ); return { diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index 67ca085d42..85608fbc67 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -1,4 +1,4 @@ -import { useCallback, useState, useMemo } from "react"; +import { useState, useMemo } from "react"; import ColorField from "@reearth/beta/components/fields/ColorField"; import ListField from "@reearth/beta/components/fields/ListField"; @@ -18,7 +18,7 @@ import useHooks from "./hooks"; type Props = { propertyId: string; - item?: Item; + item: Item; }; const PropertyFields: React.FC = ({ propertyId, item }) => { @@ -27,7 +27,7 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { handleAddPropertyItem, handleRemovePropertyItem, handleMovePropertyItem, - } = useHooks(); + } = useHooks(propertyId, item.schemaGroup); // Just for the ListItem Property const isList = item && "items" in item; @@ -35,6 +35,7 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { // TODO: Only applies to list, should be refactored const [selected, setSelected] = useState(); + // TODO: Only applies to list, should be refactored const propertyListItems: Array<{ id: string; value: string }> = useMemo( () => isList @@ -65,65 +66,30 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { [isList, item], ); - // TODO: Will go in the hooks. Uses the common propertyId and schemaGroup param - const addItem = useCallback(async () => { - if (!isList) return; - handleAddPropertyItem(propertyId, item.schemaGroup); - }, [isList, propertyId, item?.schemaGroup, handleAddPropertyItem]); - - const removeItem = useCallback( - (id: string) => { - if (!isList) return; - handleRemovePropertyItem(propertyId, item.schemaGroup, id); - }, - [isList, propertyId, item?.schemaGroup, handleRemovePropertyItem], - ); - - const onItemDrop = useCallback( - ({ id }: { id: string }, index: number) => { - if (!isList) return; - handleMovePropertyItem(propertyId, item.schemaGroup, id, index); - }, - [isList, propertyId, item?.schemaGroup, handleMovePropertyItem], - ); - const showFields = useMemo(() => { return isList ? (selected ? item.items.find(({ id }) => id == selected) : false) : true; }, [item, selected, isList]); - // TODO: Remove debugging code - console.log(isList, item); - return ( <> {isList && ( )} {showFields && item?.schemaFields.map(sf => { - const isList = item && "items" in item; - // if it's a list and there's no selected, return empty. TODO: Could very well be optimized - - // TODO: fix type errors here const value = isList ? item.items.find(({ id }) => selected == id)?.fields.find(f => f.id == sf.id)?.value : item.fields.find(f => f.id === sf.id)?.value; - const handleChange = handlePropertyValueUpdate( - item.schemaGroup, - propertyId, - sf.id, - sf.type, - selected, - ); + const handleChange = handlePropertyValueUpdate(sf.id, sf.type, selected); return sf.type === "string" ? ( sf.ui === "color" ? ( @@ -182,8 +148,6 @@ const PropertyFields: React.FC = ({ propertyId, item }) => { max={sf.max} description={sf.description} onChange={handleChange} - // TODO: Where should the step come from? - step={0.1} /> ) : ( Date: Mon, 25 Sep 2023 14:53:02 +0530 Subject: [PATCH 17/20] - add default value logic (was removed in the prevous merge) --- web/src/beta/components/fields/PropertyFields/index.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index 7feae8dfdb..875400af82 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -87,9 +87,10 @@ const PropertyFields: React.FC = ({ propertyId, item, currentCamera, onFl )} {showFields && item?.schemaFields.map(sf => { - const value = isList - ? item.items.find(({ id }) => selected == id)?.fields.find(f => f.id == sf.id)?.value - : item.fields.find(f => f.id === sf.id)?.value; + const value = + (isList + ? item.items.find(({ id }) => selected == id)?.fields.find(f => f.id == sf.id)?.value + : item.fields.find(f => f.id === sf.id)?.value) ?? sf.defaultValue; const handleChange = handlePropertyValueUpdate(sf.id, sf.type, selected); @@ -155,7 +156,7 @@ const PropertyFields: React.FC = ({ propertyId, item, currentCamera, onFl Date: Mon, 25 Sep 2023 14:53:18 +0530 Subject: [PATCH 18/20] - Handle NaN in the number field --- web/src/beta/components/fields/common/NumberInput/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/beta/components/fields/common/NumberInput/index.tsx b/web/src/beta/components/fields/common/NumberInput/index.tsx index 22af95149b..39fb6fc89e 100644 --- a/web/src/beta/components/fields/common/NumberInput/index.tsx +++ b/web/src/beta/components/fields/common/NumberInput/index.tsx @@ -87,7 +87,9 @@ const NumberInput: React.FC = ({ const handleKeyPress = useCallback( (e: React.KeyboardEvent) => { if (e.key === "Enter") { - handleValueChange(parseFloat(e.currentTarget.value)); + const value = parseFloat(e.currentTarget.value); + + handleValueChange(isNaN(value) ? undefined : value); } }, [handleValueChange], From cd6987a8eb67add6e3a2a805255b37e5795ba745 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:25:58 +0530 Subject: [PATCH 19/20] - triple equal to --- web/src/beta/components/fields/PropertyFields/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index 875400af82..f913c5d637 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -69,7 +69,7 @@ const PropertyFields: React.FC = ({ propertyId, item, currentCamera, onFl ); const showFields = useMemo(() => { - return isList ? (selected ? item.items.find(({ id }) => id == selected) : false) : true; + return isList ? (selected ? item.items.find(({ id }) => id === selected) : false) : true; }, [item, selected, isList]); return ( From e9ac36675e6e63d501cbf6bdbdae16977b041335 Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:31:20 +0530 Subject: [PATCH 20/20] - setting undefined throws controlled/uncontrolled input error --- web/src/beta/components/fields/PropertyFields/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/beta/components/fields/PropertyFields/index.tsx b/web/src/beta/components/fields/PropertyFields/index.tsx index e9a419f841..fbb8e767fa 100644 --- a/web/src/beta/components/fields/PropertyFields/index.tsx +++ b/web/src/beta/components/fields/PropertyFields/index.tsx @@ -167,7 +167,7 @@ const PropertyFields: React.FC = ({ propertyId, item, currentCamera, onFl