@vendure/common
Advanced tools
@@ -45,10 +45,60 @@ "use strict"; | ||
Permission["Public"] = "Public"; | ||
/** Grants permission to create Catalog */ | ||
/** Grants permission to update GlobalSettings */ | ||
Permission["UpdateGlobalSettings"] = "UpdateGlobalSettings"; | ||
/** Grants permission to create Products, Facets, Assets, Collections */ | ||
Permission["CreateCatalog"] = "CreateCatalog"; | ||
/** Grants permission to read Catalog */ | ||
/** Grants permission to read Products, Facets, Assets, Collections */ | ||
Permission["ReadCatalog"] = "ReadCatalog"; | ||
/** Grants permission to update Catalog */ | ||
/** Grants permission to update Products, Facets, Assets, Collections */ | ||
Permission["UpdateCatalog"] = "UpdateCatalog"; | ||
/** Grants permission to delete Catalog */ | ||
/** Grants permission to delete Products, Facets, Assets, Collections */ | ||
Permission["DeleteCatalog"] = "DeleteCatalog"; | ||
/** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["CreateSettings"] = "CreateSettings"; | ||
/** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["ReadSettings"] = "ReadSettings"; | ||
/** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["UpdateSettings"] = "UpdateSettings"; | ||
/** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["DeleteSettings"] = "DeleteSettings"; | ||
/** Grants permission to create Administrator */ | ||
Permission["CreateAdministrator"] = "CreateAdministrator"; | ||
/** Grants permission to read Administrator */ | ||
Permission["ReadAdministrator"] = "ReadAdministrator"; | ||
/** Grants permission to update Administrator */ | ||
Permission["UpdateAdministrator"] = "UpdateAdministrator"; | ||
/** Grants permission to delete Administrator */ | ||
Permission["DeleteAdministrator"] = "DeleteAdministrator"; | ||
/** Grants permission to create Asset */ | ||
Permission["CreateAsset"] = "CreateAsset"; | ||
/** Grants permission to read Asset */ | ||
Permission["ReadAsset"] = "ReadAsset"; | ||
/** Grants permission to update Asset */ | ||
Permission["UpdateAsset"] = "UpdateAsset"; | ||
/** Grants permission to delete Asset */ | ||
Permission["DeleteAsset"] = "DeleteAsset"; | ||
/** Grants permission to create Channel */ | ||
Permission["CreateChannel"] = "CreateChannel"; | ||
/** Grants permission to read Channel */ | ||
Permission["ReadChannel"] = "ReadChannel"; | ||
/** Grants permission to update Channel */ | ||
Permission["UpdateChannel"] = "UpdateChannel"; | ||
/** Grants permission to delete Channel */ | ||
Permission["DeleteChannel"] = "DeleteChannel"; | ||
/** Grants permission to create Collection */ | ||
Permission["CreateCollection"] = "CreateCollection"; | ||
/** Grants permission to read Collection */ | ||
Permission["ReadCollection"] = "ReadCollection"; | ||
/** Grants permission to update Collection */ | ||
Permission["UpdateCollection"] = "UpdateCollection"; | ||
/** Grants permission to delete Collection */ | ||
Permission["DeleteCollection"] = "DeleteCollection"; | ||
/** Grants permission to create Country */ | ||
Permission["CreateCountry"] = "CreateCountry"; | ||
/** Grants permission to read Country */ | ||
Permission["ReadCountry"] = "ReadCountry"; | ||
/** Grants permission to update Country */ | ||
Permission["UpdateCountry"] = "UpdateCountry"; | ||
/** Grants permission to delete Country */ | ||
Permission["DeleteCountry"] = "DeleteCountry"; | ||
/** Grants permission to create Customer */ | ||
@@ -62,10 +112,18 @@ Permission["CreateCustomer"] = "CreateCustomer"; | ||
Permission["DeleteCustomer"] = "DeleteCustomer"; | ||
/** Grants permission to create Administrator */ | ||
Permission["CreateAdministrator"] = "CreateAdministrator"; | ||
/** Grants permission to read Administrator */ | ||
Permission["ReadAdministrator"] = "ReadAdministrator"; | ||
/** Grants permission to update Administrator */ | ||
Permission["UpdateAdministrator"] = "UpdateAdministrator"; | ||
/** Grants permission to delete Administrator */ | ||
Permission["DeleteAdministrator"] = "DeleteAdministrator"; | ||
/** Grants permission to create CustomerGroup */ | ||
Permission["CreateCustomerGroup"] = "CreateCustomerGroup"; | ||
/** Grants permission to read CustomerGroup */ | ||
Permission["ReadCustomerGroup"] = "ReadCustomerGroup"; | ||
/** Grants permission to update CustomerGroup */ | ||
Permission["UpdateCustomerGroup"] = "UpdateCustomerGroup"; | ||
/** Grants permission to delete CustomerGroup */ | ||
Permission["DeleteCustomerGroup"] = "DeleteCustomerGroup"; | ||
/** Grants permission to create Facet */ | ||
Permission["CreateFacet"] = "CreateFacet"; | ||
/** Grants permission to read Facet */ | ||
Permission["ReadFacet"] = "ReadFacet"; | ||
/** Grants permission to update Facet */ | ||
Permission["UpdateFacet"] = "UpdateFacet"; | ||
/** Grants permission to delete Facet */ | ||
Permission["DeleteFacet"] = "DeleteFacet"; | ||
/** Grants permission to create Order */ | ||
@@ -79,2 +137,18 @@ Permission["CreateOrder"] = "CreateOrder"; | ||
Permission["DeleteOrder"] = "DeleteOrder"; | ||
/** Grants permission to create PaymentMethod */ | ||
Permission["CreatePaymentMethod"] = "CreatePaymentMethod"; | ||
/** Grants permission to read PaymentMethod */ | ||
Permission["ReadPaymentMethod"] = "ReadPaymentMethod"; | ||
/** Grants permission to update PaymentMethod */ | ||
Permission["UpdatePaymentMethod"] = "UpdatePaymentMethod"; | ||
/** Grants permission to delete PaymentMethod */ | ||
Permission["DeletePaymentMethod"] = "DeletePaymentMethod"; | ||
/** Grants permission to create Product */ | ||
Permission["CreateProduct"] = "CreateProduct"; | ||
/** Grants permission to read Product */ | ||
Permission["ReadProduct"] = "ReadProduct"; | ||
/** Grants permission to update Product */ | ||
Permission["UpdateProduct"] = "UpdateProduct"; | ||
/** Grants permission to delete Product */ | ||
Permission["DeleteProduct"] = "DeleteProduct"; | ||
/** Grants permission to create Promotion */ | ||
@@ -88,10 +162,50 @@ Permission["CreatePromotion"] = "CreatePromotion"; | ||
Permission["DeletePromotion"] = "DeletePromotion"; | ||
/** Grants permission to create Settings */ | ||
Permission["CreateSettings"] = "CreateSettings"; | ||
/** Grants permission to read Settings */ | ||
Permission["ReadSettings"] = "ReadSettings"; | ||
/** Grants permission to update Settings */ | ||
Permission["UpdateSettings"] = "UpdateSettings"; | ||
/** Grants permission to delete Settings */ | ||
Permission["DeleteSettings"] = "DeleteSettings"; | ||
/** Grants permission to create ShippingMethod */ | ||
Permission["CreateShippingMethod"] = "CreateShippingMethod"; | ||
/** Grants permission to read ShippingMethod */ | ||
Permission["ReadShippingMethod"] = "ReadShippingMethod"; | ||
/** Grants permission to update ShippingMethod */ | ||
Permission["UpdateShippingMethod"] = "UpdateShippingMethod"; | ||
/** Grants permission to delete ShippingMethod */ | ||
Permission["DeleteShippingMethod"] = "DeleteShippingMethod"; | ||
/** Grants permission to create Tag */ | ||
Permission["CreateTag"] = "CreateTag"; | ||
/** Grants permission to read Tag */ | ||
Permission["ReadTag"] = "ReadTag"; | ||
/** Grants permission to update Tag */ | ||
Permission["UpdateTag"] = "UpdateTag"; | ||
/** Grants permission to delete Tag */ | ||
Permission["DeleteTag"] = "DeleteTag"; | ||
/** Grants permission to create TaxCategory */ | ||
Permission["CreateTaxCategory"] = "CreateTaxCategory"; | ||
/** Grants permission to read TaxCategory */ | ||
Permission["ReadTaxCategory"] = "ReadTaxCategory"; | ||
/** Grants permission to update TaxCategory */ | ||
Permission["UpdateTaxCategory"] = "UpdateTaxCategory"; | ||
/** Grants permission to delete TaxCategory */ | ||
Permission["DeleteTaxCategory"] = "DeleteTaxCategory"; | ||
/** Grants permission to create TaxRate */ | ||
Permission["CreateTaxRate"] = "CreateTaxRate"; | ||
/** Grants permission to read TaxRate */ | ||
Permission["ReadTaxRate"] = "ReadTaxRate"; | ||
/** Grants permission to update TaxRate */ | ||
Permission["UpdateTaxRate"] = "UpdateTaxRate"; | ||
/** Grants permission to delete TaxRate */ | ||
Permission["DeleteTaxRate"] = "DeleteTaxRate"; | ||
/** Grants permission to create System */ | ||
Permission["CreateSystem"] = "CreateSystem"; | ||
/** Grants permission to read System */ | ||
Permission["ReadSystem"] = "ReadSystem"; | ||
/** Grants permission to update System */ | ||
Permission["UpdateSystem"] = "UpdateSystem"; | ||
/** Grants permission to delete System */ | ||
Permission["DeleteSystem"] = "DeleteSystem"; | ||
/** Grants permission to create Zone */ | ||
Permission["CreateZone"] = "CreateZone"; | ||
/** Grants permission to read Zone */ | ||
Permission["ReadZone"] = "ReadZone"; | ||
/** Grants permission to update Zone */ | ||
Permission["UpdateZone"] = "UpdateZone"; | ||
/** Grants permission to delete Zone */ | ||
Permission["DeleteZone"] = "DeleteZone"; | ||
})(Permission = exports.Permission || (exports.Permission = {})); | ||
@@ -98,0 +212,0 @@ var SortOrder; |
@@ -69,10 +69,60 @@ "use strict"; | ||
Permission["Public"] = "Public"; | ||
/** Grants permission to create Catalog */ | ||
/** Grants permission to update GlobalSettings */ | ||
Permission["UpdateGlobalSettings"] = "UpdateGlobalSettings"; | ||
/** Grants permission to create Products, Facets, Assets, Collections */ | ||
Permission["CreateCatalog"] = "CreateCatalog"; | ||
/** Grants permission to read Catalog */ | ||
/** Grants permission to read Products, Facets, Assets, Collections */ | ||
Permission["ReadCatalog"] = "ReadCatalog"; | ||
/** Grants permission to update Catalog */ | ||
/** Grants permission to update Products, Facets, Assets, Collections */ | ||
Permission["UpdateCatalog"] = "UpdateCatalog"; | ||
/** Grants permission to delete Catalog */ | ||
/** Grants permission to delete Products, Facets, Assets, Collections */ | ||
Permission["DeleteCatalog"] = "DeleteCatalog"; | ||
/** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["CreateSettings"] = "CreateSettings"; | ||
/** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["ReadSettings"] = "ReadSettings"; | ||
/** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["UpdateSettings"] = "UpdateSettings"; | ||
/** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ | ||
Permission["DeleteSettings"] = "DeleteSettings"; | ||
/** Grants permission to create Administrator */ | ||
Permission["CreateAdministrator"] = "CreateAdministrator"; | ||
/** Grants permission to read Administrator */ | ||
Permission["ReadAdministrator"] = "ReadAdministrator"; | ||
/** Grants permission to update Administrator */ | ||
Permission["UpdateAdministrator"] = "UpdateAdministrator"; | ||
/** Grants permission to delete Administrator */ | ||
Permission["DeleteAdministrator"] = "DeleteAdministrator"; | ||
/** Grants permission to create Asset */ | ||
Permission["CreateAsset"] = "CreateAsset"; | ||
/** Grants permission to read Asset */ | ||
Permission["ReadAsset"] = "ReadAsset"; | ||
/** Grants permission to update Asset */ | ||
Permission["UpdateAsset"] = "UpdateAsset"; | ||
/** Grants permission to delete Asset */ | ||
Permission["DeleteAsset"] = "DeleteAsset"; | ||
/** Grants permission to create Channel */ | ||
Permission["CreateChannel"] = "CreateChannel"; | ||
/** Grants permission to read Channel */ | ||
Permission["ReadChannel"] = "ReadChannel"; | ||
/** Grants permission to update Channel */ | ||
Permission["UpdateChannel"] = "UpdateChannel"; | ||
/** Grants permission to delete Channel */ | ||
Permission["DeleteChannel"] = "DeleteChannel"; | ||
/** Grants permission to create Collection */ | ||
Permission["CreateCollection"] = "CreateCollection"; | ||
/** Grants permission to read Collection */ | ||
Permission["ReadCollection"] = "ReadCollection"; | ||
/** Grants permission to update Collection */ | ||
Permission["UpdateCollection"] = "UpdateCollection"; | ||
/** Grants permission to delete Collection */ | ||
Permission["DeleteCollection"] = "DeleteCollection"; | ||
/** Grants permission to create Country */ | ||
Permission["CreateCountry"] = "CreateCountry"; | ||
/** Grants permission to read Country */ | ||
Permission["ReadCountry"] = "ReadCountry"; | ||
/** Grants permission to update Country */ | ||
Permission["UpdateCountry"] = "UpdateCountry"; | ||
/** Grants permission to delete Country */ | ||
Permission["DeleteCountry"] = "DeleteCountry"; | ||
/** Grants permission to create Customer */ | ||
@@ -86,10 +136,18 @@ Permission["CreateCustomer"] = "CreateCustomer"; | ||
Permission["DeleteCustomer"] = "DeleteCustomer"; | ||
/** Grants permission to create Administrator */ | ||
Permission["CreateAdministrator"] = "CreateAdministrator"; | ||
/** Grants permission to read Administrator */ | ||
Permission["ReadAdministrator"] = "ReadAdministrator"; | ||
/** Grants permission to update Administrator */ | ||
Permission["UpdateAdministrator"] = "UpdateAdministrator"; | ||
/** Grants permission to delete Administrator */ | ||
Permission["DeleteAdministrator"] = "DeleteAdministrator"; | ||
/** Grants permission to create CustomerGroup */ | ||
Permission["CreateCustomerGroup"] = "CreateCustomerGroup"; | ||
/** Grants permission to read CustomerGroup */ | ||
Permission["ReadCustomerGroup"] = "ReadCustomerGroup"; | ||
/** Grants permission to update CustomerGroup */ | ||
Permission["UpdateCustomerGroup"] = "UpdateCustomerGroup"; | ||
/** Grants permission to delete CustomerGroup */ | ||
Permission["DeleteCustomerGroup"] = "DeleteCustomerGroup"; | ||
/** Grants permission to create Facet */ | ||
Permission["CreateFacet"] = "CreateFacet"; | ||
/** Grants permission to read Facet */ | ||
Permission["ReadFacet"] = "ReadFacet"; | ||
/** Grants permission to update Facet */ | ||
Permission["UpdateFacet"] = "UpdateFacet"; | ||
/** Grants permission to delete Facet */ | ||
Permission["DeleteFacet"] = "DeleteFacet"; | ||
/** Grants permission to create Order */ | ||
@@ -103,2 +161,18 @@ Permission["CreateOrder"] = "CreateOrder"; | ||
Permission["DeleteOrder"] = "DeleteOrder"; | ||
/** Grants permission to create PaymentMethod */ | ||
Permission["CreatePaymentMethod"] = "CreatePaymentMethod"; | ||
/** Grants permission to read PaymentMethod */ | ||
Permission["ReadPaymentMethod"] = "ReadPaymentMethod"; | ||
/** Grants permission to update PaymentMethod */ | ||
Permission["UpdatePaymentMethod"] = "UpdatePaymentMethod"; | ||
/** Grants permission to delete PaymentMethod */ | ||
Permission["DeletePaymentMethod"] = "DeletePaymentMethod"; | ||
/** Grants permission to create Product */ | ||
Permission["CreateProduct"] = "CreateProduct"; | ||
/** Grants permission to read Product */ | ||
Permission["ReadProduct"] = "ReadProduct"; | ||
/** Grants permission to update Product */ | ||
Permission["UpdateProduct"] = "UpdateProduct"; | ||
/** Grants permission to delete Product */ | ||
Permission["DeleteProduct"] = "DeleteProduct"; | ||
/** Grants permission to create Promotion */ | ||
@@ -112,10 +186,50 @@ Permission["CreatePromotion"] = "CreatePromotion"; | ||
Permission["DeletePromotion"] = "DeletePromotion"; | ||
/** Grants permission to create Settings */ | ||
Permission["CreateSettings"] = "CreateSettings"; | ||
/** Grants permission to read Settings */ | ||
Permission["ReadSettings"] = "ReadSettings"; | ||
/** Grants permission to update Settings */ | ||
Permission["UpdateSettings"] = "UpdateSettings"; | ||
/** Grants permission to delete Settings */ | ||
Permission["DeleteSettings"] = "DeleteSettings"; | ||
/** Grants permission to create ShippingMethod */ | ||
Permission["CreateShippingMethod"] = "CreateShippingMethod"; | ||
/** Grants permission to read ShippingMethod */ | ||
Permission["ReadShippingMethod"] = "ReadShippingMethod"; | ||
/** Grants permission to update ShippingMethod */ | ||
Permission["UpdateShippingMethod"] = "UpdateShippingMethod"; | ||
/** Grants permission to delete ShippingMethod */ | ||
Permission["DeleteShippingMethod"] = "DeleteShippingMethod"; | ||
/** Grants permission to create Tag */ | ||
Permission["CreateTag"] = "CreateTag"; | ||
/** Grants permission to read Tag */ | ||
Permission["ReadTag"] = "ReadTag"; | ||
/** Grants permission to update Tag */ | ||
Permission["UpdateTag"] = "UpdateTag"; | ||
/** Grants permission to delete Tag */ | ||
Permission["DeleteTag"] = "DeleteTag"; | ||
/** Grants permission to create TaxCategory */ | ||
Permission["CreateTaxCategory"] = "CreateTaxCategory"; | ||
/** Grants permission to read TaxCategory */ | ||
Permission["ReadTaxCategory"] = "ReadTaxCategory"; | ||
/** Grants permission to update TaxCategory */ | ||
Permission["UpdateTaxCategory"] = "UpdateTaxCategory"; | ||
/** Grants permission to delete TaxCategory */ | ||
Permission["DeleteTaxCategory"] = "DeleteTaxCategory"; | ||
/** Grants permission to create TaxRate */ | ||
Permission["CreateTaxRate"] = "CreateTaxRate"; | ||
/** Grants permission to read TaxRate */ | ||
Permission["ReadTaxRate"] = "ReadTaxRate"; | ||
/** Grants permission to update TaxRate */ | ||
Permission["UpdateTaxRate"] = "UpdateTaxRate"; | ||
/** Grants permission to delete TaxRate */ | ||
Permission["DeleteTaxRate"] = "DeleteTaxRate"; | ||
/** Grants permission to create System */ | ||
Permission["CreateSystem"] = "CreateSystem"; | ||
/** Grants permission to read System */ | ||
Permission["ReadSystem"] = "ReadSystem"; | ||
/** Grants permission to update System */ | ||
Permission["UpdateSystem"] = "UpdateSystem"; | ||
/** Grants permission to delete System */ | ||
Permission["DeleteSystem"] = "DeleteSystem"; | ||
/** Grants permission to create Zone */ | ||
Permission["CreateZone"] = "CreateZone"; | ||
/** Grants permission to read Zone */ | ||
Permission["ReadZone"] = "ReadZone"; | ||
/** Grants permission to update Zone */ | ||
Permission["UpdateZone"] = "UpdateZone"; | ||
/** Grants permission to delete Zone */ | ||
Permission["DeleteZone"] = "DeleteZone"; | ||
})(Permission = exports.Permission || (exports.Permission = {})); | ||
@@ -122,0 +236,0 @@ var SortOrder; |
{ | ||
"name": "@vendure/common", | ||
"version": "1.0.0-beta.8", | ||
"version": "1.0.0-beta.11", | ||
"main": "index.js", | ||
@@ -23,3 +23,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "2b1085892342b076967fb499d2b3064863e9ee98" | ||
"gitHead": "75df8b3fbcd39bdc8e0cb945826bdb12dbe02a94" | ||
} |
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
365139
7.76%9562
4.92%