Skip to content

Commit f6acc40

Browse files
committed
MC-1439: Define API & SPI and mark accordingly
1 parent d0713f4 commit f6acc40

File tree

8 files changed

+3
-16
lines changed

8 files changed

+3
-16
lines changed

app/code/Magento/PageBuilder/Block/Adminhtml/System/Config/SwitchAttributeType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
/**
1212
* Class SwitchAttributeType renders modal window to confirm changing attribute type
1313
*
14-
* @api
1514
*/
1615
class SwitchAttributeType extends \Magento\Config\Block\System\Config\Form\Field
1716
{

app/code/Magento/PageBuilder/view/adminhtml/web/js/master-format/render.js

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/js/utils/url.js

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/drag-drop/allowed-parents.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
/**
77
* @api
88
*/
9-
export interface AllowedParents {
9+
export interface AllowedParentsInterface {
1010
[key: string]: string[];
1111
}

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/drag-drop/matrix.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
import _ from "underscore";
66
import Config from "../config";
77
import ContentTypeConfigInterface from "../content-type-config";
8-
import {AllowedParents} from "./allowed-parents.d";
8+
import {AllowedParentsInterface} from "./allowed-parents.d";
99

10-
const allowedParents: AllowedParents = {};
10+
const allowedParents: AllowedParentsInterface = {};
1111

1212
/**
1313
* Build a matrix of which containers each content type can go into, these are determined by the allowed_parents

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/master-format/render.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ import ContentTypeInterface from "../content-type.d";
1010
import decodeAllDataUrlsInString from "../utils/directives";
1111
import filterHtml from "./filter-html";
1212

13-
/**
14-
* @api
15-
*/
1613
export default class MasterFormatRenderer {
1714
private rootTemplate: string = "Magento_PageBuilder/content-type/master";
1815

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/utils/url.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*
99
* @param {String} url
1010
* @returns {Boolean}
11-
* @api
1211
*/
1312
function isPathOnly(url: string): boolean {
1413
return url.indexOf("/") === 0;
@@ -19,7 +18,6 @@ function isPathOnly(url: string): boolean {
1918
*
2019
* @param {String} url
2120
* @returns {String}
22-
* @api
2321
*/
2422
function getPathFromUrl(url: string): string {
2523
const a = document.createElement("a");
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Magento\PageBuilder\Block\Adminhtml\Stage\Init
21
Magento\PageBuilder\Block\Adminhtml\System\Config\SwitchAttributeType

0 commit comments

Comments
 (0)