import { Audience, ChangeCategory, SortDirection, Surface } from "../../gen/changelog/v1/changelog_pb.js"; import * as v from "valibot"; //#region src/services/changelog/changelog.schemas.d.ts /** `limit` is 0 through 100; 0 or omitted uses the server default of 20. */ declare const ListChangelogPostsInputSchema: v.StrictObjectSchema<{ readonly limit: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>, 0>; readonly pageToken: v.OptionalSchema, v.TrimAction]>, "">; }, undefined>; type ListChangelogPostsInput = v.InferInput; declare const GetChangelogPostInputSchema: v.StrictObjectSchema<{ readonly slug: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>; type GetChangelogPostInput = v.InferInput; /** * Filters on different fields combine with AND; values within one field combine with OR. * Times are epoch milliseconds on first post publication time: `startTime` inclusive, `endTime` * exclusive and after `startTime`. `limit` is 0 through 500; 0 or omitted uses the server * default of 100. */ declare const ListChangelogChangesInputSchema: v.SchemaWithPipe, undefined>, readonly []>; readonly actionRequired: v.OptionalSchema, undefined>; readonly surfaces: v.OptionalSchema, undefined>, readonly []>; readonly audiences: v.OptionalSchema, undefined>, readonly []>; readonly startTime: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>, undefined>; readonly endTime: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>, undefined>; readonly postSlug: v.OptionalSchema, v.TrimAction]>, "">; readonly sort: v.OptionalSchema, undefined>; readonly limit: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>, 0>; readonly pageToken: v.OptionalSchema, v.TrimAction]>, "">; }, undefined>, v.CheckAction<{ categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[]; actionRequired?: boolean | undefined; surfaces: ("rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; audiences: ("all_users" | "traders" | "market_makers" | "developers")[]; startTime?: number | undefined; endTime?: number | undefined; postSlug: string; sort?: "asc" | "desc" | undefined; limit: number; pageToken: string; }, "endTime: must be after startTime">, v.TransformAction<{ categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[]; actionRequired?: boolean | undefined; surfaces: ("rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; audiences: ("all_users" | "traders" | "market_makers" | "developers")[]; startTime?: number | undefined; endTime?: number | undefined; postSlug: string; sort?: "asc" | "desc" | undefined; limit: number; pageToken: string; }, { categories: (ChangeCategory.BREAKING_CHANGE | ChangeCategory.NEW_FEATURE | ChangeCategory.IMPROVEMENT | ChangeCategory.BUG_FIX)[]; surfaces: (Surface.TRADING | Surface.FUNDING | Surface.ACCOUNTS | Surface.API | Surface.EXPLORER | Surface.DOCUMENTATION | Surface.PLATFORM | Surface.MARKET_DATA | Surface.QUICKSWAP | Surface.REWARDS)[]; audiences: (Audience.ALL_USERS | Audience.TRADERS | Audience.MARKET_MAKERS | Audience.DEVELOPERS)[]; startTime: import("@bufbuild/protobuf/wkt").Timestamp | undefined; endTime: import("@bufbuild/protobuf/wkt").Timestamp | undefined; sort: SortDirection.SORT_ASC | SortDirection.SORT_DESC | undefined; actionRequired?: boolean | undefined; postSlug: string; limit: number; pageToken: string; }>]>; type ListChangelogChangesInput = v.InferInput; /** `id` is the public base58 identifier, stable across environments. */ declare const ChangelogChangeSchema: v.ObjectSchema<{ readonly id: v.SchemaWithPipe, v.TransformAction]>; readonly title: v.StringSchema; readonly summary: v.StringSchema; readonly details: v.OptionalSchema, undefined>; readonly category: v.SchemaWithPipe, v.TransformAction]>; readonly actionRequired: v.BooleanSchema; readonly migrationGuidance: v.OptionalSchema, undefined>; readonly audiences: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; readonly surfaces: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>; type ChangelogChange = v.InferOutput; /** `surface` is the product area the section covers, `"unspecified"` when it spans several. */ declare const ChangelogSectionSchema: v.ObjectSchema<{ readonly heading: v.StringSchema; readonly summary: v.OptionalSchema, undefined>; readonly surface: v.SchemaWithPipe, v.TransformAction]>; readonly changes: v.OptionalSchema, v.TransformAction]>; readonly title: v.StringSchema; readonly summary: v.StringSchema; readonly details: v.OptionalSchema, undefined>; readonly category: v.SchemaWithPipe, v.TransformAction]>; readonly actionRequired: v.BooleanSchema; readonly migrationGuidance: v.OptionalSchema, undefined>; readonly audiences: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; readonly surfaces: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>, undefined>, readonly []>; }, undefined>; type ChangelogSection = v.InferOutput; /** * `coverageCutoff` is the exclusive end of the covered period, `undefined` when unknown. * A post can be republished to correct its copy or withdraw a change: `revision` starts at 1 * and increases with each republication, and `updatedAt` is when the current revision was * published (equal to `publishedAt` for revision 1). `slug` and `publishedAt` never change. * A server that predates post revisions sends `revision` 0 and no `updatedAt`. */ declare const ChangelogPostSummarySchema: v.ObjectSchema<{ readonly slug: v.StringSchema; readonly title: v.StringSchema; readonly introduction: v.StringSchema; readonly publishedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly updatedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly revision: v.NumberSchema; readonly coverageCutoff: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly changeCount: v.NumberSchema; readonly breakingChangeCount: v.NumberSchema; readonly actionRequiredCount: v.NumberSchema; readonly newFeatureCount: v.NumberSchema; readonly improvementCount: v.NumberSchema; readonly bugFixCount: v.NumberSchema; }, undefined>; type ChangelogPostSummary = v.InferOutput; declare const ListChangelogPostsResultSchema: v.ObjectSchema<{ readonly posts: v.OptionalSchema; readonly title: v.StringSchema; readonly introduction: v.StringSchema; readonly publishedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly updatedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly revision: v.NumberSchema; readonly coverageCutoff: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly changeCount: v.NumberSchema; readonly breakingChangeCount: v.NumberSchema; readonly actionRequiredCount: v.NumberSchema; readonly newFeatureCount: v.NumberSchema; readonly improvementCount: v.NumberSchema; readonly bugFixCount: v.NumberSchema; }, undefined>, undefined>, readonly []>; readonly nextPageToken: v.StringSchema; }, undefined>; type ListChangelogPostsResult = v.InferOutput; declare const ChangelogPostSchema: v.SchemaWithPipe; readonly title: v.StringSchema; readonly introduction: v.StringSchema; readonly publishedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly updatedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly revision: v.NumberSchema; readonly coverageCutoff: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly changeCount: v.NumberSchema; readonly breakingChangeCount: v.NumberSchema; readonly actionRequiredCount: v.NumberSchema; readonly newFeatureCount: v.NumberSchema; readonly improvementCount: v.NumberSchema; readonly bugFixCount: v.NumberSchema; }, undefined>; readonly sections: v.OptionalSchema; readonly summary: v.OptionalSchema, undefined>; readonly surface: v.SchemaWithPipe, v.TransformAction]>; readonly changes: v.OptionalSchema, v.TransformAction]>; readonly title: v.StringSchema; readonly summary: v.StringSchema; readonly details: v.OptionalSchema, undefined>; readonly category: v.SchemaWithPipe, v.TransformAction]>; readonly actionRequired: v.BooleanSchema; readonly migrationGuidance: v.OptionalSchema, undefined>; readonly audiences: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; readonly surfaces: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>, undefined>, readonly []>; }, undefined>, undefined>, readonly []>; }, undefined>, v.TransformAction<{ summary: { slug: string; title: string; introduction: string; publishedAt: number; updatedAt?: number | undefined; revision: number; coverageCutoff?: number | undefined; changeCount: number; breakingChangeCount: number; actionRequiredCount: number; newFeatureCount: number; improvementCount: number; bugFixCount: number; }; sections: { heading: string; summary?: string | undefined; surface: "unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap"; changes: { id: string; title: string; summary: string; details?: string | undefined; category: "unspecified" | "breaking_change" | "new_feature" | "improvement" | "bug_fix"; actionRequired: boolean; migrationGuidance?: string | undefined; audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[]; surfaces: ("unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; }[]; }[]; }, { sections: { heading: string; summary?: string | undefined; surface: "unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap"; changes: { id: string; title: string; summary: string; details?: string | undefined; category: "unspecified" | "breaking_change" | "new_feature" | "improvement" | "bug_fix"; actionRequired: boolean; migrationGuidance?: string | undefined; audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[]; surfaces: ("unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; }[]; }[]; slug: string; title: string; introduction: string; publishedAt: number; updatedAt?: number | undefined; revision: number; coverageCutoff?: number | undefined; changeCount: number; breakingChangeCount: number; actionRequiredCount: number; newFeatureCount: number; improvementCount: number; bugFixCount: number; }>]>; type ChangelogPost = v.InferOutput; declare const ChangelogChangeEntrySchema: v.SchemaWithPipe, v.TransformAction]>; readonly title: v.StringSchema; readonly summary: v.StringSchema; readonly details: v.OptionalSchema, undefined>; readonly category: v.SchemaWithPipe, v.TransformAction]>; readonly actionRequired: v.BooleanSchema; readonly migrationGuidance: v.OptionalSchema, undefined>; readonly audiences: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; readonly surfaces: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>; readonly postSlug: v.StringSchema; readonly publishedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly sectionHeading: v.StringSchema; }, undefined>, v.TransformAction<{ change: { id: string; title: string; summary: string; details?: string | undefined; category: "unspecified" | "breaking_change" | "new_feature" | "improvement" | "bug_fix"; actionRequired: boolean; migrationGuidance?: string | undefined; audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[]; surfaces: ("unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; }; postSlug: string; publishedAt: number; sectionHeading: string; }, { postSlug: string; publishedAt: number; sectionHeading: string; id: string; title: string; summary: string; details?: string | undefined; category: "unspecified" | "breaking_change" | "new_feature" | "improvement" | "bug_fix"; actionRequired: boolean; migrationGuidance?: string | undefined; audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[]; surfaces: ("unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; }>]>; /** A change with the slug, first publication time and section heading of the post that announced it. */ type ChangelogChangeEntry = v.InferOutput; declare const ListChangelogChangesResultSchema: v.ObjectSchema<{ readonly changes: v.OptionalSchema, v.TransformAction]>; readonly title: v.StringSchema; readonly summary: v.StringSchema; readonly details: v.OptionalSchema, undefined>; readonly category: v.SchemaWithPipe, v.TransformAction]>; readonly actionRequired: v.BooleanSchema; readonly migrationGuidance: v.OptionalSchema, undefined>; readonly audiences: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; readonly surfaces: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>; readonly postSlug: v.StringSchema; readonly publishedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly sectionHeading: v.StringSchema; }, undefined>, v.TransformAction<{ change: { id: string; title: string; summary: string; details?: string | undefined; category: "unspecified" | "breaking_change" | "new_feature" | "improvement" | "bug_fix"; actionRequired: boolean; migrationGuidance?: string | undefined; audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[]; surfaces: ("unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; }; postSlug: string; publishedAt: number; sectionHeading: string; }, { postSlug: string; publishedAt: number; sectionHeading: string; id: string; title: string; summary: string; details?: string | undefined; category: "unspecified" | "breaking_change" | "new_feature" | "improvement" | "bug_fix"; actionRequired: boolean; migrationGuidance?: string | undefined; audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[]; surfaces: ("unspecified" | "rewards" | "accounts" | "trading" | "funding" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[]; }>]>, undefined>, readonly []>; readonly nextPageToken: v.StringSchema; }, undefined>; type ListChangelogChangesResult = v.InferOutput; //#endregion export { ChangelogChange, ChangelogChangeEntry, ChangelogChangeEntrySchema, ChangelogChangeSchema, ChangelogPost, ChangelogPostSchema, ChangelogPostSummary, ChangelogPostSummarySchema, ChangelogSection, ChangelogSectionSchema, GetChangelogPostInput, GetChangelogPostInputSchema, ListChangelogChangesInput, ListChangelogChangesInputSchema, ListChangelogChangesResult, ListChangelogChangesResultSchema, ListChangelogPostsInput, ListChangelogPostsInputSchema, ListChangelogPostsResult, ListChangelogPostsResultSchema }; //# sourceMappingURL=changelog.schemas.d.ts.map