netlify-api 0.3.0 → 0.3.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.
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +35 -32
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> netlify-api@0.3.
|
|
2
|
+
> netlify-api@0.3.1 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
|
|
3
3
|
> rimraf dist && rollup -c
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.ts[22m → [1mdist/index.cjs, dist/index.mjs[22m...[39m
|
|
7
|
-
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m5.
|
|
7
|
+
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m5.4s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
|
10
|
-
[32mcreated [1mdist/index.d.ts[22m in [1m5.
|
|
10
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m5.2s[22m[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -29,8 +29,36 @@ type ErrorWrapper<TError> = TError | {
|
|
|
29
29
|
/**
|
|
30
30
|
* Generated by @openapi-codegen
|
|
31
31
|
*
|
|
32
|
-
* @version 2.
|
|
32
|
+
* @version 2.28.0
|
|
33
33
|
*/
|
|
34
|
+
type CreateSiteDeployDeploy = {
|
|
35
|
+
files?: Record<string, any>;
|
|
36
|
+
draft?: boolean;
|
|
37
|
+
async?: boolean;
|
|
38
|
+
functions?: Record<string, any>;
|
|
39
|
+
function_schedules?: {
|
|
40
|
+
name?: string;
|
|
41
|
+
cron?: string;
|
|
42
|
+
}[];
|
|
43
|
+
functions_config?: {
|
|
44
|
+
[key: string]: {
|
|
45
|
+
display_name?: string;
|
|
46
|
+
generator?: string;
|
|
47
|
+
build_data?: Record<string, any>;
|
|
48
|
+
routes?: {
|
|
49
|
+
pattern?: string;
|
|
50
|
+
literal?: string;
|
|
51
|
+
expression?: string;
|
|
52
|
+
methods?: ('GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS')[];
|
|
53
|
+
prefer_static?: boolean;
|
|
54
|
+
}[];
|
|
55
|
+
priority?: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
branch?: string;
|
|
59
|
+
framework?: string;
|
|
60
|
+
framework_version?: string;
|
|
61
|
+
};
|
|
34
62
|
type UpdateSiteMetadataMetadata = Record<string, any>;
|
|
35
63
|
type CreateHookBySiteIdHook = {
|
|
36
64
|
id?: string;
|
|
@@ -64,33 +92,6 @@ type CreateSiteSnippetSnippet = {
|
|
|
64
92
|
* @format binary
|
|
65
93
|
*/
|
|
66
94
|
type UploadDeployFileFileBody = Blob;
|
|
67
|
-
type CreateSiteDeployDeploy = {
|
|
68
|
-
files?: Record<string, any>;
|
|
69
|
-
draft?: boolean;
|
|
70
|
-
async?: boolean;
|
|
71
|
-
functions?: Record<string, any>;
|
|
72
|
-
function_schedules?: {
|
|
73
|
-
name?: string;
|
|
74
|
-
cron?: string;
|
|
75
|
-
}[];
|
|
76
|
-
functions_config?: {
|
|
77
|
-
[key: string]: {
|
|
78
|
-
display_name?: string;
|
|
79
|
-
generator?: string;
|
|
80
|
-
build_data?: Record<string, any>;
|
|
81
|
-
routes?: {
|
|
82
|
-
pattern?: string;
|
|
83
|
-
literal?: string;
|
|
84
|
-
expression?: string;
|
|
85
|
-
methods?: ('GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS')[];
|
|
86
|
-
prefer_static?: boolean;
|
|
87
|
-
}[];
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
branch?: string;
|
|
91
|
-
framework?: string;
|
|
92
|
-
framework_version?: string;
|
|
93
|
-
};
|
|
94
95
|
type CreateSiteBuildHookBuildhook = {
|
|
95
96
|
title?: string;
|
|
96
97
|
branch?: string;
|
|
@@ -249,7 +250,7 @@ type ServerErrorStatus = Exclude<ComputeRange<600>[number], ComputeRange<500>[nu
|
|
|
249
250
|
/**
|
|
250
251
|
* Generated by @openapi-codegen
|
|
251
252
|
*
|
|
252
|
-
* @version 2.
|
|
253
|
+
* @version 2.28.0
|
|
253
254
|
*/
|
|
254
255
|
|
|
255
256
|
type ListSitesQueryParams = {
|
|
@@ -6997,7 +6998,7 @@ type RefreshTokenResult = {
|
|
|
6997
6998
|
/**
|
|
6998
6999
|
* Generated by @openapi-codegen
|
|
6999
7000
|
*
|
|
7000
|
-
* @version 2.
|
|
7001
|
+
* @version 2.28.0
|
|
7001
7002
|
*/
|
|
7002
7003
|
type SplitTestSetup = {
|
|
7003
7004
|
branch_tests?: Record<string, any>;
|
|
@@ -7628,6 +7629,7 @@ type DeployFiles = {
|
|
|
7628
7629
|
methods?: ('GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS')[];
|
|
7629
7630
|
prefer_static?: boolean;
|
|
7630
7631
|
}[];
|
|
7632
|
+
priority?: number;
|
|
7631
7633
|
};
|
|
7632
7634
|
};
|
|
7633
7635
|
branch?: string;
|
|
@@ -8149,6 +8151,7 @@ type FunctionConfig = {
|
|
|
8149
8151
|
methods?: ('GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS')[];
|
|
8150
8152
|
prefer_static?: boolean;
|
|
8151
8153
|
}[];
|
|
8154
|
+
priority?: number;
|
|
8152
8155
|
};
|
|
8153
8156
|
type FunctionRoute = {
|
|
8154
8157
|
pattern?: string;
|
|
@@ -8238,7 +8241,7 @@ declare namespace schemas {
|
|
|
8238
8241
|
/**
|
|
8239
8242
|
* Generated by @openapi-codegen
|
|
8240
8243
|
*
|
|
8241
|
-
* @version 2.
|
|
8244
|
+
* @version 2.28.0
|
|
8242
8245
|
*/
|
|
8243
8246
|
/**
|
|
8244
8247
|
* @format int32
|
|
@@ -8260,7 +8263,7 @@ declare namespace parameters {
|
|
|
8260
8263
|
/**
|
|
8261
8264
|
* Generated by @openapi-codegen
|
|
8262
8265
|
*
|
|
8263
|
-
* @version 2.
|
|
8266
|
+
* @version 2.28.0
|
|
8264
8267
|
*/
|
|
8265
8268
|
type Error = {
|
|
8266
8269
|
/**
|