Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vendure/common

Package Overview
Dependencies
Maintainers
1
Versions
216
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 0.1.2-beta.3 to 0.1.2-beta.4

10

lib/generated-shop-types.d.ts

@@ -717,3 +717,2 @@ export declare type Maybe<T> = T | null;

quantity: Scalars['Int'];
customFields?: Maybe<OrderLineCustomFieldsInput>;
};

@@ -726,3 +725,2 @@ export declare type MutationRemoveOrderLineArgs = {

quantity?: Maybe<Scalars['Int']>;
customFields?: Maybe<OrderLineCustomFieldsInput>;
};

@@ -875,10 +873,4 @@ export declare type MutationTransitionOrderToStateArgs = {

order: Order;
customFields?: Maybe<OrderLineCustomFields>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type OrderLineCustomFields = {
message?: Maybe<Scalars['String']>;
};
export declare type OrderLineCustomFieldsInput = {
message?: Maybe<Scalars['String']>;
};
export declare type OrderList = PaginatedList & {

@@ -885,0 +877,0 @@ items: Array<Order>;

137

lib/generated-types.d.ts

@@ -755,2 +755,22 @@ export declare type Maybe<T> = T | null;

};
export declare type JobInfo = {
id: Scalars['String'];
name: Scalars['String'];
state: JobState;
progress: Scalars['Float'];
result?: Maybe<Scalars['JSON']>;
started?: Maybe<Scalars['DateTime']>;
ended?: Maybe<Scalars['DateTime']>;
duration?: Maybe<Scalars['Int']>;
};
export declare type JobListInput = {
state?: Maybe<JobState>;
ids?: Maybe<Array<Scalars['String']>>;
};
export declare enum JobState {
PENDING = "PENDING",
RUNNING = "RUNNING",
COMPLETED = "COMPLETED",
FAILED = "FAILED"
}
export declare enum LanguageCode {

@@ -959,5 +979,2 @@ aa = "aa",

updateChannel: Channel;
createCollection: Collection;
updateCollection: Collection;
moveCollection: Collection;
createCountry: Country;

@@ -970,8 +987,5 @@ updateCountry: Country;

removeCustomersFromGroup: CustomerGroup;
createCustomer: Customer;
updateCustomer: Customer;
deleteCustomer: DeletionResponse;
createCustomerAddress: Address;
updateCustomerAddress: Address;
deleteCustomerAddress: Scalars['Boolean'];
createCollection: Collection;
updateCollection: Collection;
moveCollection: Collection;
createFacet: Facet;

@@ -984,2 +998,8 @@ updateFacet: Facet;

updateGlobalSettings: GlobalSettings;
createCustomer: Customer;
updateCustomer: Customer;
deleteCustomer: DeletionResponse;
createCustomerAddress: Address;
updateCustomerAddress: Address;
deleteCustomerAddress: Scalars['Boolean'];
importProducts?: Maybe<ImportInfo>;

@@ -989,3 +1009,3 @@ updatePaymentMethod: PaymentMethod;

updateProductOptionGroup: ProductOptionGroup;
reindex: SearchReindexResponse;
reindex: JobInfo;
createProduct: Product;

@@ -1039,11 +1059,2 @@ updateProduct: Product;

};
export declare type MutationCreateCollectionArgs = {
input: CreateCollectionInput;
};
export declare type MutationUpdateCollectionArgs = {
input: UpdateCollectionInput;
};
export declare type MutationMoveCollectionArgs = {
input: MoveCollectionInput;
};
export declare type MutationCreateCountryArgs = {

@@ -1072,22 +1083,11 @@ input: CreateCountryInput;

};
export declare type MutationCreateCustomerArgs = {
input: CreateCustomerInput;
password?: Maybe<Scalars['String']>;
export declare type MutationCreateCollectionArgs = {
input: CreateCollectionInput;
};
export declare type MutationUpdateCustomerArgs = {
input: UpdateCustomerInput;
export declare type MutationUpdateCollectionArgs = {
input: UpdateCollectionInput;
};
export declare type MutationDeleteCustomerArgs = {
id: Scalars['ID'];
export declare type MutationMoveCollectionArgs = {
input: MoveCollectionInput;
};
export declare type MutationCreateCustomerAddressArgs = {
customerId: Scalars['ID'];
input: CreateAddressInput;
};
export declare type MutationUpdateCustomerAddressArgs = {
input: UpdateAddressInput;
};
export declare type MutationDeleteCustomerAddressArgs = {
id: Scalars['ID'];
};
export declare type MutationCreateFacetArgs = {

@@ -1116,2 +1116,22 @@ input: CreateFacetInput;

};
export declare type MutationCreateCustomerArgs = {
input: CreateCustomerInput;
password?: Maybe<Scalars['String']>;
};
export declare type MutationUpdateCustomerArgs = {
input: UpdateCustomerInput;
};
export declare type MutationDeleteCustomerArgs = {
id: Scalars['ID'];
};
export declare type MutationCreateCustomerAddressArgs = {
customerId: Scalars['ID'];
input: CreateAddressInput;
};
export declare type MutationUpdateCustomerAddressArgs = {
input: UpdateAddressInput;
};
export declare type MutationDeleteCustomerAddressArgs = {
id: Scalars['ID'];
};
export declare type MutationImportProductsArgs = {

@@ -1291,7 +1311,4 @@ csvFile: Scalars['Upload'];

order: Order;
customFields?: Maybe<OrderLineCustomFields>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type OrderLineCustomFields = {
message?: Maybe<Scalars['String']>;
};
export declare type OrderList = PaginatedList & {

@@ -1619,5 +1636,2 @@ items: Array<Order>;

activeChannel: Channel;
collections: CollectionList;
collection?: Maybe<Collection>;
collectionFilters: Array<ConfigurableOperation>;
countries: CountryList;

@@ -1627,9 +1641,14 @@ country?: Maybe<Country>;

customerGroup?: Maybe<CustomerGroup>;
customers: CustomerList;
customer?: Maybe<Customer>;
collections: CollectionList;
collection?: Maybe<Collection>;
collectionFilters: Array<ConfigurableOperation>;
facets: FacetList;
facet?: Maybe<Facet>;
globalSettings: GlobalSettings;
customers: CustomerList;
customer?: Maybe<Customer>;
order?: Maybe<Order>;
orders: OrderList;
job?: Maybe<JobInfo>;
jobs: Array<JobInfo>;
paymentMethods: PaymentMethodList;

@@ -1674,10 +1693,2 @@ paymentMethod?: Maybe<PaymentMethod>;

};
export declare type QueryCollectionsArgs = {
languageCode?: Maybe<LanguageCode>;
options?: Maybe<CollectionListOptions>;
};
export declare type QueryCollectionArgs = {
id: Scalars['ID'];
languageCode?: Maybe<LanguageCode>;
};
export declare type QueryCountriesArgs = {

@@ -1692,7 +1703,9 @@ options?: Maybe<CountryListOptions>;

};
export declare type QueryCustomersArgs = {
options?: Maybe<CustomerListOptions>;
export declare type QueryCollectionsArgs = {
languageCode?: Maybe<LanguageCode>;
options?: Maybe<CollectionListOptions>;
};
export declare type QueryCustomerArgs = {
export declare type QueryCollectionArgs = {
id: Scalars['ID'];
languageCode?: Maybe<LanguageCode>;
};

@@ -1707,2 +1720,8 @@ export declare type QueryFacetsArgs = {

};
export declare type QueryCustomersArgs = {
options?: Maybe<CustomerListOptions>;
};
export declare type QueryCustomerArgs = {
id: Scalars['ID'];
};
export declare type QueryOrderArgs = {

@@ -1714,2 +1733,8 @@ id: Scalars['ID'];

};
export declare type QueryJobArgs = {
jobId: Scalars['String'];
};
export declare type QueryJobsArgs = {
input?: Maybe<JobListInput>;
};
export declare type QueryPaymentMethodsArgs = {

@@ -1716,0 +1741,0 @@ options?: Maybe<PaymentMethodListOptions>;

@@ -195,2 +195,9 @@ "use strict";

})(DeletionResult = exports.DeletionResult || (exports.DeletionResult = {}));
var JobState;
(function (JobState) {
JobState["PENDING"] = "PENDING";
JobState["RUNNING"] = "RUNNING";
JobState["COMPLETED"] = "COMPLETED";
JobState["FAILED"] = "FAILED";
})(JobState = exports.JobState || (exports.JobState = {}));
var LanguageCode;

@@ -197,0 +204,0 @@ (function (LanguageCode) {

@@ -1,1 +0,1 @@

export declare function simpleDeepClone<T>(input: T): T;
export declare function simpleDeepClone<T extends string | number | any[] | object>(input: T): T;

@@ -19,3 +19,3 @@ "use strict";

for (i in input) {
if (input.hasOwnProperty(i)) {
if ((input).hasOwnProperty(i)) {
output[i] = simpleDeepClone(input[i]);

@@ -22,0 +22,0 @@ }

{
"name": "@vendure/common",
"version": "0.1.2-beta.3",
"version": "0.1.2-beta.4",
"main": "index.js",

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

},
"gitHead": "b7ed578065925115d9afc10beaa4f1d6bccea1bf"
"gitHead": "29df9adb3a3b315b54e4959bc507a40332c71de3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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