Skip to content

Commit 00c74d1

Browse files
MasterPtatoNathanFlurry
authored andcommitted
Cleanup
1 parent 689d203 commit 00c74d1

File tree

272 files changed

+3907
-5339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+3907
-5339
lines changed

fern/definition/cloud/common.yml

Lines changed: 24 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,8 @@ types:
3434
label:
3535
docs: The label given to this performance span.
3636
type: string
37-
start_ts:
38-
docs: RFC3339 timestamp.
39-
type: datetime
40-
finish_ts:
41-
docs: RFC3339 timestamp.
42-
type: optional<datetime>
37+
start_ts: commons.Timestamp
38+
finish_ts: optional<commons.Timestamp>
4339
req_id:
4440
type: optional<uuid>
4541

@@ -49,9 +45,7 @@ types:
4945
label:
5046
docs: The label given to this performance mark.
5147
type: string
52-
ts:
53-
docs: RFC3339 timestamp.
54-
type: datetime
48+
ts: commons.Timestamp
5549
ray_id:
5650
type: optional<uuid>
5751
req_id:
@@ -75,9 +69,7 @@ types:
7569
type: string
7670
region_id:
7771
type: uuid
78-
create_ts:
79-
docs: RFC3339 timestamp.
80-
type: datetime
72+
create_ts: commons.Timestamp
8173
is_ready:
8274
docs: Whether or not this lobby is ready.
8375
type: boolean
@@ -124,15 +116,9 @@ types:
124116
type: string
125117
region_id:
126118
type: uuid
127-
create_ts:
128-
docs: RFC3339 timestamp.
129-
type: datetime
130-
start_ts:
131-
docs: RFC3339 timestamp.
132-
type: optional<datetime>
133-
ready_ts:
134-
docs: RFC3339 timestamp.
135-
type: optional<datetime>
119+
create_ts: commons.Timestamp
120+
start_ts: optional<commons.Timestamp>
121+
ready_ts: optional<commons.Timestamp>
136122
status: LogsLobbyStatus
137123

138124
LogsLobbyStatus:
@@ -144,7 +130,7 @@ types:
144130
LogsLobbyStatusStopped:
145131
docs: The status of a stopped lobby.
146132
properties:
147-
stop_ts: datetime
133+
stop_ts: commons.Timestamp
148134
failed:
149135
type: boolean
150136
docs: Whether or not the lobby failed or stopped successfully.
@@ -189,12 +175,8 @@ types:
189175
properties:
190176
upload_id:
191177
type: uuid
192-
display_name:
193-
docs: Represent a resource's readable display name.
194-
type: string
195-
create_ts:
196-
docs: RFC3339 timestamp.
197-
type: datetime
178+
display_name: commons.DisplayName
179+
create_ts: commons.Timestamp
198180
url:
199181
docs: >-
200182
The URL of this custom avatar image. Only present if upload is
@@ -214,12 +196,8 @@ types:
214196
type: uuid
215197
upload_id:
216198
type: uuid
217-
display_name:
218-
docs: Represent a resource's readable display name.
219-
type: string
220-
create_ts:
221-
docs: RFC3339 timestamp.
222-
type: datetime
199+
display_name: commons.DisplayName
200+
create_ts: commons.Timestamp
223201
content_length:
224202
docs: Unsigned 64 bit integer.
225203
type: long
@@ -234,12 +212,8 @@ types:
234212
type: uuid
235213
upload_id:
236214
type: uuid
237-
display_name:
238-
docs: Represent a resource's readable display name.
239-
type: string
240-
create_ts:
241-
docs: RFC3339 timestamp.
242-
type: datetime
215+
display_name: commons.DisplayName
216+
create_ts: commons.Timestamp
243217
content_length:
244218
docs: Unsigned 64 bit integer.
245219
type: long
@@ -252,9 +226,7 @@ types:
252226
properties:
253227
game_id:
254228
type: uuid
255-
create_ts:
256-
docs: RFC3339 timestamp.
257-
type: datetime
229+
create_ts: commons.Timestamp
258230
name_id:
259231
docs: >-
260232
A human readable short identifier used to references resources.
@@ -264,9 +236,7 @@ types:
264236
include special
265237
characters and be short.
266238
type: string
267-
display_name:
268-
docs: Represent a resource's readable display name.
269-
type: string
239+
display_name: commons.DisplayName
270240
developer_group_id:
271241
type: uuid
272242
total_player_count:
@@ -293,12 +263,8 @@ types:
293263
properties:
294264
namespace_id:
295265
type: uuid
296-
create_ts:
297-
docs: RFC3339 timestamp.
298-
type: datetime
299-
display_name:
300-
docs: Represent a resource's readable display name.
301-
type: string
266+
create_ts: commons.Timestamp
267+
display_name: commons.DisplayName
302268
version_id:
303269
type: uuid
304270
name_id:
@@ -334,12 +300,8 @@ types:
334300
335301
A universal region label given to this region.
336302
type: UniversalRegion
337-
provider_display_name:
338-
docs: Represent a resource's readable display name.
339-
type: string
340-
region_display_name:
341-
docs: Represent a resource's readable display name.
342-
type: string
303+
provider_display_name: commons.DisplayName
304+
region_display_name: commons.DisplayName
343305

344306
GameLobbyExpenses:
345307
docs: Game lobby expenses.
@@ -475,12 +437,8 @@ types:
475437
properties:
476438
namespace_id:
477439
type: uuid
478-
create_ts:
479-
docs: RFC3339 timestamp.
480-
type: datetime
481-
display_name:
482-
docs: Represent a resource's readable display name.
483-
type: string
440+
create_ts: commons.Timestamp
441+
display_name: commons.DisplayName
484442
version_id:
485443
type: uuid
486444
name_id:
@@ -562,9 +520,7 @@ types:
562520
domain:
563521
docs: A valid domain name (no protocol).
564522
type: string
565-
create_ts:
566-
docs: RFC3339 timestamp.
567-
type: datetime
523+
create_ts: commons.Timestamp
568524
verification_status: CdnNamespaceDomainVerificationStatus
569525
verification_method: CdnNamespaceDomainVerificationMethod
570526
verification_errors: list<string>
@@ -609,6 +565,4 @@ types:
609565
version_id:
610566
docs: A universally unique identifier.
611567
type: string
612-
deploy_ts:
613-
docs: RFC3339 timestamp.
614-
type: datetime
568+
deploy_ts: commons.Timestamp

fern/definition/cloud/games/builds.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json
22

33
imports:
4+
commons: ../../common.yml
45
uploadCommons: ../../upload/common.yml
56
cloudCommons: ../../cloud/common.yml
67

@@ -34,9 +35,7 @@ types:
3435

3536
CreateGameBuildRequest:
3637
properties:
37-
display_name:
38-
docs: Represent a resource's readable display name.
39-
type: string
38+
display_name: commons.DisplayName
4039
image_tag:
4140
docs: A tag given to the game build.
4241
type: string

fern/definition/cloud/games/cdn.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json
22

33
imports:
4+
commons: ../../common.yml
45
uploadCommons: ../../upload/common.yml
56
cloudCommons: ../../cloud/common.yml
67

@@ -33,9 +34,7 @@ types:
3334

3435
CreateGameCdnSiteRequest:
3536
properties:
36-
display_name:
37-
docs: Represent a resource's readable display name.
38-
type: string
37+
display_name: commons.DisplayName
3938
files:
4039
docs: A list of files preparing to upload.
4140
type: list<uploadCommons.PrepareFile>

fern/definition/cloud/games/games.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,8 @@ types:
116116
name_id:
117117
docs: >-
118118
**Deprecated**
119-
120-
A human readable short identifier used to references resources.
121-
Different than a `rivet.common#Uuid` because this is intended to be
122-
human readable.
123-
Different than `rivet.common#DisplayName` because this should not
124-
include special
125-
characters and be short.
126-
type: optional<string>
127-
display_name:
128-
docs: Represent a resource's readable display name.
129-
type: string
119+
type: optional<commons.Identifier>
120+
display_name: commons.DisplayName
130121
developer_group_id:
131122
type: uuid
132123

