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
6 changes: 6 additions & 0 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,12 @@ components:
type: integer
minimum: 0
description: Visits in last 30 days
creator_address:
type: string
maxLength: 42
description: The creator's wallet address
pattern: '^0x[a-fA-F0-9]{40}$'
nullable: true

Realm:
type: object
Expand Down
8 changes: 8 additions & 0 deletions src/entities/World/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,14 @@ export const worldSchema = schema({
description:
"The number of users that had visited the world in the last 30 days",
},
creator_address: {
type: "string",
minLength: 0,
maxLength: 42,
description: "The creator's wallet address",
pattern: "^0x[a-fA-F0-9]{40}$",
nullable: true as any,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is true set as any?

},
},
})

Expand Down
Loading