@osdk/generator 2.6.1 → 2.7.0-beta.10

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/CHANGELOG.md CHANGED
@@ -1,92 +1,82 @@
1
1
  # @osdk/generator
2
2
 
3
- ## 2.6.1
3
+ ## 2.7.0-beta.10
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 931dff7: Add Transaction ID to Queries
8
- - Updated dependencies [931dff7]
9
- - @osdk/generator-converters@2.6.1
10
- - @osdk/api@2.6.1
7
+ - Updated dependencies [db44f6b]
8
+ - Updated dependencies [24a1e29]
9
+ - @osdk/api@2.7.0-beta.10
10
+ - @osdk/generator-converters@2.7.0-beta.10
11
11
 
12
- ## 2.6.0
12
+ ## 2.7.0-beta.9
13
13
 
14
14
  ### Patch Changes
15
15
 
16
- - 322c5bc: Simulated release
17
- - b313525: bump osdk
18
- - 3fbb596: Pipe through transactionId to endpoints that load data via object sets
19
- - 486ef7e: Deprecate multiplicity in query params/outputs
20
- - a1ffb20: Use new ephemeral media upload endpoint.
21
- - b959085: Fix nested array query param type handling
22
- - af4f3bf: Remove the following features for RC:
23
- - Property formatting
24
- - Branching
25
- - Constant RDPs
16
+ - @osdk/api@2.7.0-beta.9
17
+ - @osdk/generator-converters@2.7.0-beta.9
26
18
 
27
- - Updated dependencies [322c5bc]
28
- - Updated dependencies [322c5bc]
29
- - Updated dependencies [b313525]
30
- - Updated dependencies [3fbb596]
31
- - Updated dependencies [f7ae38a]
32
- - Updated dependencies [486ef7e]
33
- - Updated dependencies [ea077c6]
34
- - Updated dependencies [3d7dc0a]
35
- - Updated dependencies [2556c64]
36
- - Updated dependencies [5a9cd8f]
37
- - Updated dependencies [b307201]
38
- - Updated dependencies [e7bf02a]
39
- - Updated dependencies [a1ffb20]
40
- - Updated dependencies [b959085]
41
- - Updated dependencies [af4f3bf]
42
- - Updated dependencies [e62c692]
43
- - @osdk/api@2.6.0
44
- - @osdk/generator-converters@2.6.0
19
+ ## 2.7.0-beta.8
20
+
21
+ ### Patch Changes
45
22
 
46
- ## 2.6.0-rc.18
23
+ - @osdk/api@2.7.0-beta.8
24
+ - @osdk/generator-converters@2.7.0-beta.8
25
+
26
+ ## 2.7.0-beta.7
47
27
 
48
28
  ### Patch Changes
49
29
 
50
- - @osdk/api@2.6.0-rc.18
51
- - @osdk/generator-converters@2.6.0-rc.18
30
+ - @osdk/api@2.7.0-beta.7
31
+ - @osdk/generator-converters@2.7.0-beta.7
52
32
 
53
- ## 2.6.0-rc.17
33
+ ## 2.7.0-beta.6
54
34
 
55
35
  ### Patch Changes
56
36
 
57
- - Updated dependencies [3d7dc0a]
58
- - @osdk/api@2.6.0-rc.17
59
- - @osdk/generator-converters@2.6.0-rc.17
37
+ - Updated dependencies [c9ca08d]
38
+ - @osdk/api@2.7.0-beta.6
39
+ - @osdk/generator-converters@2.7.0-beta.6
40
+
41
+ ## 2.7.0-beta.5
42
+
43
+ ### Minor Changes
60
44
 
61
- ## 2.6.0-rc.16
45
+ - dc33f68: Add Transaction ID to Queries
62
46
 
63
47
  ### Patch Changes
64
48
 
65
- - @osdk/api@2.6.0-rc.16
66
- - @osdk/generator-converters@2.6.0-rc.16
49
+ - Updated dependencies [dc33f68]
50
+ - @osdk/generator-converters@2.7.0-beta.5
51
+ - @osdk/api@2.7.0-beta.5
67
52
 
68
- ## 2.6.0-rc.15
53
+ ## 2.7.0-beta.4
69
54
 
70
55
  ### Patch Changes
71
56
 
72
- - Updated dependencies [5a9cd8f]
73
- - @osdk/api@2.6.0-rc.15
74
- - @osdk/generator-converters@2.6.0-rc.15
57
+ - Updated dependencies [1e3c147]
58
+ - @osdk/api@2.7.0-beta.4
59
+ - @osdk/generator-converters@2.7.0-beta.4
75
60
 
76
- ## 2.6.0-rc.14
61
+ ## 2.7.0-beta.3
77
62
 
78
63
  ### Patch Changes
79
64
 
80
- - b313525: bump osdk
81
- - af4f3bf: Remove the following features for RC:
82
- - Property formatting
83
- - Branching
84
- - Constant RDPs
65
+ - Updated dependencies [448763f]
66
+ - Updated dependencies [f0a57a5]
67
+ - @osdk/api@2.7.0-beta.3
68
+ - @osdk/generator-converters@2.7.0-beta.3
69
+
70
+ ## 2.7.0-beta.2
71
+
72
+ ### Minor Changes
73
+
74
+ - 03db734: Move platform SDK deps to pnpm catalog
75
+
76
+ ### Patch Changes
85
77
 
86
- - Updated dependencies [b313525]
87
- - Updated dependencies [af4f3bf]
88
- - @osdk/generator-converters@2.6.0-rc.14
89
- - @osdk/api@2.6.0-rc.14
78
+ - @osdk/api@2.7.0-beta.2
79
+ - @osdk/generator-converters@2.7.0-beta.2
90
80
 
91
81
  ## 2.6.0-beta.13
92
82
 
@@ -237,6 +237,9 @@ const referencedOntology = {
237
237
  rid: "idk"
238
238
  }
239
239
  },
240
+ "branch": {
241
+ rid: "someRidHere"
242
+ },
240
243
  valueTypes: {}
241
244
  };
242
245
  const referencingOntology = {
@@ -472,7 +475,7 @@ describe("generator", () => {
472
475
  /**
473
476
  * Todo(s) to be deleted
474
477
  */
475
- readonly object?: ReadonlyArray<ActionParam.ObjectType<Todo>>;
478
+ readonly object?: ReadonlyArray<ActionParam.ObjectType<Todo>> | null;
476
479
  }
477
480
 
478
481
  // Represents a fqn of the action
@@ -494,6 +497,11 @@ describe("generator", () => {
494
497
 
495
498
  /**
496
499
  * An action which takes in an array of objects
500
+ *
501
+ * **Note on null values:** _For optional parameters, explicitly providing a null value instead of undefined
502
+ * can change the behavior of the applied action. If prefills are configured, null prevents them
503
+ * from being applied. If a parameter modifies an object's property, null will clear the data from
504
+ * the object, whereas undefined would not modify that property._
497
505
  * @param {ActionParam.ObjectType<Todo>} [object] Todo(s) to be deleted
498
506
  */
499
507
  export interface deleteTodos extends ActionDefinition<deleteTodos.Signatures> {
@@ -548,7 +556,7 @@ describe("generator", () => {
548
556
  /**
549
557
  * A Todo to mark completed
550
558
  */
551
- readonly object?: ActionParam.ObjectType<Todo>;
559
+ readonly object?: ActionParam.ObjectType<Todo> | null;
552
560
  }
553
561
 
554
562
  // Represents a fqn of the action
@@ -570,6 +578,11 @@ describe("generator", () => {
570
578
 
571
579
  /**
572
580
  * An action which takes different types of parameters
581
+ *
582
+ * **Note on null values:** _For optional parameters, explicitly providing a null value instead of undefined
583
+ * can change the behavior of the applied action. If prefills are configured, null prevents them
584
+ * from being applied. If a parameter modifies an object's property, null will clear the data from
585
+ * the object, whereas undefined would not modify that property._
573
586
  * @param {ActionParam.ObjectType<Todo>} [object] A Todo to mark completed
574
587
  */
575
588
  export interface markTodoCompleted extends ActionDefinition<markTodoCompleted.Signatures> {
@@ -1097,7 +1110,7 @@ describe("generator", () => {
1097
1110
  /**
1098
1111
  * Todo(s) to be deleted
1099
1112
  */
1100
- readonly object?: ReadonlyArray<ActionParam.ObjectType<Todo>>;
1113
+ readonly object?: ReadonlyArray<ActionParam.ObjectType<Todo>> | null;
1101
1114
  }
1102
1115
 
1103
1116
  // Represents a fqn of the action
@@ -1119,6 +1132,11 @@ describe("generator", () => {
1119
1132
 
1120
1133
  /**
1121
1134
  * An action which takes in an array of objects
1135
+ *
1136
+ * **Note on null values:** _For optional parameters, explicitly providing a null value instead of undefined
1137
+ * can change the behavior of the applied action. If prefills are configured, null prevents them
1138
+ * from being applied. If a parameter modifies an object's property, null will clear the data from
1139
+ * the object, whereas undefined would not modify that property._
1122
1140
  * @param {ActionParam.ObjectType<Todo>} [object] Todo(s) to be deleted
1123
1141
  */
1124
1142
  export interface deleteTodos extends ActionDefinition<deleteTodos.Signatures> {
@@ -1173,7 +1191,7 @@ describe("generator", () => {
1173
1191
  /**
1174
1192
  * A Todo to mark completed
1175
1193
  */
1176
- readonly object?: ActionParam.ObjectType<Todo>;
1194
+ readonly object?: ActionParam.ObjectType<Todo> | null;
1177
1195
  }
1178
1196
 
1179
1197
  // Represents a fqn of the action
@@ -1195,6 +1213,11 @@ describe("generator", () => {
1195
1213
 
1196
1214
  /**
1197
1215
  * An action which takes different types of parameters
1216
+ *
1217
+ * **Note on null values:** _For optional parameters, explicitly providing a null value instead of undefined
1218
+ * can change the behavior of the applied action. If prefills are configured, null prevents them
1219
+ * from being applied. If a parameter modifies an object's property, null will clear the data from
1220
+ * the object, whereas undefined would not modify that property._
1198
1221
  * @param {ActionParam.ObjectType<Todo>} [object] A Todo to mark completed
1199
1222
  */
1200
1223
  export interface markTodoCompleted extends ActionDefinition<markTodoCompleted.Signatures> {
@@ -2359,6 +2382,8 @@ describe("generator", () => {
2359
2382
  export const $osdkMetadata = { extraUserAgent: '' };
2360
2383
 
2361
2384
  export const $ontologyRid = 'ri.ontology.main.ontology.dep';
2385
+
2386
+ export const $branch = 'someRidHere';
2362
2387
  ",
2363
2388
  "/foo/index.ts": "export {} from './ontology/actions.js';
2364
2389
  export * as $Actions from './ontology/actions.js';