How to use Object.freeze method in chai

Best JavaScript code snippet using chai

types.js

Source:types.js Github

copy

Full Screen

...30 "webUrl": "URL"31 },32 "implementsNode": true33 };34 Object.freeze(Checkout.fieldBaseTypes);35 var Checkout$1 = Object.freeze(Checkout);36 37 const ID = {38 "name": "ID",39 "kind": "SCALAR"40 };41 var ID$1 = Object.freeze(ID);42 43 const Boolean = {44 "name": "Boolean",45 "kind": "SCALAR"46 };47 var Boolean$1 = Object.freeze(Boolean);48 49 const CheckoutLineItemConnection = {50 "name": "CheckoutLineItemConnection",51 "kind": "OBJECT",52 "fieldBaseTypes": {53 "edges": "CheckoutLineItemEdge",54 "pageInfo": "PageInfo"55 },56 "implementsNode": false57 };58 Object.freeze(CheckoutLineItemConnection.fieldBaseTypes);59 var CheckoutLineItemConnection$1 = Object.freeze(CheckoutLineItemConnection);60 61 const PageInfo = {62 "name": "PageInfo",63 "kind": "OBJECT",64 "fieldBaseTypes": {65 "hasNextPage": "Boolean",66 "hasPreviousPage": "Boolean"67 },68 "implementsNode": false69 };70 Object.freeze(PageInfo.fieldBaseTypes);71 var PageInfo$1 = Object.freeze(PageInfo);72 73 const CheckoutLineItemEdge = {74 "name": "CheckoutLineItemEdge",75 "kind": "OBJECT",76 "fieldBaseTypes": {77 "cursor": "String",78 "node": "CheckoutLineItem"79 },80 "implementsNode": false81 };82 Object.freeze(CheckoutLineItemEdge.fieldBaseTypes);83 var CheckoutLineItemEdge$1 = Object.freeze(CheckoutLineItemEdge);84 85 const String = {86 "name": "String",87 "kind": "SCALAR"88 };89 var String$1 = Object.freeze(String);90 91 const CheckoutLineItem = {92 "name": "CheckoutLineItem",93 "kind": "OBJECT",94 "fieldBaseTypes": {95 "customAttributes": "Attribute",96 "id": "ID",97 "quantity": "Int",98 "title": "String",99 "variant": "ProductVariant"100 },101 "implementsNode": true102 };103 Object.freeze(CheckoutLineItem.fieldBaseTypes);104 var CheckoutLineItem$1 = Object.freeze(CheckoutLineItem);105 106 const ProductVariant = {107 "name": "ProductVariant",108 "kind": "OBJECT",109 "fieldBaseTypes": {110 "available": "Boolean",111 "id": "ID",112 "image": "Image",113 "price": "Money",114 "product": "Product",115 "selectedOptions": "SelectedOption",116 "title": "String",117 "weight": "Float",118 "weightUnit": "WeightUnit"119 },120 "implementsNode": true121 };122 Object.freeze(ProductVariant.fieldBaseTypes);123 var ProductVariant$1 = Object.freeze(ProductVariant);124 125 const Float = {126 "name": "Float",127 "kind": "SCALAR"128 };129 var Float$1 = Object.freeze(Float);130 131 const WeightUnit = {132 "name": "WeightUnit",133 "kind": "ENUM"134 };135 var WeightUnit$1 = Object.freeze(WeightUnit);136 137 const Money = {138 "name": "Money",139 "kind": "SCALAR"140 };141 var Money$1 = Object.freeze(Money);142 143 const Image = {144 "name": "Image",145 "kind": "OBJECT",146 "fieldBaseTypes": {147 "altText": "String",148 "id": "ID",149 "src": "URL"150 },151 "implementsNode": false152 };153 Object.freeze(Image.fieldBaseTypes);154 var Image$1 = Object.freeze(Image);155 156 const URL = {157 "name": "URL",158 "kind": "SCALAR"159 };160 var URL$1 = Object.freeze(URL);161 162 const Int = {163 "name": "Int",164 "kind": "SCALAR"165 };166 var Int$1 = Object.freeze(Int);167 168 const CropRegion = {169 "name": "CropRegion",170 "kind": "ENUM"171 };172 var CropRegion$1 = Object.freeze(CropRegion);173 174 const SelectedOption = {175 "name": "SelectedOption",176 "kind": "OBJECT",177 "fieldBaseTypes": {178 "name": "String",179 "value": "String"180 },181 "implementsNode": false182 };183 Object.freeze(SelectedOption.fieldBaseTypes);184 var SelectedOption$1 = Object.freeze(SelectedOption);185 186 const Product = {187 "name": "Product",188 "kind": "OBJECT",189 "fieldBaseTypes": {190 "collections": "CollectionConnection",191 "createdAt": "DateTime",192 "description": "String",193 "descriptionHtml": "HTML",194 "handle": "String",195 "id": "ID",196 "images": "ImageConnection",197 "options": "ProductOption",198 "productType": "String",199 "publishedAt": "DateTime",200 "tags": "String",201 "title": "String",202 "updatedAt": "DateTime",203 "variantBySelectedOptions": "ProductVariant",204 "variants": "ProductVariantConnection",205 "vendor": "String"206 },207 "implementsNode": true208 };209 Object.freeze(Product.fieldBaseTypes);210 var Product$1 = Object.freeze(Product);211 212 const CollectionConnection = {213 "name": "CollectionConnection",214 "kind": "OBJECT",215 "fieldBaseTypes": {216 "edges": "CollectionEdge",217 "pageInfo": "PageInfo"218 },219 "implementsNode": false220 };221 Object.freeze(CollectionConnection.fieldBaseTypes);222 var CollectionConnection$1 = Object.freeze(CollectionConnection);223 224 const CollectionEdge = {225 "name": "CollectionEdge",226 "kind": "OBJECT",227 "fieldBaseTypes": {228 "cursor": "String",229 "node": "Collection"230 },231 "implementsNode": false232 };233 Object.freeze(CollectionEdge.fieldBaseTypes);234 var CollectionEdge$1 = Object.freeze(CollectionEdge);235 236 const Collection = {237 "name": "Collection",238 "kind": "OBJECT",239 "fieldBaseTypes": {240 "description": "String",241 "descriptionHtml": "HTML",242 "handle": "String",243 "id": "ID",244 "image": "Image",245 "products": "ProductConnection",246 "title": "String",247 "updatedAt": "DateTime"248 },249 "implementsNode": true250 };251 Object.freeze(Collection.fieldBaseTypes);252 var Collection$1 = Object.freeze(Collection);253 254 const HTML = {255 "name": "HTML",256 "kind": "SCALAR"257 };258 var HTML$1 = Object.freeze(HTML);259 260 const DateTime = {261 "name": "DateTime",262 "kind": "SCALAR"263 };264 var DateTime$1 = Object.freeze(DateTime);265 266 const ProductConnection = {267 "name": "ProductConnection",268 "kind": "OBJECT",269 "fieldBaseTypes": {270 "edges": "ProductEdge",271 "pageInfo": "PageInfo"272 },273 "implementsNode": false274 };275 Object.freeze(ProductConnection.fieldBaseTypes);276 var ProductConnection$1 = Object.freeze(ProductConnection);277 278 const ProductEdge = {279 "name": "ProductEdge",280 "kind": "OBJECT",281 "fieldBaseTypes": {282 "cursor": "String",283 "node": "Product"284 },285 "implementsNode": false286 };287 Object.freeze(ProductEdge.fieldBaseTypes);288 var ProductEdge$1 = Object.freeze(ProductEdge);289 290 const Node = {291 "name": "Node",292 "kind": "INTERFACE",293 "fieldBaseTypes": {294 "id": "ID"295 },296 "possibleTypes": ["AppliedGiftCard", "Checkout", "CheckoutLineItem", "Collection", "MailingAddress", "Order", "Payment", "Product", "ProductOption", "ProductVariant", "ShopPolicy"]297 };298 Object.freeze(Node.fieldBaseTypes);299 Object.freeze(Node.possibleTypes);300 var Node$1 = Object.freeze(Node);301 302 const ImageConnection = {303 "name": "ImageConnection",304 "kind": "OBJECT",305 "fieldBaseTypes": {306 "edges": "ImageEdge",307 "pageInfo": "PageInfo"308 },309 "implementsNode": false310 };311 Object.freeze(ImageConnection.fieldBaseTypes);312 var ImageConnection$1 = Object.freeze(ImageConnection);313 314 const ImageEdge = {315 "name": "ImageEdge",316 "kind": "OBJECT",317 "fieldBaseTypes": {318 "cursor": "String",319 "node": "Image"320 },321 "implementsNode": false322 };323 Object.freeze(ImageEdge.fieldBaseTypes);324 var ImageEdge$1 = Object.freeze(ImageEdge);325 326 const SelectedOptionInput = {327 "name": "SelectedOptionInput",328 "kind": "INPUT_OBJECT",329 "inputFieldBaseTypes": {330 "name": "String",331 "value": "String"332 }333 };334 Object.freeze(SelectedOptionInput.inputFieldBaseTypes);335 var SelectedOptionInput$1 = Object.freeze(SelectedOptionInput);336 337 const ProductOption = {338 "name": "ProductOption",339 "kind": "OBJECT",340 "fieldBaseTypes": {341 "id": "ID",342 "name": "String",343 "values": "String"344 },345 "implementsNode": true346 };347 Object.freeze(ProductOption.fieldBaseTypes);348 var ProductOption$1 = Object.freeze(ProductOption);349 350 const ProductVariantConnection = {351 "name": "ProductVariantConnection",352 "kind": "OBJECT",353 "fieldBaseTypes": {354 "edges": "ProductVariantEdge",355 "pageInfo": "PageInfo"356 },357 "implementsNode": false358 };359 Object.freeze(ProductVariantConnection.fieldBaseTypes);360 var ProductVariantConnection$1 = Object.freeze(ProductVariantConnection);361 362 const ProductVariantEdge = {363 "name": "ProductVariantEdge",364 "kind": "OBJECT",365 "fieldBaseTypes": {366 "cursor": "String",367 "node": "ProductVariant"368 },369 "implementsNode": false370 };371 Object.freeze(ProductVariantEdge.fieldBaseTypes);372 var ProductVariantEdge$1 = Object.freeze(ProductVariantEdge);373 374 const Attribute = {375 "name": "Attribute",376 "kind": "OBJECT",377 "fieldBaseTypes": {378 "key": "String",379 "value": "String"380 },381 "implementsNode": false382 };383 Object.freeze(Attribute.fieldBaseTypes);384 var Attribute$1 = Object.freeze(Attribute);385 386 const MailingAddress = {387 "name": "MailingAddress",388 "kind": "OBJECT",389 "fieldBaseTypes": {390 "address1": "String",391 "address2": "String",392 "city": "String",393 "company": "String",394 "country": "String",395 "countryCode": "String",396 "firstName": "String",397 "formatted": "String",398 "id": "ID",399 "lastName": "String",400 "latitude": "Float",401 "longitude": "Float",402 "name": "String",403 "phone": "String",404 "province": "String",405 "provinceCode": "String",406 "zip": "String"407 },408 "implementsNode": true409 };410 Object.freeze(MailingAddress.fieldBaseTypes);411 var MailingAddress$1 = Object.freeze(MailingAddress);412 413 const ShippingRate = {414 "name": "ShippingRate",415 "kind": "OBJECT",416 "fieldBaseTypes": {417 "handle": "String",418 "price": "Money",419 "title": "String"420 },421 "implementsNode": false422 };423 Object.freeze(ShippingRate.fieldBaseTypes);424 var ShippingRate$1 = Object.freeze(ShippingRate);425 426 const AvailableShippingRates = {427 "name": "AvailableShippingRates",428 "kind": "OBJECT",429 "fieldBaseTypes": {430 "ready": "Boolean",431 "shippingRates": "ShippingRate"432 },433 "implementsNode": false434 };435 Object.freeze(AvailableShippingRates.fieldBaseTypes);436 var AvailableShippingRates$1 = Object.freeze(AvailableShippingRates);437 438 const Customer = {439 "name": "Customer",440 "kind": "OBJECT",441 "fieldBaseTypes": {442 "acceptsMarketing": "Boolean",443 "addresses": "MailingAddressConnection",444 "createdAt": "DateTime",445 "defaultAddress": "MailingAddress",446 "displayName": "String",447 "email": "String",448 "firstName": "String",449 "id": "ID",450 "lastName": "String",451 "orders": "OrderConnection",452 "phone": "String",453 "updatedAt": "DateTime"454 },455 "implementsNode": false456 };457 Object.freeze(Customer.fieldBaseTypes);458 var Customer$1 = Object.freeze(Customer);459 460 const MailingAddressConnection = {461 "name": "MailingAddressConnection",462 "kind": "OBJECT",463 "fieldBaseTypes": {464 "edges": "MailingAddressEdge",465 "pageInfo": "PageInfo"466 },467 "implementsNode": false468 };469 Object.freeze(MailingAddressConnection.fieldBaseTypes);470 var MailingAddressConnection$1 = Object.freeze(MailingAddressConnection);471 472 const MailingAddressEdge = {473 "name": "MailingAddressEdge",474 "kind": "OBJECT",475 "fieldBaseTypes": {476 "cursor": "String",477 "node": "MailingAddress"478 },479 "implementsNode": false480 };481 Object.freeze(MailingAddressEdge.fieldBaseTypes);482 var MailingAddressEdge$1 = Object.freeze(MailingAddressEdge);483 484 const OrderConnection = {485 "name": "OrderConnection",486 "kind": "OBJECT",487 "fieldBaseTypes": {488 "edges": "OrderEdge",489 "pageInfo": "PageInfo"490 },491 "implementsNode": false492 };493 Object.freeze(OrderConnection.fieldBaseTypes);494 var OrderConnection$1 = Object.freeze(OrderConnection);495 496 const OrderEdge = {497 "name": "OrderEdge",498 "kind": "OBJECT",499 "fieldBaseTypes": {500 "cursor": "String",501 "node": "Order"502 },503 "implementsNode": false504 };505 Object.freeze(OrderEdge.fieldBaseTypes);506 var OrderEdge$1 = Object.freeze(OrderEdge);507 508 const Order = {509 "name": "Order",510 "kind": "OBJECT",511 "fieldBaseTypes": {512 "cancelReason": "OrderCancelReason",513 "cancelledAt": "DateTime",514 "createdAt": "DateTime",515 "currencyCode": "CurrencyCode",516 "customerUrl": "URL",517 "displayFinancialStatus": "OrderDisplayFinancialStatus",518 "displayFulfillmentStatus": "OrderDisplayFulfillmentStatus",519 "email": "String",520 "id": "ID",521 "lineItems": "OrderLineItemConnection",522 "orderNumber": "Int",523 "phone": "String",524 "processedAt": "DateTime",525 "shippingAddress": "MailingAddress",526 "subtotalPrice": "Money",527 "totalPrice": "Money",528 "totalRefunded": "Money",529 "totalShippingPrice": "Money",530 "totalTax": "Money",531 "updatedAt": "DateTime"532 },533 "implementsNode": true534 };535 Object.freeze(Order.fieldBaseTypes);536 var Order$1 = Object.freeze(Order);537 538 const OrderCancelReason = {539 "name": "OrderCancelReason",540 "kind": "ENUM"541 };542 var OrderCancelReason$1 = Object.freeze(OrderCancelReason);543 544 const CurrencyCode = {545 "name": "CurrencyCode",546 "kind": "ENUM"547 };548 var CurrencyCode$1 = Object.freeze(CurrencyCode);549 550 const OrderDisplayFulfillmentStatus = {551 "name": "OrderDisplayFulfillmentStatus",552 "kind": "ENUM"553 };554 var OrderDisplayFulfillmentStatus$1 = Object.freeze(OrderDisplayFulfillmentStatus);555 556 const OrderDisplayFinancialStatus = {557 "name": "OrderDisplayFinancialStatus",558 "kind": "ENUM"559 };560 var OrderDisplayFinancialStatus$1 = Object.freeze(OrderDisplayFinancialStatus);561 562 const OrderLineItemConnection = {563 "name": "OrderLineItemConnection",564 "kind": "OBJECT",565 "fieldBaseTypes": {566 "edges": "OrderLineItemEdge",567 "pageInfo": "PageInfo"568 },569 "implementsNode": false570 };571 Object.freeze(OrderLineItemConnection.fieldBaseTypes);572 var OrderLineItemConnection$1 = Object.freeze(OrderLineItemConnection);573 574 const OrderLineItemEdge = {575 "name": "OrderLineItemEdge",576 "kind": "OBJECT",577 "fieldBaseTypes": {578 "cursor": "String",579 "node": "OrderLineItem"580 },581 "implementsNode": false582 };583 Object.freeze(OrderLineItemEdge.fieldBaseTypes);584 var OrderLineItemEdge$1 = Object.freeze(OrderLineItemEdge);585 586 const OrderLineItem = {587 "name": "OrderLineItem",588 "kind": "OBJECT",589 "fieldBaseTypes": {590 "customAttributes": "Attribute",591 "quantity": "Int",592 "title": "String",593 "variant": "ProductVariant"594 },595 "implementsNode": false596 };597 Object.freeze(OrderLineItem.fieldBaseTypes);598 var OrderLineItem$1 = Object.freeze(OrderLineItem);599 600 const OrderSortKeys = {601 "name": "OrderSortKeys",602 "kind": "ENUM"603 };604 var OrderSortKeys$1 = Object.freeze(OrderSortKeys);605 606 const AppliedGiftCard = {607 "name": "AppliedGiftCard",608 "kind": "OBJECT",609 "fieldBaseTypes": {610 "amountUsed": "Money",611 "balance": "Money",612 "id": "ID",613 "lastCharacters": "String"614 },615 "implementsNode": true616 };617 Object.freeze(AppliedGiftCard.fieldBaseTypes);618 var AppliedGiftCard$1 = Object.freeze(AppliedGiftCard);619 620 const QueryRoot = {621 "name": "QueryRoot",622 "kind": "OBJECT",623 "fieldBaseTypes": {624 "customer": "Customer",625 "node": "Node",626 "nodes": "Node",627 "shop": "Shop"628 },629 "implementsNode": false630 };631 Object.freeze(QueryRoot.fieldBaseTypes);632 var QueryRoot$1 = Object.freeze(QueryRoot);633 634 const Shop = {635 "name": "Shop",636 "kind": "OBJECT",637 "fieldBaseTypes": {638 "collections": "CollectionConnection",639 "currencyCode": "CurrencyCode",640 "description": "String",641 "moneyFormat": "String",642 "name": "String",643 "primaryDomain": "Domain",644 "privacyPolicy": "ShopPolicy",645 "products": "ProductConnection",646 "refundPolicy": "ShopPolicy",647 "termsOfService": "ShopPolicy"648 },649 "implementsNode": false650 };651 Object.freeze(Shop.fieldBaseTypes);652 var Shop$1 = Object.freeze(Shop);653 654 const Domain = {655 "name": "Domain",656 "kind": "OBJECT",657 "fieldBaseTypes": {658 "host": "String",659 "sslEnabled": "Boolean",660 "url": "URL"661 },662 "implementsNode": false663 };664 Object.freeze(Domain.fieldBaseTypes);665 var Domain$1 = Object.freeze(Domain);666 667 const ShopPolicy = {668 "name": "ShopPolicy",669 "kind": "OBJECT",670 "fieldBaseTypes": {671 "body": "String",672 "id": "ID",673 "title": "String",674 "url": "URL"675 },676 "implementsNode": true677 };678 Object.freeze(ShopPolicy.fieldBaseTypes);679 var ShopPolicy$1 = Object.freeze(ShopPolicy);680 681 const CollectionSortKeys = {682 "name": "CollectionSortKeys",683 "kind": "ENUM"684 };685 var CollectionSortKeys$1 = Object.freeze(CollectionSortKeys);686 687 const ProductSortKeys = {688 "name": "ProductSortKeys",689 "kind": "ENUM"690 };691 var ProductSortKeys$1 = Object.freeze(ProductSortKeys);692 693 const Mutation = {694 "name": "Mutation",695 "kind": "OBJECT",696 "fieldBaseTypes": {697 "checkoutAttributesUpdate": "CheckoutAttributesUpdatePayload",698 "checkoutCompleteFree": "CheckoutCompleteFreePayload",699 "checkoutCompleteWithCreditCard": "CheckoutCompleteWithCreditCardPayload",700 "checkoutCompleteWithTokenizedPayment": "CheckoutCompleteWithTokenizedPaymentPayload",701 "checkoutCreate": "CheckoutCreatePayload",702 "checkoutCustomerAssociate": "CheckoutCustomerAssociatePayload",703 "checkoutCustomerDisassociate": "CheckoutCustomerDisassociatePayload",704 "checkoutEmailUpdate": "CheckoutEmailUpdatePayload",705 "checkoutGiftCardApply": "CheckoutGiftCardApplyPayload",706 "checkoutGiftCardRemove": "CheckoutGiftCardRemovePayload",707 "checkoutLineItemsAdd": "CheckoutLineItemsAddPayload",708 "checkoutLineItemsRemove": "CheckoutLineItemsRemovePayload",709 "checkoutLineItemsUpdate": "CheckoutLineItemsUpdatePayload",710 "checkoutShippingAddressUpdate": "CheckoutShippingAddressUpdatePayload",711 "checkoutShippingLineUpdate": "CheckoutShippingLineUpdatePayload",712 "customerAccessTokenCreate": "CustomerAccessTokenCreatePayload",713 "customerAccessTokenDelete": "CustomerAccessTokenDeletePayload",714 "customerAccessTokenRenew": "CustomerAccessTokenRenewPayload",715 "customerActivate": "CustomerActivatePayload",716 "customerAddressCreate": "CustomerAddressCreatePayload",717 "customerAddressDelete": "CustomerAddressDeletePayload",718 "customerAddressUpdate": "CustomerAddressUpdatePayload",719 "customerCreate": "CustomerCreatePayload",720 "customerRecover": "CustomerRecoverPayload",721 "customerReset": "CustomerResetPayload",722 "customerUpdate": "CustomerUpdatePayload"723 },724 "implementsNode": false,725 "relayInputObjectBaseTypes": {726 "checkoutAttributesUpdate": "CheckoutAttributesUpdateInput",727 "checkoutCreate": "CheckoutCreateInput",728 "customerAccessTokenCreate": "CustomerAccessTokenCreateInput",729 "customerActivate": "CustomerActivateInput",730 "customerCreate": "CustomerCreateInput",731 "customerReset": "CustomerResetInput"732 }733 };734 Object.freeze(Mutation.fieldBaseTypes);735 Object.freeze(Mutation.relayInputObjectBaseTypes);736 var Mutation$1 = Object.freeze(Mutation);737 738 const CheckoutAttributesUpdatePayload = {739 "name": "CheckoutAttributesUpdatePayload",740 "kind": "OBJECT",741 "fieldBaseTypes": {742 "checkout": "Checkout",743 "userErrors": "UserError"744 },745 "implementsNode": false746 };747 Object.freeze(CheckoutAttributesUpdatePayload.fieldBaseTypes);748 var CheckoutAttributesUpdatePayload$1 = Object.freeze(CheckoutAttributesUpdatePayload);749 750 const UserError = {751 "name": "UserError",752 "kind": "OBJECT",753 "fieldBaseTypes": {754 "field": "String",755 "message": "String"756 },757 "implementsNode": false758 };759 Object.freeze(UserError.fieldBaseTypes);760 var UserError$1 = Object.freeze(UserError);761 762 const CheckoutAttributesUpdateInput = {763 "name": "CheckoutAttributesUpdateInput",764 "kind": "INPUT_OBJECT",765 "inputFieldBaseTypes": {766 "note": "String",767 "customAttributes": "AttributeInput",768 "allowPartialAddresses": "Boolean"769 }770 };771 Object.freeze(CheckoutAttributesUpdateInput.inputFieldBaseTypes);772 var CheckoutAttributesUpdateInput$1 = Object.freeze(CheckoutAttributesUpdateInput);773 774 const AttributeInput = {775 "name": "AttributeInput",776 "kind": "INPUT_OBJECT",777 "inputFieldBaseTypes": {778 "key": "String",779 "value": "String"780 }781 };782 Object.freeze(AttributeInput.inputFieldBaseTypes);783 var AttributeInput$1 = Object.freeze(AttributeInput);784 785 const CheckoutCompleteFreePayload = {786 "name": "CheckoutCompleteFreePayload",787 "kind": "OBJECT",788 "fieldBaseTypes": {789 "checkout": "Checkout",790 "userErrors": "UserError"791 },792 "implementsNode": false793 };794 Object.freeze(CheckoutCompleteFreePayload.fieldBaseTypes);795 var CheckoutCompleteFreePayload$1 = Object.freeze(CheckoutCompleteFreePayload);796 797 const CheckoutCompleteWithCreditCardPayload = {798 "name": "CheckoutCompleteWithCreditCardPayload",799 "kind": "OBJECT",800 "fieldBaseTypes": {801 "checkout": "Checkout",802 "payment": "Payment",803 "userErrors": "UserError"804 },805 "implementsNode": false806 };807 Object.freeze(CheckoutCompleteWithCreditCardPayload.fieldBaseTypes);808 var CheckoutCompleteWithCreditCardPayload$1 = Object.freeze(CheckoutCompleteWithCreditCardPayload);809 810 const Payment = {811 "name": "Payment",812 "kind": "OBJECT",813 "fieldBaseTypes": {814 "amount": "Money",815 "billingAddress": "MailingAddress",816 "checkout": "Checkout",817 "creditCard": "CreditCard",818 "errorMessage": "String",819 "id": "ID",820 "idempotencyKey": "String",821 "ready": "Boolean",822 "test": "Boolean",823 "transaction": "Transaction"824 },825 "implementsNode": true826 };827 Object.freeze(Payment.fieldBaseTypes);828 var Payment$1 = Object.freeze(Payment);829 830 const CreditCard = {831 "name": "CreditCard",832 "kind": "OBJECT",833 "fieldBaseTypes": {834 "brand": "String",835 "expiryMonth": "Int",836 "expiryYear": "Int",837 "firstDigits": "String",838 "firstName": "String",839 "lastDigits": "String",840 "lastName": "String",841 "maskedNumber": "String"842 },843 "implementsNode": false844 };845 Object.freeze(CreditCard.fieldBaseTypes);846 var CreditCard$1 = Object.freeze(CreditCard);847 848 const Transaction = {849 "name": "Transaction",850 "kind": "OBJECT",851 "fieldBaseTypes": {852 "amount": "Money",853 "kind": "TransactionKind",854 "status": "TransactionStatus",855 "test": "Boolean"856 },857 "implementsNode": false858 };859 Object.freeze(Transaction.fieldBaseTypes);860 var Transaction$1 = Object.freeze(Transaction);861 862 const TransactionKind = {863 "name": "TransactionKind",864 "kind": "ENUM"865 };866 var TransactionKind$1 = Object.freeze(TransactionKind);867 868 const TransactionStatus = {869 "name": "TransactionStatus",870 "kind": "ENUM"871 };872 var TransactionStatus$1 = Object.freeze(TransactionStatus);873 874 const CreditCardPaymentInput = {875 "name": "CreditCardPaymentInput",876 "kind": "INPUT_OBJECT",877 "inputFieldBaseTypes": {878 "amount": "Money",879 "idempotencyKey": "String",880 "billingAddress": "MailingAddressInput",881 "vaultId": "String",882 "test": "Boolean"883 }884 };885 Object.freeze(CreditCardPaymentInput.inputFieldBaseTypes);886 var CreditCardPaymentInput$1 = Object.freeze(CreditCardPaymentInput);887 888 const MailingAddressInput = {889 "name": "MailingAddressInput",890 "kind": "INPUT_OBJECT",891 "inputFieldBaseTypes": {892 "address1": "String",893 "address2": "String",894 "city": "String",895 "company": "String",896 "country": "String",897 "firstName": "String",898 "lastName": "String",899 "phone": "String",900 "province": "String",901 "zip": "String"902 }903 };904 Object.freeze(MailingAddressInput.inputFieldBaseTypes);905 var MailingAddressInput$1 = Object.freeze(MailingAddressInput);906 907 const CheckoutCompleteWithTokenizedPaymentPayload = {908 "name": "CheckoutCompleteWithTokenizedPaymentPayload",909 "kind": "OBJECT",910 "fieldBaseTypes": {911 "checkout": "Checkout",912 "payment": "Payment",913 "userErrors": "UserError"914 },915 "implementsNode": false916 };917 Object.freeze(CheckoutCompleteWithTokenizedPaymentPayload.fieldBaseTypes);918 var CheckoutCompleteWithTokenizedPaymentPayload$1 = Object.freeze(CheckoutCompleteWithTokenizedPaymentPayload);919 920 const TokenizedPaymentInput = {921 "name": "TokenizedPaymentInput",922 "kind": "INPUT_OBJECT",923 "inputFieldBaseTypes": {924 "amount": "Money",925 "idempotencyKey": "String",926 "billingAddress": "MailingAddressInput",927 "type": "String",928 "paymentData": "String",929 "test": "Boolean",930 "identifier": "String"931 }932 };933 Object.freeze(TokenizedPaymentInput.inputFieldBaseTypes);934 var TokenizedPaymentInput$1 = Object.freeze(TokenizedPaymentInput);935 936 const CheckoutCreatePayload = {937 "name": "CheckoutCreatePayload",938 "kind": "OBJECT",939 "fieldBaseTypes": {940 "checkout": "Checkout",941 "userErrors": "UserError"942 },943 "implementsNode": false944 };945 Object.freeze(CheckoutCreatePayload.fieldBaseTypes);946 var CheckoutCreatePayload$1 = Object.freeze(CheckoutCreatePayload);947 948 const CheckoutCreateInput = {949 "name": "CheckoutCreateInput",950 "kind": "INPUT_OBJECT",951 "inputFieldBaseTypes": {952 "email": "String",953 "lineItems": "CheckoutLineItemInput",954 "shippingAddress": "MailingAddressInput",955 "note": "String",956 "customAttributes": "AttributeInput",957 "allowPartialAddresses": "Boolean"958 }959 };960 Object.freeze(CheckoutCreateInput.inputFieldBaseTypes);961 var CheckoutCreateInput$1 = Object.freeze(CheckoutCreateInput);962 963 const CheckoutLineItemInput = {964 "name": "CheckoutLineItemInput",965 "kind": "INPUT_OBJECT",966 "inputFieldBaseTypes": {967 "variantId": "ID",968 "quantity": "Int",969 "customAttributes": "AttributeInput"970 }971 };972 Object.freeze(CheckoutLineItemInput.inputFieldBaseTypes);973 var CheckoutLineItemInput$1 = Object.freeze(CheckoutLineItemInput);974 975 const CheckoutCustomerAssociatePayload = {976 "name": "CheckoutCustomerAssociatePayload",977 "kind": "OBJECT",978 "fieldBaseTypes": {979 "checkout": "Checkout",980 "userErrors": "UserError"981 },982 "implementsNode": false983 };984 Object.freeze(CheckoutCustomerAssociatePayload.fieldBaseTypes);985 var CheckoutCustomerAssociatePayload$1 = Object.freeze(CheckoutCustomerAssociatePayload);986 987 const CheckoutCustomerDisassociatePayload = {988 "name": "CheckoutCustomerDisassociatePayload",989 "kind": "OBJECT",990 "fieldBaseTypes": {991 "checkout": "Checkout",992 "userErrors": "UserError"993 },994 "implementsNode": false995 };996 Object.freeze(CheckoutCustomerDisassociatePayload.fieldBaseTypes);997 var CheckoutCustomerDisassociatePayload$1 = Object.freeze(CheckoutCustomerDisassociatePayload);998 999 const CheckoutEmailUpdatePayload = {1000 "name": "CheckoutEmailUpdatePayload",1001 "kind": "OBJECT",1002 "fieldBaseTypes": {1003 "checkout": "Checkout",1004 "userErrors": "UserError"1005 },1006 "implementsNode": false1007 };1008 Object.freeze(CheckoutEmailUpdatePayload.fieldBaseTypes);1009 var CheckoutEmailUpdatePayload$1 = Object.freeze(CheckoutEmailUpdatePayload);1010 1011 const CheckoutGiftCardApplyPayload = {1012 "name": "CheckoutGiftCardApplyPayload",1013 "kind": "OBJECT",1014 "fieldBaseTypes": {1015 "checkout": "Checkout",1016 "userErrors": "UserError"1017 },1018 "implementsNode": false1019 };1020 Object.freeze(CheckoutGiftCardApplyPayload.fieldBaseTypes);1021 var CheckoutGiftCardApplyPayload$1 = Object.freeze(CheckoutGiftCardApplyPayload);1022 1023 const CheckoutGiftCardRemovePayload = {1024 "name": "CheckoutGiftCardRemovePayload",1025 "kind": "OBJECT",1026 "fieldBaseTypes": {1027 "checkout": "Checkout",1028 "userErrors": "UserError"1029 },1030 "implementsNode": false1031 };1032 Object.freeze(CheckoutGiftCardRemovePayload.fieldBaseTypes);1033 var CheckoutGiftCardRemovePayload$1 = Object.freeze(CheckoutGiftCardRemovePayload);1034 1035 const CheckoutLineItemsAddPayload = {1036 "name": "CheckoutLineItemsAddPayload",1037 "kind": "OBJECT",1038 "fieldBaseTypes": {1039 "checkout": "Checkout",1040 "userErrors": "UserError"1041 },1042 "implementsNode": false1043 };1044 Object.freeze(CheckoutLineItemsAddPayload.fieldBaseTypes);1045 var CheckoutLineItemsAddPayload$1 = Object.freeze(CheckoutLineItemsAddPayload);1046 1047 const CheckoutLineItemsRemovePayload = {1048 "name": "CheckoutLineItemsRemovePayload",1049 "kind": "OBJECT",1050 "fieldBaseTypes": {1051 "checkout": "Checkout",1052 "userErrors": "UserError"1053 },1054 "implementsNode": false1055 };1056 Object.freeze(CheckoutLineItemsRemovePayload.fieldBaseTypes);1057 var CheckoutLineItemsRemovePayload$1 = Object.freeze(CheckoutLineItemsRemovePayload);1058 1059 const CheckoutLineItemsUpdatePayload = {1060 "name": "CheckoutLineItemsUpdatePayload",1061 "kind": "OBJECT",1062 "fieldBaseTypes": {1063 "checkout": "Checkout",1064 "userErrors": "UserError"1065 },1066 "implementsNode": false1067 };1068 Object.freeze(CheckoutLineItemsUpdatePayload.fieldBaseTypes);1069 var CheckoutLineItemsUpdatePayload$1 = Object.freeze(CheckoutLineItemsUpdatePayload);1070 1071 const CheckoutLineItemUpdateInput = {1072 "name": "CheckoutLineItemUpdateInput",1073 "kind": "INPUT_OBJECT",1074 "inputFieldBaseTypes": {1075 "id": "ID",1076 "variantId": "ID",1077 "quantity": "Int",1078 "customAttributes": "AttributeInput"1079 }1080 };1081 Object.freeze(CheckoutLineItemUpdateInput.inputFieldBaseTypes);1082 var CheckoutLineItemUpdateInput$1 = Object.freeze(CheckoutLineItemUpdateInput);1083 1084 const CheckoutShippingAddressUpdatePayload = {1085 "name": "CheckoutShippingAddressUpdatePayload",1086 "kind": "OBJECT",1087 "fieldBaseTypes": {1088 "checkout": "Checkout",1089 "userErrors": "UserError"1090 },1091 "implementsNode": false1092 };1093 Object.freeze(CheckoutShippingAddressUpdatePayload.fieldBaseTypes);1094 var CheckoutShippingAddressUpdatePayload$1 = Object.freeze(CheckoutShippingAddressUpdatePayload);1095 1096 const CheckoutShippingLineUpdatePayload = {1097 "name": "CheckoutShippingLineUpdatePayload",1098 "kind": "OBJECT",1099 "fieldBaseTypes": {1100 "checkout": "Checkout",1101 "userErrors": "UserError"1102 },1103 "implementsNode": false1104 };1105 Object.freeze(CheckoutShippingLineUpdatePayload.fieldBaseTypes);1106 var CheckoutShippingLineUpdatePayload$1 = Object.freeze(CheckoutShippingLineUpdatePayload);1107 1108 const CustomerAccessTokenCreatePayload = {1109 "name": "CustomerAccessTokenCreatePayload",1110 "kind": "OBJECT",1111 "fieldBaseTypes": {1112 "customerAccessToken": "CustomerAccessToken",1113 "userErrors": "UserError"1114 },1115 "implementsNode": false1116 };1117 Object.freeze(CustomerAccessTokenCreatePayload.fieldBaseTypes);1118 var CustomerAccessTokenCreatePayload$1 = Object.freeze(CustomerAccessTokenCreatePayload);1119 1120 const CustomerAccessToken = {1121 "name": "CustomerAccessToken",1122 "kind": "OBJECT",1123 "fieldBaseTypes": {1124 "accessToken": "String",1125 "expiresAt": "DateTime"1126 },1127 "implementsNode": false1128 };1129 Object.freeze(CustomerAccessToken.fieldBaseTypes);1130 var CustomerAccessToken$1 = Object.freeze(CustomerAccessToken);1131 1132 const CustomerAccessTokenCreateInput = {1133 "name": "CustomerAccessTokenCreateInput",1134 "kind": "INPUT_OBJECT",1135 "inputFieldBaseTypes": {1136 "email": "String",1137 "password": "String"1138 }1139 };1140 Object.freeze(CustomerAccessTokenCreateInput.inputFieldBaseTypes);1141 var CustomerAccessTokenCreateInput$1 = Object.freeze(CustomerAccessTokenCreateInput);1142 1143 const CustomerAccessTokenDeletePayload = {1144 "name": "CustomerAccessTokenDeletePayload",1145 "kind": "OBJECT",1146 "fieldBaseTypes": {1147 "deletedAccessToken": "String",1148 "deletedCustomerAccessTokenId": "String",1149 "userErrors": "UserError"1150 },1151 "implementsNode": false1152 };1153 Object.freeze(CustomerAccessTokenDeletePayload.fieldBaseTypes);1154 var CustomerAccessTokenDeletePayload$1 = Object.freeze(CustomerAccessTokenDeletePayload);1155 1156 const CustomerAccessTokenRenewPayload = {1157 "name": "CustomerAccessTokenRenewPayload",1158 "kind": "OBJECT",1159 "fieldBaseTypes": {1160 "customerAccessToken": "CustomerAccessToken",1161 "userErrors": "UserError"1162 },1163 "implementsNode": false1164 };1165 Object.freeze(CustomerAccessTokenRenewPayload.fieldBaseTypes);1166 var CustomerAccessTokenRenewPayload$1 = Object.freeze(CustomerAccessTokenRenewPayload);1167 1168 const CustomerActivatePayload = {1169 "name": "CustomerActivatePayload",1170 "kind": "OBJECT",1171 "fieldBaseTypes": {1172 "customer": "Customer",1173 "userErrors": "UserError"1174 },1175 "implementsNode": false1176 };1177 Object.freeze(CustomerActivatePayload.fieldBaseTypes);1178 var CustomerActivatePayload$1 = Object.freeze(CustomerActivatePayload);1179 1180 const CustomerActivateInput = {1181 "name": "CustomerActivateInput",1182 "kind": "INPUT_OBJECT",1183 "inputFieldBaseTypes": {1184 "activationToken": "String",1185 "password": "String"1186 }1187 };1188 Object.freeze(CustomerActivateInput.inputFieldBaseTypes);1189 var CustomerActivateInput$1 = Object.freeze(CustomerActivateInput);1190 1191 const CustomerAddressCreatePayload = {1192 "name": "CustomerAddressCreatePayload",1193 "kind": "OBJECT",1194 "fieldBaseTypes": {1195 "customerAddress": "MailingAddress",1196 "userErrors": "UserError"1197 },1198 "implementsNode": false1199 };1200 Object.freeze(CustomerAddressCreatePayload.fieldBaseTypes);1201 var CustomerAddressCreatePayload$1 = Object.freeze(CustomerAddressCreatePayload);1202 1203 const CustomerAddressDeletePayload = {1204 "name": "CustomerAddressDeletePayload",1205 "kind": "OBJECT",1206 "fieldBaseTypes": {1207 "deletedCustomerAddressId": "String",1208 "userErrors": "UserError"1209 },1210 "implementsNode": false1211 };1212 Object.freeze(CustomerAddressDeletePayload.fieldBaseTypes);1213 var CustomerAddressDeletePayload$1 = Object.freeze(CustomerAddressDeletePayload);1214 1215 const CustomerAddressUpdatePayload = {1216 "name": "CustomerAddressUpdatePayload",1217 "kind": "OBJECT",1218 "fieldBaseTypes": {1219 "customerAddress": "MailingAddress",1220 "userErrors": "UserError"1221 },1222 "implementsNode": false1223 };1224 Object.freeze(CustomerAddressUpdatePayload.fieldBaseTypes);1225 var CustomerAddressUpdatePayload$1 = Object.freeze(CustomerAddressUpdatePayload);1226 1227 const CustomerCreatePayload = {1228 "name": "CustomerCreatePayload",1229 "kind": "OBJECT",1230 "fieldBaseTypes": {1231 "customer": "Customer",1232 "userErrors": "UserError"1233 },1234 "implementsNode": false1235 };1236 Object.freeze(CustomerCreatePayload.fieldBaseTypes);1237 var CustomerCreatePayload$1 = Object.freeze(CustomerCreatePayload);1238 1239 const CustomerCreateInput = {1240 "name": "CustomerCreateInput",1241 "kind": "INPUT_OBJECT",1242 "inputFieldBaseTypes": {1243 "firstName": "String",1244 "lastName": "String",1245 "email": "String",1246 "password": "String",1247 "acceptsMarketing": "Boolean"1248 }1249 };1250 Object.freeze(CustomerCreateInput.inputFieldBaseTypes);1251 var CustomerCreateInput$1 = Object.freeze(CustomerCreateInput);1252 1253 const CustomerRecoverPayload = {1254 "name": "CustomerRecoverPayload",1255 "kind": "OBJECT",1256 "fieldBaseTypes": {1257 "userErrors": "UserError"1258 },1259 "implementsNode": false1260 };1261 Object.freeze(CustomerRecoverPayload.fieldBaseTypes);1262 var CustomerRecoverPayload$1 = Object.freeze(CustomerRecoverPayload);1263 1264 const CustomerResetPayload = {1265 "name": "CustomerResetPayload",1266 "kind": "OBJECT",1267 "fieldBaseTypes": {1268 "customer": "Customer",1269 "userErrors": "UserError"1270 },1271 "implementsNode": false1272 };1273 Object.freeze(CustomerResetPayload.fieldBaseTypes);1274 var CustomerResetPayload$1 = Object.freeze(CustomerResetPayload);1275 1276 const CustomerResetInput = {1277 "name": "CustomerResetInput",1278 "kind": "INPUT_OBJECT",1279 "inputFieldBaseTypes": {1280 "resetToken": "String",1281 "password": "String"1282 }1283 };1284 Object.freeze(CustomerResetInput.inputFieldBaseTypes);1285 var CustomerResetInput$1 = Object.freeze(CustomerResetInput);1286 1287 const CustomerUpdatePayload = {1288 "name": "CustomerUpdatePayload",1289 "kind": "OBJECT",1290 "fieldBaseTypes": {1291 "customer": "Customer",1292 "userErrors": "UserError"1293 },1294 "implementsNode": false1295 };1296 Object.freeze(CustomerUpdatePayload.fieldBaseTypes);1297 var CustomerUpdatePayload$1 = Object.freeze(CustomerUpdatePayload);1298 1299 const CustomerUpdateInput = {1300 "name": "CustomerUpdateInput",1301 "kind": "INPUT_OBJECT",1302 "inputFieldBaseTypes": {1303 "firstName": "String",1304 "lastName": "String",1305 "email": "String",1306 "password": "String",1307 "acceptsMarketing": "Boolean"1308 }1309 };1310 Object.freeze(CustomerUpdateInput.inputFieldBaseTypes);1311 var CustomerUpdateInput$1 = Object.freeze(CustomerUpdateInput);1312 1313 const __Schema = {1314 "name": "__Schema",1315 "kind": "OBJECT",1316 "fieldBaseTypes": {1317 "directives": "__Directive",1318 "mutationType": "__Type",1319 "queryType": "__Type",1320 "subscriptionType": "__Type",1321 "types": "__Type"1322 },1323 "implementsNode": false1324 };1325 Object.freeze(__Schema.fieldBaseTypes);1326 var __Schema$1 = Object.freeze(__Schema);1327 1328 const __Type = {1329 "name": "__Type",1330 "kind": "OBJECT",1331 "fieldBaseTypes": {1332 "description": "String",1333 "enumValues": "__EnumValue",1334 "fields": "__Field",1335 "inputFields": "__InputValue",1336 "interfaces": "__Type",1337 "kind": "__TypeKind",1338 "name": "String",1339 "ofType": "__Type",1340 "possibleTypes": "__Type"1341 },1342 "implementsNode": false1343 };1344 Object.freeze(__Type.fieldBaseTypes);1345 var __Type$1 = Object.freeze(__Type);1346 1347 const __TypeKind = {1348 "name": "__TypeKind",1349 "kind": "ENUM"1350 };1351 var __TypeKind$1 = Object.freeze(__TypeKind);1352 1353 const __Field = {1354 "name": "__Field",1355 "kind": "OBJECT",1356 "fieldBaseTypes": {1357 "args": "__InputValue",1358 "deprecationReason": "String",1359 "description": "String",1360 "isDeprecated": "Boolean",1361 "name": "String",1362 "type": "__Type"1363 },1364 "implementsNode": false1365 };1366 Object.freeze(__Field.fieldBaseTypes);1367 var __Field$1 = Object.freeze(__Field);1368 1369 const __InputValue = {1370 "name": "__InputValue",1371 "kind": "OBJECT",1372 "fieldBaseTypes": {1373 "defaultValue": "String",1374 "description": "String",1375 "name": "String",1376 "type": "__Type"1377 },1378 "implementsNode": false1379 };1380 Object.freeze(__InputValue.fieldBaseTypes);1381 var __InputValue$1 = Object.freeze(__InputValue);1382 1383 const __EnumValue = {1384 "name": "__EnumValue",1385 "kind": "OBJECT",1386 "fieldBaseTypes": {1387 "deprecationReason": "String",1388 "description": "String",1389 "isDeprecated": "Boolean",1390 "name": "String"1391 },1392 "implementsNode": false1393 };1394 Object.freeze(__EnumValue.fieldBaseTypes);1395 var __EnumValue$1 = Object.freeze(__EnumValue);1396 1397 const __Directive = {1398 "name": "__Directive",1399 "kind": "OBJECT",1400 "fieldBaseTypes": {1401 "args": "__InputValue",1402 "description": "String",1403 "locations": "__DirectiveLocation",1404 "name": "String",1405 "onField": "Boolean",1406 "onFragment": "Boolean",1407 "onOperation": "Boolean"1408 },1409 "implementsNode": false1410 };1411 Object.freeze(__Directive.fieldBaseTypes);1412 var __Directive$1 = Object.freeze(__Directive);1413 1414 const __DirectiveLocation = {1415 "name": "__DirectiveLocation",1416 "kind": "ENUM"1417 };1418 var __DirectiveLocation$1 = Object.freeze(__DirectiveLocation);1419 1420 const Types = {1421 types: {}1422 };1423 Types.types["Checkout"] = Checkout$1;1424 Types.types["ID"] = ID$1;1425 Types.types["Boolean"] = Boolean$1;1426 Types.types["CheckoutLineItemConnection"] = CheckoutLineItemConnection$1;1427 Types.types["PageInfo"] = PageInfo$1;1428 Types.types["CheckoutLineItemEdge"] = CheckoutLineItemEdge$1;1429 Types.types["String"] = String$1;1430 Types.types["CheckoutLineItem"] = CheckoutLineItem$1;1431 Types.types["ProductVariant"] = ProductVariant$1;1432 Types.types["Float"] = Float$1;1433 Types.types["WeightUnit"] = WeightUnit$1;1434 Types.types["Money"] = Money$1;1435 Types.types["Image"] = Image$1;1436 Types.types["URL"] = URL$1;1437 Types.types["Int"] = Int$1;1438 Types.types["CropRegion"] = CropRegion$1;1439 Types.types["SelectedOption"] = SelectedOption$1;1440 Types.types["Product"] = Product$1;1441 Types.types["CollectionConnection"] = CollectionConnection$1;1442 Types.types["CollectionEdge"] = CollectionEdge$1;1443 Types.types["Collection"] = Collection$1;1444 Types.types["HTML"] = HTML$1;1445 Types.types["DateTime"] = DateTime$1;1446 Types.types["ProductConnection"] = ProductConnection$1;1447 Types.types["ProductEdge"] = ProductEdge$1;1448 Types.types["Node"] = Node$1;1449 Types.types["ImageConnection"] = ImageConnection$1;1450 Types.types["ImageEdge"] = ImageEdge$1;1451 Types.types["SelectedOptionInput"] = SelectedOptionInput$1;1452 Types.types["ProductOption"] = ProductOption$1;1453 Types.types["ProductVariantConnection"] = ProductVariantConnection$1;1454 Types.types["ProductVariantEdge"] = ProductVariantEdge$1;1455 Types.types["Attribute"] = Attribute$1;1456 Types.types["MailingAddress"] = MailingAddress$1;1457 Types.types["ShippingRate"] = ShippingRate$1;1458 Types.types["AvailableShippingRates"] = AvailableShippingRates$1;1459 Types.types["Customer"] = Customer$1;1460 Types.types["MailingAddressConnection"] = MailingAddressConnection$1;1461 Types.types["MailingAddressEdge"] = MailingAddressEdge$1;1462 Types.types["OrderConnection"] = OrderConnection$1;1463 Types.types["OrderEdge"] = OrderEdge$1;1464 Types.types["Order"] = Order$1;1465 Types.types["OrderCancelReason"] = OrderCancelReason$1;1466 Types.types["CurrencyCode"] = CurrencyCode$1;1467 Types.types["OrderDisplayFulfillmentStatus"] = OrderDisplayFulfillmentStatus$1;1468 Types.types["OrderDisplayFinancialStatus"] = OrderDisplayFinancialStatus$1;1469 Types.types["OrderLineItemConnection"] = OrderLineItemConnection$1;1470 Types.types["OrderLineItemEdge"] = OrderLineItemEdge$1;1471 Types.types["OrderLineItem"] = OrderLineItem$1;1472 Types.types["OrderSortKeys"] = OrderSortKeys$1;1473 Types.types["AppliedGiftCard"] = AppliedGiftCard$1;1474 Types.types["QueryRoot"] = QueryRoot$1;1475 Types.types["Shop"] = Shop$1;1476 Types.types["Domain"] = Domain$1;1477 Types.types["ShopPolicy"] = ShopPolicy$1;1478 Types.types["CollectionSortKeys"] = CollectionSortKeys$1;1479 Types.types["ProductSortKeys"] = ProductSortKeys$1;1480 Types.types["Mutation"] = Mutation$1;1481 Types.types["CheckoutAttributesUpdatePayload"] = CheckoutAttributesUpdatePayload$1;1482 Types.types["UserError"] = UserError$1;1483 Types.types["CheckoutAttributesUpdateInput"] = CheckoutAttributesUpdateInput$1;1484 Types.types["AttributeInput"] = AttributeInput$1;1485 Types.types["CheckoutCompleteFreePayload"] = CheckoutCompleteFreePayload$1;1486 Types.types["CheckoutCompleteWithCreditCardPayload"] = CheckoutCompleteWithCreditCardPayload$1;1487 Types.types["Payment"] = Payment$1;1488 Types.types["CreditCard"] = CreditCard$1;1489 Types.types["Transaction"] = Transaction$1;1490 Types.types["TransactionKind"] = TransactionKind$1;1491 Types.types["TransactionStatus"] = TransactionStatus$1;1492 Types.types["CreditCardPaymentInput"] = CreditCardPaymentInput$1;1493 Types.types["MailingAddressInput"] = MailingAddressInput$1;1494 Types.types["CheckoutCompleteWithTokenizedPaymentPayload"] = CheckoutCompleteWithTokenizedPaymentPayload$1;1495 Types.types["TokenizedPaymentInput"] = TokenizedPaymentInput$1;1496 Types.types["CheckoutCreatePayload"] = CheckoutCreatePayload$1;1497 Types.types["CheckoutCreateInput"] = CheckoutCreateInput$1;1498 Types.types["CheckoutLineItemInput"] = CheckoutLineItemInput$1;1499 Types.types["CheckoutCustomerAssociatePayload"] = CheckoutCustomerAssociatePayload$1;1500 Types.types["CheckoutCustomerDisassociatePayload"] = CheckoutCustomerDisassociatePayload$1;1501 Types.types["CheckoutEmailUpdatePayload"] = CheckoutEmailUpdatePayload$1;1502 Types.types["CheckoutGiftCardApplyPayload"] = CheckoutGiftCardApplyPayload$1;1503 Types.types["CheckoutGiftCardRemovePayload"] = CheckoutGiftCardRemovePayload$1;1504 Types.types["CheckoutLineItemsAddPayload"] = CheckoutLineItemsAddPayload$1;1505 Types.types["CheckoutLineItemsRemovePayload"] = CheckoutLineItemsRemovePayload$1;1506 Types.types["CheckoutLineItemsUpdatePayload"] = CheckoutLineItemsUpdatePayload$1;1507 Types.types["CheckoutLineItemUpdateInput"] = CheckoutLineItemUpdateInput$1;1508 Types.types["CheckoutShippingAddressUpdatePayload"] = CheckoutShippingAddressUpdatePayload$1;1509 Types.types["CheckoutShippingLineUpdatePayload"] = CheckoutShippingLineUpdatePayload$1;1510 Types.types["CustomerAccessTokenCreatePayload"] = CustomerAccessTokenCreatePayload$1;1511 Types.types["CustomerAccessToken"] = CustomerAccessToken$1;1512 Types.types["CustomerAccessTokenCreateInput"] = CustomerAccessTokenCreateInput$1;1513 Types.types["CustomerAccessTokenDeletePayload"] = CustomerAccessTokenDeletePayload$1;1514 Types.types["CustomerAccessTokenRenewPayload"] = CustomerAccessTokenRenewPayload$1;1515 Types.types["CustomerActivatePayload"] = CustomerActivatePayload$1;1516 Types.types["CustomerActivateInput"] = CustomerActivateInput$1;1517 Types.types["CustomerAddressCreatePayload"] = CustomerAddressCreatePayload$1;1518 Types.types["CustomerAddressDeletePayload"] = CustomerAddressDeletePayload$1;1519 Types.types["CustomerAddressUpdatePayload"] = CustomerAddressUpdatePayload$1;1520 Types.types["CustomerCreatePayload"] = CustomerCreatePayload$1;1521 Types.types["CustomerCreateInput"] = CustomerCreateInput$1;1522 Types.types["CustomerRecoverPayload"] = CustomerRecoverPayload$1;1523 Types.types["CustomerResetPayload"] = CustomerResetPayload$1;1524 Types.types["CustomerResetInput"] = CustomerResetInput$1;1525 Types.types["CustomerUpdatePayload"] = CustomerUpdatePayload$1;1526 Types.types["CustomerUpdateInput"] = CustomerUpdateInput$1;1527 Types.types["__Schema"] = __Schema$1;1528 Types.types["__Type"] = __Type$1;1529 Types.types["__TypeKind"] = __TypeKind$1;1530 Types.types["__Field"] = __Field$1;1531 Types.types["__InputValue"] = __InputValue$1;1532 Types.types["__EnumValue"] = __EnumValue$1;1533 Types.types["__Directive"] = __Directive$1;1534 Types.types["__DirectiveLocation"] = __DirectiveLocation$1;1535 Types.queryType = "QueryRoot";1536 Types.mutationType = "Mutation";1537 Types.subscriptionType = null;1538 Object.freeze(Types.types);1539 var types = Object.freeze(Types);1540 1541 export default types;...

