pinejs-client-core 6.14.6 → 6.14.7

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.
@@ -1,3 +1,17 @@
1
+ - commits:
2
+ - subject: Fix using top level $count downstream
3
+ hash: 03553a4d582ac8354bf2adc47fbe63fefb587042
4
+ body: |
5
+ It's unclear why this doesn't cause typing issues within
6
+ pinejs-client-core itself but it does fail when using it downstream
7
+ footer:
8
+ Change-type: patch
9
+ change-type: patch
10
+ author: Pagan Gazzard
11
+ nested: []
12
+ version: 6.14.7
13
+ title: ""
14
+ date: 2024-06-06T12:42:55.433Z
1
15
  - commits:
2
16
  - subject: Type $count/$any/$all as needing to be nested in a navigation property
3
17
  hash: 278681eeed59a175159446ec9e036e9f66f879dc
@@ -10,7 +24,7 @@
10
24
  nested: []
11
25
  version: 6.14.6
12
26
  title: ""
13
- date: 2024-05-28T15:20:53.573Z
27
+ date: 2024-05-28T17:39:25.074Z
14
28
  - commits:
15
29
  - subject: Use readonly arrays for typings for better compatibility with `as const`
16
30
  hash: aef91ea270e4110ef11a8ee76929acc7e8804b36
package/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## 6.14.7 - 2024-06-06
8
+
9
+ * Fix using top level $count downstream [Pagan Gazzard]
10
+
7
11
  ## 6.14.6 - 2024-05-28
8
12
 
9
13
  * Type $count/$any/$all as needing to be nested in a navigation property [Pagan Gazzard]
package/es2015/index.d.ts CHANGED
@@ -243,6 +243,7 @@ export interface ODataOptionsWithoutCount {
243
243
  export type ODataCountOptions = Pick<ODataOptionsWithoutCount, '$filter'>;
244
244
  export interface ODataOptions extends ODataOptionsWithoutCount {
245
245
  $count?: ODataCountOptions;
246
+ [index: string]: ODataOptionsWithoutCount[string] | ODataCountOptions;
246
247
  }
247
248
  export type OptionsObject = ODataOptions;
248
249
  export type ODataMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
package/es2018/index.d.ts CHANGED
@@ -243,6 +243,7 @@ export interface ODataOptionsWithoutCount {
243
243
  export type ODataCountOptions = Pick<ODataOptionsWithoutCount, '$filter'>;
244
244
  export interface ODataOptions extends ODataOptionsWithoutCount {
245
245
  $count?: ODataCountOptions;
246
+ [index: string]: ODataOptionsWithoutCount[string] | ODataCountOptions;
246
247
  }
247
248
  export type OptionsObject = ODataOptions;
248
249
  export type ODataMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
package/index.d.ts CHANGED
@@ -243,6 +243,7 @@ export interface ODataOptionsWithoutCount {
243
243
  export type ODataCountOptions = Pick<ODataOptionsWithoutCount, '$filter'>;
244
244
  export interface ODataOptions extends ODataOptionsWithoutCount {
245
245
  $count?: ODataCountOptions;
246
+ [index: string]: ODataOptionsWithoutCount[string] | ODataCountOptions;
246
247
  }
247
248
  export type OptionsObject = ODataOptions;
248
249
  export type ODataMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinejs-client-core",
3
- "version": "6.14.6",
3
+ "version": "6.14.7",
4
4
  "description": "This module provides the core tools to enable easier interaction with the pinejs API.",
5
5
  "browser": "es2015",
6
6
  "main": "index.js",
@@ -54,6 +54,6 @@
54
54
  "_": "test/*.ts"
55
55
  },
56
56
  "versionist": {
57
- "publishedAt": "2024-05-28T15:20:53.753Z"
57
+ "publishedAt": "2024-06-06T12:42:55.581Z"
58
58
  }
59
59
  }
package/src/index.ts CHANGED
@@ -1829,6 +1829,7 @@ export interface ODataOptionsWithoutCount {
1829
1829
  export type ODataCountOptions = Pick<ODataOptionsWithoutCount, '$filter'>;
1830
1830
  export interface ODataOptions extends ODataOptionsWithoutCount {
1831
1831
  $count?: ODataCountOptions;
1832
+ [index: string]: ODataOptionsWithoutCount[string] | ODataCountOptions;
1832
1833
  }
1833
1834
  export type OptionsObject = ODataOptions;
1834
1835