Skip to content

Commit

Permalink
intents: add forceCreateAccount param to IntentDataOpenSession
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav committed Apr 24, 2024
1 parent 8827430 commit aca75d6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
21 changes: 15 additions & 6 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 3ca8c76636d14ebddd78e3456732bc2e8fb32540
// sequence-waas-intents v0.1.0 97c26d28120d42589f65e661f1f2bc376f3872ed
// --
// 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 = "3ca8c76636d14ebddd78e3456732bc2e8fb32540"
export const WebRPCSchemaHash = "97c26d28120d42589f65e661f1f2bc376f3872ed"

//
// Types
Expand Down Expand Up @@ -92,6 +92,7 @@ export interface IntentDataOpenSession {
sessionId: string
email?: string
idToken?: string
forceCreateAccount?: boolean
}

export interface IntentDataCloseSession {
Expand Down
3 changes: 3 additions & 0 deletions intents/intent.ridl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ struct IntentDataOpenSession
+ go.tag.json = email,omitempty
- idToken?: string
+ go.tag.json = idToken,omitempty
- forceCreateAccount?: bool
+ go.field.type = bool
+ go.tag.json = forceCreateAccount,omitempty

struct IntentDataCloseSession
- sessionId: string
Expand Down

0 comments on commit aca75d6

Please sign in to comment.