Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validator schema for breadcrumbs and slider #30

Closed
pkarw opened this issue Oct 3, 2017 · 0 comments
Closed

Add validator schema for breadcrumbs and slider #30

pkarw opened this issue Oct 3, 2017 · 0 comments
Labels
good first issue Tasks that requires just basic understanding of Vue Storefront

Comments

@pkarw
Copy link
Collaborator

pkarw commented Oct 3, 2017

Under src/resource there are some json files to be used across app. Only order has it own validation schema under src/models

It's more for documentation purposes for now and to keep models logic coherent

We're using Ajv validator (take a look at store/modules/checkout.js):

const Ajv = require('ajv') // json validator
    const ajv = new Ajv()
    const validate = ajv.compile(require('../../models/order_schema.json'))

More on that: https://github.com/epoberezkin/ajv

@pkarw pkarw added the good first issue Tasks that requires just basic understanding of Vue Storefront label Oct 3, 2017
@karolbzik karolbzik added this to the To Be Planned milestone Oct 30, 2017
@pkarw pkarw closed this as completed Feb 20, 2018
sethidden pushed a commit that referenced this issue Apr 5, 2024
…from-ts

fix: possible to use typescript constructor assignement
sethidden pushed a commit that referenced this issue Apr 18, 2024
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
sethidden added a commit that referenced this issue Apr 18, 2024
* chore: initial structure

* docs: update README

* docs: update README

* docs: update README

* fix: namespace

* docs: update README

* docs: update README

* fix: un char

* Update README.md

* chore: depts update

* chore: versions bump

* chore: add repository page

* chore: add vsf core middlware handling

* docs: readme update

* chore: ignores update

* revert: lib

* chore: editable value handling

* chore: building image object

* chore: version bump

* chore: build clean script

* chore: content items check is array

* chore: version bump

* fix(#7): conditional chaning removed for sb bridge, version bump

* chore: npmignore update

* docs: update README

* chore: version bump

* docs: update README

* chore: added #TechForUkraine

* Update README.md

* Update README.md

* chore(in-3875): storyblok package upgrade (#26)

* chore: swap storyblok packages

* chore: upgrade storyblok package

* chore: update dev dependencies

* chore: update husky

* chore: deactivate sonar cloud check

* chore: install engineering toolkit dependencies

* fix: linting errors

* chore: storyblok bridge file improvements

* chore: changeset

* chore: enable releases from master

* chore: node-version file (#27)

* ci: release (rc) (#28)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: exit pre mode (#29)

* ci: release (#30)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* alokai rebranding (#31)

Co-authored-by: krystian wlodarski <kwlodarski@vuestorefront.io>

* Add storyblok to root

* conventional pr name is not necessary if we have changesets

* remove labeler on legacy

* run old ci on legacy branch

* Run on all Node versions - don't die if Node 14 fails

* eslint --fix

* manual eslint fixes

* remove labeler

* simplify storyblok devdeps

---------

Co-authored-by: lukasborawski <lukas.borawski@gmail.com>
Co-authored-by: Filip Rakowski <f.rakowskI@hotmail.com>
Co-authored-by: Heitor Ramon Ribeiro <heitor.ramon@gmail.com>
Co-authored-by: Łukasz Śliwa <39009379+lsliwaradioluz@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Krystian Wlodarski <kryswlo95@gmail.com>
Co-authored-by: krystian wlodarski <kwlodarski@vuestorefront.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Tasks that requires just basic understanding of Vue Storefront
Projects
None yet
Development

No branches or pull requests

2 participants