feat: complete TASK-WP4-04 color and dynamic stickers
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Type, type Static } from "@sinclair/typebox";
|
||||
|
||||
export const ReverseGeocodeRequestSchema = Type.Object({
|
||||
latitude: Type.Number({ maximum: 90, minimum: -90 }),
|
||||
longitude: Type.Number({ maximum: 180, minimum: -180 }),
|
||||
}, { additionalProperties: false, $id: "ReverseGeocodeRequest" });
|
||||
|
||||
export const ReverseGeocodeResponseSchema = Type.Object({
|
||||
formatted_value: Type.String({ maxLength: 200, minLength: 1 }),
|
||||
service_mode: Type.Literal("mock"),
|
||||
status: Type.Literal("resolved"),
|
||||
}, { additionalProperties: false, $id: "ReverseGeocodeResponse" });
|
||||
|
||||
export type ReverseGeocodeRequest = Static<typeof ReverseGeocodeRequestSchema>;
|
||||
export type ReverseGeocodeResponse = Static<typeof ReverseGeocodeResponseSchema>;
|
||||
Reference in New Issue
Block a user