@stoker-platform/node-client 0.5.11 → 0.5.13

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.
@@ -30,6 +30,7 @@ export interface GetSomeOptions {
30
30
  transactional?: boolean;
31
31
  providedTransaction?: Transaction;
32
32
  noEmbeddingFields?: boolean;
33
+ noComputedFields?: boolean;
33
34
  }
34
35
  export declare const getSome: (path: string[], constraints?: [string, string, unknown][], options?: GetSomeOptions) => Promise<{
35
36
  cursor: Cursor;
@@ -1,10 +1,12 @@
1
- import { FieldValue } from "firebase-admin/firestore";
1
+ import { FieldValue, Timestamp } from "firebase-admin/firestore";
2
2
  import { StokerRecord, StokerPermissions } from "@stoker-platform/types";
3
3
  export declare const addRecord: (path: string[], data: Partial<StokerRecord>, user?: {
4
4
  password: string;
5
5
  permissions?: StokerPermissions;
6
6
  }, userId?: string, options?: {
7
7
  noTwoWay?: boolean;
8
+ createdAt?: Timestamp;
9
+ createdBy?: string;
8
10
  }, context?: any, id?: string) => Promise<{
9
11
  Collection_Path: string[];
10
12
  Last_Write_At: import("@firebase/firestore").Timestamp | FieldValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/node-client",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@google-cloud/storage": "^7.18.0",
26
- "@stoker-platform/types": "0.5.4",
27
- "@stoker-platform/utils": "0.5.7",
26
+ "@stoker-platform/types": "0.5.5",
27
+ "@stoker-platform/utils": "0.5.8",
28
28
  "@types/luxon": "^3.7.1",
29
29
  "cross-spawn": "^7.0.6",
30
30
  "firebase-admin": "^13.6.0",