@fern-api/swift-dynamic-snippets 0.35.12 → 0.35.14
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 +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -39,6 +39,12 @@ declare class DynamicTypeLiteralMapper {
|
|
|
39
39
|
interface FilePropertyInfo {
|
|
40
40
|
fileFields: swift.FunctionArgument[];
|
|
41
41
|
bodyPropertyFields: swift.FunctionArgument[];
|
|
42
|
+
/**
|
|
43
|
+
* All file and body-property fields in their original schema declaration
|
|
44
|
+
* order. The generated request type declares its initializer parameters in
|
|
45
|
+
* this order, so snippets must emit arguments in the same order.
|
|
46
|
+
*/
|
|
47
|
+
orderedFields: swift.FunctionArgument[];
|
|
42
48
|
}
|
|
43
49
|
declare class FilePropertyMapper {
|
|
44
50
|
private context;
|
|
@@ -121,6 +127,8 @@ declare class EndpointSnippetGenerator {
|
|
|
121
127
|
private getEndpointMethodPathParameters;
|
|
122
128
|
private renderPathParameterValueAsSwiftString;
|
|
123
129
|
private getEndpointMethodQueryParameters;
|
|
130
|
+
private getEndpointMethodHeaderParameters;
|
|
131
|
+
private resolveAliasTypeReference;
|
|
124
132
|
private getFilePropertyInfo;
|
|
125
133
|
private getInlinedRequestArg;
|
|
126
134
|
private getInlinedRequestBodyObjectFields;
|
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,12 @@ declare class DynamicTypeLiteralMapper {
|
|
|
39
39
|
interface FilePropertyInfo {
|
|
40
40
|
fileFields: swift.FunctionArgument[];
|
|
41
41
|
bodyPropertyFields: swift.FunctionArgument[];
|
|
42
|
+
/**
|
|
43
|
+
* All file and body-property fields in their original schema declaration
|
|
44
|
+
* order. The generated request type declares its initializer parameters in
|
|
45
|
+
* this order, so snippets must emit arguments in the same order.
|
|
46
|
+
*/
|
|
47
|
+
orderedFields: swift.FunctionArgument[];
|
|
42
48
|
}
|
|
43
49
|
declare class FilePropertyMapper {
|
|
44
50
|
private context;
|
|
@@ -121,6 +127,8 @@ declare class EndpointSnippetGenerator {
|
|
|
121
127
|
private getEndpointMethodPathParameters;
|
|
122
128
|
private renderPathParameterValueAsSwiftString;
|
|
123
129
|
private getEndpointMethodQueryParameters;
|
|
130
|
+
private getEndpointMethodHeaderParameters;
|
|
131
|
+
private resolveAliasTypeReference;
|
|
124
132
|
private getFilePropertyInfo;
|
|
125
133
|
private getInlinedRequestArg;
|
|
126
134
|
private getInlinedRequestBodyObjectFields;
|