@distilled.cloud/fly-io 0.15.2 → 0.16.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/lib/operations/MachinesCreate.d.ts +24 -24
- package/lib/operations/MachinesCreate.d.ts.map +1 -1
- package/lib/operations/MachinesCreate.js +24 -12
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesList.d.ts +16 -16
- package/lib/operations/MachinesList.d.ts.map +1 -1
- package/lib/operations/MachinesList.js +16 -8
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts +8 -8
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +8 -4
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesShow.d.ts +16 -16
- package/lib/operations/MachinesShow.d.ts.map +1 -1
- package/lib/operations/MachinesShow.js +16 -8
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesUpdate.d.ts +24 -24
- package/lib/operations/MachinesUpdate.d.ts.map +1 -1
- package/lib/operations/MachinesUpdate.js +24 -12
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +4 -2
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +1 -1
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/package.json +3 -3
- package/src/operations/MachinesCreate.ts +42 -12
- package/src/operations/MachinesList.ts +28 -8
- package/src/operations/MachinesListVersions.ts +14 -4
- package/src/operations/MachinesShow.ts +28 -8
- package/src/operations/MachinesUpdate.ts +42 -12
- package/src/operations/PlatformPlacementsPost.ts +1 -1
|
@@ -63,7 +63,13 @@ export const MachinesListVersionsOutput =
|
|
|
63
63
|
depends_on: Schema.optional(
|
|
64
64
|
Schema.Array(
|
|
65
65
|
Schema.Struct({
|
|
66
|
-
condition: Schema.optional(
|
|
66
|
+
condition: Schema.optional(
|
|
67
|
+
Schema.Literals([
|
|
68
|
+
"exited_successfully",
|
|
69
|
+
"healthy",
|
|
70
|
+
"started",
|
|
71
|
+
]),
|
|
72
|
+
),
|
|
67
73
|
name: Schema.optional(Schema.String),
|
|
68
74
|
}),
|
|
69
75
|
),
|
|
@@ -126,13 +132,17 @@ export const MachinesListVersionsOutput =
|
|
|
126
132
|
method: Schema.optional(Schema.String),
|
|
127
133
|
path: Schema.optional(Schema.String),
|
|
128
134
|
port: Schema.optional(Schema.Number),
|
|
129
|
-
scheme: Schema.optional(
|
|
135
|
+
scheme: Schema.optional(
|
|
136
|
+
Schema.Literals(["http", "https"]),
|
|
137
|
+
),
|
|
130
138
|
tls_server_name: Schema.optional(Schema.String),
|
|
131
139
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
132
140
|
}),
|
|
133
141
|
),
|
|
134
142
|
interval: Schema.optional(Schema.Number),
|
|
135
|
-
kind: Schema.optional(
|
|
143
|
+
kind: Schema.optional(
|
|
144
|
+
Schema.Literals(["readiness", "liveness"]),
|
|
145
|
+
),
|
|
136
146
|
name: Schema.optional(Schema.String),
|
|
137
147
|
success_threshold: Schema.optional(Schema.Number),
|
|
138
148
|
tcp: Schema.optional(
|
|
@@ -141,7 +151,7 @@ export const MachinesListVersionsOutput =
|
|
|
141
151
|
}),
|
|
142
152
|
),
|
|
143
153
|
timeout: Schema.optional(Schema.Number),
|
|
144
|
-
unhealthy: Schema.optional(Schema.
|
|
154
|
+
unhealthy: Schema.optional(Schema.Literals(["stop"])),
|
|
145
155
|
}),
|
|
146
156
|
),
|
|
147
157
|
),
|
|
@@ -67,7 +67,13 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
67
67
|
depends_on: Schema.optional(
|
|
68
68
|
Schema.Array(
|
|
69
69
|
Schema.Struct({
|
|
70
|
-
condition: Schema.optional(
|
|
70
|
+
condition: Schema.optional(
|
|
71
|
+
Schema.Literals([
|
|
72
|
+
"exited_successfully",
|
|
73
|
+
"healthy",
|
|
74
|
+
"started",
|
|
75
|
+
]),
|
|
76
|
+
),
|
|
71
77
|
name: Schema.optional(Schema.String),
|
|
72
78
|
}),
|
|
73
79
|
),
|
|
@@ -128,13 +134,17 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
128
134
|
method: Schema.optional(Schema.String),
|
|
129
135
|
path: Schema.optional(Schema.String),
|
|
130
136
|
port: Schema.optional(Schema.Number),
|
|
131
|
-
scheme: Schema.optional(
|
|
137
|
+
scheme: Schema.optional(
|
|
138
|
+
Schema.Literals(["http", "https"]),
|
|
139
|
+
),
|
|
132
140
|
tls_server_name: Schema.optional(Schema.String),
|
|
133
141
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
134
142
|
}),
|
|
135
143
|
),
|
|
136
144
|
interval: Schema.optional(Schema.Number),
|
|
137
|
-
kind: Schema.optional(
|
|
145
|
+
kind: Schema.optional(
|
|
146
|
+
Schema.Literals(["readiness", "liveness"]),
|
|
147
|
+
),
|
|
138
148
|
name: Schema.optional(Schema.String),
|
|
139
149
|
success_threshold: Schema.optional(Schema.Number),
|
|
140
150
|
tcp: Schema.optional(
|
|
@@ -143,7 +153,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
143
153
|
}),
|
|
144
154
|
),
|
|
145
155
|
timeout: Schema.optional(Schema.Number),
|
|
146
|
-
unhealthy: Schema.optional(Schema.
|
|
156
|
+
unhealthy: Schema.optional(Schema.Literals(["stop"])),
|
|
147
157
|
}),
|
|
148
158
|
),
|
|
149
159
|
),
|
|
@@ -524,7 +534,13 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
524
534
|
depends_on: Schema.optional(
|
|
525
535
|
Schema.Array(
|
|
526
536
|
Schema.Struct({
|
|
527
|
-
condition: Schema.optional(
|
|
537
|
+
condition: Schema.optional(
|
|
538
|
+
Schema.Literals([
|
|
539
|
+
"exited_successfully",
|
|
540
|
+
"healthy",
|
|
541
|
+
"started",
|
|
542
|
+
]),
|
|
543
|
+
),
|
|
528
544
|
name: Schema.optional(Schema.String),
|
|
529
545
|
}),
|
|
530
546
|
),
|
|
@@ -585,13 +601,17 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
585
601
|
method: Schema.optional(Schema.String),
|
|
586
602
|
path: Schema.optional(Schema.String),
|
|
587
603
|
port: Schema.optional(Schema.Number),
|
|
588
|
-
scheme: Schema.optional(
|
|
604
|
+
scheme: Schema.optional(
|
|
605
|
+
Schema.Literals(["http", "https"]),
|
|
606
|
+
),
|
|
589
607
|
tls_server_name: Schema.optional(Schema.String),
|
|
590
608
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
591
609
|
}),
|
|
592
610
|
),
|
|
593
611
|
interval: Schema.optional(Schema.Number),
|
|
594
|
-
kind: Schema.optional(
|
|
612
|
+
kind: Schema.optional(
|
|
613
|
+
Schema.Literals(["readiness", "liveness"]),
|
|
614
|
+
),
|
|
595
615
|
name: Schema.optional(Schema.String),
|
|
596
616
|
success_threshold: Schema.optional(Schema.Number),
|
|
597
617
|
tcp: Schema.optional(
|
|
@@ -600,7 +620,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
600
620
|
}),
|
|
601
621
|
),
|
|
602
622
|
timeout: Schema.optional(Schema.Number),
|
|
603
|
-
unhealthy: Schema.optional(Schema.
|
|
623
|
+
unhealthy: Schema.optional(Schema.Literals(["stop"])),
|
|
604
624
|
}),
|
|
605
625
|
),
|
|
606
626
|
),
|
|
@@ -50,7 +50,13 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
50
50
|
depends_on: Schema.optional(
|
|
51
51
|
Schema.Array(
|
|
52
52
|
Schema.Struct({
|
|
53
|
-
condition: Schema.optional(
|
|
53
|
+
condition: Schema.optional(
|
|
54
|
+
Schema.Literals([
|
|
55
|
+
"exited_successfully",
|
|
56
|
+
"healthy",
|
|
57
|
+
"started",
|
|
58
|
+
]),
|
|
59
|
+
),
|
|
54
60
|
name: Schema.optional(Schema.String),
|
|
55
61
|
}),
|
|
56
62
|
),
|
|
@@ -111,13 +117,17 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
111
117
|
method: Schema.optional(Schema.String),
|
|
112
118
|
path: Schema.optional(Schema.String),
|
|
113
119
|
port: Schema.optional(Schema.Number),
|
|
114
|
-
scheme: Schema.optional(
|
|
120
|
+
scheme: Schema.optional(
|
|
121
|
+
Schema.Literals(["http", "https"]),
|
|
122
|
+
),
|
|
115
123
|
tls_server_name: Schema.optional(Schema.String),
|
|
116
124
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
117
125
|
}),
|
|
118
126
|
),
|
|
119
127
|
interval: Schema.optional(Schema.Number),
|
|
120
|
-
kind: Schema.optional(
|
|
128
|
+
kind: Schema.optional(
|
|
129
|
+
Schema.Literals(["readiness", "liveness"]),
|
|
130
|
+
),
|
|
121
131
|
name: Schema.optional(Schema.String),
|
|
122
132
|
success_threshold: Schema.optional(Schema.Number),
|
|
123
133
|
tcp: Schema.optional(
|
|
@@ -126,7 +136,7 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
126
136
|
}),
|
|
127
137
|
),
|
|
128
138
|
timeout: Schema.optional(Schema.Number),
|
|
129
|
-
unhealthy: Schema.optional(Schema.
|
|
139
|
+
unhealthy: Schema.optional(Schema.Literals(["stop"])),
|
|
130
140
|
}),
|
|
131
141
|
),
|
|
132
142
|
),
|
|
@@ -507,7 +517,13 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
507
517
|
depends_on: Schema.optional(
|
|
508
518
|
Schema.Array(
|
|
509
519
|
Schema.Struct({
|
|
510
|
-
condition: Schema.optional(
|
|
520
|
+
condition: Schema.optional(
|
|
521
|
+
Schema.Literals([
|
|
522
|
+
"exited_successfully",
|
|
523
|
+
"healthy",
|
|
524
|
+
"started",
|
|
525
|
+
]),
|
|
526
|
+
),
|
|
511
527
|
name: Schema.optional(Schema.String),
|
|
512
528
|
}),
|
|
513
529
|
),
|
|
@@ -568,13 +584,17 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
568
584
|
method: Schema.optional(Schema.String),
|
|
569
585
|
path: Schema.optional(Schema.String),
|
|
570
586
|
port: Schema.optional(Schema.Number),
|
|
571
|
-
scheme: Schema.optional(
|
|
587
|
+
scheme: Schema.optional(
|
|
588
|
+
Schema.Literals(["http", "https"]),
|
|
589
|
+
),
|
|
572
590
|
tls_server_name: Schema.optional(Schema.String),
|
|
573
591
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
574
592
|
}),
|
|
575
593
|
),
|
|
576
594
|
interval: Schema.optional(Schema.Number),
|
|
577
|
-
kind: Schema.optional(
|
|
595
|
+
kind: Schema.optional(
|
|
596
|
+
Schema.Literals(["readiness", "liveness"]),
|
|
597
|
+
),
|
|
578
598
|
name: Schema.optional(Schema.String),
|
|
579
599
|
success_threshold: Schema.optional(Schema.Number),
|
|
580
600
|
tcp: Schema.optional(
|
|
@@ -583,7 +603,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
583
603
|
}),
|
|
584
604
|
),
|
|
585
605
|
timeout: Schema.optional(Schema.Number),
|
|
586
|
-
unhealthy: Schema.optional(Schema.
|
|
606
|
+
unhealthy: Schema.optional(Schema.Literals(["stop"])),
|
|
587
607
|
}),
|
|
588
608
|
),
|
|
589
609
|
),
|
|
@@ -964,7 +984,13 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
964
984
|
depends_on: Schema.optional(
|
|
965
985
|
Schema.Array(
|
|
966
986
|
Schema.Struct({
|
|
967
|
-
condition: Schema.optional(
|
|
987
|
+
condition: Schema.optional(
|
|
988
|
+
Schema.Literals([
|
|
989
|
+
"exited_successfully",
|
|
990
|
+
"healthy",
|
|
991
|
+
"started",
|
|
992
|
+
]),
|
|
993
|
+
),
|
|
968
994
|
name: Schema.optional(Schema.String),
|
|
969
995
|
}),
|
|
970
996
|
),
|
|
@@ -1025,13 +1051,17 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1025
1051
|
method: Schema.optional(Schema.String),
|
|
1026
1052
|
path: Schema.optional(Schema.String),
|
|
1027
1053
|
port: Schema.optional(Schema.Number),
|
|
1028
|
-
scheme: Schema.optional(
|
|
1054
|
+
scheme: Schema.optional(
|
|
1055
|
+
Schema.Literals(["http", "https"]),
|
|
1056
|
+
),
|
|
1029
1057
|
tls_server_name: Schema.optional(Schema.String),
|
|
1030
1058
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
1031
1059
|
}),
|
|
1032
1060
|
),
|
|
1033
1061
|
interval: Schema.optional(Schema.Number),
|
|
1034
|
-
kind: Schema.optional(
|
|
1062
|
+
kind: Schema.optional(
|
|
1063
|
+
Schema.Literals(["readiness", "liveness"]),
|
|
1064
|
+
),
|
|
1035
1065
|
name: Schema.optional(Schema.String),
|
|
1036
1066
|
success_threshold: Schema.optional(Schema.Number),
|
|
1037
1067
|
tcp: Schema.optional(
|
|
@@ -1040,7 +1070,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1040
1070
|
}),
|
|
1041
1071
|
),
|
|
1042
1072
|
timeout: Schema.optional(Schema.Number),
|
|
1043
|
-
unhealthy: Schema.optional(Schema.
|
|
1073
|
+
unhealthy: Schema.optional(Schema.Literals(["stop"])),
|
|
1044
1074
|
}),
|
|
1045
1075
|
),
|
|
1046
1076
|
),
|
|
@@ -26,7 +26,7 @@ export const PlatformPlacementsPostInput =
|
|
|
26
26
|
region: Schema.optional(Schema.String),
|
|
27
27
|
volume_name: Schema.optional(Schema.String),
|
|
28
28
|
volume_size_bytes: Schema.optional(Schema.Number),
|
|
29
|
-
weights: Schema.optional(Schema.
|
|
29
|
+
weights: Schema.optional(Schema.Record(Schema.String, Schema.Number)),
|
|
30
30
|
}).pipe(T.Http({ method: "POST", path: "/platform/placements" }));
|
|
31
31
|
export type PlatformPlacementsPostInput =
|
|
32
32
|
typeof PlatformPlacementsPostInput.Type;
|