id
stringlengths 12
53
| messages
listlengths 3
3
|
|---|---|
code_experimental__visibility-layout_4672791a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of experimental__visibility-layout/manifest.json from the experimental__visibility-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"visibility-layout\",\n \"version\": \"0.2.1\",\n \"title\": \"Experimental Visibility Layout\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {},\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_io-documentation_e41a5cde
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of io-documentation/manifest.json from the io-documentation VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"io-documentation\",\n \"version\": \"0.88.24\",\n \"title\": \"VTEX IO Documentation\",\n \"description\": \"VTEX IO Documentation\",\n \"builders\": {\n \"docs\": \"0.x\"\n },\n \"categories\": [],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"settingsSchema\": {},\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_pickup-availability_5a92c928
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pickup-availability/manifest.json from the pickup-availability VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"pickup-availability\",\n \"version\": \"0.3.1\",\n \"title\": \"Pickup Availability\",\n \"description\": \"Find pickup points for selected SKU\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.store-icons\": \"0.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.shipping-estimate-translator\": \"2.x\",\n \"vtex.react-portal\": \"0.x\",\n \"vtex.device-detector\": \"0.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_order-details_e032c09d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-details/package.json from the order-details VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"version\": \"1.0.0\",\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"husky\": \"^2.4.1\"\n },\n \"scripts\": {\n \"lint\": \"cd ./react && yarn lint\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint:locales && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint:locales && yarn locales:fix\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_order-details_c4b022dd
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-details/manifest.json from the order-details VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"order-details\",\n \"version\": \"1.11.0\",\n \"title\": \"Order Details Components\",\n \"description\": \"Components to display information on an order\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.shipping-estimate-translator\": \"2.x\",\n \"vtex.address-form\": \"4.x\",\n \"vtex.profile-form\": \"3.x\",\n \"vtex.my-account-commons\": \"1.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_demostore-theme_97c20bc2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of demostore-theme/manifest.json from the demostore-theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"demostore\",\n \"name\": \"appliance-theme\",\n \"version\": \"1.3.0\",\n \"builders\": {\n \"styles\": \"2.x\",\n \"store\": \"0.x\",\n \"sitemap\": \"0.x\",\n \"docs\": \"0.x\",\n \"assets\": \"0.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.order-placed\": \"1.x\",\n \"vtex.product-review-interfaces\": \"1.x\",\n \"vtex.store-header\": \"2.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.store-footer\": \"2.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.slider\": \"0.x\",\n \"vtex.carousel\": \"2.x\",\n \"vtex.shelf\": \"1.x\",\n \"vtex.menu\": \"2.x\",\n \"vtex.minicart\": \"2.x\",\n \"vtex.product-details\": \"1.x\",\n \"vtex.product-kit\": \"1.x\",\n \"vtex.search-result\": \"3.x\",\n \"vtex.login\": \"2.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.rich-text\": \"0.x\",\n \"vtex.iframe\": \"0.x\",\n \"vtex.sandbox\": \"0.x\",\n \"vtex.store-drawer\": \"0.x\",\n \"vtex.locale-switcher\": \"0.x\",\n \"vtex.product-quantity\": \"1.x\",\n \"vtex.product-identifier\": \"0.x\",\n \"vtex.breadcrumb\": \"1.x\",\n \"vtex.sticky-layout\": \"0.x\",\n \"vtex.product-customizer\": \"2.x\",\n \"vtex.stack-layout\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.responsive-layout\": \"0.x\",\n \"vtex.search\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_olark_7168c097
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of olark/package.json from the olark VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"olark\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n }\n}\n\n```"
}
] |
code_olark_8d55a3fe
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of olark/manifest.json from the olark VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"olark\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.3\",\n \"title\": \"Olark\",\n \"description\": \"\",\n \"billingOptions\": {\n \"termsURL\": \"https://compliance.vtex.com/gdpr/policies/vtex-privacy-policy\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true,\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Olark\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"title\": \"Olark ID\",\n \"description\": \"Enter your ID (XXXX-XXX-XX-XXXX)\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_pixel-events_3a3c47f4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pixel-events/package.json from the pixel-events VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"husky\": \"^2.4.1\"\n },\n \"scripts\": {\n \"lint\": \"cd ./react && yarn lint\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint && yarn lint:locales && yarn locales:fix\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_pixel-events_b921598d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pixel-events/manifest.json from the pixel-events VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"CHANGE_ME\",\n \"name\": \"CHANGE_ME\",\n \"version\": \"0.0.0\",\n \"title\": \"CHANGE_ME\",\n \"description\": \"CHANGE_ME\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {},\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_add-to-cart-button_4514dc7f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of add-to-cart-button/package.json from the add-to-cart-button VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"add-to-cart-button\",\n \"private\": false,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --quiet --fix --ext ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"test\": \"cd ./react && yarn test --verbose\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test --silent\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged && yarn locales:fix\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^13.13.2\",\n \"@vtex/intl-equalizer\": \"^2.4.2\",\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.1.7\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.8.3\"\n },\n \"version\": \"0.1.0\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_add-to-cart-button_9e3dac7b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of add-to-cart-button/manifest.json from the add-to-cart-button VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"add-to-cart-button\",\n \"version\": \"0.31.0\",\n \"title\": \"Add to Cart Button\",\n \"description\": \"A button component to add items into the shopping cart.\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.order-manager\": \"0.x\",\n \"vtex.order-items\": \"0.x\",\n \"vtex.checkout-resources\": \"0.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.store-resources\": \"0.x\",\n \"vtex.native-types\": \"0.x\",\n \"vtex.shipping-option-components\": \"1.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_smarthint_ef6c6333
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of smarthint/manifest.json from the smarthint VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"smarthint\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.6\",\n \"description\": \"Smarthint App\",\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"credentialType\": \"absolute\",\n \"settingsSchema\": {\n \"title\": \"Smarthint Options\",\n \"type\": \"object\",\n \"properties\": {\n \"smarthintkey\": {\n \"title\": \"Smarthint Key\",\n \"description\": \"Enter your Smarthint Key Ex.: SH-XXXXXX\",\n \"type\": \"string\"\n }\n }\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_voxus_a50a2f40
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of voxus/manifest.json from the voxus VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"voxus\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.3\",\n \"title\": \"voxus\",\n \"description\": \"voxus\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Voxus\",\n \"type\": \"object\",\n \"properties\": {\n \"voxusId\": {\n \"title\": \"Voxus key\",\n \"description\": \"Enter your voxus id\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_order-coupon_babdce18
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-coupon/package.json from the order-coupon VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"order-coupon\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"eslint\": \"^6.7.2\",\n \"eslint-config-vtex\": \"^11.2.1\",\n \"eslint-config-vtex-react\": \"^5.1.0\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.3\"\n }\n}\n\n```"
}
] |
code_order-coupon_61d09df6
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-coupon/manifest.json from the order-coupon VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"order-coupon\",\n \"version\": \"0.7.2\",\n \"title\": \"Order Coupon\",\n \"description\": \"Order coupon\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.order-manager\": \"0.x\",\n \"vtex.checkout-resources\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_doc-prop_68975992
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of doc-prop/package.json from the doc-prop VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"doc-prop\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"cd ./react && yarn lint\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint && yarn lint:locales\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/graphql\": \"^14.5.0\",\n \"@types/jest\": \"^25.1.1\",\n \"@types/node\": \"^13.7.0\",\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"@vtex/tsconfig\": \"^0.4.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.0.4\",\n \"eslint-config-vtex-react\": \"^6.0.4\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n },\n \"version\": \"1.3.5\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n },\n \"dependencies\": {\n \"global\": \"^4.4.0\",\n \"vtex\": \"^2.92.3\"\n }\n}\n\n```"
}
] |
code_doc-prop_68b19cec
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of doc-prop/manifest.json from the doc-prop VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"doc-prop\",\n \"version\": \"1.0.1\",\n \"title\": \"Doc Prop\",\n \"description\": \"React props automatic documentator\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"pages\": \"1.x\",\n \"styles\": \"2.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.pages-graphql\": \"2.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Doc Prop\",\n \"type\": \"object\",\n \"properties\": {\n \"customHeader\": {\n \"title\": \"Custom Header\",\n \"type\": \"object\",\n \"properties\": {\n \"key\": {\n \"type\": \"string\"\n },\n \"value\": {\n \"type\": \"string\"\n }\n }\n }\n }\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"categories\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_flow-finance-components_fbd9005c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of flow-finance-components/package.json from the flow-finance-components VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"flow-finance\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"0.1.3\",\n \"eslint\": \"6.8.0\",\n \"eslint-config-vtex\": \"12.0.3\",\n \"eslint-config-vtex-react\": \"6.0.3\",\n \"husky\": \"4.2.0\",\n \"lint-staged\": \"10.0.2\",\n \"prettier\": \"1.19.1\",\n \"typescript\": \"3.7.5\"\n }\n}\n```"
}
] |
code_flow-finance-components_d1ead8c2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of flow-finance-components/manifest.json from the flow-finance-components VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"flow-finance-components\",\n \"version\": \"1.0.5\",\n \"title\": \"Flow Finance Components\",\n \"description\": \"Front end components for Flow Finance payment system\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"settingsSchema\": {\n \"title\": \"Flow Finance\",\n \"type\": \"object\",\n \"properties\": {\n \"storeName\": {\n \"title\": \"Store name\",\n \"description\": \"Shown on Account Sign Up form\",\n \"type\": \"string\"\n },\n \"storePaymentName\": {\n \"title\": \"Store-branded payment name\",\n \"description\": \"Shown on Account Sign Up form\",\n \"type\": \"string\"\n },\n \"tosPdfPath\": {\n \"title\": \"URL for Terms & Conditions PDF\",\n \"description\": \"Displayed to user in account sign-up form\",\n \"type\": \"string\"\n }\n }\n },\n \"dependencies\": {\n \"vtex.flow-finance-api\": \"1.x\",\n \"vtex.store\": \"2.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.address-form\": \"4.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.apps-graphql\": \"2.x\",\n \"vtex.product-context\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_events-example-subscriber_51371635
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of events-example-subscriber/README.md from the events-example-subscriber VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# events-example-publisher\n\nThis app is an example to how to listen a event\n\n```"
}
] |
code_events-example-subscriber_554824aa
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of events-example-subscriber/manifest.json from the events-example-subscriber VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"events-example-subscriber\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Events Example\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_channels-setup_e79f5cc5
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of channels-setup/package.json from the channels-setup VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"channels-setup\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_relevanc_00fb14a0
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of relevanc/policies.json from the relevanc VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n[\n {\n \"name\": \"resolve-graphql\",\n \"description\": \"Allows access to resolve a graphql request\",\n \"statements\": [\n {\n \"actions\": [\"post\", \"get\"],\n \"effect\": \"allow\",\n \"resources\": [\n \"vrn:vtex.is-api-middleware-resolver:{{region}}:{{account}}:{{workspace}}:/_v/graphql\"\n ]\n }\n ]\n }\n]\n\n```"
}
] |
code_relevanc_f7b9fa59
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of relevanc/package.json from the relevanc VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"is-api-middleware-resolver\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_relevanc_b47c86d8
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of relevanc/manifest.json from the relevanc VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"relevanc\",\n \"version\": \"1.0.5\",\n \"title\": \"RelevanC\",\n \"description\": \"RelevanC Intelligent Search API middleware resolver.\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"node\": \"6.x\"\n },\n \"dependencies\": {\n \"vtex.is-api-middleware-graphql\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"*\",\n \"path\": \"*.peps.relevanc.io/sponsored-offers\"\n }\n }\n ],\n \"settingsSchema\": {\n \"title\": \"RelevanC search resolver middleware\",\n \"type\": \"object\",\n \"properties\": {\n \"adServerName\": {\n \"title\": \"RelevanC AdServer name\",\n \"type\": \"string\",\n \"description\": \"Name of the RelevanC AdServer (without the \\\"ads.peps.relevanc.io\\\")\"\n },\n \"boostType\": {\n \"title\": \"Product property\",\n \"type\": \"string\",\n \"default\": \"productId\",\n \"enum\": [\n \"productId\",\n \"skuId\"\n ],\n \"enumNames\": [\n \"Product ID\",\n \"SKU ID\"\n ]\n },\n \"maxOffersToDisplay\": {\n \"title\": \"Max number of offers\",\n \"type\": \"number\",\n \"description\": \"Max number of sponsored offers to display on the search results.\"\n },\n \"addAllProducts\": {\n \"title\": \"Add all products\",\n \"type\": \"boolean\",\n \"description\": \"By default, only products that are part of the search results are promoted.\\n Check to add all products returned by the AdServer.\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_marketingdata-session_e1903c29
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of marketingdata-session/README.md from the marketingdata-session VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# MarketingData Session App\n\nAn app to build `marketingdata` namespace in VTEX Session and update `public.utm_source` value based on Google's `gclid` querystring presence.\n\n## [WIP]\n\n\n```"
}
] |
code_marketingdata-session_7d4a8419
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of marketingdata-session/package.json from the marketingdata-session VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"session-marketingdata\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {}\n}\n```"
}
] |
code_marketingdata-session_ead6f4b5
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of marketingdata-session/manifest.json from the marketingdata-session VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"marketingdata-session\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.0\",\n \"title\": \"Session App for MarketingData\",\n \"description\": \"Handles marketingData namespace\",\n \"categories\": [],\n \"settingsSchema\": {},\n \"registries\": [\n \"smartcheckout\"\n ],\n \"builders\": {\n \"node\": \"4.x\",\n \"vtex.session\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\",\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_address-context_1ccbe959
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of address-context/package.json from the address-context VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"address-context\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"eslint\": \"^7.20.0\",\n \"eslint-config-vtex\": \"^12.9.4\",\n \"eslint-config-vtex-react\": \"^6.9.4\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.5.4\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.9.5\"\n }\n}\n\n```"
}
] |
code_address-context_b48c47f7
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of address-context/manifest.json from the address-context VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"address-context\",\n \"version\": \"0.6.2\",\n \"title\": \"Address Context\",\n \"description\": \"Address Context\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.checkout-graphql\": \"0.x\",\n \"vtex.country-data-settings\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_docs-ui_d2dc305f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of docs-ui/package.json from the docs-ui VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"docs-ui\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint && yarn lint:locales\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"eslint-config-vtex-react\": \"^6.1.0\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n },\n \"version\": \"1.3.5\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_docs-ui_8c9ed04b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of docs-ui/manifest.json from the docs-ui VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"docs-ui\",\n \"version\": \"2.1.5\",\n \"title\": \"VTEX IO Docs UI\",\n \"description\": \"VTEX IO Docs UI\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"pages\": \"1.x\",\n \"styles\": \"2.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.store-drawer\": \"0.x\",\n \"vtex.docs-graphql\": \"1.x\",\n \"vtex.device-detector\": \"0.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"categories\": [],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"settingsSchema\": {\n \"title\": \"DOCS-UI\",\n \"type\": \"object\",\n \"properties\": {\n \"customHeader\": {\n \"title\": \"Custom Header\",\n \"type\": \"object\",\n \"properties\": {\n \"key\": {\n \"type\": \"string\"\n },\n \"value\": {\n \"type\": \"string\"\n }\n }\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_minimum-boilerplate-theme_c10733b2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of minimum-boilerplate-theme/manifest.json from the minimum-boilerplate-theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"minimumtheme\",\n \"version\": \"0.1.2\",\n \"builders\": {\n \"styles\": \"2.x\",\n \"store\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.store-header\": \"2.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.store-footer\": \"2.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.slider\": \"0.x\",\n \"vtex.carousel\": \"2.x\",\n \"vtex.shelf\": \"1.x\",\n \"vtex.menu\": \"2.x\",\n \"vtex.minicart\": \"2.x\",\n \"vtex.product-details\": \"1.x\",\n \"vtex.product-kit\": \"1.x\",\n \"vtex.search-result\": \"3.x\",\n \"vtex.login\": \"2.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.rich-text\": \"0.x\",\n \"vtex.store-drawer\": \"0.x\",\n \"vtex.locale-switcher\": \"0.x\",\n \"vtex.product-quantity\": \"1.x\",\n \"vtex.product-identifier\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.product-review-interfaces\": \"1.x\",\n \"vtex.telemarketing\": \"2.x\",\n \"vtex.order-placed\": \"2.x\",\n \"vtex.stack-layout\": \"0.x\",\n \"vtex.tab-layout\": \"0.x\",\n \"vtex.responsive-layout\": \"0.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.iframe\": \"0.x\",\n \"vtex.breadcrumb\": \"1.x\",\n \"vtex.sticky-layout\": \"0.x\",\n \"vtex.add-to-cart-button\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_product-specifications_314c3b9a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-specifications/package.json from the product-specifications VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"name\": \"product-specifications\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"test\": \"cd ./react && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.11\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```"
}
] |
code_product-specifications_41ad309c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-specifications/manifest.json from the product-specifications VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"product-specifications\",\n \"version\": \"1.1.2\",\n \"title\": \"Product Specifications\",\n \"description\": \"\",\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.product-context\": \"0.x\",\n \"vtex.native-types\": \"0.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_b2b-quotes-graphql_95de19ad
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of b2b-quotes-graphql/package.json from the b2b-quotes-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"vtex.b2b-quotes-graphql\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"cy-r\": \"cd ./cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\",\n \"husky\": \"4.2.3\",\n \"lint-staged\": \"10.1.1\",\n \"prettier\": \"2.0.2\",\n \"typescript\": \"3.8.3\"\n },\n \"version\": \"0.0.1\"\n}\n\n```"
}
] |
code_b2b-quotes-graphql_c5742c4a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of b2b-quotes-graphql/manifest.json from the b2b-quotes-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"b2b-quotes-graphql\",\n \"version\": \"4.0.1\",\n \"title\": \"B2B Quotes GraphQL\",\n \"description\": \"Backend for the B2B Quotes & Carts app\",\n \"builders\": {\n \"graphql\": \"1.x\",\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.storefront-permissions\": \"3.x\",\n \"vtex.b2b-organizations-graphql\": \"2.x\",\n \"vtex.orders-broadcast\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"OMSViewer\"\n },\n {\n \"name\": \"ListOrders\"\n },\n {\n \"name\": \"read-workspace-apps\"\n },\n {\n \"name\": \"read-write-apps-settings\"\n },\n {\n \"name\": \"update-app-settings\"\n },\n {\n \"name\": \"SaveOrderFormConfiguration\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"vtex.storefront-permissions:resolve-graphql\"\n },\n {\n \"name\": \"vtex.b2b-organizations-graphql:resolve-graphql\"\n },\n {\n \"name\": \"Get_User_By_Identifier\"\n },\n {\n \"name\": \"template-criar\"\n },\n {\n \"name\": \"template-editar\"\n },\n {\n \"name\": \"send-message\"\n },\n {\n \"name\": \"buyer_organization_view\"\n },\n {\n \"name\": \"buyer_organization_edit\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/checkout/pub/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/api/dataentities/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/checkout/pvt/configuration/orderForm\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/oms/pvt/admin/orders/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/scheduler/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/scheduler/master/vtex.gmc-keep-alive\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/dataentities/cart/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{workspace}}--{{account}}.myvtex.com\",\n \"path\": \"/b2b-quotes-graphql/_v/0/ *\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"rc.vtex.com\",\n \"path\": \"/api/analytics/schemaless-events\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"vtexid.vtex.com.br\",\n \"path\": \"/api/vtexid/pub/authenticated/user\"\n }\n },\n {\n \"name\": \"SaveOrderFormConfiguration\"\n },\n {\n \"name\": \"AcessaTodosCarrinhos\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_product-quantity_e72b6a24
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-quantity/package.json from the product-quantity VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"product-quantity\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.0.3\",\n \"eslint-config-vtex-react\": \"^6.0.3\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.8.2\"\n }\n}\n\n```"
}
] |
code_product-quantity_599e74b5
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-quantity/manifest.json from the product-quantity VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"product-quantity\",\n \"version\": \"1.11.0\",\n \"title\": \"Product Quantity\",\n \"description\": \"Product quantity\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.native-types\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.product-summary-context\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.device-detector\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_vtex-tech-training-latam-2023_3cb4329c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of vtex-tech-training-latam-2023/README.md from the vtex-tech-training-latam-2023 VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# vtex-tech-training-latam-2023\nRepository to store all code samples presented at VTEX Tech Training LATAM 2023\n\n```"
}
] |
code_fanplayr_738fe416
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of fanplayr/manifest.json from the fanplayr VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"YOURAPPNAME\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"CHANGEME\",\n \"description\": \"CHANGEME\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"YOUR APP NAME\",\n \"type\": \"object\",\n \"properties\": {\n \"gtmId\": {\n \"title\": \"SAMPLE FIELD\",\n \"description\": \"Enter the ID (GTM-XXXX) from your Google Tag Manager\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_chaordic_f9412198
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of chaordic/manifest.json from the chaordic VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"chaordic\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.4\",\n \"title\": \"Chaordic\",\n \"description\": \"Chaordic Pixel\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Chaordic\",\n \"type\": \"object\",\n \"properties\": {\n \"apiKey\": {\n \"title\": \"API Key\",\n \"description\": \"Enter your Chaordic API Key\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_dummy-build-testing-grounds_29ce9daa
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of dummy-build-testing-grounds/manifest.json from the dummy-build-testing-grounds VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"base-store-component\",\n \"version\": \"0.2.2\",\n \"title\": \"IO Base Component\",\n \"description\": \"IO Base component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_wordpress-integration-qa-theme_43a3cdce
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of wordpress-integration-qa-theme/manifest.json from the wordpress-integration-qa-theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"wordpress-integration-qa-theme\",\n \"version\": \"0.0.3\",\n \"builders\": {\n \"styles\": \"1.x\",\n \"store\": \"0.x\",\n \"sitemap\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.store-header\": \"2.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.store-footer\": \"2.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.slider\": \"0.x\",\n \"vtex.carousel\": \"2.x\",\n \"vtex.shelf\": \"1.x\",\n \"vtex.menu\": \"2.x\",\n \"vtex.minicart\": \"2.x\",\n \"vtex.product-details\": \"1.x\",\n \"vtex.product-kit\": \"1.x\",\n \"vtex.search-result\": \"3.x\",\n \"vtex.login\": \"2.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.rich-text\": \"0.x\",\n \"vtex.store-drawer\": \"0.x\",\n \"vtex.locale-switcher\": \"0.x\",\n \"vtex.product-quantity\": \"1.x\",\n \"vtex.product-identifier\": \"0.x\",\n \"vtex.breadcrumb\": \"1.x\",\n \"vtex.sticky-layout\": \"0.x\",\n \"vtex.product-customizer\": \"2.x\",\n \"vtex.stack-layout\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.product-review-interfaces\": \"1.x\",\n \"vtex.telemarketing\": \"2.x\",\n \"vtex.order-placed\": \"2.x\",\n \"vtex.checkout-summary\": \"0.x\",\n \"vtex.product-list\": \"0.x\",\n \"vtex.add-to-cart-button\": \"0.x\",\n \"vtex.product-bookmark-interfaces\": \"1.x\",\n \"vtex.responsive-layout\": \"0.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.store-image\": \"0.x\",\n \"vtex.store-icons\": \"0.x\",\n \"vtex.modal-layout\": \"0.x\",\n \"vtex.store-link\": \"0.x\",\n \"vtex.store-video\": \"1.x\",\n \"vtex.product-gifts\": \"0.x\",\n \"vtex.product-price\": \"1.x\",\n \"vtex.disclosure-layout\": \"1.x\",\n \"vtex.store-form\": \"0.x\",\n \"vtex.product-highlights\": \"2.x\",\n \"vtex.product-specifications\": \"1.x\",\n \"vtex.tab-layout\": \"0.x\",\n \"vtex.condition-layout\": \"2.x\",\n \"vtex.css-handles\": \"1.x\"\n },\n \"peerDependencies\": {\n \"vtex.wordpress-integration\": \"2.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_percycle_72eb549c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of percycle/manifest.json from the percycle VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"percycle\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.2\",\n \"title\": \"percycle\",\n \"description\": \"percycle\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Percycle Options\",\n \"type\": \"object\",\n \"properties\": {\n \"storeName\": {\n \"title\": \"Percycle store name\",\n \"description\": \"Enter your Percycle store name\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_store-icons_7de61211
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-icons/package.json from the store-icons VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"devDependencies\": {\n \"cheerio\": \"^1.0.0-rc.3\"\n }\n}\n\n```"
}
] |
code_store-icons_064211fb
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-icons/manifest.json from the store-icons VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"store-icons\",\n \"vendor\": \"vtex\",\n \"version\": \"0.18.1\",\n \"title\": \"VTEX Store icons\",\n \"description\": \"All icons that store apps use.\",\n \"mustUpdateAt\": \"2020-01-30\",\n \"scripts\": {\n \"prereleasy\": \"yarn && node docs/script/scrap-svg.js\",\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.css-handles\": \"0.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"styles\": \"1.x\",\n \"store\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_buybox-graphql_162e8f37
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of buybox-graphql/policies.json from the buybox-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n[\n {\n \"name\": \"resolve-graphql\",\n \"description\": \"Allows access to resolve a graphql request\",\n \"statements\": [\n {\n \"actions\": [\n \"post\",\n \"get\"\n ],\n \"effect\": \"allow\",\n \"resources\": [\n \"vrn:vtex.buybox-graphql:{{region}}:{{account}}:{{workspace}}:/_v/graphql\"\n ]\n }\n ]\n }\n]\n\n```"
}
] |
code_buybox-graphql_058237dc
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of buybox-graphql/dangerfile.js from the buybox-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_buybox-graphql_e7e6cb8d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of buybox-graphql/manifest.json from the buybox-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"buybox-graphql\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.2\",\n \"title\": \"GraphQL API for the VTEX store APIs\",\n \"description\": \"GraphQL schema and resolvers for the VTEX API for the catalog and orders.\",\n \"mustUpdateAt\": \"2022-01-04\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.messages\": \"1.x\",\n \"vtex.catalog-api-proxy\": \"0.x\"\n },\n \"builders\": {\n \"graphql\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"vtex.messages:translate-messages\"\n },\n {\n \"name\": \"vtex.catalog-api-proxy:catalog-proxy\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"colossus-fire-event\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_antifraud-provider-example_20daebe2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of antifraud-provider-example/dangerfile.js from the antifraud-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_antifraud-provider-example_ee175187
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of antifraud-provider-example/README.md from the antifraud-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Antifraud provider example\n\nThe Antifraud provider example is an antifraud connector, implemented following our [Antifraud Provider Protocol](https://help.vtex.com/tutorial/antifraud-provider--4aZtmdpgFikcsQomWyqAOq), in order to be an template in which the partners can use to develop new antifraud connectors using VTEX IO.\n\n### Routes\n\nCurrently the connector have 4 routes:\n\n- POST `https://{{account}}.myvtex.com/fake-antifraud/transactions/` - [Send antifraud data](https://developers.vtex.com/vtex-rest-api/reference/sendantifrauddata)\n- GET `https://{{account}}.myvtex.com/fake-antifraud/transactions/{transactionId}` - [Get antifraud status](https://developers.vtex.com/vtex-rest-api/reference/getantifraudstatus)\n- POST `https://{{account}}.myvtex.com/fake-antifraud/pre-analysis` - [Send antifraud pre-analysis data](https://developers.vtex.com/vtex-rest-api/reference/sendantifraudpreanalysisdata)\n- GET `https://{{account}}.myvtex.com/fake-antifraud/manifest` - [List manifest](https://developers.vtex.com/vtex-rest-api/reference/manifest)\n\nIn order to guarantee that the connector works, we implemented some logic in the routes when they receive the header 'x-provider-api-is-testsuite', in order to pass in the [Antifraud test suite](https://gatewayio.myvtex.com/admin/test-suite/antifraud-provider).\n\n### Custom behaviors\n\nThis connector is supposed to return mocked values to each request, as it is test purpose only. But, those mocked values can change depending on the input it receives.\n\nThe default status returned when calling the `Send antifraud data` is **received**, but, when passing as the first name of the buyer the string *Risky*, it returns **denied**. \nThe same behavior happens when trying to pass the string *NotRisky*, it returns a status **approved**. The same behavior occours with the `Send antifraud pre-analysis data` route.\n\nIn the `Get antifraud status` we have a different flow. There, we return **undefined** as status four times, and then return **approved** (except when we already have a transaction that has been denied before).\nThis route can also return **denied** if the 4 last digits from the first payment of the transaction are *1234*.\n\n### How to test\n\nIn order to test the connector, you will need to run it inside a VTEX IO Workspace. When connected to a workspace, run the `vtex link` command in a terminal, and then your connector is going to be running inside VTEX IO infrastructure.\n\nWhen linked, the app will provide the routes described in the **Routes** session.\n\nTo verify that your connector is working as the protocol expects, the [antifraud-provider-tests Postman collection](https://github.com/vtex-apps/antifraud-provider-tests) can be used. The initial version of the connector is already passing in all tests of the collection. \n\n```"
}
] |
code_antifraud-provider-example_fad166bc
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of antifraud-provider-example/package.json from the antifraud-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"fake-antifraud-provider\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"12.12.21\",\n \"@vtex/prettier-config\": \"0.1.4\",\n \"eslint\": \"7.12.1\",\n \"eslint-config-vtex\": \"12.3.2\",\n \"husky\": \"4.2.3\",\n \"lint-staged\": \"10.1.1\",\n \"prettier\": \"2.0.2\",\n \"typescript\": \"3.9.7\"\n }\n}\n\n```"
}
] |
code_antifraud-provider-example_33208ec8
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of antifraud-provider-example/manifest.json from the antifraud-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"antifraud-provider-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.0\",\n \"title\": \"Antifraud provider example\",\n \"description\": \"Reference app for antifraud connectors\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_events-example-publisher_e5338c2e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of events-example-publisher/README.md from the events-example-publisher VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# events-example-publisher\n\nThis app is an example to how to create and send a event\n\n```"
}
] |
code_events-example-publisher_abab8f43
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of events-example-publisher/manifest.json from the events-example-publisher VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"events-example-publisher\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Events Example\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_responsive-layout_e940f399
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of responsive-layout/package.json from the responsive-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"husky\": \"^2.4.1\"\n },\n \"scripts\": {\n \"lint\": \"cd ./react && yarn lint\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint && yarn lint:locales && yarn locales:fix\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_responsive-layout_07548b9d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of responsive-layout/manifest.json from the responsive-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"responsive-layout\",\n \"version\": \"0.1.4\",\n \"title\": \"Responsive Layout\",\n \"description\": \"VTEX Responsive Layout app to allow different layouts to be rendered in different screens.\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.device-detector\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_recommendation-shelf_1a0b48a1
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of recommendation-shelf/package.json from the recommendation-shelf VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"recommendation-shelf\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"verify\": \"yarn lint && yarn format:check\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.{json}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.5.1\",\n \"@vtex/prettier-config\": \"^1.0.0\",\n \"eslint\": \"^8.57.0\",\n \"eslint-config-vtex\": \"^15.0.1\",\n \"eslint-config-vtex-react\": \"^9.0.1\",\n \"eslint-plugin-lodash\": \"^7.4.0\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.6.2\",\n \"typescript\": \"^4.7.2\"\n },\n \"volta\": {\n \"node\": \"20.16.0\",\n \"yarn\": \"1.19.2\"\n }\n}\n\n```"
}
] |
code_recommendation-shelf_f753b4c0
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of recommendation-shelf/manifest.json from the recommendation-shelf VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"recommendation-shelf\",\n \"vendor\": \"vtex\",\n \"version\": \"2.14.2\",\n \"title\": \"Recommendation Shelf Components\",\n \"description\": \"Recommendation components and functionality for VTEX IO.\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\",\n \"messages\": \"1.x\"\n },\n \"dependencies\": {\n \"vtex.add-to-cart-button\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.product-price\": \"1.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.search-page-context\": \"0.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.order-manager\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_tax-fallback_25d81f87
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tax-fallback/package.json from the tax-fallback VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"tax-fallback\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_tax-fallback_f0d260d2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tax-fallback/manifest.json from the tax-fallback VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"tax-fallback\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.0\",\n \"title\": \"Tax Fallback\",\n \"description\": \"API to get simple taxes when third party tax services aren't available\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"settingsSchema\": {\n \"title\": \"Tax Fallback\",\n \"type\": \"object\",\n \"properties\": {\n \"avalaraLogin\": {\n \"title\": \"Login for Avalara (US) account\",\n \"type\": \"string\"\n },\n \"avalaraPassword\": {\n \"title\": \"Password for Avalara (US) account\",\n \"type\": \"string\"\n }\n }\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"rest.avatax.com\",\n \"path\": \"/api/v2/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"sandbox-rest.avatax.com\",\n \"path\": \"/api/v2/*\"\n }\n },\n {\n \"name\": \"update-app-settings\"\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/dataentities/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_storedash-proxy_94af536a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of storedash-proxy/README.md from the storedash-proxy VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# React+GraphQL\nExample app to show how to create an app using React and GraphQL. \n\nThis App acts as a catalog management system and uses some advanced VTEX IO GraphQL features, like `@autopersisted` and `@cacheControl` directives.\n\n## Autopersisted Types\nOnce a GraphQL type is decorated with the `@autopersisted` directive, VTEX IO Builders automatically generates all CRUD operations for that type. If you want to know more about autopersisted types, read our [wiki](https://github.com/vtex/graphql-server/wiki/Features#autopersisted-types)\n\n## Cached Types\nVTEX IO GraphQL increases the performance of your queries by caching types decorated with `@cacheControl` hints directly in the CDN. To know more about GraphQL cache hints, visit [apollo](https://www.apollographql.com/docs/engine/caching.html)\n\n```"
}
] |
code_storedash-proxy_06544ec4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of storedash-proxy/manifest.json from the storedash-proxy VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"storedash-proxy\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.0\",\n \"title\": \"IO Console API\",\n \"description\": \"VTEX developer console API\",\n \"mustUpdateAt\": \"2019-10-16\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --public\"\n },\n \"builders\": {\n \"node\": \"3.x\",\n \"graphql\": \"1.x\"\n },\n \"credential\": \"relative\",\n \"policies\": [\n {\n \"name\": \"read-workspace-apps\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"read-private-registry-assets\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/api/storedash/{{account}}/metrics/*\"\n }\n }\n ]\n}\n\n```"
}
] |
code_supplier-provider-example_37ce32e6
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of supplier-provider-example/dangerfile.js from the supplier-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_supplier-provider-example_2cb4e094
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of supplier-provider-example/README.md from the supplier-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Supplier Protocol \n\n### Glossary \n\n| Word | Meaning |\n| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Supplier | Anyone who provides a service to the merchant and participate in the split |\n| Split | The operation that splits the amount of the payment among the suppliers |\n| Supplier Provider | An API that provides the supplier that will be called by the `recipients builder` |\n| [Recipients builder](https://github.com/vtex/recipients-builder) | The IO App that will identify the supplier provider linked in the account and will request all the providers, then send the result to the ``gateway`` |\n| Gateway | The application that process the payment |\n| Suppliers Providers Builder | A builder present in the builder-hub, declared in the manifest.json <br> This builder automatically sets the route that will be called by the recipients-builder and the necessaries policies of the supplier provider | \n\n# Supplier Protocol \n\n## How It Works\n\nAn brief overview of the Supplier Protocol is this image \n\n\nIn the moment where the split will occurr the `RecipientsBuilder` app will be called. This app will make a request to all apps that use the `SupplierProviderBuilder`, after that it will respond the merged recipients to the `Payment Gateway`. \nThe route that will be called by the `RecipientsBuilder` app is `/minicart-supplier`\n\n### Pre-requirements\nThere are some mandatory requirements to use the Supplier Protocol\n- The recipient builder app **must** be installed in the account\n - You can check if is installed by `vtex ls` command \n - If it's not you can install using `vtex install recipients-builder`\n- You need to configure the account to use split. So you must use an connector that allows split and a configured afiliation. \n\n\n### The payload format\nCurrently the data that the supplier provider will receive has this payload:\n```ts \n{\n miniCart: MiniCart\n transactionId?: string\n orderId?: string\n currency?: string = 'BRL'\n operationValue?: number\n chargeProcessingFee?: boolean = null\n chargebackLiable?: boolean = null\n proportionalRefund?: boolean = false\n}\n```\nWhere MiniCart is \n```ts\n{\n items?: Items[]\n sellers?: Array<{\n id: string\n name: string\n document: string\n documentType: string\n }>\n freight?: number\n orderUrl?: string\n tax?: number\n shippingdate?: Date\n shippingestimated?: string\n isGiftRegistry?: bool\n giftRegistryDescription?: string\n giftRegistryId?: strinsg\n isPickupStore?: boolean\n isCallCenter?: bool\n}\n```\nWhere Item is \n```ts \n {\n id: string\n name: string\n value: number\n quantity: number\n priceTags?: [\n {\n name: string\n value: number\n isPercentual: bool\n }\n ]\n components?: Item[]\n comissions?: number\n freightCommission?: number\n sellerChain?: string[]\n shippingDiscout?: number\n discount?: number\n refId?: string\n productId?: string\n sellingPrice?: number\n sellerId?: string | null\n dockId?: string\n categoryId?: string\n categoryName?: string\n deliveryChannel?: string\n deliveryType?: string\n deliverySlaInMinutes?: Long\n deliveryWindow?: {\n startDate: Date\n endDate: Date\n }\n tax?: number\n freight?: number\n}\n```\n\n\n### The response format \nThe expected response type is a list of suppliers\n ```Typescript\n [{\n id: string\n name: string\n documentType: string\n document: string\n role: string\n amount: number\n }]\n ```\n\n\n# Implementing a supplier provider\n\n1. Clone this repo\n2. Verify the configs and requirements\n3. Start hacking!\n\nIn this example, you can just write you implementation in this controller:\n\n```ts\nexport async function provideSuppliersUsingMiniCart({\n req,\n response,\n}: Context) {\n const payload = await json(req)\n const suppliers = getSuppliersByMiniCart(payload)\n\n response.status = 200\n response.body = suppliers\n}\n```\n\n\n\n#### Verify Builder\n\nThe `Supplier Provider Builder` will automatically set the route `/minicart-suppliers` , this route is the one that will be called by the `Recipients Builder` . By default this build is already declared in this example. \n``` json\n{\n\t...\n\n\t\"builders\": \n\t{\n\t\t\"supplierProvider\": \"0.x\",\n\t\t\"node\": \"6.x\"\n\t}\n\t...\n}\n```\nIf the `supplierProvider` build it's not declared the app will not be used\n\n## Testing\n\nYou can test your Supplier Provider by link it (`vtex link`) and mock the Gateway request, by making a resquest to this route:\n```\nPOST https://app.io.vtex.com/vtex.recipients-builder/v1/{account}/{workspace}/minicart-suppliers\n```\nThe payload that you need to send implements the same interface that you will be recieving. \n\nHere's an example of payload\n\n``` json\n\n{\n \"transactionId\": \"8C8D8541553211EEE2D08E3B3B3F9\",\n \"orderId\": \"1234567\",\n \"currency\": \"BRL\",\n \"operationValue\": 38639,\n \"chargeProcessingFee\": \"false\",\n \"chargebackLiable\": \"false\",\n \"proportionalRefund\": \"false\",\n \"miniCart\": {\n \"items\": [\n {\n \"id\": \"76671\",\n \"name\": \"Mocked Item\",\n \"value\": 0,\n \"quantity\": 1,\n \"priceTags\": [],\n \"components\": null,\n \"commission\": 0,\n \"freightCommission\": 0,\n \"sellerChain\": null,\n \"shippingDiscount\": 0,\n \"discount\": 0,\n \"refId\": null,\n \"productId\": null,\n \"sellingPrice\": 0,\n \"sellerId\": null,\n \"dockId\": null,\n \"categoryId\": null,\n \"categoryName\": null,\n \"catergoryName\": null,\n \"deliveryChannel\": null,\n \"deliveryType\": null,\n \"deliverySlaInMinutes\": null,\n \"deliveryWindow\": null,\n \"tax\": 0,\n \"freight\": 0\n }\n ],\n \"freight\": 1739,\n \"orderUrl\": \"http://www.someaccount.com/admin/checkout/#/orders?q=10000\",\n \"tax\": 0,\n \"shippingdate\": null,\n \"shippingestimated\": \"2bd\",\n \"isGiftRegistry\": null,\n \"giftRegistryDescription\": null,\n \"giftRegistryId\": null,\n \"isPickupStore\": null,\n \"isCallCenter\": null\n }\n}\n```\nIf everything works well the response it will be a list like this:\n```json\n[\n {\n \"id\": \"mock\",\n \"name\": \"mocked\",\n \"amount\": 38639,\n \"document\": \"1111\",\n \"documentType\": \"CNPJ\",\n \"role\": \"influencer\",\n \"commissionAmount\": 100,\n \"chargebackLiable\": false,\n \"chargeProcesssingFee\": false\n },\n {\n \"id\": \"coinshop\",\n \"name\": \"coinshop\",\n \"documentType\": \"CNPJ\",\n \"document\": \"05314972000174\",\n \"role\": \"seller\",\n \"amount\": 0,\n \"commissionAmount\": 0,\n \"chargeProcessingFee\": \"false\",\n \"chargebackLiable\": \"false\"\n }\n]\n```\n#### Attention: The sum of recipients amount must be less or equal to the transaction value\n\nAfter this you can try to finish a transaction using a account that allows supplier protocol. If everything is ok, the recipients of the transaction it will be the provided by the supplier provider apps installed in the account\n\n```"
}
] |
code_supplier-provider-example_91a021c8
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of supplier-provider-example/package.json from the supplier-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-example\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/danger\": \"^0.2.7\",\n \"@vtex/prettier-config\": \"^1.0.0\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_supplier-provider-example_3d622eb9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of supplier-provider-example/manifest.json from the supplier-provider-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"supplier-provider-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.0\",\n \"title\": \"Supplier Provider\",\n \"description\": \"Reference app for Supplier Provider Protocol usage\",\n \"mustUpdateAt\": \"2022-08-01\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.recipients-builder\": \"1.x\"\n },\n \"builders\": {\n \"supplierProvider\": \"0.x\",\n \"node\": \"6.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_shipping-option-components_06df2783
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of shipping-option-components/package.json from the shipping-option-components VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"name\": \"shipping-option-components\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"test\": \"cd ./react && yarn test\"\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ],\n \"messages/*.json\": [\n \"yarn lint:locales\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"eslint\": \"^7.14.0\",\n \"eslint-config-vtex\": \"^12.8.11\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.5.1\",\n \"prettier\": \"^2.2.0\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```"
}
] |
code_shipping-option-components_b726c9f3
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of shipping-option-components/manifest.json from the shipping-option-components VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"shipping-option-components\",\n \"version\": \"2.0.0\",\n \"title\": \"Shipping Option Zipcode component\",\n \"description\": \"Shipping Option Zipcode component\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.render-runtime\": \"8.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.device-detector\": \"0.x\",\n \"vtex.address-form\": \"4.x\",\n \"vtex.product-summary-context\": \"0.x\",\n \"vtex.order-items\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_policies-example_04e722ff
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of policies-example/dangerfile.js from the policies-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_policies-example_8ce8fd11
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of policies-example/package.json from the policies-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-example\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/danger\": \"^0.2.7\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n },\n \"dependencies\": {\n \"dom-parser\": \"^0.1.6\"\n }\n}\n\n```"
}
] |
code_policies-example_e507f8ee
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of policies-example/manifest.json from the policies-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"policies-example\",\n \"vendor\": \"vtex\",\n \"version\": \"1.3.1\",\n \"title\": \"Service Example\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"httpstat.us\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"ergast.com\",\n \"path\": \"/api/f1/2020/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_broadcaster-worker_6a88edab
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of broadcaster-worker/policies.json from the broadcaster-worker VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n[\n {\n \"name\": \"index-routes\",\n \"description\": \"Allows access to send change notifications for all items in the store's catalog\",\n \"statements\": [\n {\n \"effect\": \"allow\",\n \"actions\": [\"post\"],\n \"resources\": [\n \"vrn:vtex.broadcaster-worker:{{region}}:{{account}}:{{workspace}}:/index-routes\"\n ]\n }\n ]\n }\n]\n\n```"
}
] |
code_broadcaster-worker_e9ff4a41
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of broadcaster-worker/manifest.json from the broadcaster-worker VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\",\n \"name\": \"broadcaster-worker\",\n \"vendor\": \"vtex\",\n \"version\": \"0.5.2\",\n \"title\": \"Broadcaster Worker\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"dependencies\": {\n \"vtex.catalog-api-proxy\": \"0.x\",\n \"vtex.catalog-graphql\": \"1.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/segments/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/tenant/tenants\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/catalog_system/*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"vtex.catalog-graphql:resolve-graphql\"\n }\n ],\n \"settingsSchema\": {\n \"title\": \"VTEX Broadcaster-worker\",\n \"type\": \"object\",\n \"properties\": {\n \"disableIndexation\": {\n \"title\": \"Disable update events\",\n \"description\": \"This will make the app not raise update events.\",\n \"type\": \"boolean\",\n \"default\": false\n }\n }\n }\n}\n\n```"
}
] |
code_datadog-log-forwarder_7d949408
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of datadog-log-forwarder/manifest.json from the datadog-log-forwarder VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"datadog-log-forwarder\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Datadog Log Forwarder\",\n \"description\": \"Consumes logs from VTEX IO and forwards to Datadog\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"settingsSchema\": {\n \"title\": \"VTEX Datadog Log Forwarder\",\n \"type\": \"object\",\n \"properties\": {\n \"region\": {\n \"title\": \"Datadog Region\",\n \"type\": \"string\",\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"com\"\n ],\n \"title\": \"Datadog US\"\n },\n {\n \"type\": \"string\",\n \"enum\": [\n \"eu\"\n ],\n \"title\": \"Datadog EU\"\n }\n ]\n },\n \"apiKey\": {\n \"title\": \"Datadog API Key\",\n \"description\": \"Setup a API key and paste here\",\n \"type\": \"string\"\n }\n }\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"http-intake.logs.datadoghq.com\",\n \"path\": \"/v1/input/\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"http-intake.logs.datadoghq.eu\",\n \"path\": \"/v1/input/\"\n }\n },\n {\n \"name\": \"read-vendor-logs\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_trustpilot_66acd39f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of trustpilot/package.json from the trustpilot VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"trustpilot\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"eslint-config-vtex-react\": \"^6.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_trustpilot_b92d9bde
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of trustpilot/manifest.json from the trustpilot VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"trustpilot\",\n \"vendor\": \"vtex\",\n \"version\": \"2.2.2\",\n \"title\": \"Trustpilot\",\n \"description\": \"Trustpilot integration\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\",\n \"messages\": \"1.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\",\n \"vtex.render-runtime\": \"8.x\",\n \"vtex.shop-review-interfaces\": \"0.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Trustpilot opions\",\n \"type\": \"object\",\n \"properties\": {\n \"trustpilotIntegrationKey\": {\n \"title\": \"Integration Key\",\n \"description\": \"Enter the integration key from your Trustpilot business account\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_vtex-b2b-core_3b9eedd0
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of vtex-b2b-core/dangerfile.js from the vtex-b2b-core VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_vtex-b2b-core_b9aedbe3
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of vtex-b2b-core/package.json from the vtex-b2b-core VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"b2b-core\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"@vtex/danger\": \"^0.2.7\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n },\n \"dependencies\": {}\n}\n\n```"
}
] |
code_vtex-b2b-core_83ca5dd2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of vtex-b2b-core/manifest.json from the vtex-b2b-core VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"b2b-core\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.0\",\n \"title\": \"B2B Core Admin\",\n \"description\": \"App to configure B2B entity in MasterData\",\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"masterdata\": \"1.x\",\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"httpstat.us\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"ADMIN_DS\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_search-segment-graphql_f3ecab41
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of search-segment-graphql/policies.json from the search-segment-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n[\n {\n \"name\": \"resolve-graphql\",\n \"description\": \"Allows access to resolve a graphql request\",\n \"statements\": [\n {\n \"actions\": [\"post\", \"get\"],\n \"effect\": \"allow\",\n \"resources\": [\n \"vrn:vtex.search-segment-graphql:{{region}}:{{account}}:{{workspace}}:/_v/graphql\"\n ]\n }\n ]\n }\n]\n\n```"
}
] |
code_search-segment-graphql_f2dcb44b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of search-segment-graphql/manifest.json from the search-segment-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"search-segment-graphql\",\n \"version\": \"0.1.1\",\n \"title\": \"Search segment graphql\",\n \"description\": \"GraphQL shchema for the search segment\",\n \"credentialType\": \"absolute\",\n \"builders\": {\n \"graphql\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.catalog-api-proxy\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"vtex.catalog-api-proxy:catalog-proxy\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"colossus-fire-event\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_KI-520322_105bb0e6
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of KI-520322/KI-520322.js from the KI-520322 VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nfunction getIdOfElement(elementId) {\n const splited = elementId.split(\" \");\n let splitedWithputStart = \"\";\n splited.forEach((sp, index) => {\n if (index !== 0) {\n if (index === splited.length - 1) {\n splitedWithputStart += sp;\n } else {\n splitedWithputStart += sp + \" \";\n }\n }\n });\n\n const id = splited[0] + \"-\" + splitedWithputStart;\n return id;\n}\n\nfunction getSlaList(orderForm) {\n var shippingData = orderForm.shippingData;\n const slaList = [];\n shippingData.logisticsInfo.forEach((logisticsInfo) => {\n const selectedSla = logisticsInfo.selectedSla;\n logisticsInfo.slas.forEach((sla) => {\n if (selectedSla === sla.id) {\n if (\n !slaList\n .map((s) => {\n return s.sla;\n })\n .includes(selectedSla)\n ) {\n slaList.push({ sla: sla.id, price: sla.price });\n } else {\n slaList.find((item) => item.sla === selectedSla).price += sla.price;\n }\n }\n });\n });\n return slaList;\n}\n\nfunction changePriceOfElement(slaList){\n slaList.forEach((s) => {\n const elementId = `scheduled-delivery-${s.sla}`;\n const id = getIdOfElement(elementId);\n const delivery = document.querySelector('[id=\"' + id + '\"]');\n if (delivery) {\n delivery.childNodes.forEach((child) => {\n const textContent = child.textContent.split(' ');\n const price = textContent[1].split(' ')\n child.textContent = textContent[0] + '\\xA0\\xA0\\xA0\\xA0' + price[0] + ' ' + parseFloat(s.price/100).toFixed(2);\n })\n }\n });\n}\n\nvtexjs.checkout.getOrderForm().then((orderForm) => {\n const slaList = getSlaList(orderForm);\n console.log(slaList);\n changePriceOfElement(slaList)\n});\n\n\n\n\n```"
}
] |
code_KI-520322_ae55b41a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of KI-520322/README.md from the KI-520322 VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# [KI-520322] Price divergence between the values of the scheduled delivery with what is shown in the cart and in the summaries\n\nThis script solves the KI https://vtexhelp.zendesk.com/agent/tickets/520322\n\nYou need to add the script to the checkout at the `checkout6-custom.js`.\n\n### *TO DO: Execute the script every time the items displaying the delivery price are updated.*\n\n## Contributors ✨\n\nThanks goes to these wonderful people:\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tr>\n <td align=\"center\"><a href=\"https://github.com/germanBonacchi\"><img src=\"https://avatars.githubusercontent.com/u/55905671?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Germán Bonacchi</b></sub></a><br /><a href=\"https://github.com/vtex-apps/vtex-logger-react/commits?author=germanBonacchi\" title=\"Code\">💻</a></td>\n</tr>\n</table>\n\n```"
}
] |
code_flixmedia_5a2bb5b0
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of flixmedia/README.md from the flixmedia VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# VTEX FlixMedia\n\n> 🚧 WARNING\n> \n> This app is now supported by ACCT. For more information and support, email `support@acct.global`.\n\n## Description\nVTEX FlixMedia\nhttps://flixmedia.eu/\n\n## Usage\n\nThis app uses our store builder with the blocks architecture. To know more about Store Builder [click here.](https://help.vtex.com/en/tutorial/understanding-storebuilder-and-stylesbuilder#structuring-and-configuring-our-store-with-object-object).\n\nTo configure or customize this app, you need to import it in your dependencies in `manifest.json`.\n\n```json\n dependencies: {\n \"vtex.flixmedia\": \"0.x\"\n }\n```\n\nJust add `product-details.flixmedia` as a child in your `store.product` like so:\n\n```json\n\"store.product\": {\n \"children\": [\n \"product-description\",\n \"product-description.flixmedia\",\n ]\n}\n```\n\n```"
}
] |
code_flixmedia_c790d069
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of flixmedia/manifest.json from the flixmedia VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"flixmedia\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.9\",\n \"title\": \"Flixmedia\",\n \"description\": \"Flix Media\",\n \"builders\": {\n \"react\": \"3.x\",\n \"graphql\": \"1.x\",\n \"node\": \"4.x\",\n \"store\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.flixmedia.com\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"myvtex.com\",\n \"path\": \"/_v/graphql/private/v1\"\n }\n }\n ],\n \"mustUpdateAt\": \"2020-01-22\",\n \"categories\": [],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"settingsSchema\": {\n \"title\": \"flixmedia\",\n \"type\": \"object\",\n \"properties\": {\n \"flixDistributor\": {\n \"title\": \"Flix Distributor\",\n \"description\": \"Enter Distributor\",\n \"type\": \"string\"\n },\n \"flixLanguage\": {\n \"title\": \"Flix Language\",\n \"description\": \"Enter Language\",\n \"type\": \"string\"\n },\n \"flixBrand\": {\n \"title\": \"Flix Brand\",\n \"description\": \"Enter Brand\",\n \"type\": \"string\"\n },\n \"flixButton\": {\n \"title\": \"Flix Button\",\n \"description\": \"Enter Button\",\n \"type\": \"string\"\n },\n \"flixInpage\": {\n \"title\": \"Flix Inpage\",\n \"description\": \"Enter Inpage\",\n \"type\": \"string\"\n },\n \"flixButtonImage\": {\n \"title\": \"Flix Button Image\",\n \"description\": \"Enter Button-image\",\n \"type\": \"string\"\n },\n \"flixPrice\": {\n \"title\": \"Flix Price\",\n \"description\": \"Enter Price\",\n \"type\": \"string\"\n },\n \"flixFallback\": {\n \"title\": \"Flix Fallback\",\n \"description\": \"Enter Fallback\",\n \"type\": \"string\"\n }\n }\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.product-review-interfaces\": \"1.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.store-header\": \"2.x\",\n \"vtex.store\": \"2.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.store-components\": \"3.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_admin-organizations_6b03e9cd
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-organizations/manifest.json from the admin-organizations VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"admin-organizations\",\n \"vendor\": \"vtex\",\n \"version\": \"1.1.0\",\n \"title\": \"Admin app for managing organizations\",\n \"description\": \"\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.organizations-graphql\": \"1.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_regionalization-theme_1c2e4879
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of regionalization-theme/manifest.json from the regionalization-theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"regionalization-theme\",\n \"version\": \"0.0.2\",\n \"builders\": {\n \"styles\": \"2.x\",\n \"store\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.store-header\": \"2.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.store-footer\": \"2.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.shelf\": \"1.x\",\n \"vtex.menu\": \"2.x\",\n \"vtex.minicart\": \"2.x\",\n \"vtex.product-details\": \"1.x\",\n \"vtex.search\": \"2.x\",\n \"vtex.search-result\": \"3.x\",\n \"vtex.login\": \"2.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.rich-text\": \"0.x\",\n \"vtex.store-drawer\": \"0.x\",\n \"vtex.locale-switcher\": \"0.x\",\n \"vtex.product-quantity\": \"1.x\",\n \"vtex.product-identifier\": \"0.x\",\n \"vtex.breadcrumb\": \"1.x\",\n \"vtex.sticky-layout\": \"0.x\",\n \"vtex.product-customizer\": \"2.x\",\n \"vtex.stack-layout\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.telemarketing\": \"2.x\",\n \"vtex.order-placed\": \"2.x\",\n \"vtex.checkout-summary\": \"0.x\",\n \"vtex.product-list\": \"0.x\",\n \"vtex.add-to-cart-button\": \"0.x\",\n \"vtex.responsive-layout\": \"0.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.store-image\": \"0.x\",\n \"vtex.store-icons\": \"0.x\",\n \"vtex.modal-layout\": \"0.x\",\n \"vtex.store-link\": \"0.x\",\n \"vtex.store-video\": \"1.x\",\n \"vtex.product-gifts\": \"0.x\",\n \"vtex.product-price\": \"1.x\",\n \"vtex.disclosure-layout\": \"1.x\",\n \"vtex.store-form\": \"0.x\",\n \"vtex.product-highlights\": \"2.x\",\n \"vtex.product-specifications\": \"1.x\",\n \"vtex.tab-layout\": \"0.x\",\n \"vtex.condition-layout\": \"2.x\",\n \"vtex.shipping-option-components\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_releases-graphql_2776b1b9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of releases-graphql/manifest.json from the releases-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"releases-graphql\",\n \"vendor\": \"vtex\",\n \"version\": \"0.4.1\",\n \"title\": \"Releases Graphql\",\n \"description\": \"VTEX Releases GraphQL server\",\n \"mustUpdateAt\": \"2019-08-09\",\n \"builders\": {\n \"graphql\": \"1.x\",\n \"node\": \"4.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"read-workspace-apps\"\n },\n {\n \"name\": \"read-public-registry-assets\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"koto.vtex.com\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"koto.vtex.com\",\n \"path\": \"/api/Authentication\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"delorean.vtex.com\",\n \"path\": \"/publications/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"rlsnts-env-stable.us-east-1.elasticbeanstalk.com\",\n \"path\": \"/releases/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"vtexid.vtex.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/license_manager/*\"\n }\n }\n ]\n}\n\n```"
}
] |
code_mycheckout-sdk_62f7d294
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of mycheckout-sdk/README.md from the mycheckout-sdk VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Kuikpay\n\n[](https://www.npmjs.com/package/kuikpay-sdk) [](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save kuikpay-sdk\n```\n\n## Usage\n\n### KuikpayButton Props\n\n| Prop name | Type | Description | Default value |\n| -------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- |\n| `addToCart` | `function` |  Function that adds a product to your cart | `undefined` |\n| `itemToAdd` | `ItemToAdd` | Product to be added to your cart | `undefined` |\n| `isVisible` | `boolean` | Option to hide the button according to your needs, for example if a product has no inventory | `true` |\n| `disabled` | `boolean` | Option to enable button | `false` |\n| `validateBeforeOfAdd` | `function` | Function in which you want to execute something before adding. Returns `(true)` if you want to add the product to the cart. | `undefined` |\n| `multipleAvailableSKUs` | `boolean` |  Indicates if the product has several skus available | `false or undefined` |\n| `onClickBehavior` | `string` | Controls what happens when users click on the button. (If multiple SKUs are available, users will see a product window to select the desired one. If the product only has 1 SKU available, it will be added to the cart once the button is clicked.) | `ensure-sku-selection` |\n| `product` | `Product` | Product Information | `undefined` |\n| `selectedItem` | `ProductItem` | Information of the selected product | `undefined` |\n| `handleSelectedItem` | `function` | This function is executed when the product has several SKUS and you select one of them. | `undefined` |\n| `processOpenCoverageModal` | `function` | Function that allows you to open a geolocation window if the store has this type of functionality. | `undefined` |\n| `forceOpenModal` | `boolean` | Force open the kuikpay modal. | `undefined` |\n| `runtime` | `Runtime` |  Account information and workspace in which you are working. If you are `VTEX` you can take it from the `__RUNTIME__` variable. | `undefined` |\n| `sandbox` | `boolean` | Option to change enviroments. Example `(true)` It is to use both the account and the workspace for development, `(false)` only workspace | `false` |\n\n### KuikpayWrapper Props\n\n| Prop name | Type | Description | Default value |\n| -------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `updateSelectedAddress` | `function` |  Function to update selected address for the user | `undefined` |\n| `cartSimulation` | `function` |  Function to make the cart simulations in your store | `undefined` |\n| `sandbox` | `boolean` | Option to change enviroments. Example `(true)` It is to use both the account and the workspace for development, `(false)` only workspace | `false` |\n| `language` | `string` | Language in which the messages will be displayed | `undefined` |\n| `theme` | `enum` |  Allows you to change templates, styles and more. Possible values are: `kuikpay`, `vtex` and `generic` | `undefined` |\n| `runtime` | `Runtime` |  Account information and workspace in which you are working. If you are `VTEX` you can take it from the `__RUNTIME__` variable. | `undefined` |\n| `children` | `JSX.Element` | child components of the wrapper | `undefined` |\n| `orderForm` | `OrderForm` |  Information to make the order | `undefined` |\n| `clearData` | `function` |  Function to reset your store information after making the order | `undefined` |\n| `updateItems` | `function` |  Function that removes products from your cart | `undefined` |\n| `validateItems` | `function` | Function that returns the items that cannot be paid with `kuikpay` and is executed when you add a product to the cart. | `undefined` |\n| `insertCoupon` | `function` | Function that inserts a coupon, for discount issues. | `undefined` |\n| `addItemOffering` | `function` | Function that adds a service of a product. | `undefined` |\n| `removeItemOffering` | `function` | Function that removes a service from a product. | `undefined` |\n| `customData` | `CustomData` | Personalized information. | `undefined` |\n| `config` | `Config` | Store configuration settings. | `undefined` |\n| `handleGetDocumentsClient` | `function` | Function that allows to obtain the last time the user logged in and in that case update it. (**This is for specific clients that require it**). | `undefined` |\n| `updateOrderFormProfile` | `function` |  Function to update the user in your cart | `undefined` |\n| `manageBag` | `function` | Function that manages the bag process, this function receives three parameters: `item`, `addToCart`, `updateItems`. It should allow adding a bag or updating the quantity of the bag and should return the quantity and price of the bag. | `undefined` |\n| `clearOrderFormProfile` | `function` |  Function that remove info user from your cart | `undefined` |\n| `skuSelectorProps` | `SkuSelectorProps` | configurate sku selector | `undefined` |\n\n### Types\n\n### `SkuSelectorProps` Type\n\n| Property | Type | Description |\n| ------------------- | ---------- | ------------------------------- |\n| `visibleVariations` | `string[]` | list of variations name to show |\n| `useImageInColor` | `boolean` | show image in color |\n\n### `ItemToAdd` Type\n\n| Property | Type | Description |\n| ---------- | ---------------- | --------------- |\n| `id` | `number, string` | Sku ID |\n| `quantity` | `number` | Quantity to add |\n| `seller` | `string` | Seller ID |\n\n### `OrderForm` Type\n\n| Property | Type | Description |\n| ------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------ |\n| `clientProfileData` | `ClientProfileData` | Client information |\n| `items` | `Item[]` | Items added to cart |\n| `totalizers` | `Totalizer[]` | Totals |\n| `shippingData` | `{ selectedAddress?: Address, addressAlternative?: Address }` | Information on the shipping method (address or pick up in store or more) |\n| `value` | `number` | Amount to be paid |\n| `paymentData` | `PaymentData` | Payment method information |\n| `messages` | `Message[]` | Information, error, caution and more messages |\n| `marketingData` | `MarketingData` | Marketing information |\n\n### `ClientProfileData` Type\n\n| Property | Type | Description |\n| -------- | -------- | ------------ |\n| `email` | `string` | Client email |\n\n### `Item` Type\n\n| Property | Type | Description |\n| ------------------- | -------------- | ---------------------------------------------------------------- |\n| `uniqueId` | `string` | SKU Unique Id |\n| `id` | `string` | SKU ID |\n| `name` | `string` | Name SKU |\n| `quantity` | `number` | Quantity to add |\n| `sellingPrice` | `number` | Price in the seller |\n| `imageUrl` | `string` | URL image |\n| `availability` | `string` | Enabled Product. Possible values are: `available`, `unavailable` |\n| `index` | `number` | Position located in the cart |\n| `seller` | `string` | Seller ID |\n| `offerings` | `Offering[]` | List of available services associated with the SKU |\n| `bundleItems` | `BundleItem[]` | List of ?? |\n| `isGift` | `boolean` | Valid if the sku is a gift |\n| `price` | `number` | SKU price |\n| `productCategories` | `any[]` | Product categories |\n| `skuSpecifications` | `any[]` | SKU specification list. Example: size, color |\n| `listPrice` | `number` | List price ?? `(Optional)` |\n\n### `Offering` Type\n\n| Property | Type | Description |\n| ------------------ | --------- | ------------ |\n| `allowGiftMessage` | `boolean` | Message Gift |\n| `id` | `string` | Offering ID |\n| `name` | `string` | Name |\n| `price` | `number` | Price |\n| `type` | `string` | Type |\n\n### `BundleItem` Type\n\n| Property | Type | Description |\n| -------- | -------- | -------------- |\n| `id` | `string` | Bundle item ID |\n| `name` | `string` | Name |\n| `price` | `number` | Price |\n\n### `Totalizer` Type\n\n| Property | Type | Description |\n| -------- | -------- | ------------------------------------------------ |\n| `id` | `string` | Totalizer ID. Options `Items`, `Shipping`, `Tax` |\n| `name` | `string` | Totalizer name |\n| `value` | `number` | Value |\n\n### `Address` Type\n\n| Property | Type | Description |\n| ---------------- | ---------------- | ------------------------------------------------------- |\n| `addressId` | `string` | Address identifier |\n| `addressType` | `string` | Type of address |\n| `city` | `string` | city |\n| `complement` | `string` | Additional information about the location. `(Optional)` |\n| `completed` | `Boolean` | Information completed |\n| `country` | `string` | Country |\n| `geoCoordinates` | `GeoCoordinates` | Geo coordinates (latitude, longitude) |\n| `isDisposable` | `boolean` | The location is available `(Optional)` |\n| `neighborhood` | `string` | neighborhood |\n| `number` | `string` | Code `(Optional)` ?? |\n| `postalCode` | `string` | Postal code |\n| `receiverName` | `string` | Name of the person who receives the purchase |\n| `reference` | `string` | Reference ?? `(Optional)` |\n| `state` | `string` | State or department or province |\n| `street` | `string` | Full address |\n\n### `GeoCoordinates` Type\n\n| Property | Type | Description |\n| ----------- | -------- | ----------- |\n| `latitude` | `string` | Latitude |\n| `longitude` | `string` | Longitude |\n\n### `PaymentData` Type\n\n| Property | Type | Description |\n| ------------------------------ | --------------------- | ---------------------------------------------------------------------------------------- |\n| `availablePaymentMethods` | `PaymentMethod[]` | User available payment methods |\n| `selectedPaymentMethod` | `PaymentMethod` | Selected payment methods |\n| `paymentMethod` | `PaymentMethod` | Payment method information ?? |\n| `completed` | `boolean` | Completed process ?? |\n| `otherAvailablePaymentMethods` | `PaymentMethod[]` | Other payment methods available to the user |\n| `bin` | `string` | Get the first 5 digits of the credit card. (This only applies to payment by credit card) |\n| `installmentOptions` | `InstallmentOption[]` | List of fees with respect to credit cards enabled for the store. |\n\n### `PaymentMethod` Type\n\n| Property | Type | Description |\n| --------------- | -------- | ---------------------------------------------------------------------------------------- |\n| `id` | `string` | Credit card |\n| `gateway` | `string` | ?? `(Optional)` |\n| `email` | `string` | Email `(Optional)` |\n| `franchise` | `string` | Franchise credit card. Example: visa |\n| `number` | `string` | Get the last 4 digits of the credit card. (This only applies to payment by credit card) |\n| `ccToken` | `string` | Token ?? |\n| `paymentMethod` | `string` | Payment method |\n| `card` | `string` | `(Optional)` |\n| `bin` | `string` | Get the first 5 digits of the credit card. (This only applies to payment by credit card) |\n\n### `InstallmentOption` Type\n\n| Property | Type | Description |\n| -------------- | --------------- | ---------------------------------------------------------------------------------------- |\n| `bin` | `string` | Get the first 5 digits of the credit card. (This only applies to payment by credit card) |\n| `installments` | `Installment[]` | List of installments, their price in each installment and the total including interest |\n| `paymentName` | `string` | Payment method name |\n| `value` | `number` | Total purchase price paying with that franchise |\n\n### `Installment` Type\n\n| Property | Type | Description |\n| -------- | -------- | --------------------------------------------------- |\n| `count` | `number` | Installment number |\n| `value` | `number` | Order value including interest depending on the fee |\n| `total` | `number` | Total price if you pay with that fee |\n\n### `Message` Type\n\n| Property | Type | Description |\n| -------- | -------- | ----------- |\n| `code` | `string` | Code |\n\n### `MarketingData` Type\n\n| Property | Type | Description |\n| -------- | -------- | ----------- |\n| `coupon` | `string` | Coupon |\n\n### `CustomData` Type\n\n| Property | Type | Description |\n| ------------ | ------------- | ------------------------ |\n| `customApps` | `CustomApp[]` | Personalized information |\n\n### `CustomApp` Type\n\n| Property | Type | Description |\n| -------- | ------------------ | -------------------------- |\n| `id` | `string` | ID |\n| `fields` | `CustomAppField[]` | Inputs to add in the store |\n| `major` | `number` | Version or number ? |\n\n### `CustomAppField` Type\n\n| Property | Type | Description |\n| -------- | -------- | --------------------- |\n| `key` | `string` | Identification or key |\n| `value` | `string` | Description |\n\n### `Config` Type\n\n| Property | Type | Description |\n| ------------------- | ------------------------- | -------------------------------------- |\n| `bagId` | `string` | If the store implements bag add the ID |\n| `mainSellerId` | `string` | Main seller id |\n| `oneBagForProducts` | `number` | Number of bags per product |\n| `salesChannel` | `string` | Channel identifier seller |\n| `productCategories` | `ProductCategoriesConfig` | Categories to apply the bag |\n\n### `ProductCategoriesConfig` Type\n\n| Property | Type | Description |\n| ----------------- | ---------- | ------------------------------------- |\n| `market` | `string[]` | List of market identifiers |\n| `healthAndBeauty` | `string[]` | List of health and beauty identifiers |\n\n### `Product` Type\n\n| Property | Type | Description |\n| ------------------- | --------------------------------------------------------- | ----------------------------------------------------------------------- |\n| `items` | `ProductItem[]` | Information of the items that this product contains. Example: SKUS |\n| `skuSpecifications` | `SkuSpecification[]` | Information about SKUS specifications. Example: color, size |\n| `categories` | `string[]` | Information on categories and subcategories where the product is found. |\n| `priceRange` | `{ listPrice: { highPrice?: number, lowPrice: number } }` | It shows different price channels. |\n\n### `ProductItem` Type\n\n| Property | Type | Description |\n| -------------- | ------------------------------------------------------------------------ | ------------------------- |\n| `itemId` | `string` | Item identification |\n| `name` | `string` | Name |\n| `images` | `Image[]` | List of image information |\n| `variations` | `Array<{ name: string, values: string[] }>` | Variety of types |\n| `sellers` | `Array<{ sellerDefault: boolean, commertialOffer: ProductItemSellers }>` | Distributions |\n| `nameComplete` | `string` | Name |\n\n### `Image` Type\n\n| Property | Type | Description |\n| ------------ | -------- | ----------- |\n| `imageId` | `string` | |\n| `imageLabel` | `string` | |\n| `imageTag` | `string` | |\n| `imageUrl` | `string` | |\n| `imageText` | `string` | |\n\n### `ProductItemSellers` Type\n\n| Property | Type | Description |\n| ------------------- | -------- | ------------------ |\n| `Price` | `number` | Price item |\n| `ListPrice` | `number` | List price item |\n| `AvailableQuantity` | `number` | Quantity available |\n\n### `SkuSpecification` Type\n\n| Property | Type | Description |\n| -------- | -------------------------- | ----------------------------- |\n| `field` | `SkuSpecificationField` | Information specification SKU |\n| `values` | `SkuSpecificationValues[]` | Information specification SKU |\n\n### `SkuSpecificationField` Type\n\n| Property | Type | Description |\n| -------------- | -------- | ----------- |\n| `name` | `string` | |\n| `originalName` | `string` | |\n\n### `SkuSpecificationValues` Type\n\n| Property | Type | Description |\n| -------------- | -------- | ----------- |\n| `name` | `string` | |\n| `originalName` | `string` | |\n\n### `Runtime` Type\n\n| Property | Type | Description |\n| ----------- | -------- | ---------------------------------------------- |\n| `account` | `string` | Vtex account |\n| `workspace` | `string` | Vtex workspace |\n| `platform` | `string` | Vtex platform. . Options `vtex-io`, `vtex-cms` |\n\n```tsx\nimport React, { Component } from 'react'\n\nimport { Kuikpay, KuikpayWrapper } from 'kuikpay-sdk'\nimport 'kuikpay-sdk/dist/index.css'\n\nclass Example extends Component {\n render() {\n return (\n <Kuikpay {...props} />\n <KuikpayWrapper {...props} />\n )\n }\n}\n```\n\n## License\n\nMIT © [](https://github.com/)\n\n```"
}
] |
code_mycheckout-sdk_026eda07
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of mycheckout-sdk/tsconfig.test.json from the mycheckout-sdk VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"extends\": \"./tsconfig.json\",\n \"compilerOptions\": {\n \"module\": \"commonjs\"\n }\n}\n\n```"
}
] |
code_mycheckout-sdk_4f60c20b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of mycheckout-sdk/package.json from the mycheckout-sdk VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"kuikpay-sdk\",\n \"version\": \"1.0.29\",\n \"description\": \"Made with create-react-library\",\n \"author\": \"\",\n \"license\": \"MIT\",\n \"repository\": \"/\",\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.modern.js\",\n \"source\": \"src/index.tsx\",\n \"engines\": {\n \"node\": \">=10\"\n },\n \"scripts\": {\n \"build\": \"microbundle-crl --no-compress --css-modules _kuikpay-[name]__[local] --format modern,cjs\",\n \"start\": \"microbundle-crl watch --no-compress --css-modules _kuikpay-[name]__[local] --format modern,cjs\",\n \"prepare\": \"run-s build\",\n \"test\": \"run-s test:unit test:lint test:build\",\n \"test:build\": \"run-s build\",\n \"test:lint\": \"eslint .\",\n \"test:unit\": \"cross-env CI=1 react-scripts test --env=jsdom\",\n \"test:watch\": \"react-scripts test --env=jsdom\",\n \"predeploy\": \"cd example && npm install && npm run build\",\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"deploy\": \"gh-pages -d example/build\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"build:dev\": \"npm publish --tag dev\",\n \"build:beta\": \"npm publish --tag beta\"\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ],\n \"messages/*.json\": [\n \"yarn lint:locales\"\n ]\n },\n \"peerDependencies\": {\n \"react\": \"^16.0.0\"\n },\n \"devDependencies\": {\n \"@testing-library/jest-dom\": \"^4.2.4\",\n \"@testing-library/react\": \"^9.5.0\",\n \"@testing-library/user-event\": \"^7.2.1\",\n \"@types/enzyme\": \"^3.10.10\",\n \"@types/enzyme-adapter-react-16\": \"^1.0.6\",\n \"@types/jest\": \"^25.2.3\",\n \"@types/lodash\": \"^4.14.182\",\n \"@types/node\": \"^12.12.38\",\n \"@types/payment\": \"^2.1.3\",\n \"@types/react\": \"^16.9.27\",\n \"@types/react-dom\": \"^16.9.7\",\n \"@types/react-intl\": \"^3.0.0\",\n \"@types/react-lottie\": \"^1.2.6\",\n \"@types/react-select\": \"^4.0.17\",\n \"@typescript-eslint/eslint-plugin\": \"^4.22.0\",\n \"@typescript-eslint/parser\": \"^4.22.0\",\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"babel-eslint\": \"^10.0.3\",\n \"cross-env\": \"^7.0.2\",\n \"enzyme\": \"^3.11.0\",\n \"enzyme-adapter-react-16\": \"^1.15.6\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-prettier\": \"^6.7.0\",\n \"eslint-config-standard\": \"^14.1.0\",\n \"eslint-config-standard-react\": \"^9.2.0\",\n \"eslint-config-vtex\": \"^12.8.11\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"eslint-plugin-import\": \"^2.18.2\",\n \"eslint-plugin-node\": \"^11.0.0\",\n \"eslint-plugin-prettier\": \"^3.1.1\",\n \"eslint-plugin-promise\": \"^4.2.1\",\n \"eslint-plugin-react\": \"^7.17.0\",\n \"eslint-plugin-standard\": \"^4.0.1\",\n \"gh-pages\": \"^2.2.0\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.5.1\",\n \"microbundle-crl\": \"^0.13.10\",\n \"npm-run-all\": \"^4.1.5\",\n \"prettier\": \"^2.0.4\",\n \"react\": \"^16.13.1\",\n \"react-dom\": \"^16.13.1\",\n \"react-scripts\": \"^3.4.1\",\n \"typescript\": \"^3.7.5\"\n },\n \"files\": [\n \"dist\"\n ],\n \"dependencies\": {\n \"@apollo/client\": \"^3.3.21\",\n \"@formatjs/intl-datetimeformat\": \"^4.2.3\",\n \"@reduxjs/toolkit\": \"^1.7.1\",\n \"@types/ramda\": \"^0.27.60\",\n \"classnames\": \"^2.3.1\",\n \"graphql\": \"^15.5.1\",\n \"payment\": \"^2.4.6\",\n \"ramda\": \"^0.27.1\",\n \"react-collapsible\": \"^2.8.3\",\n \"react-content-loader\": \"^6.2.0\",\n \"react-intl\": \"^5.20.10\",\n \"react-lottie\": \"^1.2.3\",\n \"react-redux\": \"^7.2.6\",\n \"react-select\": \"^4.3.1\"\n }\n}\n\n```"
}
] |
code_affirm-payment_2b1554ef
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of affirm-payment/package.json from the affirm-payment VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"affirm-payment\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"cy-r\": \"cd ./cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^13.7.0\",\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"6.8.0\",\n \"eslint-config-vtex\": \"12.2.1\",\n \"eslint-config-vtex-react\": \"^6.0.5\",\n \"husky\": \"4.2.0\",\n \"lint-staged\": \"10.0.2\",\n \"prettier\": \"1.19.1\",\n \"typescript\": \"3.7.5\"\n }\n}\n\n```"
}
] |
code_affirm-payment_f9c84a63
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of affirm-payment/manifest.json from the affirm-payment VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"affirm-payment\",\n \"vendor\": \"vtex\",\n \"version\": \"2.3.0\",\n \"title\": \"Affirm Payment\",\n \"description\": \"An implentation of Affirm payment method\",\n \"categories\": [],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"builders\": {\n \"react\": \"2.x\",\n \"node\": \"6.x\",\n \"pages\": \"0.x\",\n \"docs\": \"0.x\",\n \"graphql\": \"1.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.affirm-api\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Affirm Integration\",\n \"type\": \"object\",\n \"properties\": {\n \"enableKatapult\": {\n \"title\": \"Enable Katapult\",\n \"description\": \"Set to true if you wish to enable Katapult leasing option\",\n \"type\": \"boolean\",\n \"default\": false\n },\n \"companyName\": {\n \"title\": \"Company Name (optional)\",\n \"description\": \"If you have multiple sites operating under a single Affirm account, you can override the external company/brand name that the customer sees. This affects all references to your company name in the Affirm UI. Leave blank to use your default company name stored in your Affirm account.\",\n \"type\": \"string\",\n \"default\": \"\"\n },\n \"publicApiKey\": {\n \"title\": \"Public API Key for promotional components\",\n \"description\": \"The public API key for your Affirm account\",\n \"type\": \"string\",\n \"default\": \"\"\n },\n \"isLive\": {\n \"title\": \"Production Mode for promotional components\",\n \"description\": \"Set to true for production mode, false for sandbox mode. Does NOT affect Affirm checkout - use payment gateway setting to change checkout mode.\",\n \"type\": \"boolean\",\n \"default\": false\n },\n \"delayInterval\": {\n \"title\": \"Interval to use for the following three settings\",\n \"type\": \"string\",\n \"enum\": [\n \"Minutes\",\n \"Hours\",\n \"Days\"\n ],\n \"default\": \"Days\"\n },\n \"delayToAutoSettle\": {\n \"title\": \"Delay to automatic payment capture\",\n \"description\": \"Number of minutes/hours/days before authorized Affirm payments are automatically settled\",\n \"type\": \"number\",\n \"default\": 30\n },\n \"delayToAutoSettleAfterAntifraud\": {\n \"title\": \"Delay to automatic payment capture after antifraud analysis\",\n \"description\": \"Number of minutes/hours/days before authorized Affirm payments are automatically settled after merchant's antifraud approval\",\n \"type\": \"number\",\n \"default\": 30\n },\n \"delayToCancel\": {\n \"title\": \"Delay to cancel\",\n \"description\": \"Number of minutes/hours/days before Affirm payments are automatically canceled\",\n \"type\": \"number\",\n \"default\": 1\n },\n \"katapultPublicToken\": {\n \"title\": \"Katapult public token (optional)\",\n \"description\": \"The public API token for your Katapult account\",\n \"type\": \"string\",\n \"default\": \"\"\n },\n \"katapultPrivateToken\": {\n \"title\": \"Katapult private token (optional)\",\n \"description\": \"The private API token for your Katapult account\",\n \"type\": \"string\",\n \"default\": \"\"\n },\n \"enablePartialCancellation\": {\n \"title\": \"Partial cancellation\",\n \"description\": \"Enable partial cancellation\",\n \"type\": \"boolean\",\n \"default\": false\n }\n }\n },\n \"policies\": [\n {\n \"name\": \"Get_Account_By_Identifier\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexpayments.com.br\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"*\",\n \"path\": \"/affirm/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_admin-catalog-translations_f763c1d3
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-catalog-translations/package.json from the admin-catalog-translations VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"admin-catalog-translation\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.4.0\",\n \"eslint-config-vtex-react\": \"^6.4.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.8.3\"\n }\n}\n\n```"
}
] |
code_admin-catalog-translations_df5a13b6
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-catalog-translations/manifest.json from the admin-catalog-translations VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"admin-catalog-translation\",\n \"vendor\": \"vtex\",\n \"version\": \"2.4.0\",\n \"title\": \"Catalog Translation\",\n \"description\": \"\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.tenant-graphql\": \"0.x\",\n \"vtex.catalog-graphql\": \"1.x\",\n \"vtex.messages\": \"1.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\"\n },\n \"policies\": [\n {\n \"name\": \"vtex.catalog-graphql:resolve-graphql\"\n },\n {\n \"name\": \"vtex.messages:graphql-save-translation-messages\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/catalog_system/*\"\n }\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\",\n \"billingOptions\": {\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ]\n }\n}\n\n```"
}
] |
code_marketplace-financial-commission-cron_914a829e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of marketplace-financial-commission-cron/dangerfile.js from the marketplace-financial-commission-cron VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_marketplace-financial-commission-cron_20557eac
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of marketplace-financial-commission-cron/package.json from the marketplace-financial-commission-cron VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"marketplace-financial-commission-cron\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"@vtex/danger\": \"^0.2.7\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.