New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vendure/common

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vendure/common - npm Package Compare versions

Comparing version 1.4.0-beta.0 to 1.4.0

17

lib/extension-host-types.d.ts

@@ -8,2 +8,17 @@ export declare type FetchPolicy = 'cache-first' | 'network-only' | 'cache-only' | 'no-cache' | 'standby';

}
export interface ActiveRouteData {
url: string;
origin: string;
pathname: string;
params: {
[key: string]: any;
};
queryParams: {
[key: string]: any;
};
fragment: string | null;
}
export interface ActivatedRouteMessage extends BaseExtensionMessage {
type: 'active-route';
}
export interface QueryMessage extends BaseExtensionMessage {

@@ -47,3 +62,3 @@ type: 'graphql-query';

}
export declare type ExtensionMesssage = QueryMessage | MutationMessage | NotificationMessage | CancellationMessage | DestroyMessage;
export declare type ExtensionMessage = ActivatedRouteMessage | QueryMessage | MutationMessage | NotificationMessage | CancellationMessage | DestroyMessage;
export interface MessageResponse {

@@ -50,0 +65,0 @@ requestId: string;

48

lib/shared-types.d.ts

@@ -99,3 +99,3 @@ import { LanguageCode, LocalizedString } from './generated-types';

* @description
* Used to defined the expected arguments for a given default form input component.
* Used to define the expected arguments for a given default form input component.
*

@@ -134,3 +134,6 @@ * @docsCategory ConfigurableOperationDef

};
'text-form-input': {};
'text-form-input': {
prefix?: string;
suffix?: string;
};
'textarea-form-input': {

@@ -140,36 +143,13 @@ spellcheck?: boolean;

};
export declare type DefaultFormComponentConfig<T extends DefaultFormComponentId> = DefaultFormConfigHash[T];
export declare type UiComponentConfig = (({
component: 'boolean-form-input';
} & DefaultFormComponentConfig<'boolean-form-input'>) | ({
component: 'currency-form-input';
} & DefaultFormComponentConfig<'currency-form-input'>) | ({
component: 'customer-group-form-input';
} & DefaultFormComponentConfig<'customer-group-form-input'>) | ({
component: 'date-form-input';
} & DefaultFormComponentConfig<'date-form-input'>) | ({
component: 'facet-value-form-input';
} & DefaultFormComponentConfig<'facet-value-form-input'>) | ({
component: 'json-editor-form-input';
} & DefaultFormComponentConfig<'json-editor-form-input'>) | ({
component: 'number-form-input';
} & DefaultFormComponentConfig<'number-form-input'>) | ({
component: 'password-form-input';
} & DefaultFormComponentConfig<'password-form-input'>) | ({
component: 'product-selector-form-input';
} & DefaultFormComponentConfig<'product-selector-form-input'>) | ({
component: 'relation-form-input';
} & DefaultFormComponentConfig<'relation-form-input'>) | ({
component: 'rich-text-form-input';
} & DefaultFormComponentConfig<'rich-text-form-input'>) | ({
component: 'select-form-input';
} & DefaultFormComponentConfig<'select-form-input'>) | ({
component: 'text-form-input';
} & DefaultFormComponentConfig<'text-form-input'>) | ({
component: 'textarea-form-input';
} & DefaultFormComponentConfig<'textarea-form-input'>) | {
export declare type DefaultFormComponentUiConfig<T extends DefaultFormComponentId | string> = T extends DefaultFormComponentId ? DefaultFormConfigHash[T] : any;
export declare type DefaultFormComponentConfig<T extends DefaultFormComponentId | string> = DefaultFormComponentUiConfig<T> & {
ui?: DefaultFormComponentUiConfig<T>;
};
export declare type UiComponentConfig<T extends DefaultFormComponentId | string> = T extends DefaultFormComponentId ? {
component: T;
tab?: string;
} & DefaultFormConfigHash[T] : {
component: string;
tab?: string;
[prop: string]: any;
}) & {
tab?: string;
};

@@ -176,0 +156,0 @@ export declare type CustomFieldsObject = {

{
"name": "@vendure/common",
"version": "1.4.0-beta.0",
"version": "1.4.0",
"main": "index.js",

@@ -25,3 +25,3 @@ "license": "MIT",

},
"gitHead": "b4a29d6cff5a7c5b39000719b4c556f60a80b521"
"gitHead": "d5df49c276dacd0f5e50a04c12def4ca22dfc3aa"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc