@balena/pinejs 16.0.0-build-fisehara-update-sbvr-types-cfbbecbb0387e87e17e14be8991be73d1a4efdd0-1 → 16.0.0-build-fisehara-update-sbvr-types-f5e8e6ebfd0d3f590ef6ed3fa6b46d1b0861d409-1

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,13 +1,18 @@
1
1
  - commits:
2
- - subject: Update @balena/sbvr-types major
3
- hash: cfbbecbb0387e87e17e14be8991be73d1a4efdd0
2
+ - subject: Update `@balena/sbvr-types` to enable ISODatestring as internal pine
3
+ API interface for date and date time fields.
4
+ hash: f5e8e6ebfd0d3f590ef6ed3fa6b46d1b0861d409
4
5
  body: >
5
6
  Update `@balena/sbvr-types` from 6.1.1 to 7.0.1
6
7
 
7
8
 
8
- pinejs provides an internal and external interface. The external interface returns ISODateString encoded data.
9
+ pinejs provides an internal and external interface. The external
10
+ interface returns ISODateString encoded data.
9
11
 
10
- The internal interface should be consistent to the external interface, so that the pinejs api internally used also returns an ISODateString encoded data. This is solved in `sbvr-types` and is a major in the submodule and made this also a major change for pinejs itself.
12
+ The internal interface should be consistent to the external interface,
13
+ so that the pinejs api internally used also returns an ISODateString
14
+ encoded data. This is solved in `sbvr-types` and is a major in the
15
+ submodule and made this also a major change for pinejs itself.
11
16
 
12
17
 
13
18
  https://github.com/balena-io-modules/sbvr-types/pull/91
@@ -20,7 +25,7 @@
20
25
  nested: []
21
26
  version: 16.0.0
22
27
  title: ""
23
- date: 2024-03-06T08:27:29.829Z
28
+ date: 2024-03-08T13:37:27.895Z
24
29
  - commits:
25
30
  - subject: "Tests: Remove restart=always policy for sidecar containers"
26
31
  hash: 70d46bc6ccf970a2750a5a92cb2331f168790507
@@ -190,7 +195,8 @@
190
195
  body: >
191
196
  - Update @balena/lint from 6.2.2 to 7.2.4
192
197
 
193
- - Delete `require-npm4-to-publish` as handled by `engines` parameter in `package.json`
198
+ - Delete `require-npm4-to-publish` as handled by
199
+ `engines` parameter in `package.json`
194
200
  footer:
195
201
  Change-type: patch
196
202
  change-type: patch
@@ -279,7 +285,8 @@
279
285
  body: >
280
286
  - Update @balena/lint from 6.2.2 to 7.2.4
281
287
 
282
- - Delete `require-npm4-to-publish` as handled by `engines` parameter in `package.json`
288
+ - Delete `require-npm4-to-publish` as handled by `engines`
289
+ parameter in `package.json`
283
290
  footer:
284
291
  Change-type: patch
285
292
  change-type: patch
@@ -519,7 +526,8 @@
519
526
  Ensure that the input passed in for JSON types is either
520
527
  an object or
521
528
 
522
- an array (typeof returns 'object' for arrays as well). This change is
529
+ an array (typeof returns 'object' for arrays as well).
530
+ This change is
523
531
 
524
532
  mainly to prevent primitives from being stored as JSON.
525
533
  footer:
@@ -945,9 +953,11 @@
945
953
  Ensure that the input passed in for JSON
946
954
  types is either an object or
947
955
 
948
- an array (typeof returns 'object' for arrays as well). This change is
956
+ an array (typeof returns 'object' for
957
+ arrays as well). This change is
949
958
 
950
- mainly to prevent primitives from being stored as JSON.
959
+ mainly to prevent primitives from being
960
+ stored as JSON.
951
961
  footer:
952
962
  Change-type: major
953
963
  change-type: major
@@ -1087,7 +1097,8 @@
1087
1097
  We know what type they return and they
1088
1098
  should be explicitly accepted as
1089
1099
 
1090
- those types instead where it is valid to do so
1100
+ those types instead where it is valid to
1101
+ do so
1091
1102
  footer:
1092
1103
  Change-type: patch
1093
1104
  change-type: patch
@@ -1495,9 +1506,11 @@
1495
1506
  Ensure that the input passed in for JSON types
1496
1507
  is either an object or
1497
1508
 