Full Screen

Full Screen

regress-refreeze-same-map.js

Source:regress-refreeze-same-map.js Github

copy

Full Screen

2// Use of this source code is governed by a BSD-style license that can be3// found in the LICENSE file.4// Flags: --allow-natives-syntax5// precondition6assertTrue(%HaveSameMap(Object.freeze({}), Object.freeze({})));7assertTrue(%HaveSameMap(Object.freeze({a: 1}), Object.freeze({a: 1})));8assertTrue(%HaveSameMap(Object.freeze([]), Object.freeze([])));9assertTrue(%HaveSameMap(Object.freeze([1,2]), Object.freeze([1,2])));10assertTrue(%HaveSameMap(Object.seal({}), Object.seal({})));11assertTrue(%HaveSameMap(Object.seal({a: 1}), Object.seal({a: 1})));12assertTrue(%HaveSameMap(Object.seal([]), Object.seal([])));13assertTrue(%HaveSameMap(Object.seal([1,2]), Object.seal([1,2])));14// refreezing an already frozen obj does not keep adding transitions15assertTrue(%HaveSameMap(Object.freeze({}), Object.freeze( Object.freeze({}) )));16assertTrue(%HaveSameMap(Object.freeze({a: 1}), Object.freeze( Object.freeze({a: 1}) )));17assertTrue(%HaveSameMap(Object.freeze([]), Object.freeze( Object.freeze([]) )));18assertTrue(%HaveSameMap(Object.freeze([1,2]), Object.freeze( Object.freeze([1,2]) )));19// resealing a sealed object is idempotent20assertTrue(%HaveSameMap(Object.seal({}), Object.seal( Object.seal({}) )));21assertTrue(%HaveSameMap(Object.seal({a: 1}), Object.seal( Object.seal({a: 1}) )));22assertTrue(%HaveSameMap(Object.seal([]), Object.seal( Object.seal([]) )));23assertTrue(%HaveSameMap(Object.seal([1,2]), Object.seal( Object.seal([1,2]) )));24// sealing a frozen object is idempotent25assertTrue(%HaveSameMap(Object.freeze({}), Object.seal( Object.freeze({}) )));26assertTrue(%HaveSameMap(Object.freeze({a: 1}), Object.seal( Object.freeze({a: 1}) )));27assertTrue(%HaveSameMap(Object.freeze([]), Object.seal( Object.freeze([]) )));28assertTrue(%HaveSameMap(Object.freeze([1,2]), Object.seal( Object.freeze([1,2]) )));29// freezing a sealed empty is idempotent30assertTrue(%HaveSameMap(Object.freeze(Object.seal({})), Object.seal({})));31// sealing a unextensible empty object is idempotent...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var obj = {2};3Object.freeze(obj);4console.log(obj);5var obj = {6};7Object.seal(obj);8console.log(obj);9var obj = {10};11Object.preventExtensions(obj);12console.log(obj);13var Animal = {14 console.log(this.type);15 }16};17var animal1 = Object.create(Animal);18var fish = Object.create(Animal);19fish.type = "Fishes";20var obj = {a: 1};21var copy = Object.assign({}, obj);22var obj = { foo: 'bar', baz: 42 };23var obj = { foo: 'bar', baz: 42 };24var obj = { foo: 'bar', baz: 42 };25var proto = {};26var obj = Object.create(proto);27var proto = {};

