-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor sdk to match JS public interface (#1)
* Skip auto release for now * Refactor to match js interface * Modify README to reflect new usage
- Loading branch information
1 parent
be8482a
commit 3ff39e7
Showing
8 changed files
with
230 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class QuilttConnectorConfiguration { | ||
String connectorId; | ||
String oauthRedirectUrl; | ||
String? connectionId; | ||
|
||
QuilttConnectorConfiguration({ | ||
required this.connectorId, | ||
required this.oauthRedirectUrl, | ||
this.connectionId, | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
class EventMetadata { | ||
String connectorId; | ||
String? connectionId; | ||
String? moveId; | ||
|
||
EventMetadata({ | ||
required this.connectorId, | ||
this.connectionId, | ||
this.moveId, | ||
}); | ||
} | ||
|
||
class Event { | ||
String type; | ||
EventMetadata eventMetadata; | ||
|
||
Event({ | ||
required this.type, | ||
required this.eventMetadata, | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.