Variable metaEndpointsConst
metaEndpoints: {
getOpenApiJson: {
path: "meta/openapi.json";
method: "GET";
requiresAuth: false;
responseSchema: ZodRecord<ZodString, ZodUnknown>;
};
getOpenApiYaml: {
path: "meta/openapi.yaml";
method: "GET";
requiresAuth: false;
responseSchema: ZodString;
textResponse: { accept: "application/yaml, text/yaml, text/plain" };
};
getChangelog: {
path: "meta/changelog";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{
changelog: ZodRecord<
ZodString,
ZodArray<
ZodObject<
{
method: ZodString;
path: ZodString;
compatibility_date: ZodString;
type: ZodType<
(...) & (...)
| "breaking"
| "changed"
| "new"
| "removed",
unknown,
$ZodTypeInternals<(...) | (...) | (...) | (...) | (...), unknown>,
>;
description: ZodString;
},
$loose,
>,
>,
>;
},
$loose,
>;
};
getCompatibilityDates: {
path: "meta/compatibility-dates";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{ compatibility_dates: ZodArray<ZodString> },
$loose,
>;
};
getName: {
path: "meta/name";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{
current: ZodString;
history: ZodArray<
ZodObject<{ date: ZodString; name: ZodString }, $loose>,
>;
},
$loose,
>;
};
getStatus: {
path: "meta/status";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{
routes: ZodArray<
ZodObject<
{
method: ZodType<
string & {}
| "GET"
| "POST"
| "PUT"
| "DELETE",
unknown,
$ZodTypeInternals<
(...) & (...)
| "GET"
| "POST"
| "PUT"
| "DELETE",
unknown,
>,
>;
path: ZodString;
status: ZodType<
| string & {}
| "Unknown"
| "OK"
| "Degraded"
| "Down"
| "Recovering",
unknown,
$ZodTypeInternals<
| (...) & (...)
| "Unknown"
| "OK"
| "Degraded"
| "Down"
| "Recovering",
unknown,
>,
>;
},
$loose,
>,
>;
},
$loose,
>;
};
} = ...
Type Declaration
-
ReadonlygetOpenApiJson: {
path: "meta/openapi.json";
method: "GET";
requiresAuth: false;
responseSchema: ZodRecord<ZodString, ZodUnknown>;
}
-
ReadonlygetOpenApiYaml: {
path: "meta/openapi.yaml";
method: "GET";
requiresAuth: false;
responseSchema: ZodString;
textResponse: { accept: "application/yaml, text/yaml, text/plain" };
}
-
ReadonlygetChangelog: {
path: "meta/changelog";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{
changelog: ZodRecord<
ZodString,
ZodArray<
ZodObject<
{
method: ZodString;
path: ZodString;
compatibility_date: ZodString;
type: ZodType<
(...) & (...)
| "breaking"
| "changed"
| "new"
| "removed",
unknown,
$ZodTypeInternals<(...) | (...) | (...) | (...) | (...), unknown>,
>;
description: ZodString;
},
$loose,
>,
>,
>;
},
$loose,
>;
}
-
ReadonlygetCompatibilityDates: {
path: "meta/compatibility-dates";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{ compatibility_dates: ZodArray<ZodString> },
$loose,
>;
}
-
ReadonlygetName: {
path: "meta/name";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{
current: ZodString;
history: ZodArray<
ZodObject<{ date: ZodString; name: ZodString }, $loose>,
>;
},
$loose,
>;
}
-
ReadonlygetStatus: {
path: "meta/status";
method: "GET";
requiresAuth: false;
responseSchema: ZodObject<
{
routes: ZodArray<
ZodObject<
{
method: ZodType<
string & {}
| "GET"
| "POST"
| "PUT"
| "DELETE",
unknown,
$ZodTypeInternals<
(...) & (...)
| "GET"
| "POST"
| "PUT"
| "DELETE",
unknown,
>,
>;
path: ZodString;
status: ZodType<
| string & {}
| "Unknown"
| "OK"
| "Degraded"
| "Down"
| "Recovering",
unknown,
$ZodTypeInternals<
| (...) & (...)
| "Unknown"
| "OK"
| "Degraded"
| "Down"
| "Recovering",
unknown,
>,
>;
},
$loose,
>,
>;
},
$loose,
>;
}