@figuredev/business-config-sdk
Advanced tools
Comparing version 0.9.12 to 0.9.13
@@ -8,3 +8,3 @@ import { UserContext } from "./utils"; | ||
import { TerminalDTO, TerminalPreviewDTO } from "./terminal"; | ||
import { SchematizedPageGroup } from "./schematized"; | ||
import { SchematizedLayoutDTO } from "./schematized"; | ||
declare type BusinessConfigClientConfig = { | ||
@@ -54,4 +54,4 @@ baseUrl: string; | ||
getSettings(ctx: UserContext, params: GetSettingsQueryParams): Promise<SettingDTO[]>; | ||
getSchematized(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<SchematizedPageGroup[]>; | ||
getSchematized(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<SchematizedLayoutDTO>; | ||
} | ||
export {}; |
@@ -6,3 +6,3 @@ export declare enum SchematizedTileType { | ||
} | ||
export declare type SchematizedTileBase = { | ||
export declare type SchematizedTileBaseDTO = { | ||
id: string; | ||
@@ -16,7 +16,7 @@ position: [number, number]; | ||
}; | ||
export declare type SchematizedTileProductButton = SchematizedTileBase & { | ||
export declare type SchematizedTileProductButtonDTO = SchematizedTileBaseDTO & { | ||
type: SchematizedTileType.PRODUCT_BUTTON; | ||
categoryId: string; | ||
}; | ||
export declare type SchematizedTileFolder = SchematizedTileBase & { | ||
export declare type SchematizedTileFolderDTO = SchematizedTileBaseDTO & { | ||
type: SchematizedTileType.FOLDER; | ||
@@ -26,15 +26,19 @@ categoryId?: string | null; | ||
}; | ||
export declare type SchematizedTileBackButton = SchematizedTileBase & { | ||
export declare type SchematizedTileBackButtonDTO = SchematizedTileBaseDTO & { | ||
type: SchematizedTileType.BACK_BUTTON; | ||
}; | ||
export declare type SchematizedTile = SchematizedTileProductButton | SchematizedTileFolder | SchematizedTileBackButton; | ||
export declare type SchematizedPage = { | ||
export declare type SchematizedTileDTO = SchematizedTileProductButtonDTO | SchematizedTileFolderDTO | SchematizedTileBackButtonDTO; | ||
export declare type SchematizedPageDTO = { | ||
id: string; | ||
dimensions?: [number, number]; | ||
tiles: SchematizedTile[]; | ||
tiles: SchematizedTileDTO[]; | ||
}; | ||
export declare type SchematizedPageGroup = { | ||
export declare type SchematizedPageGroupDTO = { | ||
id: string; | ||
isRoot?: boolean; | ||
pages: SchematizedPage[]; | ||
pages: SchematizedPageDTO[]; | ||
}; | ||
export declare type SchematizedLayoutDTO = { | ||
id: string; | ||
data: SchematizedPageGroupDTO[]; | ||
}; |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.9.12", | ||
"version": "0.9.13", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22005
464