@pc-nexus/models 0.5.0-next.4 → 0.5.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/pc-nexus-models.d.ts +5 -21
package/package.json
CHANGED
|
@@ -81,6 +81,10 @@ interface DialogConfirmOptions {
|
|
|
81
81
|
onCancel?: () => void;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
interface Subscription {
|
|
85
|
+
unsubscribe: () => void;
|
|
86
|
+
}
|
|
87
|
+
|
|
84
88
|
interface ExtensionProperties {
|
|
85
89
|
key: string;
|
|
86
90
|
resolver: {
|
|
@@ -112,26 +116,6 @@ interface NexusAppExtension<T extends ExtensionProperties = ExtensionProperties>
|
|
|
112
116
|
resource_ports?: Record<string, number>;
|
|
113
117
|
}
|
|
114
118
|
|
|
115
|
-
interface EventCallbackParams {
|
|
116
|
-
payload?: any;
|
|
117
|
-
extension?: NexusAppExtension;
|
|
118
|
-
}
|
|
119
|
-
type EventCallbackType = (payload?: any, extension?: NexusAppExtension) => Promise<any>;
|
|
120
|
-
interface EventOnParams {
|
|
121
|
-
eventName: string;
|
|
122
|
-
callback: EventCallbackType;
|
|
123
|
-
}
|
|
124
|
-
interface EventEmitParams {
|
|
125
|
-
eventName: string;
|
|
126
|
-
payload: CustomEventInit<{
|
|
127
|
-
payload?: any;
|
|
128
|
-
extension?: NexusAppExtension;
|
|
129
|
-
}>;
|
|
130
|
-
}
|
|
131
|
-
interface Subscription {
|
|
132
|
-
unsubscribe: () => void;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
119
|
interface InvokeFunctionParams<T = unknown> {
|
|
136
120
|
function: string;
|
|
137
121
|
payload: T;
|
|
@@ -361,4 +345,4 @@ interface PageOpenCreateOptions {
|
|
|
361
345
|
}
|
|
362
346
|
|
|
363
347
|
export { HistoryAction, NEXUS_CONTENT_CHANGE_EVENT, NEXUS_CONTENT_UPDATE_EVENT, NavigationTarget, NexusAppEnvironment, NotifyType, SUPPORTED_LOCALE_CODES, ViewportSize, WorkItemTypeGroup };
|
|
364
|
-
export type { Descendant, DialogConfirmOptions, DialogOptions, DialogRef, EditorIframeOptions, EgressItem,
|
|
348
|
+
export type { Descendant, DialogConfirmOptions, DialogOptions, DialogRef, EditorIframeOptions, EgressItem, ExtensionData, ExtensionProperties, GetTranslationsResult, Idea, IdeaOpenCreateOptions, IframeResizerApi, InvokeFunctionParams, LocationDescriptor, MultipleSelectOptions, NavigationLocation, NexusAppExtension, NexusFullContext, NexusHistory, NexusRequestInit, NexusSupportedLocaleCode, NotifyAction, NotifyDetail, NotifyOptions, NotifyRef, Page, PageOpenCreateOptions, ProcessOptions, ProcessRef, RendererIframeOptions, RequestApiResponseData, RichtextBridgeMessage, RichtextContent, RichtextEditorRef, RichtextElement, RichtextRendererRef, RichtextText, SelectMemberDialogOptions, SelectMemberPopOptions, SingleSelectOptions, Subscription, TestCase, TestCaseOpenCreateOptions, Ticket, TicketOpenCreateOptions, TranslationResourceContent, Translator, UnlistenCallback, Viewport, WorkItem, WorkItemOpenCreateOptions };
|