-
Notifications
You must be signed in to change notification settings - Fork 10
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
chore: add generative_uri #210
Conversation
@@ -26,7 +26,7 @@ | |||
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w", | |||
"prepack": "pnpm run build", | |||
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags", | |||
"test": "vitest run" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will leave vitest in watch mode - not preffered as it cannot run in CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vitest able to detect which one development mode or CI
hyperdata/src/normalize.ts
Outdated
const previewParam = | ||
meta.previewParam || | ||
(meta.external_url?.includes('koda') && 'koda') || | ||
'fxhash' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview param of this
ipfs://bafybeihxrnjmqs7po3jw3p37csyscvgxuwg2khow5zm46liutxq466q45m/?hash=0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116
is hash
const previewParam = | |
meta.previewParam || | |
(meta.external_url?.includes('koda') && 'koda') || | |
'fxhash' | |
const previewParam = | |
meta.previewParam || 'hash' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this represent collection
or NFT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
chore(tests): update koda file name in generative tests to match new structure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
Context
Add
generative_uri
compability to hyperdataRef
generative_uri
to the hyperdata #209PR Type