1.0.0
This commit is contained in:
76
dist/places.d.ts
vendored
76
dist/places.d.ts
vendored
@@ -1,21 +1,65 @@
|
||||
import BaseClient from 'remotestoragejs/release/types/baseclient';
|
||||
interface Place {
|
||||
id: string;
|
||||
title: string;
|
||||
lat: number;
|
||||
lon: number;
|
||||
geohash: string;
|
||||
zoom?: number;
|
||||
url?: string;
|
||||
osmId?: string;
|
||||
osmType?: string;
|
||||
osmTags?: Record<string, string>;
|
||||
description?: string;
|
||||
tags?: string[];
|
||||
createdAt: string;
|
||||
updatedAt?: string;
|
||||
import { FromSchema } from 'json-schema-to-ts';
|
||||
declare const placeSchema: {
|
||||
readonly type: "object";
|
||||
readonly properties: {
|
||||
readonly id: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly title: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly lat: {
|
||||
readonly type: "number";
|
||||
};
|
||||
readonly lon: {
|
||||
readonly type: "number";
|
||||
};
|
||||
readonly geohash: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly zoom: {
|
||||
readonly type: "number";
|
||||
};
|
||||
readonly url: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly osmId: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly osmType: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly osmTags: {
|
||||
readonly type: "object";
|
||||
readonly additionalProperties: {
|
||||
readonly type: "string";
|
||||
};
|
||||
};
|
||||
readonly description: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly tags: {
|
||||
readonly type: "array";
|
||||
readonly items: {
|
||||
readonly type: "string";
|
||||
};
|
||||
readonly default: readonly [];
|
||||
};
|
||||
readonly createdAt: {
|
||||
readonly type: "string";
|
||||
readonly format: "date-time";
|
||||
};
|
||||
readonly updatedAt: {
|
||||
readonly type: "string";
|
||||
readonly format: "date-time";
|
||||
};
|
||||
};
|
||||
readonly required: readonly ["id", "title", "lat", "lon", "geohash", "createdAt"];
|
||||
};
|
||||
type Place = FromSchema<typeof placeSchema> & {
|
||||
[key: string]: any;
|
||||
}
|
||||
};
|
||||
declare const _default: {
|
||||
name: string;
|
||||
builder: (privateClient: BaseClient) => {
|
||||
|
||||
Reference in New Issue
Block a user