Skip to content

Commit 0788a53

Browse files
chore: generate
1 parent b7fab49 commit 0788a53

1 file changed

Lines changed: 32 additions & 13 deletions

File tree

packages/sdk/openapi.json

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@
30713071
"schema": {
30723072
"type": "array",
30733073
"items": {
3074-
"$ref": "#/components/schemas/FileDiff"
3074+
"$ref": "#/components/schemas/SnapshotFileDiff"
30753075
}
30763076
}
30773077
}
@@ -7032,7 +7032,7 @@
70327032
"schema": {
70337033
"type": "array",
70347034
"items": {
7035-
"$ref": "#/components/schemas/FileDiff"
7035+
"$ref": "#/components/schemas/VcsFileDiff"
70367036
}
70377037
}
70387038
}
@@ -8146,16 +8146,13 @@
81468146
},
81478147
"required": ["type", "properties"]
81488148
},
8149-
"FileDiff": {
8149+
"SnapshotFileDiff": {
81508150
"type": "object",
81518151
"properties": {
81528152
"file": {
81538153
"type": "string"
81548154
},
8155-
"before": {
8156-
"type": "string"
8157-
},
8158-
"after": {
8155+
"patch": {
81598156
"type": "string"
81608157
},
81618158
"additions": {
@@ -8169,7 +8166,7 @@
81698166
"enum": ["added", "deleted", "modified"]
81708167
}
81718168
},
8172-
"required": ["file", "before", "after", "additions", "deletions"]
8169+
"required": ["file", "patch", "additions", "deletions"]
81738170
},
81748171
"Event.session.diff": {
81758172
"type": "object",
@@ -8188,7 +8185,7 @@
81888185
"diff": {
81898186
"type": "array",
81908187
"items": {
8191-
"$ref": "#/components/schemas/FileDiff"
8188+
"$ref": "#/components/schemas/SnapshotFileDiff"
81928189
}
81938190
}
81948191
},
@@ -8700,7 +8697,7 @@
87008697
"diffs": {
87018698
"type": "array",
87028699
"items": {
8703-
"$ref": "#/components/schemas/FileDiff"
8700+
"$ref": "#/components/schemas/SnapshotFileDiff"
87048701
}
87058702
}
87068703
},
@@ -9842,7 +9839,7 @@
98429839
"diffs": {
98439840
"type": "array",
98449841
"items": {
9845-
"$ref": "#/components/schemas/FileDiff"
9842+
"$ref": "#/components/schemas/SnapshotFileDiff"
98469843
}
98479844
}
98489845
},
@@ -10372,7 +10369,7 @@
1037210369
"diffs": {
1037310370
"type": "array",
1037410371
"items": {
10375-
"$ref": "#/components/schemas/FileDiff"
10372+
"$ref": "#/components/schemas/SnapshotFileDiff"
1037610373
}
1037710374
}
1037810375
},
@@ -12122,7 +12119,7 @@
1212212119
"diffs": {
1212312120
"type": "array",
1212412121
"items": {
12125-
"$ref": "#/components/schemas/FileDiff"
12122+
"$ref": "#/components/schemas/SnapshotFileDiff"
1212612123
}
1212712124
}
1212812125
},
@@ -12760,6 +12757,28 @@
1276012757
}
1276112758
}
1276212759
},
12760+
"VcsFileDiff": {
12761+
"type": "object",
12762+
"properties": {
12763+
"file": {
12764+
"type": "string"
12765+
},
12766+
"patch": {
12767+
"type": "string"
12768+
},
12769+
"additions": {
12770+
"type": "number"
12771+
},
12772+
"deletions": {
12773+
"type": "number"
12774+
},
12775+
"status": {
12776+
"type": "string",
12777+
"enum": ["added", "deleted", "modified"]
12778+
}
12779+
},
12780+
"required": ["file", "patch", "additions", "deletions"]
12781+
},
1276312782
"Command": {
1276412783
"type": "object",
1276512784
"properties": {

0 commit comments

Comments
 (0)