@@ -137,9 +128,7 @@ types:
137128

138129
ValidateGameRequest:
139130
properties:
140-
display_name:
141-
docs: Represent a resource's readable display name.
142-
type: string
131+
display_name: commons.DisplayName
143132
name_id:
144133
docs: >-
145134
**Deprecated**

fern/definition/cloud/games/namespaces/__package__.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,7 @@ types:
226226

227227
CreateGameNamespaceRequest:
228228
properties:
229-
display_name:
230-
docs: Represent a resource's readable display name.
231-
type: string
229+
display_name: commons.DisplayName
232230
version_id:
233231
type: uuid
234232
name_id:
@@ -248,9 +246,7 @@ types:
248246

249247
ValidateGameNamespaceRequest:
250248
properties:
251-
display_name:
252-
docs: Represent a resource's readable display name.
253-
type: string
249+
display_name: commons.DisplayName
254250
name_id:
255251
docs: >-
256252
A human readable short identifier used to references resources.

fern/definition/cloud/games/namespaces/logs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json
22

33
imports:
4+
commons: ../../../common.yml
45
localCommons: ../../common.yml
56

67
service:
@@ -22,7 +23,7 @@ service:
2223
query-parameters:
2324
before_create_ts:
2425
docs: Returns lobbies created before this timestamp.
25-
type: optional<datetime>
26+
type: optional<commons.Timestamp>
2627
response: ListNamespaceLobbiesResponse
2728

2829
getNamespaceLobby:

fern/definition/cloud/games/versions.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ service:
4848
types:
4949
CreateGameVersionRequest:
5050
properties:
51-
display_name:
52-
docs: Represent a resource's readable display name.
53-
type: string
51+
display_name: commons.DisplayName
5452
config: version.Config
5553

5654
CreateGameVersionResponse:
@@ -60,13 +58,11 @@ types:
6058

6159
ReserveVersionNameResponse:
6260
properties:
63-
version_display_name: string
61+
version_display_name: commons.DisplayName
6462

6563
ValidateGameVersionRequest:
6664
properties:
67-
display_name:
68-
docs: Represent a resource's readable display name.
69-
type: string
65+
display_name: commons.DisplayName
7066
config: version.Config
7167

7268
ValidateGameVersionResponse:

fern/definition/cloud/groups.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ service:
1919
types:
2020
ValidateGroupRequest:
2121
properties:
22-
display_name:
23-
docs: Represent a resource's readable display name.
24-
type: string
22+
display_name: commons.DisplayName
2523

2624
ValidateGroupResponse:
2725
properties:

fern/definition/cloud/version/__package__.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json
22

33
imports:
4-
commons: ../common.yml
4+
commons: ../../common.yml
5+
cloudCommons: ../common.yml
56
engine: engine/__package__.yml
67
cdn: cdn/__package__.yml
78
matchmaker: matchmaker/__package__.yml
@@ -24,22 +25,14 @@ types:
2425
properties:
2526
version_id:
2627
type: uuid
27-
create_ts:
28-
docs: RFC3339 timestamp.
29-
type: datetime
30-
display_name:
31-
docs: Represent a resource's readable display name.
32-
type: string
28+
create_ts: commons.Timestamp
29+
display_name: commons.DisplayName
3330
config: Config
3431

3532
Summary:
3633
docs: A version summary.
3734
properties:
3835
version_id:
3936
type: uuid
40-
create_ts:
41-
docs: RFC3339 timestamp.
42-
type: datetime
43-
display_name:
44-
docs: Represent a resource's readable display name.
45-
type: string
37+
create_ts: commons.Timestamp
38+
display_name: commons.DisplayName

fern/definition/cloud/version/identity/__package__.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json
22

33
imports:
4-
commons: ../../common.yml
4+
commons: ../../../common.yml
5+
cloudCommons: ../../common.yml
56

67
types:
78
Config:
@@ -30,7 +31,7 @@ types:
3031

3132
CustomDisplayName:
3233
properties:
33-
display_name: string
34+
display_name: commons.DisplayName
3435

3536
CustomAvatar:
3637
properties:

0 commit comments

Comments
 (0)