Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test upstream aws4fetch #43

Merged
merged 4 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: pull-request

on:
pull_request:
branches: [ main ]
branches: [main]

permissions:
pull-requests: write
contents: write

jobs:
reuse-test:
runs-on: ubuntu-20.04
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.3.0
node-version: 20.5.1
- name: make nvm available
run: |
sudo cp ~/.nvm/nvm.sh /usr/local/bin/nvm
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ example-web-vms:
cd examples/web-vms; \
echo "nvm --version:"; \
nvm --version; \
echo "installing nvm..."; \
nvm install; \
echo "using nvm..."; \
nvm use; \
echo "nvm install..."; \
nvm install 20.5.1; \
echo "nvm use..."; \
nvm use 20.5.1; \
echo "npm version:"; \
npm version; \
echo "npm install..."; \
Expand All @@ -93,9 +93,9 @@ example-node-create-volumes:
echo "nvm version:"; \
nvm --version; \
echo "nvm install..."; \
nvm install; \
nvm install 20.5.1; \
echo "nvm use..."; \
nvm use; \
nvm use 20.5.1; \
echo "npm version:"; \
npm version; \
echo "npm install..."; \
Expand All @@ -111,9 +111,9 @@ example-node-volumes:
echo "nvm version:"; \
nvm --version; \
echo "nvm install..."; \
nvm install; \
nvm install 20.5.1; \
echo "nvm use..."; \
nvm use; \
nvm use 20.5.1; \
echo "npm version:"; \
npm version; \
echo "npm install..."; \
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/models/Catalogs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export declare const CatalogsStateEnum: {
readonly Current: "CURRENT";
readonly Obsolete: "OBSOLETE";
};
export declare type CatalogsStateEnum = typeof CatalogsStateEnum[keyof typeof CatalogsStateEnum];
export type CatalogsStateEnum = typeof CatalogsStateEnum[keyof typeof CatalogsStateEnum];
export declare function CatalogsFromJSON(json: any): Catalogs;
export declare function CatalogsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Catalogs;
export declare function CatalogsToJSON(value?: Catalogs | null): any;
2 changes: 1 addition & 1 deletion dist/cjs/models/CreateVmGroupRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export declare const CreateVmGroupRequestPositioningStrategyEnum: {
readonly NoStrategy: "no-strategy";
readonly Repulse: "repulse";
};
export declare type CreateVmGroupRequestPositioningStrategyEnum = typeof CreateVmGroupRequestPositioningStrategyEnum[keyof typeof CreateVmGroupRequestPositioningStrategyEnum];
export type CreateVmGroupRequestPositioningStrategyEnum = typeof CreateVmGroupRequestPositioningStrategyEnum[keyof typeof CreateVmGroupRequestPositioningStrategyEnum];
export declare function CreateVmGroupRequestFromJSON(json: any): CreateVmGroupRequest;
export declare function CreateVmGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVmGroupRequest;
export declare function CreateVmGroupRequestToJSON(value?: CreateVmGroupRequest | null): any;
2 changes: 1 addition & 1 deletion dist/cjs/models/CreateVmTemplateRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export declare const CreateVmTemplateRequestCpuPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type CreateVmTemplateRequestCpuPerformanceEnum = typeof CreateVmTemplateRequestCpuPerformanceEnum[keyof typeof CreateVmTemplateRequestCpuPerformanceEnum];
export type CreateVmTemplateRequestCpuPerformanceEnum = typeof CreateVmTemplateRequestCpuPerformanceEnum[keyof typeof CreateVmTemplateRequestCpuPerformanceEnum];
export declare function CreateVmTemplateRequestFromJSON(json: any): CreateVmTemplateRequest;
export declare function CreateVmTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVmTemplateRequest;
export declare function CreateVmTemplateRequestToJSON(value?: CreateVmTemplateRequest | null): any;
2 changes: 1 addition & 1 deletion dist/cjs/models/CreateVmsRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export declare const CreateVmsRequestPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type CreateVmsRequestPerformanceEnum = typeof CreateVmsRequestPerformanceEnum[keyof typeof CreateVmsRequestPerformanceEnum];
export type CreateVmsRequestPerformanceEnum = typeof CreateVmsRequestPerformanceEnum[keyof typeof CreateVmsRequestPerformanceEnum];
export declare function CreateVmsRequestFromJSON(json: any): CreateVmsRequest;
export declare function CreateVmsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVmsRequest;
export declare function CreateVmsRequestToJSON(value?: CreateVmsRequest | null): any;
2 changes: 1 addition & 1 deletion dist/cjs/models/UpdateDirectLinkInterfaceRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface UpdateDirectLinkInterfaceRequest {
export declare const UpdateDirectLinkInterfaceRequestMtuEnum: {
readonly NUMBER_1500: 1500;
};
export declare type UpdateDirectLinkInterfaceRequestMtuEnum = typeof UpdateDirectLinkInterfaceRequestMtuEnum[keyof typeof UpdateDirectLinkInterfaceRequestMtuEnum];
export type UpdateDirectLinkInterfaceRequestMtuEnum = typeof UpdateDirectLinkInterfaceRequestMtuEnum[keyof typeof UpdateDirectLinkInterfaceRequestMtuEnum];
export declare function UpdateDirectLinkInterfaceRequestFromJSON(json: any): UpdateDirectLinkInterfaceRequest;
export declare function UpdateDirectLinkInterfaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDirectLinkInterfaceRequest;
export declare function UpdateDirectLinkInterfaceRequestToJSON(value?: UpdateDirectLinkInterfaceRequest | null): any;
2 changes: 1 addition & 1 deletion dist/cjs/models/UpdateVmRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export declare const UpdateVmRequestPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type UpdateVmRequestPerformanceEnum = typeof UpdateVmRequestPerformanceEnum[keyof typeof UpdateVmRequestPerformanceEnum];
export type UpdateVmRequestPerformanceEnum = typeof UpdateVmRequestPerformanceEnum[keyof typeof UpdateVmRequestPerformanceEnum];
export declare function UpdateVmRequestFromJSON(json: any): UpdateVmRequest;
export declare function UpdateVmRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateVmRequest;
export declare function UpdateVmRequestToJSON(value?: UpdateVmRequest | null): any;
4 changes: 2 additions & 2 deletions dist/cjs/models/VmGroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export declare const VmGroupPositioningStrategyEnum: {
readonly NoStrategy: "no-strategy";
readonly Repulse: "repulse";
};
export declare type VmGroupPositioningStrategyEnum = typeof VmGroupPositioningStrategyEnum[keyof typeof VmGroupPositioningStrategyEnum];
export type VmGroupPositioningStrategyEnum = typeof VmGroupPositioningStrategyEnum[keyof typeof VmGroupPositioningStrategyEnum];
/**
* @export
*/
Expand All @@ -109,7 +109,7 @@ export declare const VmGroupStateEnum: {
readonly ScalingDown: "scaling down";
readonly ScalingUp: "scaling up";
};
export declare type VmGroupStateEnum = typeof VmGroupStateEnum[keyof typeof VmGroupStateEnum];
export type VmGroupStateEnum = typeof VmGroupStateEnum[keyof typeof VmGroupStateEnum];
export declare function VmGroupFromJSON(json: any): VmGroup;
export declare function VmGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmGroup;
export declare function VmGroupToJSON(value?: VmGroup | null): any;
2 changes: 1 addition & 1 deletion dist/cjs/models/VmTemplate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export declare const VmTemplateCpuPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type VmTemplateCpuPerformanceEnum = typeof VmTemplateCpuPerformanceEnum[keyof typeof VmTemplateCpuPerformanceEnum];
export type VmTemplateCpuPerformanceEnum = typeof VmTemplateCpuPerformanceEnum[keyof typeof VmTemplateCpuPerformanceEnum];
export declare function VmTemplateFromJSON(json: any): VmTemplate;
export declare function VmTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmTemplate;
export declare function VmTemplateToJSON(value?: VmTemplate | null): any;
18 changes: 9 additions & 9 deletions dist/cjs/runtime.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,24 @@ export declare const COLLECTION_FORMATS: {
tsv: string;
pipes: string;
};
export declare type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
export declare type Json = any;
export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
export declare type HTTPHeaders = {
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
export type Json = any;
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
export type HTTPHeaders = {
[key: string]: string;
};
export declare type HTTPQuery = {
export type HTTPQuery = {
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | HTTPQuery;
};
export declare type HTTPBody = Json | FormData | URLSearchParams;
export declare type HTTPRequestInit = {
export type HTTPBody = Json | FormData | URLSearchParams;
export type HTTPRequestInit = {
headers?: HTTPHeaders;
method: HTTPMethod;
credentials?: RequestCredentials;
body?: HTTPBody;
};
export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
export declare type InitOverideFunction = (requestContext: {
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
export type InitOverideFunction = (requestContext: {
init: HTTPRequestInit;
context: RequestOpts;
}) => Promise<RequestInit>;
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/models/Catalogs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export declare const CatalogsStateEnum: {
readonly Current: "CURRENT";
readonly Obsolete: "OBSOLETE";
};
export declare type CatalogsStateEnum = typeof CatalogsStateEnum[keyof typeof CatalogsStateEnum];
export type CatalogsStateEnum = typeof CatalogsStateEnum[keyof typeof CatalogsStateEnum];
export declare function CatalogsFromJSON(json: any): Catalogs;
export declare function CatalogsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Catalogs;
export declare function CatalogsToJSON(value?: Catalogs | null): any;
2 changes: 1 addition & 1 deletion dist/esm/models/CreateVmGroupRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export declare const CreateVmGroupRequestPositioningStrategyEnum: {
readonly NoStrategy: "no-strategy";
readonly Repulse: "repulse";
};
export declare type CreateVmGroupRequestPositioningStrategyEnum = typeof CreateVmGroupRequestPositioningStrategyEnum[keyof typeof CreateVmGroupRequestPositioningStrategyEnum];
export type CreateVmGroupRequestPositioningStrategyEnum = typeof CreateVmGroupRequestPositioningStrategyEnum[keyof typeof CreateVmGroupRequestPositioningStrategyEnum];
export declare function CreateVmGroupRequestFromJSON(json: any): CreateVmGroupRequest;
export declare function CreateVmGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVmGroupRequest;
export declare function CreateVmGroupRequestToJSON(value?: CreateVmGroupRequest | null): any;
2 changes: 1 addition & 1 deletion dist/esm/models/CreateVmTemplateRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export declare const CreateVmTemplateRequestCpuPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type CreateVmTemplateRequestCpuPerformanceEnum = typeof CreateVmTemplateRequestCpuPerformanceEnum[keyof typeof CreateVmTemplateRequestCpuPerformanceEnum];
export type CreateVmTemplateRequestCpuPerformanceEnum = typeof CreateVmTemplateRequestCpuPerformanceEnum[keyof typeof CreateVmTemplateRequestCpuPerformanceEnum];
export declare function CreateVmTemplateRequestFromJSON(json: any): CreateVmTemplateRequest;
export declare function CreateVmTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVmTemplateRequest;
export declare function CreateVmTemplateRequestToJSON(value?: CreateVmTemplateRequest | null): any;
2 changes: 1 addition & 1 deletion dist/esm/models/CreateVmsRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export declare const CreateVmsRequestPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type CreateVmsRequestPerformanceEnum = typeof CreateVmsRequestPerformanceEnum[keyof typeof CreateVmsRequestPerformanceEnum];
export type CreateVmsRequestPerformanceEnum = typeof CreateVmsRequestPerformanceEnum[keyof typeof CreateVmsRequestPerformanceEnum];
export declare function CreateVmsRequestFromJSON(json: any): CreateVmsRequest;
export declare function CreateVmsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVmsRequest;
export declare function CreateVmsRequestToJSON(value?: CreateVmsRequest | null): any;
2 changes: 1 addition & 1 deletion dist/esm/models/UpdateDirectLinkInterfaceRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface UpdateDirectLinkInterfaceRequest {
export declare const UpdateDirectLinkInterfaceRequestMtuEnum: {
readonly NUMBER_1500: 1500;
};
export declare type UpdateDirectLinkInterfaceRequestMtuEnum = typeof UpdateDirectLinkInterfaceRequestMtuEnum[keyof typeof UpdateDirectLinkInterfaceRequestMtuEnum];
export type UpdateDirectLinkInterfaceRequestMtuEnum = typeof UpdateDirectLinkInterfaceRequestMtuEnum[keyof typeof UpdateDirectLinkInterfaceRequestMtuEnum];
export declare function UpdateDirectLinkInterfaceRequestFromJSON(json: any): UpdateDirectLinkInterfaceRequest;
export declare function UpdateDirectLinkInterfaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDirectLinkInterfaceRequest;
export declare function UpdateDirectLinkInterfaceRequestToJSON(value?: UpdateDirectLinkInterfaceRequest | null): any;
2 changes: 1 addition & 1 deletion dist/esm/models/UpdateVmRequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export declare const UpdateVmRequestPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type UpdateVmRequestPerformanceEnum = typeof UpdateVmRequestPerformanceEnum[keyof typeof UpdateVmRequestPerformanceEnum];
export type UpdateVmRequestPerformanceEnum = typeof UpdateVmRequestPerformanceEnum[keyof typeof UpdateVmRequestPerformanceEnum];
export declare function UpdateVmRequestFromJSON(json: any): UpdateVmRequest;
export declare function UpdateVmRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateVmRequest;
export declare function UpdateVmRequestToJSON(value?: UpdateVmRequest | null): any;
4 changes: 2 additions & 2 deletions dist/esm/models/VmGroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export declare const VmGroupPositioningStrategyEnum: {
readonly NoStrategy: "no-strategy";
readonly Repulse: "repulse";
};
export declare type VmGroupPositioningStrategyEnum = typeof VmGroupPositioningStrategyEnum[keyof typeof VmGroupPositioningStrategyEnum];
export type VmGroupPositioningStrategyEnum = typeof VmGroupPositioningStrategyEnum[keyof typeof VmGroupPositioningStrategyEnum];
/**
* @export
*/
Expand All @@ -109,7 +109,7 @@ export declare const VmGroupStateEnum: {
readonly ScalingDown: "scaling down";
readonly ScalingUp: "scaling up";
};
export declare type VmGroupStateEnum = typeof VmGroupStateEnum[keyof typeof VmGroupStateEnum];
export type VmGroupStateEnum = typeof VmGroupStateEnum[keyof typeof VmGroupStateEnum];
export declare function VmGroupFromJSON(json: any): VmGroup;
export declare function VmGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmGroup;
export declare function VmGroupToJSON(value?: VmGroup | null): any;
2 changes: 1 addition & 1 deletion dist/esm/models/VmTemplate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export declare const VmTemplateCpuPerformanceEnum: {
readonly High: "high";
readonly Highest: "highest";
};
export declare type VmTemplateCpuPerformanceEnum = typeof VmTemplateCpuPerformanceEnum[keyof typeof VmTemplateCpuPerformanceEnum];
export type VmTemplateCpuPerformanceEnum = typeof VmTemplateCpuPerformanceEnum[keyof typeof VmTemplateCpuPerformanceEnum];
export declare function VmTemplateFromJSON(json: any): VmTemplate;
export declare function VmTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmTemplate;
export declare function VmTemplateToJSON(value?: VmTemplate | null): any;
18 changes: 9 additions & 9 deletions dist/esm/runtime.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,24 @@ export declare const COLLECTION_FORMATS: {
tsv: string;
pipes: string;
};
export declare type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
export declare type Json = any;
export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
export declare type HTTPHeaders = {
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
export type Json = any;
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
export type HTTPHeaders = {
[key: string]: string;
};
export declare type HTTPQuery = {
export type HTTPQuery = {
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | HTTPQuery;
};
export declare type HTTPBody = Json | FormData | URLSearchParams;
export declare type HTTPRequestInit = {
export type HTTPBody = Json | FormData | URLSearchParams;
export type HTTPRequestInit = {
headers?: HTTPHeaders;
method: HTTPMethod;
credentials?: RequestCredentials;
body?: HTTPBody;
};
export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
export declare type InitOverideFunction = (requestContext: {
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
export type InitOverideFunction = (requestContext: {
init: HTTPRequestInit;
context: RequestOpts;
}) => Promise<RequestInit>;
Expand Down
29 changes: 15 additions & 14 deletions examples/node-create-volume/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/node-create-volume/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"outscale-api": "file:../.."
},
"devDependencies": {
"@types/node": "^17.0.35"
"@types/node": "18.x"
}
}
}
Loading
Loading