Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: more about spec #107

Merged
merged 7 commits into from
May 25, 2023
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
50 changes: 50 additions & 0 deletions openapi/components/schemas/global/about.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,48 +13,98 @@ properties:
type: boolean
configurations:
type: object
required:
- networkId
- globalScenesUrn
- scenesUrn
properties:
realmName:
type: string
networkId:
type: number
globalScenesUrn:
type: array
items:
type: string
scenesUrn:
type: array
items:
type: string
minimap:
type: object
required:
- enabled
properties:
enabled:
type: boolean
dataImage:
type: string
estateImage:
type: string
skybox:
type: object
properties:
fixedHour:
type: number



content:
type: object
required:
- healthy
- publicUrl
properties:
healthy:
type: boolean
commitHash:
type: string
version:
type: string
publicUrl:
type: string
comms:
type: object
required:
- healthy
- protocol
properties:
healthy:
type: boolean
protocol:
type: string
commitHash:
type: string
userCount:
type: string
lambdas:
type: object
required:
- healthy
- publicUrl
properties:
healthy:
type: boolean
commitHash:
type: string
version:
type: string
publicUrl:
type: string
bff:
type: object
required:
- healthy
- publicUrl
- protocolVersion
properties:
healthy:
type: boolean
commitHash:
type: string
usersCount:
type: number
publicUrl:
type: string
protocolVersion:
type: string
158 changes: 99 additions & 59 deletions src/client/client.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,20 +131,6 @@ export type GetAvatarDetails200AvatarsItemAvatar = {
wearables?: string[]
}

export type GetAvatarsDetailsByPost200ItemAvatarsItem = {
userId?: string
email?: string
name?: string
hasClaimedName?: boolean
description?: string
ethAddress?: string
version?: number
avatar?: GetAvatarsDetailsByPost200ItemAvatarsItemAvatar
tutorialStep?: number
interests?: string[]
unclaimedName?: string
}

export type GetAvatarsDetailsByPost200Item = {
avatars?: GetAvatarsDetailsByPost200ItemAvatarsItem[]
}
Expand Down Expand Up @@ -195,6 +181,20 @@ export type GetAvatarsDetailsByPost200ItemAvatarsItemAvatar = {
wearables?: string[]
}

export type GetAvatarsDetailsByPost200ItemAvatarsItem = {
userId?: string
email?: string
name?: string
hasClaimedName?: boolean
description?: string
ethAddress?: string
version?: number
avatar?: GetAvatarsDetailsByPost200ItemAvatarsItemAvatar
tutorialStep?: number
interests?: string[]
unclaimedName?: string
}

export type GetAvatarsDetailsByPostBody = {
ids?: string[]
}
Expand Down Expand Up @@ -368,13 +368,6 @@ export type GetThirdPartyCollectionParams = {
pageSize?: string
}

export type GetThirdPartyWearables200 = {
elements: GetThirdPartyWearables200ElementsItem[]
totalAmount: number
pageNum: number
pageSize: number
}

export type GetThirdPartyWearables200ElementsItemIndividualDataItem = {
id?: string
}
Expand Down Expand Up @@ -405,6 +398,13 @@ export type GetThirdPartyWearables200ElementsItem = {
individualData?: GetThirdPartyWearables200ElementsItemIndividualDataItem[]
}

export type GetThirdPartyWearables200 = {
elements: GetThirdPartyWearables200ElementsItem[]
totalAmount: number
pageNum: number
pageSize: number
}