Full Screen

Using AI Code Generation

copy

Full Screen

1var obj = Object.freeze({ a: 1, b: 2, c: 3 });2console.log(obj);3var obj = Object.seal({ a: 1, b: 2, c: 3 });4console.log(obj);5var obj = Object.preventExtensions({ a: 1, b: 2, c: 3 });6console.log(obj);7var obj = Object.freeze({ a: 1, b: 2, c: 3 });8console.log(obj);9var obj = Object.seal({ a: 1, b: 2, c: 3 });10console.log(obj);11var obj = Object.preventExtensions({ a: 1, b: 2, c: 3 });12console.log(obj);13var obj = Object.freeze({ a: 1, b: 2, c: 3 });14console.log(obj);15var obj = Object.seal({ a: 1, b: 2, c: 3 });16console.log(obj);17var obj = Object.preventExtensions({ a: 1, b: 2, c: 3 });18console.log(obj);19var obj = Object.freeze({ a: 1, b: 2, c: 3 });20console.log(obj);21var obj = Object.seal({ a: 1, b: 2, c: 3 });22console.log(obj);23var obj = Object.preventExtensions({ a: 1, b: 2, c: 3 });24console.log(obj);25var obj = Object.freeze({ a: 1, b: 2, c: 3 });26console.log(obj);

