-
Notifications
You must be signed in to change notification settings - Fork 52
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
Moment #143
Moment #143
Conversation
abstract postTextMoment (content: string, visibleList?: string[]) : Promise<string> | ||
abstract postLinkMoment (urlLinkPayload: UrlLinkPayload, content?: string) : Promise<string> | ||
abstract postImageMoment (images: FileBox[], content?: string) : Promise<string> |
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.
Is that possible to merge these functions into one?
abstract momentPayload (id: string) : Promise<MomentPayload> | ||
|
||
abstract momentList (option?: MomentListOption) : Promise<string[]> | ||
abstract revokeMoment (id: string) : Promise<boolean> |
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.
Is delete
or remove
better than revoke
?
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.
Please see https://cloud.google.com/apis/design/standard_methods and let's follow the google APIs recommendation for standard methods
Related issue: #142