@multiplatform.one/frappe 7.84.4 → 7.84.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/frappe",
3
- "version": "7.84.4",
3
+ "version": "7.84.5",
4
4
  "description": "frappe client for multiplatform.one ecosystem",
5
5
  "keywords": [
6
6
  "auth",
@@ -60,7 +60,7 @@
60
60
  "access": "public"
61
61
  },
62
62
  "dependencies": {
63
- "@multiplatform.one/store": "^7.84.4",
63
+ "@multiplatform.one/store": "^7.84.5",
64
64
  "@tanstack/db": "0.8.0",
65
65
  "@tanstack/pacer": "0.21.1",
66
66
  "@tanstack/react-db": "0.3.0",
@@ -69,9 +69,9 @@
69
69
  "socket.io-client": "^4.8.4"
70
70
  },
71
71
  "devDependencies": {
72
- "@multiplatform.one/config": "7.84.4",
73
- "@multiplatform.one/platform": "7.84.4",
74
- "@multiplatform.one/test-utils": "7.84.4",
72
+ "@multiplatform.one/config": "7.84.5",
73
+ "@multiplatform.one/platform": "7.84.5",
74
+ "@multiplatform.one/test-utils": "7.84.5",
75
75
  "@tamagui/build": "2.7.6",
76
76
  "@testing-library/jest-dom": "^7.0.1",
77
77
  "@testing-library/react": "^16.3.3",
@@ -84,7 +84,7 @@
84
84
  "vitest": "^4.1.12"
85
85
  },
86
86
  "peerDependencies": {
87
- "@multiplatform.one/platform": "^7.84.4",
87
+ "@multiplatform.one/platform": "^7.84.5",
88
88
  "react": "^19.1.0"
89
89
  },
90
90
  "engines": {
package/src/collection.ts CHANGED
@@ -23,7 +23,7 @@ export interface FrappeCollectionOptionsConfig<
23
23
  /** Optional override for the collection id (defaults to doctype) */
24
24
  id?: string;
25
25
  /** Order-by configuration */
26
- orderBy?: SubscriptionQuery["orderBy"];
26
+ orderBy?: NonNullable<SubscriptionQuery["orderBy"]>;
27
27
  /**
28
28
  * Rows to read. Omitting it reads {@link defaultPageLength} (20) rows in
29
29
  * BOTH fixture mode and against a live bench. Pass `limit: 0` for every
@@ -307,7 +307,7 @@ export interface FixtureCollectionOptionsConfig<
307
307
  /** Optional override for the collection id */
308
308
  id?: string;
309
309
  /** Order-by configuration */
310
- orderBy?: SubscriptionQuery["orderBy"];
310
+ orderBy?: NonNullable<SubscriptionQuery["orderBy"]>;
311
311
  /**
312
312
  * Rows to read. Omitting it reads {@link defaultPageLength} (20) rows, the
313
313
  * same as against a live bench. Pass `limit: 0` for every row.
@@ -20,7 +20,7 @@ export interface FrappeCollectionOptionsConfig<_TDoc extends object & {
20
20
  /** Optional override for the collection id (defaults to doctype) */
21
21
  id?: string;
22
22
  /** Order-by configuration */
23
- orderBy?: SubscriptionQuery["orderBy"];
23
+ orderBy?: NonNullable<SubscriptionQuery["orderBy"]>;
24
24
  /**
25
25
  * Rows to read. Omitting it reads {@link defaultPageLength} (20) rows in
26
26
  * BOTH fixture mode and against a live bench. Pass `limit: 0` for every
@@ -127,7 +127,7 @@ export interface FixtureCollectionOptionsConfig<_TDoc extends object & {
127
127
  /** Optional override for the collection id */
128
128
  id?: string;
129
129
  /** Order-by configuration */
130
- orderBy?: SubscriptionQuery["orderBy"];
130
+ orderBy?: NonNullable<SubscriptionQuery["orderBy"]>;
131
131
  /**
132
132
  * Rows to read. Omitting it reads {@link defaultPageLength} (20) rows, the
133
133
  * same as against a live bench. Pass `limit: 0` for every row.
@@ -1 +1 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../src/collection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAc,MAAM,cAAc,CAAC;AAGjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,6BAA6B,CAC5C,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