block-timestamp/lib/services/schema.d.ts

75 lines
1.8 KiB
TypeScript
Raw Permalink Normal View History

2024-12-23 00:50:20 +00:00
export declare const bodySchema: {
body: {
oneOf: ({
type: string;
minItems: number;
maxItems: number;
items: {
type: string;
properties: {
id: {
type: string;
};
length: {
type: string;
};
timestamp_gte: {
type: string;
};
timestamp_lte: {
type: string;
};
};
additionalProperties: boolean;
};
properties?: undefined;
additionalProperties?: undefined;
} | {
type: string;
properties: {
id: {
type: string;
};
length: {
type: string;
};
timestamp_gte: {
type: string;
};
timestamp_lte: {
type: string;
};
};
additionalProperties: boolean;
minItems?: undefined;
maxItems?: undefined;
items?: undefined;
})[];
};
};
export declare const blockHashSchema: {
params: {
type: string;
properties: {
blockHash: {
type: string;
pattern: string;
};
};
required: string[];
additionalProperties: boolean;
};
};
export declare const blockNumSchema: {
params: {
type: string;
properties: {
blockNum: {
type: string;
};
};
required: string[];
additionalProperties: boolean;
};
};