1498
- an array (typeof returns 'object' for arrays as well). This change is
1509
+ an array (typeof returns 'object' for arrays as
1510
+ well). This change is
1499
1511
 
1500
- mainly to prevent primitives from being stored as JSON.
1512
+ mainly to prevent primitives from being stored
1513
+ as JSON.
1501
1514
  footer:
1502
1515
  Change-type: major
1503
1516
  change-type: major
@@ -1625,9 +1638,11 @@
1625
1638
  Ensure that the input passed in for JSON types
1626
1639
  is either an object or
1627
1640
 
1628
- an array (typeof returns 'object' for arrays as well). This change is
1641
+ an array (typeof returns 'object' for arrays as
1642
+ well). This change is
1629
1643
 
1630
- mainly to prevent primitives from being stored as JSON.
1644
+ mainly to prevent primitives from being stored
1645
+ as JSON.
1631
1646
  footer:
1632
1647
  Change-type: major
1633
1648
  change-type: major
@@ -1896,7 +1911,8 @@
1896
1911
  https://github.com/brianc/node-postgres/pull/2967
1897
1912
 
1898
1913
 
1899
- In pinejs the case is handled and as of now we don't want to populate a breaking change by transparently push the types to callers.
1914
+ In pinejs the case is handled and as of now we don't want to populate a
1915
+ breaking change by transparently push the types to callers.
1900
1916
  footer:
1901
1917
  Change-type: patch
1902
1918
  change-type: patch
@@ -2100,9 +2116,11 @@
2100
2116
  body: >
2101
2117
  On empty database schemas the `migrations` model is not executed.
2102
2118
 
2103
- Hence, every model migration that is executed before the `migrations` model
2119
+ Hence, every model migration that is executed before the `migrations`
2120
+ model
2104
2121
 
2105
- will not be tracked properly. This is an edge case for empty database schemas.
2122
+ will not be tracked properly. This is an edge case for empty database
2123
+ schemas.
2106
2124
  footer:
2107
2125
  Change-type: patch
2108
2126
  change-type: patch
@@ -2633,9 +2651,11 @@
2633
2651
  Ensure that the input passed in for JSON types
2634
2652
  is either an object or
2635
2653
 
2636
- an array (typeof returns 'object' for arrays as well). This change is
2654
+ an array (typeof returns 'object' for arrays as
2655
+ well). This change is
2637
2656
 
2638
- mainly to prevent primitives from being stored as JSON.
2657
+ mainly to prevent primitives from being stored
2658
+ as JSON.
2639
2659
  footer:
2640
2660
  Change-type: major
2641
2661
  change-type: major
@@ -3179,7 +3199,8 @@
3179
3199
  Ensure that the input passed in for JSON types is either
3180
3200
  an object or
3181
3201
 
3182
- an array (typeof returns 'object' for arrays as well). This change is
3202
+ an array (typeof returns 'object' for arrays as well).
3203
+ This change is
3183
3204
 
3184
3205
  mainly to prevent primitives from being stored as JSON.
3185
3206
  footer:
@@ -3333,7 +3354,8 @@
3333
3354
  Ensure that the input passed in for JSON types is either
3334
3355
  an object or
3335
3356
 
3336
- an array (typeof returns 'object' for arrays as well). This change is
3357
+ an array (typeof returns 'object' for arrays as well).
3358
+ This change is
3337
3359
 
3338
3360
  mainly to prevent primitives from being stored as JSON.
3339
3361
  footer:
@@ -3452,7 +3474,8 @@
3452
3474
  Ensure that the input passed in for JSON types is either an
3453
3475
  object or
3454
3476
 
3455
- an array (typeof returns 'object' for arrays as well). This change is
3477
+ an array (typeof returns 'object' for arrays as well). This
3478
+ change is
3456
3479
 
3457
3480
  mainly to prevent primitives from being stored as JSON.
3458
3481
  footer:
@@ -5097,46 +5120,60 @@
5097
5120
  After every write, pine has to rerun all rules from the
5098
5121
  model to ensure
5099
5122
 
5100
- consistency. These rules run over the entire database, sometimes causing
5123
+ consistency. These rules run over the entire database,
5124
+ sometimes causing
5101
5125
 
5102
- some queries to run for too long against what should be a simple write.
5126
+ some queries to run for too long against what should be
5127
+ a simple write.
5103
5128
 
5104
5129
 
5105
- This commit adds a mechanism to help with this issue by narrowing the
5130
+ This commit adds a mechanism to help with this issue by
5131
+ narrowing the
5106
5132
 
5107
- set of rows that each rule should touch to those rows that were actually
5133
+ set of rows that each rule should touch to those rows
5134
+ that were actually
5108
5135
 
5109
5136
  changed.
5110
5137
 
5111
5138
 
5112
- Implementing this mechanism safely is doable and not necessarily complex
5139
+ Implementing this mechanism safely is doable and not
5140
+ necessarily complex
5113
5141
 
5114
- code-wise, but requires a deep modifications from the current
5142
+ code-wise, but requires a deep modifications from the
5143
+ current
5115
5144
 
5116
- architecture. This commit adds a restricted form instead where we only
5145
+ architecture. This commit adds a restricted form instead
5146
+ where we only
5117
5147
 
5118
- narrow the rows of the root table that were changed. If any other table
5148
+ narrow the rows of the root table that were changed. If
5149
+ any other table
5119
5150
 
5120
5151
  was changed then narrowing is a no op.
5121
5152
 
5122
5153
 
5123
- It can be proved that this is always safe as long as the root table is
5154
+ It can be proved that this is always safe as long as the
5155
+ root table is
5124
5156
 
5125
- selected from only once and the rule is positive ("It is necessary that
5157
+ selected from only once and the rule is positive ("It is
5158
+ necessary that
5126
5159
 
5127
5160
  each ...").
5128
5161
 
5129
5162
 
5130
- The implementation here adds a single binding into the rule's SQL query
5163
+ The implementation here adds a single binding into the
5164
+ rule's SQL query
5131
5165
 
5132
- which can be bound by pine for each rule where an opportunity to use
5166
+ which can be bound by pine for each rule where an
5167
+ opportunity to use
5133
5168
 
5134
5169
  this optimization arises.
5135
5170
 
5136
5171
 
5137
- The implementation itself is simple: count how many times the root table
5172
+ The implementation itself is simple: count how many
5173
+ times the root table
5138
5174
 
5139
- is selected from and if it is selected from exactly one, then add a
5175
+ is selected from and if it is selected from exactly one,
5176
+ then add a
5140
5177
 
5141
5178
  narrowing constraint in the form of:
5142
5179
 
@@ -5146,12 +5183,14 @@
5146
5183
  <root table>.id = ANY(CAST($1 AS INTEGER[]))
5147
5184
 
5148
5185
 
5149
- Where $1 will be bound to either '{}', which disables narrowing, or to a
5186
+ Where $1 will be bound to either '{}', which disables
5187
+ narrowing, or to a
5150
5188
 
5151
5189
  list of IDs that were affected by the write.
5152
5190
 
5153
5191
 
5154
- This initial implementation can be extended in the future.
5192
+ This initial implementation can be extended in the
5193
+ future.
5155
5194
  footer:
5156
5195
  Change-type: major
5157
5196
  change-type: major
@@ -5172,7 +5211,8 @@
5172
5211
  This function can get called a lot so caching it should provide
5173
5212
  a
5174
5213
 
5175
- noticeable performance improvement and linking it to the resource makes
5214
+ noticeable performance improvement and linking it to the
5215
+ resource makes
5176
5216
 
5177
5217
  cache management simple
5178
5218
  footer:
@@ -5220,7 +5260,8 @@
5220
5260
  This reverts commit 6b85dd0063669e7db4432bdb650927d05ef9f9c4.
5221
5261
 
5222
5262
 
5223
- Pin grunt to fixed 1.5.3 as grunt does not follow semver. Needed for now to executed on node12
5263
+ Pin grunt to fixed 1.5.3 as grunt does not follow semver. Needed for now
5264
+ to executed on node12
5224
5265
  footer:
5225
5266
  Change-type: minor
5226
5267
  change-type: minor
@@ -5343,11 +5384,14 @@
5343
5384
  This increases the minimum postgres version for AggregateJSON
5344
5385
  from 9.2
5345
5386
 
5346
- to 9.3 but it is likely that other places already require postgres
5387
+ to 9.3 but it is likely that other places already require
5388
+ postgres
5347
5389
 
5348
- >=9.3 and as such this should not increase the minimum version at all.
5390
+ >=9.3 and as such this should not increase the minimum version
5391
+ at all.
5349
5392
 
5350
- If it does somehow manage to then increasing the minimum from a 2012
5393
+ If it does somehow manage to then increasing the minimum from a
5394
+ 2012
5351
5395
 
5352
5396
  postgres to 2013 should still be fine
5353
5397
  footer:
@@ -5428,7 +5472,8 @@
5428
5472
  This is intended to be used to target tables differently for
5429
5473
  reads vs
5430
5474
 
5431
- writes, eg where you might read from a view/definition but want to
5475
+ writes, eg where you might read from a view/definition but want
5476
+ to
5432
5477
 
5433
5478
  write to a physical table instead
5434
5479
  footer:
@@ -5469,7 +5514,8 @@
5469
5514
  body: >
5470
5515
  `lfInfo` will be used to pass extra context extracted from LF
5471
5516
 
5472
- downstream. Currently the only context is the root table alias for each
5517
+ downstream. Currently the only context is the root table alias
5518
+ for each
5473
5519
 
5474
5520
  rule.
5475
5521
  footer:
@@ -5489,7 +5535,8 @@
5489
5535
  This is intended to be used to target tables differently for
5490
5536
  reads vs
5491
5537
 
5492
- writes, eg where you might read from a view/definition but want to
5538
+ writes, eg where you might read from a view/definition but want
5539
+ to
5493
5540
 
5494
5541
  write to a physical table instead
5495
5542
 
@@ -5507,7 +5554,8 @@
5507
5554
  This is intended to be used to target tables differently
5508
5555
  for reads vs
5509
5556
 
5510
- writes, eg where you might read from a view/definition but want to
5557
+ writes, eg where you might read from a view/definition
5558
+ but want to
5511
5559
 
5512
5560
  write to a physical table instead
5513
5561
  footer:
@@ -5634,7 +5682,8 @@
5634
5682
  This avoids issues where the aliases may not map up,
5635
5683
  particularly if
5636
5684
 
5637
- the definition was generated and may have automatic aliases, eg if
5685
+ the definition was generated and may have automatic aliases, eg
5686
+ if
5638
5687
 
5639
5688
  using the result of an odata-to-abstract-sql generation
5640
5689
  footer:
@@ -6403,7 +6452,8 @@
6403
6452
  if operands in expression can be used as numericValues.
6404
6453
 
6405
6454
 
6406
- In SQL statements arithmetic expressions like add/sub are supported for date values.
6455
+ In SQL statements arithmetic expressions like add/sub are
6456
+ supported for date values.
6407
6457
 
6408
6458
  DateArithmetic nodes need input dependent typing.
6409
6459
  footer:
@@ -6449,12 +6499,15 @@
6449
6499
  isNumericValue is evaluated in arithmetic
6450
6500
  expressions
6451
6501
 
6452
- if operands in expression can be used as numericValues.
6502
+ if operands in expression can be used as
6503
+ numericValues.
6453
6504
 
6454
6505
 
6455
- In SQL statements arithmetic expressions like add/sub are supported for date values.
6506
+ In SQL statements arithmetic expressions like
6507
+ add/sub are supported for date values.
6456
6508
 
6457
- DateArithmetic nodes need input dependent typing.
6509
+ DateArithmetic nodes need input dependent
6510
+ typing.
6458
6511
  footer:
6459
6512
  Change-type: minor
6460
6513
  change-type: minor
@@ -6831,7 +6884,8 @@
6831
6884
  if operands in expression can be used as numericValues.
6832
6885
 
6833
6886
 
6834
- In SQL statements arithmetic expressions like add/sub are supported for date values.
6887
+ In SQL statements arithmetic expressions like add/sub
6888
+ are supported for date values.
6835
6889
 
6836
6890
  DateArithmetic nodes need input dependent typing.
6837
6891
  footer:
@@ -7365,7 +7419,8 @@
7365
7419
  when I is not set in the overload.
7366
7420
 
7367
7421
 
7368
- tsc 4.8 https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to
7422
+ tsc 4.8
7423
+ https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to
7369
7424
  footer:
7370
7425
  Change-type: patch
7371
7426
  change-type: patch
@@ -7956,12 +8011,15 @@
7956
8011
  'strict' or 'informative'.
7957
8012
 
7958
8013
 
7959
- Behaviour change only if type is informative otherwise default 'strict'.
8014
+ Behaviour change only if type is informative
8015
+ otherwise default 'strict'.
7960
8016
 
7961
8017
 
7962
- An informative reference is just an int field that points
8018
+ An informative reference is just an int field
8019
+ that points
7963
8020
 
7964
- to another tables id field - like foreign key without constraints
8021
+ to another tables id field - like foreign key
8022
+ without constraints
7965
8023
 
7966
8024
  or foregein key cascades.
7967
8025
  footer:
@@ -7981,7 +8039,8 @@
7981
8039
  Since it's possible for them to behave in a way
7982
8040
  that violates the
7983
8041
 
7984
- safety checks we'll disable them until we can add specific checks
8042
+ safety checks we'll disable them until we can
8043
+ add specific checks
7985
8044
 
7986
8045
  for the HAVING clause
7987
8046
  footer:
@@ -8042,10 +8101,12 @@
8042
8101
  This means the prefix will be stable/reliable across
8043
8102
  runs and make it
8044
8103
 
8045
- easier to compare the output generating from different runs
8104
+ easier to compare the output generating from different
8105
+ runs
8046
8106
 
8047
8107
 
8048
- Update @balena/abstract-sql-compiler from 7.14.1 to 7.17.0
8108
+ Update @balena/abstract-sql-compiler from 7.14.1 to
8109
+ 7.17.0
8049
8110
 
8050
8111
  Update @balena/lf-to-abstract-sql from 4.3.0 to 4.4.1
8051
8112
 
@@ -8232,7 +8293,8 @@
8232
8293
  This became unnecessary when @balena/sbvr-types
8233
8294
  added the concept of
8234
8295
 
8235
- cast types since that now specifies how to cast a SERIAL type
8296
+ cast types since that now specifies how to cast
8297
+ a SERIAL type
8236
8298
  footer:
8237
8299
  Change-type: patch
8238
8300
  change-type: patch
@@ -8397,7 +8459,8 @@
8397
8459
  This works on the assumption that it is a rule
8398
8460
  query that should always
8399
8461
 
8400
- return true and allows ignoring more modification cases where they
8462
+ return true and allows ignoring more
8463
+ modification cases where they
8401
8464
 
8402
8465
  cannot change the result from true to false
8403
8466
  footer:
@@ -8611,12 +8674,15 @@
8611
8674
  'informative'.
8612
8675
 
8613
8676
 
8614
- Behaviour change only if type is informative otherwise default 'strict'.
8677
+ Behaviour change only if type is informative otherwise
8678
+ default 'strict'.
8615
8679
 
8616
8680
 
8617
- An informative reference is just an int field that points
8681
+ An informative reference is just an int field that
8682
+ points
8618
8683
 
8619
- to another tables id field - like foreign key without constraints
8684
+ to another tables id field - like foreign key without
8685
+ constraints
8620
8686
 
8621
8687
  or foregein key cascades.
8622
8688
  footer:
@@ -8636,7 +8702,8 @@
8636
8702
  Since it's possible for them to behave in a way that
8637
8703
  violates the
8638
8704
 
8639
- safety checks we'll disable them until we can add specific checks
8705
+ safety checks we'll disable them until we can add
8706
+ specific checks
8640
8707
 
8641
8708
  for the HAVING clause
8642
8709
  footer:
@@ -8877,12 +8944,14 @@
8877
8944
  'informative'.
8878
8945
 
8879
8946
 
8880
- Behaviour change only if type is informative otherwise default 'strict'.
8947
+ Behaviour change only if type is informative otherwise default
8948
+ 'strict'.
8881
8949
 
8882
8950
 
8883
8951
  An informative reference is just an int field that points
8884
8952
 
8885
- to another tables id field - like foreign key without constraints
8953
+ to another tables id field - like foreign key without
8954
+ constraints
8886
8955
 
8887
8956
  or foregein key cascades.
8888
8957
  footer:
@@ -9020,7 +9089,8 @@
9020
9089
  Since it's possible for them to behave in a way that violates
9021
9090
  the
9022
9091
 
9023
- safety checks we'll disable them until we can add specific checks
9092
+ safety checks we'll disable them until we can add specific
9093
+ checks
9024
9094
 
9025
9095
  for the HAVING clause
9026
9096
  footer:
@@ -9693,7 +9763,8 @@
9693
9763
  This became unnecessary when @balena/sbvr-types added
9694
9764
  the concept of
9695
9765
 
9696
- cast types since that now specifies how to cast a SERIAL type
9766
+ cast types since that now specifies how to cast a SERIAL
9767
+ type
9697
9768
  footer:
9698
9769
  Change-type: patch
9699
9770
  change-type: patch
@@ -9858,7 +9929,8 @@
9858
9929
  This works on the assumption that it is a rule query
9859
9930
  that should always
9860
9931
 
9861
- return true and allows ignoring more modification cases where they
9932
+ return true and allows ignoring more modification cases
9933
+ where they
9862
9934
 
9863
9935
  cannot change the result from true to false
9864
9936
  footer:
@@ -10966,7 +11038,8 @@
10966
11038
  This works on the assumption that it is a rule query that should
10967
11039
  always
10968
11040
 
10969
- return true and allows ignoring more modification cases where they
11041
+ return true and allows ignoring more modification cases where
11042
+ they
10970
11043
 
10971
11044
  cannot change the result from true to false
10972
11045
  footer:
@@ -11786,7 +11859,8 @@
11786
11859
  This allows specifying the correct type to cast to when
11787
11860
  necessary
11788
11861
 
11789
- rather than relying on the fact the currently all type functions happen
11862
+ rather than relying on the fact the currently all type
11863
+ functions happen
11790
11864
 
11791
11865
  to be integers
11792
11866
  footer:
@@ -11845,7 +11919,8 @@
11845
11919
  This allows specifying the correct type to cast to when
11846
11920
  necessary
11847
11921
 
11848
- rather than relying on the fact the currently all type functions happen
11922
+ rather than relying on the fact the currently all type
11923
+ functions happen
11849
11924
 
11850
11925
  to be integers
11851
11926
  footer:
@@ -11914,7 +11989,8 @@
11914
11989
  This allows specifying the correct type to cast
11915
11990
  to when necessary
11916
11991
 
11917
- rather than relying on the fact the currently all type functions happen
11992
+ rather than relying on the fact the currently
11993
+ all type functions happen
11918
11994
 
11919
11995
  to be integers
11920
11996
  footer:
@@ -11995,7 +12071,8 @@
11995
12071
  This allows specifying the correct type to cast to when
11996
12072
  necessary
11997
12073
 
11998
- rather than relying on the fact the currently all type functions happen
12074
+ rather than relying on the fact the currently all type functions
12075
+ happen
11999
12076
 
12000
12077
  to be integers
12001
12078
  footer:
@@ -14038,7 +14115,8 @@
14038
14115
  We do this by using basic scope info to
14039
14116
  prune aliased table references
14040
14117
 
14041
- which also allows us to handle aliased select queries in the from
14118
+ which also allows us to handle aliased
14119
+ select queries in the from
14042
14120
  footer:
14043
14121
  Change-type: minor
14044
14122
  change-type: minor
@@ -14151,7 +14229,8 @@
14151
14229
  body: >
14152
14230
  Update odata-parser from 1.0.1 to 1.0.3
14153
14231
 
14154
- Update odata-to-abstract-sql from 3.0.0 to 3.0.1
14232
+ Update odata-to-abstract-sql from 3.0.0
14233
+ to 3.0.1
14155
14234
 
14156
14235
  Update sbvr-parser from 0.2.1 to 0.2.2
14157
14236
 
@@ -15324,7 +15403,8 @@
15324
15403
  We do this by using basic scope info to prune
15325
15404
  aliased table references
15326
15405
 
15327
- which also allows us to handle aliased select queries in the from
15406
+ which also allows us to handle aliased select
15407
+ queries in the from
15328
15408
  footer:
15329
15409
  Change-type: minor
15330
15410
  change-type: minor
@@ -18159,7 +18239,9 @@
18159
18239
 
18160
18240
  ```
18161
18241
 
18162
- GET /example/application?$select=id,name&$filter=(owns__device/any(d:d/name eq 'test'))&$expand=owns__device($select=id,name)
18242
+ GET
18243
+ /example/application?$select=id,name&$filter=(owns__device/any(d:d/name
18244
+ eq 'test'))&$expand=owns__device($select=id,name)
18163
18245
 
18164
18246
  ```
18165
18247
 
@@ -18261,7 +18343,8 @@
18261
18343
  ```
18262
18344
 
18263
18345
 
18264
- As one can see we don't apply the device access permission anymore in the select and where subqueries.
18346
+ As one can see we don't apply the device access permission anymore in
18347
+ the select and where subqueries.
18265
18348
  footer:
18266
18349
  Change-type: minor
18267
18350
  change-type: minor
@@ -20008,7 +20091,8 @@
20008
20091
  We do this by using basic scope info to prune aliased
20009
20092
  table references
20010
20093
 
20011
- which also allows us to handle aliased select queries in the from
20094
+ which also allows us to handle aliased select queries in
20095
+ the from
20012
20096
  footer:
20013
20097
  Change-type: minor
20014
20098
  change-type: minor
@@ -20243,7 +20327,8 @@
20243
20327
  We do this by using basic scope info to prune aliased table
20244
20328
  references
20245
20329
 
20246
- which also allows us to handle aliased select queries in the from
20330
+ which also allows us to handle aliased select queries in the
20331
+ from
20247
20332
  footer:
20248
20333
  Change-type: minor
20249
20334
  change-type: minor
package/CHANGELOG.md CHANGED
@@ -5,9 +5,9 @@ automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  # v16.0.0
8
- ## (2024-03-06)
8
+ ## (2024-03-08)
9
9
 
10
- * Update @balena/sbvr-types major [Harald Fischer]
10
+ * Update `@balena/sbvr-types` to enable ISODatestring as internal pine API interface for date and date time fields. [Harald Fischer]
11
11
 
12
12
  # v15.6.3
13
13
  ## (2024-02-29)
@@ -8,7 +8,7 @@ export declare const getMappingFn: (headers?: {
8
8
  prefer?: string | string[] | undefined;
9
9
  } | undefined) => MappingFunction;
10
10
  export declare const delay: (ms: number) => Promise<void>;
11
- export declare const fromCallback: <T>(resolver: (callback: (err: any, result?: T | undefined) => void) => void) => Promise<T>;
11
+ export declare const fromCallback: <T>(resolver: (callback: (err: any, result?: T) => void) => void) => Promise<T>;
12
12
  export declare class TimeoutError extends TypedError {
13
13
  }
14
14
  export declare const timeout: <T>(promise: Promise<T>, ms: number, msg?: string) => Promise<T>;
@@ -63,7 +63,7 @@ declare class Hook<T extends HookFn> {
63
63
  constructor(hook: HookBlueprint<T>);
64
64
  run(...args: any[]): Promise<void>;
65
65
  }
66
- export declare const rollbackRequestHooks: <T extends InstantiatedHooks>(hooksList: [modelName: string, hooks: T][] | undefined) => void;
66
+ export declare const rollbackRequestHooks: <T extends InstantiatedHooks>(hooksList: Array<[modelName: string, hooks: T]> | undefined) => void;
67
67
  export type HookMethod = keyof typeof apiHooks;
68
68
  export declare const getHooks: {
69
69
  (request: Pick<OptionalField<ParsedODataRequest, 'resourceName'>, 'resourceName' | 'method' | 'vocabulary'>, includeAllVocab: boolean): InstantiatedHooks;
@@ -17,4 +17,4 @@ export * as webResourceHandler from '../webresource-handler';
17
17
  export type { configLoader as ConfigLoader };
18
18
  export type { migratorUtils as Migrator };
19
19
  declare let envDatabaseOptions: dbModule.DatabaseOptions<string>;
20
- export declare const init: <T extends string>(app: Express.Application, config?: string | configLoader.Config, databaseOptions?: dbModule.DatabaseOptions<string> | dbModule.DatabaseOptions<T>) => Promise<ReturnType<typeof configLoader.setup>>;
20
+ export declare const init: <T extends string>(app: Express.Application, config?: string | configLoader.Config, databaseOptions?: dbModule.DatabaseOptions<T> | typeof envDatabaseOptions) => Promise<ReturnType<typeof configLoader.setup>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/pinejs",
3
- "version": "16.0.0-build-fisehara-update-sbvr-types-cfbbecbb0387e87e17e14be8991be73d1a4efdd0-1",
3
+ "version": "16.0.0-build-fisehara-update-sbvr-types-f5e8e6ebfd0d3f590ef6ed3fa6b46d1b0861d409-1",
4
4
  "main": "out/server-glue/module",
5
5
  "type": "commonjs",
6
6
  "repository": "git@github.com:balena-io/pinejs.git",
@@ -144,6 +144,6 @@
144
144
  "recursive": true
145
145
  },
146
146
  "versionist": {
147
- "publishedAt": "2024-03-06T08:27:30.516Z"
147
+ "publishedAt": "2024-03-08T13:37:28.583Z"
148
148
  }
149
149
  }