@fern-api/csharp-dynamic-snippets 2.75.1 → 2.76.0
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/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -45,6 +45,16 @@ declare class DynamicLiteralMapper extends WithGeneration {
|
|
|
45
45
|
private instantiateUnionWithBaseProperties;
|
|
46
46
|
private getEnumValue;
|
|
47
47
|
private convertObject;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the wire values of the base properties to omit from this object literal when it is
|
|
50
|
+
* emitted as a discriminated-union `samePropertiesAsObject` variant and `dedupeUnionBaseProperties`
|
|
51
|
+
* is enabled. Read directly from the IR fact `ObjectType.deferredUnionBaseProperties` (the dynamic-IR
|
|
52
|
+
* mirror of `ObjectTypeDeclaration.deferredUnionBaseProperties`), which the IR generator computes
|
|
53
|
+
* once with structural type equality and an exclusive-variant guard. Empty when the flag is off or
|
|
54
|
+
* the object carries no deferred properties, so behavior is unchanged by default and standalone
|
|
55
|
+
* objects are never stripped.
|
|
56
|
+
*/
|
|
57
|
+
private getOmittedBasePropertyWireValues;
|
|
48
58
|
private isRequiredProperty;
|
|
49
59
|
private getDefaultLiteralForType;
|
|
50
60
|
private getDefaultLiteralForObject;
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,16 @@ declare class DynamicLiteralMapper extends WithGeneration {
|
|
|
45
45
|
private instantiateUnionWithBaseProperties;
|
|
46
46
|
private getEnumValue;
|
|
47
47
|
private convertObject;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the wire values of the base properties to omit from this object literal when it is
|
|
50
|
+
* emitted as a discriminated-union `samePropertiesAsObject` variant and `dedupeUnionBaseProperties`
|
|
51
|
+
* is enabled. Read directly from the IR fact `ObjectType.deferredUnionBaseProperties` (the dynamic-IR
|
|
52
|
+
* mirror of `ObjectTypeDeclaration.deferredUnionBaseProperties`), which the IR generator computes
|
|
53
|
+
* once with structural type equality and an exclusive-variant guard. Empty when the flag is off or
|
|
54
|
+
* the object carries no deferred properties, so behavior is unchanged by default and standalone
|
|
55
|
+
* objects are never stripped.
|
|
56
|
+
*/
|
|
57
|
+
private getOmittedBasePropertyWireValues;
|
|
48
58
|
private isRequiredProperty;
|
|
49
59
|
private getDefaultLiteralForType;
|
|
50
60
|
private getDefaultLiteralForObject;
|