UNPKG

@nu-art/db-api-generator

Version:
32 lines (31 loc) 1.46 kB
"use strict"; /* * Database API Generator is a utility library for Thunderstorm. * * Given proper configurations it will dynamically generate APIs to your Firestore * collections, will assert uniqueness and restrict deletion... and more * * Copyright (C) 2020 Adam van der Kruk aka TacB0sS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.EventType_DeleteMulti = exports.EventType_Delete = exports.EventType_Query = exports.EventType_Unique = exports.EventType_Patch = exports.EventType_Update = exports.EventType_Create = exports.EventType_UpsertAll = void 0; exports.EventType_UpsertAll = 'upsert-all'; exports.EventType_Create = 'create'; exports.EventType_Update = 'update'; exports.EventType_Patch = 'patch'; exports.EventType_Unique = 'unique'; exports.EventType_Query = 'query'; exports.EventType_Delete = 'delete'; exports.EventType_DeleteMulti = 'delete-multi';