@commercetools/frontend-sdk
Advanced tools
Comparing version 1.11.0 to 1.11.1
## Version 1.11.1 (2024-04-24) | ||
* Reverted PageAPI interfaces to types due to unintended breaking change | ||
## Version 1.11.0 (2024-04-24) | ||
@@ -3,0 +8,0 @@ |
@@ -13,3 +13,3 @@ import { ServerOptions } from '../../cookieHandling/ServerOptions.js'; | ||
interface PageApi { | ||
type PageApi = { | ||
/** | ||
@@ -57,4 +57,4 @@ * The method to get page data from the API-hub. | ||
}) => Promise<SDKResponse<PageFolderListResponse>>; | ||
} | ||
}; | ||
export { PageApi }; |
import { PageFolder } from '@frontastic/extension-types'; | ||
interface PageFolderListResponse { | ||
type PageFolderListResponse = { | ||
pageFolderStructure: Omit<PageFolder, "isDynamic">[]; | ||
} | ||
}; | ||
export { PageFolderListResponse }; |
@@ -5,6 +5,6 @@ import { PageResponse } from './PageResponse.js'; | ||
interface PagePreviewResponse extends PageResponse { | ||
type PagePreviewResponse = PageResponse & { | ||
previewId: string; | ||
} | ||
}; | ||
export { PagePreviewResponse }; |
import { Page, PageFolder } from '@frontastic/extension-types'; | ||
import { PageViewData } from './PageViewData.js'; | ||
interface PageResponse { | ||
type PageResponse = { | ||
page: Page; | ||
pageFolder: PageFolder; | ||
data: PageViewData; | ||
} | ||
}; | ||
export { PageResponse }; |
@@ -1,2 +0,2 @@ | ||
interface PageViewData { | ||
type PageViewData = { | ||
dataSources: { | ||
@@ -11,4 +11,4 @@ [id: string]: { | ||
}; | ||
} | ||
}; | ||
export { PageViewData }; |
{ | ||
"name": "@commercetools/frontend-sdk", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
465789