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 0.1.2-beta.5 to 0.1.2-beta.6

150

lib/generated-shop-types.d.ts

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

export declare type Address = Node & {
__typename?: 'Address';
id: Scalars['ID'];

@@ -31,2 +32,3 @@ createdAt: Scalars['DateTime'];

export declare type Adjustment = {
__typename?: 'Adjustment';
adjustmentSource: Scalars['String'];

@@ -38,2 +40,3 @@ type: AdjustmentType;

export declare type AdjustmentOperations = {
__typename?: 'AdjustmentOperations';
conditions: Array<ConfigurableOperation>;

@@ -52,2 +55,3 @@ actions: Array<ConfigurableOperation>;

export declare type Administrator = Node & {
__typename?: 'Administrator';
id: Scalars['ID'];

@@ -62,2 +66,3 @@ createdAt: Scalars['DateTime'];

export declare type AdministratorList = PaginatedList & {
__typename?: 'AdministratorList';
items: Array<Administrator>;

@@ -67,2 +72,3 @@ totalItems: Scalars['Int'];

export declare type Asset = Node & {
__typename?: 'Asset';
id: Scalars['ID'];

@@ -79,2 +85,3 @@ createdAt: Scalars['DateTime'];

export declare type AssetList = PaginatedList & {
__typename?: 'AssetList';
items: Array<Asset>;

@@ -92,2 +99,3 @@ totalItems: Scalars['Int'];

export declare type Cancellation = Node & StockMovement & {
__typename?: 'Cancellation';
id: Scalars['ID'];

@@ -102,2 +110,3 @@ createdAt: Scalars['DateTime'];

export declare type Channel = Node & {
__typename?: 'Channel';
id: Scalars['ID'];

@@ -115,2 +124,3 @@ createdAt: Scalars['DateTime'];

export declare type Collection = Node & {
__typename?: 'Collection';
id: Scalars['ID'];

@@ -137,2 +147,3 @@ createdAt: Scalars['DateTime'];

export declare type CollectionBreadcrumb = {
__typename?: 'CollectionBreadcrumb';
id: Scalars['ID'];

@@ -150,2 +161,3 @@ name: Scalars['String'];

export declare type CollectionList = PaginatedList & {
__typename?: 'CollectionList';
items: Array<Collection>;

@@ -169,2 +181,3 @@ totalItems: Scalars['Int'];

export declare type CollectionTranslation = {
__typename?: 'CollectionTranslation';
id: Scalars['ID'];

@@ -178,2 +191,3 @@ createdAt: Scalars['DateTime'];

export declare type ConfigArg = {
__typename?: 'ConfigArg';
name: Scalars['String'];

@@ -199,2 +213,3 @@ type: ConfigArgType;

export declare type ConfigurableOperation = {
__typename?: 'ConfigurableOperation';
code: Scalars['String'];

@@ -209,2 +224,3 @@ args: Array<ConfigArg>;

export declare type Country = Node & {
__typename?: 'Country';
id: Scalars['ID'];

@@ -218,2 +234,3 @@ languageCode: LanguageCode;

export declare type CountryList = PaginatedList & {
__typename?: 'CountryList';
items: Array<Country>;

@@ -223,2 +240,3 @@ totalItems: Scalars['Int'];

export declare type CountryTranslation = {
__typename?: 'CountryTranslation';
id: Scalars['ID'];

@@ -412,2 +430,3 @@ createdAt: Scalars['DateTime'];

export declare type CurrentUser = {
__typename?: 'CurrentUser';
id: Scalars['ID'];

@@ -418,2 +437,3 @@ identifier: Scalars['String'];

export declare type Customer = Node & {
__typename?: 'Customer';
id: Scalars['ID'];

@@ -436,2 +456,3 @@ createdAt: Scalars['DateTime'];

export declare type CustomerGroup = Node & {
__typename?: 'CustomerGroup';
id: Scalars['ID'];

@@ -443,2 +464,3 @@ createdAt: Scalars['DateTime'];

export declare type CustomerList = PaginatedList & {
__typename?: 'CustomerList';
items: Array<Customer>;

@@ -458,2 +480,3 @@ totalItems: Scalars['Int'];

export declare type DeletionResponse = {
__typename?: 'DeletionResponse';
result: DeletionResult;

@@ -467,2 +490,3 @@ message?: Maybe<Scalars['String']>;

export declare type Facet = Node & {
__typename?: 'Facet';
id: Scalars['ID'];

@@ -479,2 +503,3 @@ createdAt: Scalars['DateTime'];

export declare type FacetList = PaginatedList & {
__typename?: 'FacetList';
items: Array<Facet>;

@@ -484,2 +509,3 @@ totalItems: Scalars['Int'];

export declare type FacetTranslation = {
__typename?: 'FacetTranslation';
id: Scalars['ID'];

@@ -492,2 +518,3 @@ createdAt: Scalars['DateTime'];

export declare type FacetValue = Node & {
__typename?: 'FacetValue';
id: Scalars['ID'];

@@ -504,2 +531,3 @@ createdAt: Scalars['DateTime'];

export declare type FacetValueResult = {
__typename?: 'FacetValueResult';
facetValue: FacetValue;

@@ -509,2 +537,3 @@ count: Scalars['Int'];

export declare type FacetValueTranslation = {
__typename?: 'FacetValueTranslation';
id: Scalars['ID'];

@@ -516,3 +545,13 @@ createdAt: Scalars['DateTime'];

};
export declare type Fulfillment = Node & {
__typename?: 'Fulfillment';
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
orderItems: Array<OrderItem>;
method: Scalars['String'];
trackingCode?: Maybe<Scalars['String']>;
};
export declare type GlobalSettings = {
__typename?: 'GlobalSettings';
id: Scalars['ID'];

@@ -526,3 +565,42 @@ createdAt: Scalars['DateTime'];

};
export declare type HistoryEntry = Node & {
__typename?: 'HistoryEntry';
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
type: HistoryEntryType;
administrator?: Maybe<Administrator>;
data: Scalars['JSON'];
};
export declare type HistoryEntryFilterParameter = {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
type?: Maybe<StringOperators>;
};
export declare type HistoryEntryList = PaginatedList & {
__typename?: 'HistoryEntryList';
items: Array<HistoryEntry>;
totalItems: Scalars['Int'];
};
export declare type HistoryEntryListOptions = {
skip?: Maybe<Scalars['Int']>;
take?: Maybe<Scalars['Int']>;
sort?: Maybe<HistoryEntrySortParameter>;
filter?: Maybe<HistoryEntryFilterParameter>;
};
export declare type HistoryEntrySortParameter = {
id?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
};
export declare enum HistoryEntryType {
ORDER_STATE_TRANSITION = "ORDER_STATE_TRANSITION",
ORDER_PAYMENT_TRANSITION = "ORDER_PAYMENT_TRANSITION",
ORDER_FULLFILLMENT = "ORDER_FULLFILLMENT",
ORDER_CANCELLATION = "ORDER_CANCELLATION",
ORDER_REFUND_TRANSITION = "ORDER_REFUND_TRANSITION",
ORDER_NOTE = "ORDER_NOTE"
}
export declare type ImportInfo = {
__typename?: 'ImportInfo';
errors?: Maybe<Array<Scalars['String']>>;

@@ -719,5 +797,7 @@ processed: Scalars['Int'];

export declare type LoginResult = {
__typename?: 'LoginResult';
user: CurrentUser;
};
export declare type Mutation = {
__typename?: 'Mutation';
addItemToOrder?: Maybe<Order>;

@@ -818,2 +898,3 @@ removeOrderLine?: Maybe<Order>;

export declare type Node = {
__typename?: 'Node';
id: Scalars['ID'];

@@ -834,2 +915,3 @@ };

export declare type Order = Node & {
__typename?: 'Order';
id: Scalars['ID'];

@@ -847,2 +929,3 @@ createdAt: Scalars['DateTime'];

payments?: Maybe<Array<Payment>>;
fulfillments?: Maybe<Array<Fulfillment>>;
subTotalBeforeTax: Scalars['Int'];

@@ -856,4 +939,9 @@ subTotal: Scalars['Int'];

total: Scalars['Int'];
history: HistoryEntryList;
};
export declare type OrderHistoryArgs = {
options?: Maybe<HistoryEntryListOptions>;
};
export declare type OrderAddress = {
__typename?: 'OrderAddress';
fullName?: Maybe<Scalars['String']>;

@@ -885,5 +973,7 @@ company?: Maybe<Scalars['String']>;

export declare type OrderItem = Node & {
__typename?: 'OrderItem';
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
cancelled: Scalars['Boolean'];
unitPrice: Scalars['Int'];

@@ -894,4 +984,7 @@ unitPriceWithTax: Scalars['Int'];

adjustments: Array<Adjustment>;
fulfillment?: Maybe<Fulfillment>;
refundId?: Maybe<Scalars['ID']>;
};
export declare type OrderLine = Node & {
__typename?: 'OrderLine';
id: Scalars['ID'];

@@ -912,2 +1005,3 @@ createdAt: Scalars['DateTime'];

export declare type OrderList = PaginatedList & {
__typename?: 'OrderList';
items: Array<Order>;

@@ -936,2 +1030,3 @@ totalItems: Scalars['Int'];

export declare type PaginatedList = {
__typename?: 'PaginatedList';
items: Array<Node>;

@@ -941,2 +1036,3 @@ totalItems: Scalars['Int'];

export declare type Payment = Node & {
__typename?: 'Payment';
id: Scalars['ID'];

@@ -949,2 +1045,3 @@ createdAt: Scalars['DateTime'];

transactionId?: Maybe<Scalars['String']>;
refunds: Array<Refund>;
metadata?: Maybe<Scalars['JSON']>;

@@ -957,2 +1054,3 @@ };

export declare type PaymentMethod = Node & {
__typename?: 'PaymentMethod';
id: Scalars['ID'];

@@ -992,2 +1090,3 @@ createdAt: Scalars['DateTime'];

export declare type PriceRange = {
__typename?: 'PriceRange';
min: Scalars['Int'];

@@ -997,2 +1096,3 @@ max: Scalars['Int'];

export declare type Product = Node & {
__typename?: 'Product';
id: Scalars['ID'];

@@ -1023,2 +1123,3 @@ createdAt: Scalars['DateTime'];

export declare type ProductList = PaginatedList & {
__typename?: 'ProductList';
items: Array<Product>;

@@ -1034,2 +1135,3 @@ totalItems: Scalars['Int'];

export declare type ProductOption = Node & {
__typename?: 'ProductOption';
id: Scalars['ID'];

@@ -1045,2 +1147,3 @@ createdAt: Scalars['DateTime'];

export declare type ProductOptionGroup = Node & {
__typename?: 'ProductOptionGroup';
id: Scalars['ID'];

@@ -1057,2 +1160,3 @@ createdAt: Scalars['DateTime'];

export declare type ProductOptionGroupTranslation = {
__typename?: 'ProductOptionGroupTranslation';
id: Scalars['ID'];

@@ -1065,2 +1169,3 @@ createdAt: Scalars['DateTime'];

export declare type ProductOptionTranslation = {
__typename?: 'ProductOptionTranslation';
id: Scalars['ID'];

@@ -1081,2 +1186,3 @@ createdAt: Scalars['DateTime'];

export declare type ProductTranslation = {
__typename?: 'ProductTranslation';
id: Scalars['ID'];

@@ -1091,2 +1197,3 @@ createdAt: Scalars['DateTime'];

export declare type ProductVariant = Node & {
__typename?: 'ProductVariant';
id: Scalars['ID'];

@@ -1124,2 +1231,3 @@ productId: Scalars['ID'];

export declare type ProductVariantList = PaginatedList & {
__typename?: 'ProductVariantList';
items: Array<ProductVariant>;

@@ -1145,2 +1253,3 @@ totalItems: Scalars['Int'];

export declare type ProductVariantTranslation = {
__typename?: 'ProductVariantTranslation';
id: Scalars['ID'];

@@ -1153,2 +1262,3 @@ createdAt: Scalars['DateTime'];

export declare type Promotion = Node & {
__typename?: 'Promotion';
id: Scalars['ID'];

@@ -1163,2 +1273,3 @@ createdAt: Scalars['DateTime'];

export declare type PromotionList = PaginatedList & {
__typename?: 'PromotionList';
items: Array<Promotion>;

@@ -1168,2 +1279,3 @@ totalItems: Scalars['Int'];

export declare type Query = {
__typename?: 'Query';
activeChannel: Channel;

@@ -1183,3 +1295,2 @@ activeCustomer?: Maybe<Customer>;

search: SearchResponse;
temp__?: Maybe<Scalars['Boolean']>;
};

@@ -1212,2 +1323,19 @@ export declare type QueryCollectionsArgs = {

};
export declare type Refund = Node & {
__typename?: 'Refund';
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
items: Scalars['Int'];
shipping: Scalars['Int'];
adjustment: Scalars['Int'];
total: Scalars['Int'];
method?: Maybe<Scalars['String']>;
state: Scalars['String'];
transactionId?: Maybe<Scalars['String']>;
reason?: Maybe<Scalars['String']>;
orderItems: Array<OrderItem>;
paymentId: Scalars['ID'];
metadata?: Maybe<Scalars['JSON']>;
};
export declare type RegisterCustomerInput = {

@@ -1221,2 +1349,3 @@ emailAddress: Scalars['String'];

export declare type Return = Node & StockMovement & {
__typename?: 'Return';
id: Scalars['ID'];

@@ -1231,2 +1360,3 @@ createdAt: Scalars['DateTime'];

export declare type Role = Node & {
__typename?: 'Role';
id: Scalars['ID'];

@@ -1241,2 +1371,3 @@ createdAt: Scalars['DateTime'];

export declare type RoleList = PaginatedList & {
__typename?: 'RoleList';
items: Array<Role>;

@@ -1246,2 +1377,3 @@ totalItems: Scalars['Int'];

export declare type Sale = Node & StockMovement & {
__typename?: 'Sale';
id: Scalars['ID'];

@@ -1265,2 +1397,3 @@ createdAt: Scalars['DateTime'];

export declare type SearchReindexResponse = {
__typename?: 'SearchReindexResponse';
success: Scalars['Boolean'];

@@ -1271,2 +1404,3 @@ timeTaken: Scalars['Int'];

export declare type SearchResponse = {
__typename?: 'SearchResponse';
items: Array<SearchResult>;

@@ -1277,2 +1411,3 @@ totalItems: Scalars['Int'];

export declare type SearchResult = {
__typename?: 'SearchResult';
sku: Scalars['String'];

@@ -1301,5 +1436,7 @@ slug: Scalars['String'];

export declare type ServerConfig = {
__typename?: 'ServerConfig';
customFields?: Maybe<Scalars['JSON']>;
};
export declare type ShippingMethod = Node & {
__typename?: 'ShippingMethod';
id: Scalars['ID'];

@@ -1314,2 +1451,3 @@ createdAt: Scalars['DateTime'];

export declare type ShippingMethodList = PaginatedList & {
__typename?: 'ShippingMethodList';
items: Array<ShippingMethod>;

@@ -1319,2 +1457,3 @@ totalItems: Scalars['Int'];

export declare type ShippingMethodQuote = {
__typename?: 'ShippingMethodQuote';
id: Scalars['ID'];

@@ -1326,2 +1465,3 @@ price: Scalars['Int'];

export declare type SinglePrice = {
__typename?: 'SinglePrice';
value: Scalars['Int'];

@@ -1334,2 +1474,3 @@ };

export declare type StockAdjustment = Node & StockMovement & {
__typename?: 'StockAdjustment';
id: Scalars['ID'];

@@ -1343,2 +1484,3 @@ createdAt: Scalars['DateTime'];

export declare type StockMovement = {
__typename?: 'StockMovement';
id: Scalars['ID'];

@@ -1353,2 +1495,3 @@ createdAt: Scalars['DateTime'];

export declare type StockMovementList = {
__typename?: 'StockMovementList';
items: Array<StockMovementItem>;

@@ -1368,2 +1511,3 @@ totalItems: Scalars['Int'];

export declare type TaxCategory = Node & {
__typename?: 'TaxCategory';
id: Scalars['ID'];

@@ -1375,2 +1519,3 @@ createdAt: Scalars['DateTime'];

export declare type TaxRate = Node & {
__typename?: 'TaxRate';
id: Scalars['ID'];

@@ -1387,2 +1532,3 @@ createdAt: Scalars['DateTime'];

export declare type TaxRateList = PaginatedList & {
__typename?: 'TaxRateList';
items: Array<TaxRate>;

@@ -1414,2 +1560,3 @@ totalItems: Scalars['Int'];

export declare type User = Node & {
__typename?: 'User';
id: Scalars['ID'];

@@ -1425,2 +1572,3 @@ createdAt: Scalars['DateTime'];

export declare type Zone = Node & {
__typename?: 'Zone';
id: Scalars['ID'];

@@ -1427,0 +1575,0 @@ createdAt: Scalars['DateTime'];

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

})(DeletionResult = exports.DeletionResult || (exports.DeletionResult = {}));
var HistoryEntryType;
(function (HistoryEntryType) {
HistoryEntryType["ORDER_STATE_TRANSITION"] = "ORDER_STATE_TRANSITION";
HistoryEntryType["ORDER_PAYMENT_TRANSITION"] = "ORDER_PAYMENT_TRANSITION";
HistoryEntryType["ORDER_FULLFILLMENT"] = "ORDER_FULLFILLMENT";
HistoryEntryType["ORDER_CANCELLATION"] = "ORDER_CANCELLATION";
HistoryEntryType["ORDER_REFUND_TRANSITION"] = "ORDER_REFUND_TRANSITION";
HistoryEntryType["ORDER_NOTE"] = "ORDER_NOTE";
})(HistoryEntryType = exports.HistoryEntryType || (exports.HistoryEntryType = {}));
var LanguageCode;

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

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

})(DeletionResult = exports.DeletionResult || (exports.DeletionResult = {}));
var HistoryEntryType;
(function (HistoryEntryType) {
HistoryEntryType["ORDER_STATE_TRANSITION"] = "ORDER_STATE_TRANSITION";
HistoryEntryType["ORDER_PAYMENT_TRANSITION"] = "ORDER_PAYMENT_TRANSITION";
HistoryEntryType["ORDER_FULLFILLMENT"] = "ORDER_FULLFILLMENT";
HistoryEntryType["ORDER_CANCELLATION"] = "ORDER_CANCELLATION";
HistoryEntryType["ORDER_REFUND_TRANSITION"] = "ORDER_REFUND_TRANSITION";
HistoryEntryType["ORDER_NOTE"] = "ORDER_NOTE";
})(HistoryEntryType = exports.HistoryEntryType || (exports.HistoryEntryType = {}));
var JobState;

@@ -197,0 +206,0 @@ (function (JobState) {

4

package.json
{
"name": "@vendure/common",
"version": "0.1.2-beta.5",
"version": "0.1.2-beta.6",
"main": "index.js",

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

},
"gitHead": "cb735bb7b6e3d2ef2b8494875e66f85abe54e96f"
"gitHead": "bc5eec076780791d3645baf75ecfa0d3e210eea5"
}

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