Closed tackley closed 3 months ago
[puLL-Merge] - brave/ads-ui@1246
This PR updates the GraphQL schema and related types, primarily focusing on the AdSet and Creative entities. It introduces an AdSetState
enum, modifies the CreativeInput
type, and updates various components and hooks to use these new types. The changes aim to improve type safety and align the codebase with the updated GraphQL schema.
Creative
type and related components may require updates in other parts of the codebase that are not shown in this diff.No significant security issues are apparent in this change.
Notably the type code simplifications in https://github.com/brave/ads-serve/pull/4019.
I haven't done a full switchover to use
typeCode
rather thantype.code
, and so therefore we're still dependent on that deprecated field. But this at least means we can regenerate the graphql definitions.