Skip to content

[Tracking] Schemas: resolve TODOs #1604

@TheArcaneBrony

Description

@TheArcaneBrony

Generated at commit 57827bc9:

  • src/schemas/responses/WebhookCreateResponse.ts:19: // TODO: remove dependency on entities
  • src/schemas/responses/AccountStandingResponse.ts:19: // TODO: remove dependency on entities...
  • src/schemas/responses/AccountStandingResponse.ts:127: flagged_content: unknown[]; // TODO
  • src/schemas/responses/UserProfileResponse.ts:28: accent_color: null; // TODO
  • src/schemas/responses/TypedResponses.ts:25: // TODO: remove this entire file!
  • src/schemas/responses/TokenResponse.ts:19: // TODO: remove dependency on entities
  • src/schemas/responses/GuildRecommendationsResponse.ts:19: // TODO: remove dependency on entities
  • src/schemas/responses/GuildMessagesSearchResponse.ts:19: // TODO: remove dependency on entities
  • src/schemas/responses/HubDirectoryEntriesResponse.ts:19: // TODO: remove dependency on entities
  • src/schemas/responses/HubDirectoryEntriesResponse.ts:29: type: number; // TODO: not exactly sure what this is, channel type?
  • src/schemas/responses/DiscoverableGuildsResponse.ts:19: // TODO: remove dependency on entities
  • src/schemas/responses/EmailDomainLookupVerifyCodeResponse.ts:19: // TODO: remove dependency on entities
  • src/schemas/responses/CollectiblesCategoriesResponse.ts:19: // TODO: Clean up
  • src/schemas/responses/SettingsProtoUpdateResponse.ts:37: // TODO: these dont work with schemas validation
  • src/schemas/responses/SettingsProtoUpdateResponse.ts:49: // TODO: what is this?
  • src/schemas/uncategorised/SettingsProtoUpdateSchema.ts:31: // TODO: these dont work with schema validation
  • src/schemas/uncategorised/SettingsProtoUpdateSchema.ts:43: // TODO: what is this?
  • src/schemas/uncategorised/VoiceStateUpdateSchema.ts:19: //TODO need more testing when community guild and voice stage channel are working
  • src/schemas/uncategorised/WebhookExecuteSchema.ts:38: // TODO: we should create an interface for attachments
  • src/schemas/uncategorised/MessageCreateSchema.ts:44: // TODO: ^ embed is deprecated in favor of embeds (https: //discord.com/developers/docs/resources/channel#message-object)
  • src/schemas/uncategorised/MessageCreateSchema.ts:60: // TODO: we should create an interface for attachments
  • src/schemas/uncategorised/MessageCreateSchema.ts:64: // TODO: Fix TypeScript errors in src\api\util\handlers\Message.ts once this is enabled
  • src/schemas/uncategorised/LoginResponse.ts:6: sms: false; // TODO
  • src/schemas/uncategorised/ConnectionCallbackSchema.ts:24: openid_params?: unknown; // TODO: types
  • src/schemas/api/developers/ApplicationModifySchema.ts:35: /*install_params?: { TODO: Validation
  • src/schemas/api/guilds/GuildProfileResponse.ts:56: // TODO: move
  • src/schemas/api/guilds/AuditLog.ts:136: $add?: object[]; // TODO: These types are bad.
  • src/schemas/api/guilds/Automod.ts:94: // TODO
  • src/schemas/api/messages/Message.ts:103: // & Pick<Message, "recipient_id"> // TODO: ephemeral DM channels
  • src/schemas/api/messages/Message.ts:115: // channel?: Channel; // TODO: ephemeral DM channels
  • src/schemas/api/messages/Message.ts:116: // recipient_id?: string; // TODO: ephemeral DM channels
  • src/schemas/api/messages/Message.ts:160: // soundboard_sounds?: object[]; // TODO: when soundboard is done
  • src/schemas/api/channels/Channel.ts:53: // TODO: probably more props
  • src/schemas/api/bots/SendableModalSubmitDataSchema.ts:25: // components: ModalSubmitComponentData[]; // TODO: do this
  • src/schemas/api/bots/InteractionCreateSchema.ts:23: version: number; // TODO: types?
  • src/schemas/api/bots/InteractionCreateSchema.ts:28: data?: object; // TODO: types?
  • src/schemas/api/bots/InteractionCreateSchema.ts:39: entitlements?: object[]; // TODO: types?
  • src/schemas/api/bots/InteractionCreateSchema.ts:41: authorizing_integration_owners?: Record<number, Snowflake>; // TODO: types?
  • src/schemas/api/reports/CreateReport.ts:19: // TODO: check
  • src/schemas/gateway/IdentifySchema.ts:19: // TODO: Need a way to allow camalCase and pascal_case without just duplicating the schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issuePriority:lowMinor inconvenience, doesn't break SpacebarjavascriptPull requests that update Javascript code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions