UNPKG

@speckle/shared

Version:

Shared code between various Speckle JS packages

23 lines 960 B
import { Nullable } from '../../core/helpers/utilityTypes.js'; import { ViewerResourcesTarget } from '../../viewer/helpers/route.js'; /** * Title used for the default 'Ungrouped Scenes' group in the saved views panel. */ export declare const ungroupedScenesGroupTitle = "Ungrouped"; export type DefaultGroupMetadata = { resourceIds: string[]; projectId: string; name: 'Default Group'; }; /** * Converts a resourceId string into a more abstract format used by groups that disregards * specific versions of models and objects. */ export declare const formatResourceIdsForGroup: (resources: ViewerResourcesTarget) => string[]; export declare const buildDefaultGroupId: (params: { resourceIds: string[]; projectId: string; }) => string; export declare const decodeDefaultGroupId: (id: string) => Nullable<DefaultGroupMetadata>; export declare const isUngroupedGroup: (groupId: string) => boolean; //# sourceMappingURL=defaultGroup.d.ts.map