Full Screen

Using AI Code Generation

copy

Full Screen

1const obj = Object.freeze({ a: 1, b: 2, c: 3, d: 4, e: 5 });2console.log(obj);3const obj = Object.seal({ a: 1, b: 2, c: 3, d: 4, e: 5 });4console.log(obj);5const obj = Object.preventExtensions({ a: 1, b: 2, c: 3, d: 4, e: 5 });6console.log(obj);7const obj = Object.defineProperty({ a: 1, b: 2, c: 3, d: 4, e: 5 }, "a", {8});9console.log(obj);10const obj = Object.defineProperties({ a: 1, b: 2, c: 3, d: 4, e: 5 }, {11 a: { writable: false },12 b: { writable: false },13});14console.log(obj);15const obj = Object.create(16 {17 a: { value: 1, writable: false },18 b: { value: 2, writable: false },19 c: { value: 3, writable: false },20 d: { value: 4, writable: false },21 e: { value: 5, writable: false },22 }23);24console.log(obj);25const obj = Object.assign(26 {},27 { a: 1, b: 2, c: 3, d: 4, e: 5 },28 { a: 1, b: 2, c: 3, d: 4, e: 5 },29 { a: 1, b: 2, c: 3, d: 4, e: 5 },30 { a: 1, b: 2, c: 3, d: 4, e: 5 },31 { a: 1, b: 2, c: 3, d: 4, e: 5 }32);

