Skip to content

Commit

Permalink
intents: add identityType to openSession data
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav committed May 24, 2024
1 parent a3478f5 commit ebab5fa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
16 changes: 9 additions & 7 deletions intents/intent.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions intents/intent.gen.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// sequence-waas-intents v0.1.0 1c0179f8738fa82054daf1d9cefdcece592e3f63
// sequence-waas-intents v0.1.0 9b96c8a6f18e5a6c61a33bb579db3f3f7a476271
// --
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
//
Expand All @@ -12,7 +12,7 @@ export const WebRPCVersion = "v1"
export const WebRPCSchemaVersion = "v0.1.0"

// Schema hash generated from your RIDL schema
export const WebRPCSchemaHash = "1c0179f8738fa82054daf1d9cefdcece592e3f63"
export const WebRPCSchemaHash = "9b96c8a6f18e5a6c61a33bb579db3f3f7a476271"

//
// Types
Expand Down Expand Up @@ -102,6 +102,7 @@ export interface IntentDataInitiateAuth {

export interface IntentDataOpenSession {
sessionId: string
identityType: IdentityType
verifier?: string
answer?: string
forceCreateAccount?: boolean
Expand Down
2 changes: 2 additions & 0 deletions intents/intent.ridl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ struct IntentDataInitiateAuth
struct IntentDataOpenSession
- sessionId: string
+ go.field.name = SessionID
- identityType: IdentityType
- verifier?: string
+ go.field.type = string
+ go.tag.json = verifier,omitempty
Expand All @@ -57,6 +58,7 @@ struct IntentDataOpenSession
# Deprecated
- email?: string
+ go.tag.json = email,omitempty
# Deprecated
- idToken?: string
+ go.tag.json = idToken,omitempty

Expand Down

0 comments on commit ebab5fa

Please sign in to comment.