@adminide-stack/extension-api 8.5.2-alpha.0 → 9.0.1-alpha.0

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/lib/index.js CHANGED
@@ -1 +1 @@
1
- export{graphQLContent}from'./interfaces/graphql.js';export{ContributableViewContainer,IContributableMenu}from'./interfaces/contributions/contribution.js';export{EMPTY_MODEL}from'./interfaces/model.js';export{match,score}from'./interfaces/text-document.js';export{ContextMenuDocument,CopyDocument,ExtensionsByLimitDocument,GalleryDocument,GalleryExtensionDocument,HideContextMenuDocument,ICacheControlScope,IClientContainerService,IEnvironmentSync,IExtensionKind,IExtensionType,IGraphqlCallType,IMarkupKind,IMenuId,IMoleculerServiceName,INotificationChangeType,INotificationSeverity,INotificationViewItemLabelKind,ISortEnum,InstallDocument,InstalledExtensionsDocument,NotificationsDocument,ProviderDefinitionDocument,RemoveDocument,RunMenuActionDocument,ShowContextMenuDocument,ShowNotificationDocument,useContextMenuLazyQuery,useContextMenuQuery,useContextMenuSuspenseQuery,useCopyMutation,useExtensionsByLimitLazyQuery,useExtensionsByLimitQuery,useExtensionsByLimitSuspenseQuery,useGalleryExtensionLazyQuery,useGalleryExtensionQuery,useGalleryExtensionSuspenseQuery,useGalleryLazyQuery,useGalleryQuery,useGallerySuspenseQuery,useHideContextMenuMutation,useInstallMutation,useInstalledExtensionsLazyQuery,useInstalledExtensionsQuery,useInstalledExtensionsSuspenseQuery,useNotificationsLazyQuery,useNotificationsQuery,useNotificationsSuspenseQuery,useProviderDefinitionMutation,useRemoveMutation,useRunMenuActionMutation,useShowContextMenuMutation,useShowNotificationLazyQuery,useShowNotificationQuery,useShowNotificationSuspenseQuery}from'./interfaces/generated-models.js';export{WebviewContentPurpose}from'./interfaces/webview/webview.js';export{EditorPosition}from'./protocol/editor-missing-types.js';export{HostIdentifier,ProxyIdentifier,RequestType,TransportType,createExtHostContextProxyIdentifier,createMainContextProxyIdentifier,getStringIdentifierForProxy}from'./protocol/proxy-identifier.js';export{modes}from'./protocol/temporary-types.js';export{ClientContext}from'./protocol/client.protocol.js';export{ISuggestDataDtoField,ISuggestResultDtoField,IdObject,ObjectIdentifier,reviveWorkspaceEditDto}from'./protocol/common.protocol.js';export{editorGroupToViewColumn,viewColumnToEditorGroup}from'./protocol/shared/editor.js';export{ExtHostContext,MainContext}from'./protocol/server.protocol.js';export{ArgType,MessageBuffer,MessageIO,MessageType,RPCProtocol,RequestInitiator,ResponsiveState,safeStringify}from'./protocol/rpc-protocol.js';export{RPCLogger}from'./protocol/rpc-logger.js';export{createBarrier}from'./utils/helper.test.js';export{flattenAndCompact,generateContributionId,isPromise,isSubscribable,tryCatchPromise}from'./utils/util.js';export{asError,isErrorLike}from'./utils/errors.js';export{getScriptURLFromExtensionManifest}from'./utils/extensions.js';export{combineLatestOrDefault}from'./utils/rxjs/combineLatestOrDefault.js';import*as pathsUtil from'./utils/paths-util.js';export{pathsUtil as path };export{ConfigurationTarget,Disposable,LogLevel,RelativePattern}from'./core/types/ext-host-types.js';export{Expression,TemplateExpression,parse,parseTemplate}from'./core/expr/evaluator.js';export{Lexer,OPERATORS,OPERATOR_CHARS,TemplateLexer,TokenType}from'./core/expr/lexer.js';export{Parser,TemplateParser}from'./core/expr/parser.js';export{ConnectionError,ConnectionErrors,createConnection}from'./connections/jsonrpc2/connection.js';export{createWebWorkerMessageTransports}from'./connections/jsonrpc2/transports/webWorker.js';export{BrowserConsoleTracer,noopTracer}from'./connections/jsonrpc2/trace.js';export{createMessagePipe,createMessageTransports}from'./connections/jsonrpc2/test-helper.js';export{BrowserRemoteRPC}from'./connections/remote-rpc/browser-remote-rpc.js';export{createExtensionProxy,createProxy,createProxyAndHandleRequests,handleRequests,handleServerProxyRequest,handleServerProxyRequests}from'./connections/proxy/proxy.js';export{ClientTypes}from'./constants/types.js';export{COMMAND_ACTION_TYPES,CONTRIBUTION_ACTION_TYPES,EXTENSION_ACTION_TYPES,SETTINGS_ACTION_TYPES}from'./constants/action-types.js';
1
+ export{graphQLContent}from'./interfaces/graphql.js';export{ContributableViewContainer,IContributableMenu}from'./interfaces/contributions/contribution.js';export{EMPTY_MODEL}from'./interfaces/model.js';export{match,score}from'./interfaces/text-document.js';export{ContextMenuDocument,CopyDocument,ExtensionsByLimitDocument,GalleryDocument,GalleryExtensionDocument,HideContextMenuDocument,ICacheControlScope,IClientContainerService,IEnvironmentSync,IExtensionKind,IExtensionType,IGraphqlCallType,IMailTemplateId,IMarkupKind,IMenuId,IMoleculerCronServiceName,IMoleculerServiceName,INotificationChangeType,INotificationSeverity,INotificationViewItemLabelKind,ISortEnum,InstallDocument,InstalledExtensionsDocument,NotificationsDocument,ProviderDefinitionDocument,RemoveDocument,RunMenuActionDocument,ShowContextMenuDocument,ShowNotificationDocument,useContextMenuLazyQuery,useContextMenuQuery,useContextMenuSuspenseQuery,useCopyMutation,useExtensionsByLimitLazyQuery,useExtensionsByLimitQuery,useExtensionsByLimitSuspenseQuery,useGalleryExtensionLazyQuery,useGalleryExtensionQuery,useGalleryExtensionSuspenseQuery,useGalleryLazyQuery,useGalleryQuery,useGallerySuspenseQuery,useHideContextMenuMutation,useInstallMutation,useInstalledExtensionsLazyQuery,useInstalledExtensionsQuery,useInstalledExtensionsSuspenseQuery,useNotificationsLazyQuery,useNotificationsQuery,useNotificationsSuspenseQuery,useProviderDefinitionMutation,useRemoveMutation,useRunMenuActionMutation,useShowContextMenuMutation,useShowNotificationLazyQuery,useShowNotificationQuery,useShowNotificationSuspenseQuery}from'./interfaces/generated-models.js';export{WebviewContentPurpose}from'./interfaces/webview/webview.js';export{EditorPosition}from'./protocol/editor-missing-types.js';export{HostIdentifier,ProxyIdentifier,RequestType,TransportType,createExtHostContextProxyIdentifier,createMainContextProxyIdentifier,getStringIdentifierForProxy}from'./protocol/proxy-identifier.js';export{modes}from'./protocol/temporary-types.js';export{ClientContext}from'./protocol/client.protocol.js';export{ISuggestDataDtoField,ISuggestResultDtoField,IdObject,ObjectIdentifier,reviveWorkspaceEditDto}from'./protocol/common.protocol.js';export{editorGroupToViewColumn,viewColumnToEditorGroup}from'./protocol/shared/editor.js';export{ExtHostContext,MainContext}from'./protocol/server.protocol.js';export{ArgType,MessageBuffer,MessageIO,MessageType,RPCProtocol,RequestInitiator,ResponsiveState,safeStringify}from'./protocol/rpc-protocol.js';export{RPCLogger}from'./protocol/rpc-logger.js';export{createBarrier}from'./utils/helper.test.js';export{flattenAndCompact,generateContributionId,isPromise,isSubscribable,tryCatchPromise}from'./utils/util.js';export{asError,isErrorLike}from'./utils/errors.js';export{getScriptURLFromExtensionManifest}from'./utils/extensions.js';export{combineLatestOrDefault}from'./utils/rxjs/combineLatestOrDefault.js';import*as pathsUtil from'./utils/paths-util.js';export{pathsUtil as path };export{ConfigurationTarget,Disposable,LogLevel,RelativePattern}from'./core/types/ext-host-types.js';export{Expression,TemplateExpression,parse,parseTemplate}from'./core/expr/evaluator.js';export{Lexer,OPERATORS,OPERATOR_CHARS,TemplateLexer,TokenType}from'./core/expr/lexer.js';export{Parser,TemplateParser}from'./core/expr/parser.js';export{ConnectionError,ConnectionErrors,createConnection}from'./connections/jsonrpc2/connection.js';export{createWebWorkerMessageTransports}from'./connections/jsonrpc2/transports/webWorker.js';export{BrowserConsoleTracer,noopTracer}from'./connections/jsonrpc2/trace.js';export{createMessagePipe,createMessageTransports}from'./connections/jsonrpc2/test-helper.js';export{BrowserRemoteRPC}from'./connections/remote-rpc/browser-remote-rpc.js';export{createExtensionProxy,createProxy,createProxyAndHandleRequests,handleRequests,handleServerProxyRequest,handleServerProxyRequests}from'./connections/proxy/proxy.js';export{ClientTypes}from'./constants/types.js';export{COMMAND_ACTION_TYPES,CONTRIBUTION_ACTION_TYPES,EXTENSION_ACTION_TYPES,SETTINGS_ACTION_TYPES}from'./constants/action-types.js';
@@ -77,6 +77,10 @@ export type Scalars = {
77
77
  input: any;
78
78
  output: any;
79
79
  };
