Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit dac4187

Browse files
committed
change to interface and add 'id' to match server packages
1 parent 0a77f13 commit dac4187

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/packages/core/extension-registry/umbraco-package.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ import type { ManifestTypes } from './models/index.js';
33
/**
44
* Umbraco package manifest JSON
55
*/
6-
export class UmbracoPackage {
6+
export interface UmbracoPackage {
7+
/**
8+
* @title The unique identifier of the Umbraco package
9+
*/
10+
id?: string;
11+
712
/**
813
* @title The name of the Umbraco package
14+
* @required
915
*/
10-
name?: string;
16+
name: string;
1117

1218
/**
1319
* @title The version of the Umbraco package in the style of semver
@@ -23,6 +29,7 @@ export class UmbracoPackage {
2329

2430
/**
2531
* @title An array of Umbraco package manifest types that will be installed
32+
* @required
2633
*/
27-
extensions?: ManifestTypes[];
34+
extensions: ManifestTypes[];
2835
}

0 commit comments

Comments
 (0)