Skip to content

Commit 763d2cd

Browse files
feat: Revert "Store and return a sha256 checksum for uploaded extensions (#…
1 parent 92806ce commit 763d2cd

2 files changed

Lines changed: 2 additions & 23 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 125
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-e123113e7c86e8a61c763f0078adec5b0a7df621f2c31824e8f553331cf7a624.yml
3-
openapi_spec_hash: 940fb94967b6cb5e13daef6161d3abbf
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-4395690aa03bf5e2482d60132f7eebdbf88265af3d53098789f6c2f3c623d769.yml
3+
openapi_spec_hash: ad7c56d655a6e3899532caa4588a02b7
44
config_hash: 06186eb40e0058a2a87ac251fc07415d

extension.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@ type ExtensionListResponse struct {
134134
CreatedAt time.Time `json:"created_at" api:"required" format:"date-time"`
135135
// Size of the extension archive in bytes
136136
SizeBytes int64 `json:"size_bytes" api:"required"`
137-
// SHA-256 checksum, encoded as lowercase hexadecimal, of the exact uploaded
138-
// extension archive bytes. This is not a normalized checksum of the extension
139-
// contents; archive metadata, file ordering, and compression can change the
140-
// checksum for otherwise identical contents. Omitted for legacy rows and
141-
// server-repackaged Chrome Web Store extensions.
142-
Checksum string `json:"checksum" api:"nullable"`
143137
// Timestamp when the extension was last used
144138
LastUsedAt time.Time `json:"last_used_at" api:"nullable" format:"date-time"`
145139
// Optional, easier-to-reference name for the extension. Must be unique within the
@@ -150,7 +144,6 @@ type ExtensionListResponse struct {
150144
ID respjson.Field
151145
CreatedAt respjson.Field
152146
SizeBytes respjson.Field
153-
Checksum respjson.Field
154147
LastUsedAt respjson.Field
155148
Name respjson.Field
156149
ExtraFields map[string]respjson.Field
@@ -172,12 +165,6 @@ type ExtensionGetResponse struct {
172165
CreatedAt time.Time `json:"created_at" api:"required" format:"date-time"`
173166
// Size of the extension archive in bytes
174167
SizeBytes int64 `json:"size_bytes" api:"required"`
175-
// SHA-256 checksum, encoded as lowercase hexadecimal, of the exact uploaded
176-
// extension archive bytes. This is not a normalized checksum of the extension
177-
// contents; archive metadata, file ordering, and compression can change the
178-
// checksum for otherwise identical contents. Omitted for legacy rows and
179-
// server-repackaged Chrome Web Store extensions.
180-
Checksum string `json:"checksum" api:"nullable"`
181168
// Timestamp when the extension was last used
182169
LastUsedAt time.Time `json:"last_used_at" api:"nullable" format:"date-time"`
183170
// Optional, easier-to-reference name for the extension. Must be unique within the
@@ -188,7 +175,6 @@ type ExtensionGetResponse struct {
188175
ID respjson.Field
189176
CreatedAt respjson.Field
190177
SizeBytes respjson.Field
191-
Checksum respjson.Field
192178
LastUsedAt respjson.Field
193179
Name respjson.Field
194180
ExtraFields map[string]respjson.Field
@@ -210,12 +196,6 @@ type ExtensionUploadResponse struct {
210196
CreatedAt time.Time `json:"created_at" api:"required" format:"date-time"`
211197
// Size of the extension archive in bytes
212198
SizeBytes int64 `json:"size_bytes" api:"required"`
213-
// SHA-256 checksum, encoded as lowercase hexadecimal, of the exact uploaded
214-
// extension archive bytes. This is not a normalized checksum of the extension
215-
// contents; archive metadata, file ordering, and compression can change the
216-
// checksum for otherwise identical contents. Omitted for legacy rows and
217-
// server-repackaged Chrome Web Store extensions.
218-
Checksum string `json:"checksum" api:"nullable"`
219199
// Timestamp when the extension was last used
220200
LastUsedAt time.Time `json:"last_used_at" api:"nullable" format:"date-time"`
221201
// Optional, easier-to-reference name for the extension. Must be unique within the
@@ -226,7 +206,6 @@ type ExtensionUploadResponse struct {
226206
ID respjson.Field
227207
CreatedAt respjson.Field
228208
SizeBytes respjson.Field
229-
Checksum respjson.Field
230209
LastUsedAt respjson.Field
231210
Name respjson.Field
232211
ExtraFields map[string]respjson.Field

0 commit comments

Comments
 (0)