80
+ Timestamp: {
81
+ input: any;
82
+ output: any;
83
+ };
80
84
  URI: {
81
85
  input: URI;
82
86
  output: URI;
@@ -1104,6 +1108,9 @@ export type ILocation = {
1104
1108
  uri?: Maybe<Scalars['String']['output']>;
1105
1109
  uriRangeOrPosition?: Maybe<Scalars['String']['output']>;
1106
1110
  };
1111
+ export declare enum IMailTemplateId {
1112
+ Dummy = "dummy"
1113
+ }
1107
1114
  export type IMarkupContent = {
1108
1115
  kind?: Maybe<IMarkupKind>;
1109
1116
  value?: Maybe<Scalars['String']['output']>;
@@ -1231,6 +1238,9 @@ export type IMessageLinkInput = {
1231
1238
  name?: InputMaybe<Scalars['String']['input']>;
1232
1239
  offset?: InputMaybe<Scalars['Int']['input']>;
1233
1240
  };
1241
+ export declare enum IMoleculerCronServiceName {
1242
+ Dummy = "dummy"
1243
+ }
1234
1244
  /** All Moleculer Topic names are extended from this. */
1235
1245
  export declare enum IMoleculerServiceName {
1236
1246
  Dummy = "dummy"
@@ -2692,6 +2702,7 @@ export type IResolversTypes = {
2692
2702
  Localization: ResolverTypeWrapper<ILocalization>;
2693
2703
  LocalizationTranslation: ResolverTypeWrapper<ILocalizationTranslation>;
2694
2704
  Location: ResolverTypeWrapper<IResolversInterfaceTypes<IResolversTypes>['Location']>;
2705
+ MailTemplateId: IMailTemplateId;
2695
2706
  MarkupContent: ResolverTypeWrapper<IResolversInterfaceTypes<IResolversTypes>['MarkupContent']>;
2696
2707
  MarkupKind: IMarkupKind;
2697
2708
  MenuId: IMenuId;
@@ -2708,6 +2719,7 @@ export type IResolversTypes = {
2708
2719
  Menus: ResolverTypeWrapper<IMenus>;
2709
2720
  MessageLink: ResolverTypeWrapper<IMessageLink>;
2710
2721
  MessageLinkInput: IMessageLinkInput;
2722
+ MoleculerCronServiceName: IMoleculerCronServiceName;
2711
2723
  MoleculerServiceName: IMoleculerServiceName;
2712
2724
  Mutation: ResolverTypeWrapper<{}>;
2713
2725
  Node: ResolverTypeWrapper<IResolversInterfaceTypes<IResolversTypes>['Node']>;
@@ -2762,6 +2774,7 @@ export type IResolversTypes = {
2762
2774
  TextDocumentRegistrationOptionsInput: ITextDocumentRegistrationOptionsInput;
2763
2775
  ThemeLabel: ResolverTypeWrapper<IThemeLabel>;
2764
2776
  Time: ResolverTypeWrapper<Scalars['Time']['output']>;
2777
+ Timestamp: ResolverTypeWrapper<Scalars['Timestamp']['output']>;
2765
2778
  URI: ResolverTypeWrapper<Scalars['URI']['output']>;
2766
2779
  URIInput: ResolverTypeWrapper<Scalars['URIInput']['output']>;
2767
2780
  ViewContainer: ResolverTypeWrapper<IViewContainer>;
@@ -2920,6 +2933,7 @@ export type IResolversParentTypes = {
2920
2933
  TextDocumentRegistrationOptionsInput: ITextDocumentRegistrationOptionsInput;
2921
2934
  ThemeLabel: IThemeLabel;
2922
2935
  Time: Scalars['Time']['output'];
2936
+ Timestamp: Scalars['Timestamp']['output'];
2923
2937
  URI: Scalars['URI']['output'];
2924
2938
  URIInput: Scalars['URIInput']['output'];
2925
2939
  ViewContainer: IViewContainer;
@@ -3750,6 +3764,9 @@ export type IThemeLabelResolvers<ContextType = MyContext, ParentType extends IRe
3750
3764
  export interface ITimeScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Time'], any> {
3751
3765
  name: 'Time';
3752
3766
  }
3767
+ export interface ITimestampScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Timestamp'], any> {
3768
+ name: 'Timestamp';
3769
+ }
3753
3770
  export interface IUriScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['URI'], any> {
3754
3771
  name: 'URI';
3755
3772
  }
@@ -3879,6 +3896,7 @@ export type IResolvers<ContextType = MyContext> = {
3879
3896
  TextDocumentRegistrationOptions?: ITextDocumentRegistrationOptionsResolvers<ContextType>;
3880
3897
  ThemeLabel?: IThemeLabelResolvers<ContextType>;
3881
3898
  Time?: GraphQLScalarType;
3899
+ Timestamp?: GraphQLScalarType;
3882
3900
  URI?: GraphQLScalarType;
3883
3901
  URIInput?: GraphQLScalarType;
3884
3902
  ViewContainer?: IViewContainerResolvers<ContextType>;
@@ -29,6 +29,10 @@ var IGraphqlCallType;
29
29
  IGraphqlCallType["Mutation"] = "mutation";
30
30
  IGraphqlCallType["Query"] = "query";
31
31
  })(IGraphqlCallType || (IGraphqlCallType = {}));
32
+ var IMailTemplateId;
33
+ (function (IMailTemplateId) {
34
+ IMailTemplateId["Dummy"] = "dummy";
35
+ })(IMailTemplateId || (IMailTemplateId = {}));
32
36
  var IMarkupKind;
33
37
  (function (IMarkupKind) {
34
38
  IMarkupKind["Markdown"] = "markdown";
@@ -67,6 +71,10 @@ var IMenuId;
67
71
  IMenuId["ViewItemContext"] = "ViewItemContext";
68
72
  IMenuId["ViewTitle"] = "ViewTitle";
69
73
  })(IMenuId || (IMenuId = {}));
74
+ var IMoleculerCronServiceName;
75
+ (function (IMoleculerCronServiceName) {
76
+ IMoleculerCronServiceName["Dummy"] = "dummy";
77
+ })(IMoleculerCronServiceName || (IMoleculerCronServiceName = {}));
70
78
  /** All Moleculer Topic names are extended from this. */
71
79
  var IMoleculerServiceName;
72
80
  (function (IMoleculerServiceName) {
@@ -1271,4 +1279,4 @@ function useShowNotificationLazyQuery(baseOptions) {
1271
1279
  function useShowNotificationSuspenseQuery(baseOptions) {
1272
1280
  const options = { ...defaultOptions, ...baseOptions };
1273
1281
  return Apollo.useSuspenseQuery(ShowNotificationDocument, options);
1274
- }export{ContextMenuDocument,CopyDocument,ExtensionsByLimitDocument,GalleryDocument,GalleryExtensionDocument,HideContextMenuDocument,ICacheControlScope,IClientContainerService,IEnvironmentSync,IExtensionKind,IExtensionType,IGraphqlCallType,IMarkupKind,IMenuId,IMoleculerServiceName,INotificationChangeType,INotificationSeverity,INotificationViewItemLabelKind,ISortEnum,InstallDocument,InstalledExtensionsDocument,NotificationsDocument,ProviderDefinitionDocument,RemoveDocument,RunMenuActionDocument,ShowContextMenuDocument,ShowNotificationDocument,useContextMenuLazyQuery,useContextMenuQuery,useContextMenuSuspenseQuery,useCopyMutation,useExtensionsByLimitLazyQuery,useExtensionsByLimitQuery,useExtensionsByLimitSuspenseQuery,useGalleryExtensionLazyQuery,useGalleryExtensionQuery,useGalleryExtensionSuspenseQuery,useGalleryLazyQuery,useGalleryQuery,useGallerySuspenseQuery,useHideContextMenuMutation,useInstallMutation,useInstalledExtensionsLazyQuery,useInstalledExtensionsQuery,useInstalledExtensionsSuspenseQuery,useNotificationsLazyQuery,useNotificationsQuery,useNotificationsSuspenseQuery,useProviderDefinitionMutation,useRemoveMutation,useRunMenuActionMutation,useShowContextMenuMutation,useShowNotificationLazyQuery,useShowNotificationQuery,useShowNotificationSuspenseQuery};
1282
+ }export{ContextMenuDocument,CopyDocument,ExtensionsByLimitDocument,GalleryDocument,GalleryExtensionDocument,HideContextMenuDocument,ICacheControlScope,IClientContainerService,IEnvironmentSync,IExtensionKind,IExtensionType,IGraphqlCallType,IMailTemplateId,IMarkupKind,IMenuId,IMoleculerCronServiceName,IMoleculerServiceName,INotificationChangeType,INotificationSeverity,INotificationViewItemLabelKind,ISortEnum,InstallDocument,InstalledExtensionsDocument,NotificationsDocument,ProviderDefinitionDocument,RemoveDocument,RunMenuActionDocument,ShowContextMenuDocument,ShowNotificationDocument,useContextMenuLazyQuery,useContextMenuQuery,useContextMenuSuspenseQuery,useCopyMutation,useExtensionsByLimitLazyQuery,useExtensionsByLimitQuery,useExtensionsByLimitSuspenseQuery,useGalleryExtensionLazyQuery,useGalleryExtensionQuery,useGalleryExtensionSuspenseQuery,useGalleryLazyQuery,useGalleryQuery,useGallerySuspenseQuery,useHideContextMenuMutation,useInstallMutation,useInstalledExtensionsLazyQuery,useInstalledExtensionsQuery,useInstalledExtensionsSuspenseQuery,useNotificationsLazyQuery,useNotificationsQuery,useNotificationsSuspenseQuery,useProviderDefinitionMutation,useRemoveMutation,useRunMenuActionMutation,useShowContextMenuMutation,useShowNotificationLazyQuery,useShowNotificationQuery,useShowNotificationSuspenseQuery};
@@ -3,7 +3,7 @@ export declare const createWorker: ({ schema, context, beforeRequest, }: {
3
3
  context: any;
4
4
  beforeRequest: (request: any) => any;
5
5
  }) => any;
6
- export declare const handleSubscriptions: ({ self, message, schema, context, }: {
6
+ export declare const handleSubscriptions: ({ self, message, schema, context }: {
7
7
  self: any;
8
8
  message: any;
9
9
  schema: any;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@adminide-stack/extension-api",
3
- "version": "8.5.2-alpha.0",
3
+ "version": "9.0.1-alpha.0",
4
4
  "description": "Workbench core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
7
+ "type": "module",
7
8
  "main": "lib/index.js",
8
9
  "module": "lib/index.js",
9
- "type": "module",
10
10
  "typings": "lib/index.d.ts",
11
11
  "scripts": {
12
12
  "build": "npm run build:clean && npm run build:lib",
@@ -37,11 +37,11 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "@adminide-stack/core": "8.5.2-alpha.0",
40
+ "@adminide-stack/core": "9.0.1-alpha.0",
41
41
  "@workbench-stack/core": "3.6.0",
42
42
  "abort-controller": "^2.0.0",
43
43
  "abortable-rx": "^1.0.9",
44
- "cdeops": "8.5.2-alpha.0",
44
+ "cdeops": "9.0.1-alpha.0",
45
45
  "minimatch": "^9.0.0",
46
46
  "queueing-subject": "0.3.4",
47
47
  "utility-types": "^3.10.0",
@@ -60,5 +60,5 @@
60
60
  "typescript": {
61
61
  "definition": "lib/index.d.ts"
62
62
  },
63
- "gitHead": "28cce023ed7f9584b2811ba65723aec65074a784"
63
+ "gitHead": "2142ed6400eaa3ba45116696752e7747e2b4c5b1"
64
64
  }