- 
                Notifications
    You must be signed in to change notification settings 
- Fork 45
added types of c2pa-asset-ref #89
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
base: main
Are you sure you want to change the base?
Conversation
| ✅ Changeset has been found!This will create and publish a new version to NPM after a successful merge. | 
| export { | ||
| Assertion, | ||
| C2paActionsAssertion, | ||
| C2paAssetRef, | 
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.
the website still shows on Verify without this import so not sure if it's necessary , but all other assertions are included @dkozma
| url?: string; | ||
| } | ||
| >; | ||
| interface Reference { | 
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.
Nit: space before this line please
| reference: Reference; | ||
| } | ||
|  | ||
| export declare type C2paAssetRef = Assertion< | 
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.
| export declare type C2paAssetRef = Assertion< | |
| export type C2paAssetRef = Assertion< | 
I don't think we need declare here.
| } | ||
|  | ||
| interface Resource { | ||
| reference: Reference; | 
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.
Oh looking at the proposal it looks like Resource can take an optional description as a string. Can you add?
f0bbd4e    to
    d61dff1      
    Compare
  
    
Changes in this pull request
Added types to the toolkit to accomodate for the c2pa-asset-ref assertion
Types of changes
Checklist
TO DOitems (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment