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

fix: minor st-schema invite updates #228

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

rossiam
Copy link
Contributor

@rossiam rossiam commented Oct 26, 2023

  • added acceptances field
  • removed getAcceptanceStatus and accept and related code

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • I have read the CONTRIBUTING document
  • My code follows the code style of this project (npm run lint produces no warnings/errors)

@changeset-bot
Copy link

changeset-bot bot commented Oct 26, 2023

🦋 Changeset detected

Latest commit: cb029e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smartthings/core-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -25,14 +25,11 @@ export type SchemaAppInvitation = SchemaAppId & {
description?: string
expiration?: number
acceptUrl?: string
acceptances: number
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to double-check that this is meant to be a mandatory property, like id, rather than optional like all the others.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not officially in the docs but since it's always there I think we can assume required.

@rossiam rossiam force-pushed the schema-invites-cleanup branch from f1dfb2e to cb029e5 Compare October 26, 2023 17:47
@rossiam rossiam merged commit 045bf54 into SmartThingsCommunity:main Oct 26, 2023
@rossiam rossiam deleted the schema-invites-cleanup branch October 26, 2023 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants