Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev/apollo-federation/supergraph.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ enum AccountLevel
@join__type(graph: PUBLIC)
{
ONE @join__enumValue(graph: PUBLIC)
THREE @join__enumValue(graph: PUBLIC)
TWO @join__enumValue(graph: PUBLIC)
ZERO @join__enumValue(graph: PUBLIC)
}
Expand Down
1 change: 0 additions & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#@data/values
---
version: "3"
services:
apollo-router:
ports:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#@data/values
---
version: "3"
services:
bats-deps:
image: busybox
Expand Down
2 changes: 1 addition & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const MAX_LENGTH_FOR_FEEDBACK = 1024

export const MIN_SATS_FOR_PRICE_RATIO_PRECISION = 5000n

export const Levels: Levels = [0, 1, 2]
export const Levels: Levels = [0, 1, 2, 3]

export const getGaloyBuildInformation = () => {
return {
Expand Down
1 change: 1 addition & 0 deletions src/domain/accounts/primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export const AccountLevel = {
Zero: 0,
One: 1,
Two: 2,
Three: 3,
} as const

export const AccountStatus = {
Expand Down
1 change: 1 addition & 0 deletions src/graphql/admin/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ type AccountDetailPayload {

enum AccountLevel {
ONE
THREE
TWO
ZERO
}
Expand Down
1 change: 1 addition & 0 deletions src/graphql/public/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ input AccountEnableNotificationChannelInput {

enum AccountLevel {
ONE
THREE
TWO
ZERO
}
Expand Down
1 change: 1 addition & 0 deletions src/graphql/shared/types/scalar/account-level.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const AccountLevel = GT.Enum({
ZERO: { value: 0 }, // Limited account capabilities
ONE: { value: 1 }, // We have the user's phone number
TWO: { value: 2 }, // We have the user's identity
THREE: { value: 3 }, // Advanced verification level
},
})

Expand Down