Full Screen

Using AI Code Generation

copy

Full Screen

1const obj = {a:1, b:2, c:3};2Object.freeze(obj);3obj.a = 4;4const obj = {a:1, b:2, c:3};5Object.seal(obj);6obj.a = 4;7const obj = {a:1, b:2, c:3};8Object.preventExtensions(obj);9obj.a = 4;10const obj = {a:1, b:2, c:3};11Object.defineProperty(obj, "a", {writable:false});12obj.a = 4;13const obj = {a:1, b:2, c:3};14Object.defineProperties(obj, {a:{writable:false}, b:{writable:false}});15obj.a = 4;16obj.b = 5;17const obj = {a:1, b:2, c:3};18const obj2 = Object.create(obj);19const obj = {a:1, b:2, c:3};20const obj2 = Object.assign({}, obj);21const obj = {a:1, b:2, c:3};22const obj2 = Object.keys(obj);23const obj = {a:1, b:2, c:3};24const obj2 = Object.values(obj);

Full Screen

Using AI Code Generation

copy

Full Screen

1const obj = Object.freeze({2});3obj.a = 2;4const obj = Object.freeze({5});6obj.a = 2;7const obj = Object.freeze({8});9obj.a = 2;10const obj = Object.freeze({11});12obj.a = 2;13const obj = Object.freeze({14});15obj.a = 2;16const obj = Object.freeze({17});18obj.a = 2;19const obj = Object.freeze({20});21obj.a = 2;22const obj = Object.freeze({23});24obj.a = 2;25const obj = Object.freeze({26});27obj.a = 2;28const obj = Object.freeze({29});30obj.a = 2;

