UNPKG

3.76 kBTypeScriptView Raw
1export declare const CONSTANTS: {
2 Documents: {
3 Indexing: {
4 Fields: {
5 ALL_FIELDS: string;
6 DOCUMENT_ID_FIELD_NAME: string;
7 REDUCE_KEY_HASH_FIELD_NAME: string;
8 REDUCE_KEY_KEY_VALUE_FIELD_NAME: string;
9 SPATIAL_SHAPE_FIELD_NAME: string;
10 };
11 Spatial: {
12 DEFAULT_DISTANCE_ERROR_PCT: number;
13 };
14 SIDE_BY_SIDE_INDEX_NAME_PREFIX: string;
15 };
16 Metadata: {
17 COLLECTION: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
18 PROJECTION: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
19 KEY: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
20 ID: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
21 CONFLICT: string;
22 ID_PROPERTY: string;
23 FLAGS: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
24 ATTACHMENTS: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
25 INDEX_SCORE: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
26 LAST_MODIFIED: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
27 RAVEN_JS_TYPE: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
28 CHANGE_VECTOR: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
29 EXPIRES: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
30 ALL_DOCUMENTS_COLLECTION: string;
31 EMPTY_COLLECTION: string;
32 NESTED_OBJECT_TYPES: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
33 COUNTERS: "@collection" | "@attachments" | "@id" | "@last-modified" | "@flags" | "@counters" | "@expires" | "@change-vector" | "Raven-Node-Type" | "@nested-object-types";
34 REVISION_COUNTERS: string;
35 IGNORE_CASE_TRANSFORM_REGEX: RegExp;
36 };
37 };
38};
39export declare const HEADERS: {
40 REQUEST_TIME: string;
41 REFRESH_TOPOLOGY: string;
42 TOPOLOGY_ETAG: string;
43 LAST_KNOWN_CLUSTER_TRANSACTION_INDEX: string;
44 CLIENT_CONFIGURATION_ETAG: string;
45 REFRESH_CLIENT_CONFIGURATION: string;
46 CLIENT_VERSION: string;
47 SERVER_VERSION: string;
48 ETAG: string;
49 IF_NONE_MATCH: string;
50 TRANSFER_ENCODING: string;
51 CONTENT_ENCODING: string;
52 CONTENT_LENGTH: string;
53 DATABASE_MISSING: string;
54};
55export declare const COUNTERS: {
56 ALL: string;
57};