Skip to content

Commit 2e0b139

Browse files
committed
change namespace
1 parent a75b147 commit 2e0b139

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

ExtensionManifest.d.ts

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare namespace CEP {
1+
declare namespace ExtensionManifest {
22

33
type CollectionWithAttributes<K extends string, T, A> =
44
Partial<A> extends A
@@ -153,7 +153,7 @@ declare namespace CEP {
153153
/**
154154
* Contains a list for every extension's attributes.
155155
*/
156-
DispatchInfoList: Collection<"Extension", null, CEP.DispatchInfoList.Extension>;
156+
DispatchInfoList: Collection<"Extension", null, DispatchInfoList.Extension>;
157157
}
158158

159159
/**
@@ -371,7 +371,7 @@ declare namespace CEP {
371371
/**
372372
* Specifies the type of the extension. Note that the "Custom" type means that it is up to the point product to decide how this extension will be handled. This value is localizable.
373373
*/
374-
Type?: CEP.DispatchInfoList.UI.Type;
374+
Type?: DispatchInfoList.UI.Type;
375375
/**
376376
* Specifies the name for the menu entry. This value is localizable.
377377
*/
@@ -434,32 +434,34 @@ declare namespace CEP {
434434
DependencyList?: Collection<"Dependency", null, Dependency>;
435435
}
436436
}
437-
}
438437

439-
interface ManifestAttr {
440-
/**
441-
* The version of this ExtensionManifest.
442-
*/
443-
Version: "7.0"
444-
/**
445-
* The Id for all extensions included in this ExtensionManifest.
446-
*/
447-
ExtensionBundleId: CEP.ID
448-
/**
449-
* The version of this ExtensionBundle.
450-
*/
451-
ExtensionBundleVersion: CEP.Version
452-
/**
453-
* An optional user-friendly name for this ExtensionBundle.
454-
*/
455-
ExtensionBundleName?: CEP.RequiredString
438+
439+
interface ManifestAttr {
440+
/**
441+
* The version of this ExtensionManifest.
442+
*/
443+
Version: "7.0"
444+
/**
445+
* The Id for all extensions included in this ExtensionManifest.
446+
*/
447+
ExtensionBundleId: ExtensionManifest.ID
448+
/**
449+
* The version of this ExtensionBundle.
450+
*/
451+
ExtensionBundleVersion: ExtensionManifest.Version
452+
/**
453+
* An optional user-friendly name for this ExtensionBundle.
454+
*/
455+
ExtensionBundleName?: ExtensionManifest.RequiredString
456+
}
456457
}
457458

458-
export interface V6 extends CEP.ExtensionManifest {
459+
460+
interface V6 extends ExtensionManifest.ExtensionManifest {
459461
}
460462

461-
export interface V7 extends CEP.ExtensionManifest {
463+
interface V7 extends ExtensionManifest.ExtensionManifest {
462464
}
463465

464-
export { CEP as Manifest}
465-
export default CEP;
466+
export { V6, V7}
467+
export default ExtensionManifest;

0 commit comments

Comments
 (0)