Full Screen

Using AI Code Generation

copy

Full Screen

1const obj = Object.freeze({2});3const obj1 = Object.seal({4});5const obj2 = Object.preventExtensions({6});7const obj3 = {};8Object.defineProperty(obj3, "a", {9});10const obj4 = {};11Object.defineProperties(obj4, {12 a: {13 },14 b: {15 }16});17const obj5 = Object.create({18});19const obj6 = Object.assign({}, {20});21const obj7 = {};22Object.setPrototypeOf(obj7, {23});

Full Screen

Using AI Code Generation

copy

Full Screen

1const obj = Object.freeze({2});3const obj = Object.freeze({4});5const obj = Object.freeze({6});7const obj = Object.freeze({8});9const obj = Object.freeze({10});11const obj = Object.freeze({12});13const obj = Object.freeze({14});15const obj = Object.freeze({16});17const obj = Object.freeze({18});19const obj = Object.freeze({20});21const obj = Object.freeze({

Full Screen

Using AI Code Generation

copy

Full Screen

1const obj = Object.freeze({2 address: {3 },4});5obj.address.city = "Pune";6console.log(obj.address.city);7const obj = Object.seal({8 address: {9 },10});11obj.address.city = "Pune";12console.log(obj.address.city);13const obj = Object.preventExtensions({14 address: {15 },16});17obj.address.city = "Pune";18console.log(obj.address.city);19const obj = Object.isFrozen({20 address: {21 },22});23obj.address.city = "Pune";24console.log(obj.address.city);25const obj = Object.isSealed({26 address: {27 },28});29obj.address.city = "Pune";30console.log(obj.address.city);31const obj = Object.isExtensible({32 address: {33 },34});35obj.address.city = "Pune";36console.log(obj.address.city);37const obj = Object.getOwnPropertyDescriptor({38 address: {39 },40});41obj.address.city = "Pune";

Full Screen

Using AI Code Generation

copy

Full Screen

1const obj = {2 address: {3 }4};5const newObj = Object.freeze(obj);6const obj = {7 address: {8 }9};10const newObj = Object.freeze(obj);11newObj.address.city = "New Jersey";

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run chai automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful