@budgetbuddyde/types 1.0.23 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/PocketBase.types.d.ts +12 -0
- package/lib/PocketBase.types.js +14 -1
- package/package.json +1 -1
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare enum PocketBaseCollection {
|
|
3
|
+
USERS = "users",
|
|
4
|
+
BUDGET = "budgets",
|
|
5
|
+
CATEGORY = "categories",
|
|
6
|
+
PAYMENT_METHOD = "payment_methods",
|
|
7
|
+
STOCK_EXCHANGE = "stock_exchanges",
|
|
8
|
+
STOCK_POSITION = "stock_positions",
|
|
9
|
+
STOCK_WATCHLIST = "stock_watchlists",
|
|
10
|
+
SUBSCRIPTION = "subscriptions",
|
|
11
|
+
TRANSACTION = "transactions",
|
|
12
|
+
V_MONTHLY_BALANCES = "v_monthly_balances"
|
|
13
|
+
}
|
|
2
14
|
/**
|
|
3
15
|
* @description 15 characters string to store as record ID. If not set, it will be auto generated.
|
|
4
16
|
*/
|
package/lib/PocketBase.types.js
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ZNullableString = exports.ZBaseModel = exports.ZId = void 0;
|
|
3
|
+
exports.ZNullableString = exports.ZBaseModel = exports.ZId = exports.PocketBaseCollection = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const Base_type_1 = require("./Base.type");
|
|
6
|
+
var PocketBaseCollection;
|
|
7
|
+
(function (PocketBaseCollection) {
|
|
8
|
+
PocketBaseCollection["USERS"] = "users";
|
|
9
|
+
PocketBaseCollection["BUDGET"] = "budgets";
|
|
10
|
+
PocketBaseCollection["CATEGORY"] = "categories";
|
|
11
|
+
PocketBaseCollection["PAYMENT_METHOD"] = "payment_methods";
|
|
12
|
+
PocketBaseCollection["STOCK_EXCHANGE"] = "stock_exchanges";
|
|
13
|
+
PocketBaseCollection["STOCK_POSITION"] = "stock_positions";
|
|
14
|
+
PocketBaseCollection["STOCK_WATCHLIST"] = "stock_watchlists";
|
|
15
|
+
PocketBaseCollection["SUBSCRIPTION"] = "subscriptions";
|
|
16
|
+
PocketBaseCollection["TRANSACTION"] = "transactions";
|
|
17
|
+
PocketBaseCollection["V_MONTHLY_BALANCES"] = "v_monthly_balances";
|
|
18
|
+
})(PocketBaseCollection = exports.PocketBaseCollection || (exports.PocketBaseCollection = {}));
|
|
6
19
|
/**
|
|
7
20
|
* @description 15 characters string to store as record ID. If not set, it will be auto generated.
|
|
8
21
|
*/
|