export type GetThirdPartyWearablesParams = {
/**
* The number of the requested page.
Expand Down Expand Up @@ -471,6 +471,18 @@ export type GetNamesParams = {
pageSize?: string
}

export type GetEmotes200ElementsItemEntityMetadata = { [key: string]: any }

export type GetEmotes200ElementsItemEntity = {
version: string
id: string
type: string
timestamp: number
pointers: string[]
content: GetEmotes200ElementsItemEntityContentItem[]
metadata?: GetEmotes200ElementsItemEntityMetadata
}

export type GetEmotes200ElementsItem = {
urn: string
amount?: number
Expand All @@ -485,23 +497,11 @@ export type GetEmotes200 = {
pageSize: number
}

export type GetEmotes200ElementsItemEntityMetadata = { [key: string]: any }

export type GetEmotes200ElementsItemEntityContentItem = {
file: string
hash: string
}

export type GetEmotes200ElementsItemEntity = {
version: string
id: string
type: string
timestamp: number
pointers: string[]
content: GetEmotes200ElementsItemEntityContentItem[]
metadata?: GetEmotes200ElementsItemEntityMetadata
}

export type GetEmotesParams = {
/**
* Third Party collection Id to filter emotes, if this param is not sent then the 3rd parties emotes are not shown. If it is sent, only the 3rd parties emotes are shown.
Expand All @@ -526,13 +526,6 @@ export type GetWearables503 = {
message: string
}

export type GetWearables200 = {
elements: GetWearables200ElementsItem[]
totalAmount: number
pageNum: number
pageSize: number
}

export type GetWearables200ElementsItemIndividualDataItem = {
id?: string
tokenId?: string
Expand Down Expand Up @@ -567,6 +560,13 @@ export type GetWearables200ElementsItem = {
individualData?: GetWearables200ElementsItemIndividualDataItem[]
}

export type GetWearables200 = {
elements: GetWearables200ElementsItem[]
totalAmount: number
pageNum: number
pageSize: number
}

export type GetWearablesParams = {
/**
* If present, response will be extended with the entity data.
Expand Down Expand Up @@ -776,13 +776,6 @@ export type GetActiveEntitiesBody = {
ids?: string[]
}

export type GetEntitiesByPointerPrefix200EntitiesItemMetadata = { [key: string]: any }

export type GetEntitiesByPointerPrefix200EntitiesItemContentItem = {
file: string
hash: string
}

export type GetEntitiesByPointerPrefix200EntitiesItem = {
version: string
id: string
Expand All @@ -798,6 +791,13 @@ export type GetEntitiesByPointerPrefix200 = {
entities: GetEntitiesByPointerPrefix200EntitiesItem[]
}

export type GetEntitiesByPointerPrefix200EntitiesItemMetadata = { [key: string]: any }

export type GetEntitiesByPointerPrefix200EntitiesItemContentItem = {
file: string
hash: string
}

export type GetEntitiesByPointerPrefixParams = {
/**
* Page size (max 1000)
Expand Down Expand Up @@ -893,31 +893,32 @@ export type GetStatsParcels200 = {
}

export type GetAboutCatalystInfo503Bff = {
healthy?: boolean
healthy: boolean
commitHash?: string
usersCount?: number
publicUrl: string
protocolVersion: string
}

export type GetAboutCatalystInfo503Lambdas = {
healthy: boolean
commitHash?: string
version?: string
publicUrl: string
}

export type GetAboutCatalystInfo503Comms = {
healthy: boolean
protocol?: string
protocol: string
commitHash?: string
userCount?: string
}

export type GetAboutCatalystInfo503Content = {
healthy: boolean
commitHash?: string
version?: string
}

export type GetAboutCatalystInfo503Configurations = {
realmName?: string
publicUrl: string
}

export type GetAboutCatalystInfo503 = {
Expand All @@ -930,32 +931,52 @@ export type GetAboutCatalystInfo503 = {
bff?: GetAboutCatalystInfo503Bff
}

export type GetAboutCatalystInfo503ConfigurationsSkybox = {
fixedHour?: number
}

export type GetAboutCatalystInfo503ConfigurationsMinimap = {
enabled: boolean
dataImage?: string
estateImage?: string
}

export type GetAboutCatalystInfo503Configurations = {
realmName?: string
networkId: number
globalScenesUrn: string[]
scenesUrn: string[]
minimap?: GetAboutCatalystInfo503ConfigurationsMinimap
skybox?: GetAboutCatalystInfo503ConfigurationsSkybox
}

export type GetAboutCatalystInfo200Bff = {
healthy?: boolean
healthy: boolean
commitHash?: string
usersCount?: number
publicUrl: string
protocolVersion: string
}

export type GetAboutCatalystInfo200Lambdas = {
healthy: boolean
commitHash?: string
version?: string
publicUrl: string
}

export type GetAboutCatalystInfo200Comms = {
healthy: boolean
protocol?: string
protocol: string
commitHash?: string
userCount?: string
}

export type GetAboutCatalystInfo200Content = {
healthy: boolean
commitHash?: string
version?: string
}

export type GetAboutCatalystInfo200Configurations = {
realmName?: string
publicUrl: string
}

export type GetAboutCatalystInfo200 = {
Expand All @@ -967,3 +988,22 @@ export type GetAboutCatalystInfo200 = {
lambdas: GetAboutCatalystInfo200Lambdas
bff?: GetAboutCatalystInfo200Bff
}

export type GetAboutCatalystInfo200ConfigurationsSkybox = {
fixedHour?: number
}

export type GetAboutCatalystInfo200ConfigurationsMinimap = {
enabled: boolean
dataImage?: string
estateImage?: string
}

export type GetAboutCatalystInfo200Configurations = {
realmName?: string
networkId: number
globalScenesUrn: string[]
scenesUrn: string[]
minimap?: GetAboutCatalystInfo200ConfigurationsMinimap
skybox?: GetAboutCatalystInfo200ConfigurationsSkybox
}