Skip to content

Commit 1c82946

Browse files
committed
chore: update cms entry list columns extension structure and paths
1 parent db491fd commit 1c82946

5 files changed

Lines changed: 29 additions & 19 deletions

File tree

extensions/cms-product-columns/6.0.x/extensions/ProductEntryListColumns.tsx renamed to extensions/cms-entry-list-columns/6.0.x/extensions/productEntryListColumns/ProductEntryListColumns.tsx

File renamed without changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { Api, Admin } from "webiny/extensions";
2+
3+
export const ProductEntryListColumnsExtension = () => {
4+
return (
5+
<>
6+
<Admin.Extension
7+
src={"/extensions/productEntryListColumns/ProductEntryListColumns.tsx"}
8+
/>
9+
10+
{/* This model is registered just for demo purposes. */}
11+
<Api.Extension src={"/extensions/productEntryListColumns/ProductModel.ts"} />
12+
</>
13+
);
14+
};

extensions/cms-product-columns/6.0.x/extensions/ProductModel.ts renamed to extensions/cms-entry-list-columns/6.0.x/extensions/productEntryListColumns/ProductModel.ts

File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "../../schemas/extension.schema.json",
3+
"name": "cms-product-columns",
4+
"webinyConfigTsx": {
5+
"imports": [
6+
{
7+
"specifier": "ProductEntryListColumnsExtension",
8+
"path": "./extensions/productEntryListColumns/ProductEntryListColumnsExtension.js"
9+
}
10+
],
11+
"component": {
12+
"name": "ProductEntryListColumnsExtension"
13+
}
14+
}
15+
}

extensions/cms-product-columns/extension.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)