@mcmhomes/panorama-viewer
Version:
Provides React components to render panoramas.
112 lines (111 loc) • 4.44 kB
TypeScript
export function useHomeVersion(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
}): [string | null, boolean, string | null];
export function useHomeVersionDate(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
}): [Date | null, boolean, string | null];
export function useHomeRenderDate(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
}): [Date | null, boolean, string | null];
export function useAvailableSkusGrouped(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
}): [any | null, boolean, string | null];
export function useAvailableSkus(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
}): [string[] | null, boolean, string | null];
export function useAvailableStyleIds(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
locationId?: string | null | undefined;
}): [string[] | null, boolean, string | null];
export function useAvailableLocationIds(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
}): [string[] | null, boolean, string | null];
export function useDefaultSkusGrouped(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
}): [any | null, boolean, string | null];
export function useDefaultSkus(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
}): [string[] | null, boolean, string | null];
export function useDefaultStyleId(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
locationId?: string | null | undefined;
}): [string | null, boolean, string | null];
export function useDefaultLocationId(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
}): [string | null, boolean, string | null];
export function useCurrentSkusGrouped(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
skus?: any | null;
warnings?: boolean | null | undefined;
}): [any | null, boolean, string | null];
export function useCurrentSkus(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
skus?: any | null;
warnings?: boolean | null | undefined;
}): [string[] | null, boolean, string | null];
export function useCurrentStyleId(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
}): [string | null, boolean, string | null];
export function useCurrentLocationId(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
styleId?: string | null | undefined;
locationId?: string | null | undefined;
}): [string | null, boolean, string | null];
export function useThumbnails(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
}): [ThumbnailFunctions | null, boolean, string | null];
export function useNames(params: {
homeId: string;
homeVersion?: string | null | undefined;
host?: string | null | undefined;
}): [NamesFunctions | null, boolean, string | null];
export type ThumbnailFunctions = import("./PanoramaViewerUtils.jsx").ThumbnailFunctions;
export type NamesFunctions = import("./PanoramaViewerUtils.jsx").NamesFunctions;