@opengeoweb/workspace 12.6.0 → 12.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,7 +125,6 @@ export interface WorkspaceComponentLookupPayload {
125
125
  id: string;
126
126
  title?: string;
127
127
  initialProps: unknown;
128
- connectedMap?: string;
129
128
  }
130
129
  export type WorkspaceLookupFunctionType = (payload: WorkspaceComponentLookupPayload) => React.ReactElement;
131
130
  export interface ViewPresetListItem {
@@ -1,10 +1,11 @@
1
1
  import { SystemScope } from '@opengeoweb/shared';
2
2
  import { AppStore } from '../types';
3
3
  import { ViewPresetState } from '../viewPresets/types';
4
- import { WorkspaceState } from '../workspace/types';
4
+ import { WorkspacePresetListItem, WorkspaceState } from '../workspace/types';
5
5
  import { WorkspaceListState } from './types';
6
6
  export declare const getWorkspaceListStore: (store: AppStore) => WorkspaceListState;
7
- export declare const getWorkspaceList: (state: AppStore) => import("../workspace/types").WorkspacePresetListItem[];
7
+ export declare const getWorkspaceList: (state: AppStore) => WorkspacePresetListItem[];
8
+ export declare const getWorkspacePresetFromList: (store: AppStore, id: string) => WorkspacePresetListItem;
8
9
  export declare const getIsWorkspaceListFetching: ((state: AppStore) => boolean) & {
9
10
  clearCache: () => void;
10
11
  resultsCount: () => number;
@@ -22,6 +22,5 @@ export interface PresetsApi {
22
22
  }>;
23
23
  saveViewPreset: (viewPresetId: string, data: ViewPreset) => Promise<void>;
24
24
  saveViewPresetAs: (data: ViewPreset) => Promise<string>;
25
- deleteViewPreset: (viewPresetId: string) => Promise<void>;
26
25
  }
27
26
  export declare const createApi: (props: CreateApiProps) => PresetsApi;
File without changes