-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
codegen(ts): Prepend
@ts-nocheck
on generated typescript files (#281)
- Loading branch information
Showing
59 changed files
with
260 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import * as messages from "./messages/index.ts"; | ||
|
||
export type { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import * as protobuf from "./protobuf/index.ts"; | ||
|
||
export type { | ||
|
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(DescriptorProto)/ExtensionRange.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as ExtensionRangeOptions, | ||
encodeJson as encodeJson_1, | ||
|
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(DescriptorProto)/ReservedRange.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
tsValueToJsonValueFns, | ||
jsonValueToTsValueFns, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// @ts-nocheck | ||
export type { Type as ExtensionRange } from "./ExtensionRange.ts"; | ||
export type { Type as ReservedRange } from "./ReservedRange.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(EnumDescriptorProto)/EnumReservedRange.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
tsValueToJsonValueFns, | ||
jsonValueToTsValueFns, | ||
|
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(EnumDescriptorProto)/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// @ts-nocheck | ||
export type { Type as EnumReservedRange } from "./EnumReservedRange.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(FieldDescriptorProto)/Label.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(FieldDescriptorProto)/Type.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(FieldDescriptorProto)/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// @ts-nocheck | ||
export type { Type as Type } from "./Type.ts"; | ||
export type { Type as Label } from "./Label.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
export declare namespace $.google.protobuf.FieldOptions { | ||
export type CType = | ||
| "STRING" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
export declare namespace $.google.protobuf.FieldOptions { | ||
export type JSType = | ||
| "JS_NORMAL" | ||
|
21 changes: 21 additions & 0 deletions
21
generated/messages/google/protobuf/(FieldOptions)/OptionRetention.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// @ts-nocheck | ||
export declare namespace $.google.protobuf.FieldOptions { | ||
export type OptionRetention = | ||
| "RETENTION_UNKNOWN" | ||
| "RETENTION_RUNTIME" | ||
| "RETENTION_SOURCE"; | ||
} | ||
|
||
export type Type = $.google.protobuf.FieldOptions.OptionRetention; | ||
|
||
export const num2name = { | ||
0: "RETENTION_UNKNOWN", | ||
1: "RETENTION_RUNTIME", | ||
2: "RETENTION_SOURCE", | ||
} as const; | ||
|
||
export const name2num = { | ||
RETENTION_UNKNOWN: 0, | ||
RETENTION_RUNTIME: 1, | ||
RETENTION_SOURCE: 2, | ||
} as const; |
42 changes: 42 additions & 0 deletions
42
generated/messages/google/protobuf/(FieldOptions)/OptionTargetType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// @ts-nocheck | ||
export declare namespace $.google.protobuf.FieldOptions { | ||
export type OptionTargetType = | ||
| "TARGET_TYPE_UNKNOWN" | ||
| "TARGET_TYPE_FILE" | ||
| "TARGET_TYPE_EXTENSION_RANGE" | ||
| "TARGET_TYPE_MESSAGE" | ||
| "TARGET_TYPE_FIELD" | ||
| "TARGET_TYPE_ONEOF" | ||
| "TARGET_TYPE_ENUM" | ||
| "TARGET_TYPE_ENUM_ENTRY" | ||
| "TARGET_TYPE_SERVICE" | ||
| "TARGET_TYPE_METHOD"; | ||
} | ||
|
||
export type Type = $.google.protobuf.FieldOptions.OptionTargetType; | ||
|
||
export const num2name = { | ||
0: "TARGET_TYPE_UNKNOWN", | ||
1: "TARGET_TYPE_FILE", | ||
2: "TARGET_TYPE_EXTENSION_RANGE", | ||
3: "TARGET_TYPE_MESSAGE", | ||
4: "TARGET_TYPE_FIELD", | ||
5: "TARGET_TYPE_ONEOF", | ||
6: "TARGET_TYPE_ENUM", | ||
7: "TARGET_TYPE_ENUM_ENTRY", | ||
8: "TARGET_TYPE_SERVICE", | ||
9: "TARGET_TYPE_METHOD", | ||
} as const; | ||
|
||
export const name2num = { | ||
TARGET_TYPE_UNKNOWN: 0, | ||
TARGET_TYPE_FILE: 1, | ||
TARGET_TYPE_EXTENSION_RANGE: 2, | ||
TARGET_TYPE_MESSAGE: 3, | ||
TARGET_TYPE_FIELD: 4, | ||
TARGET_TYPE_ONEOF: 5, | ||
TARGET_TYPE_ENUM: 6, | ||
TARGET_TYPE_ENUM_ENTRY: 7, | ||
TARGET_TYPE_SERVICE: 8, | ||
TARGET_TYPE_METHOD: 9, | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
// @ts-nocheck | ||
export type { Type as CType } from "./CType.ts"; | ||
export type { Type as JSType } from "./JSType.ts"; | ||
export type { Type as OptionRetention } from "./OptionRetention.ts"; | ||
export type { Type as OptionTargetType } from "./OptionTargetType.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(FileOptions)/OptimizeMode.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// @ts-nocheck | ||
export type { Type as OptimizeMode } from "./OptimizeMode.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(GeneratedCodeInfo)/(Annotation)/Semantic.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(GeneratedCodeInfo)/(Annotation)/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// @ts-nocheck | ||
export type { Type as Semantic } from "./Semantic.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(GeneratedCodeInfo)/Annotation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as Semantic, | ||
name2num, | ||
|
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(GeneratedCodeInfo)/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// @ts-nocheck | ||
export type { Type as Annotation } from "./Annotation.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(MethodOptions)/IdempotencyLevel.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// @ts-nocheck | ||
export type { Type as IdempotencyLevel } from "./IdempotencyLevel.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(SourceCodeInfo)/Location.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
tsValueToJsonValueFns, | ||
jsonValueToTsValueFns, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// @ts-nocheck | ||
export type { Type as Location } from "./Location.ts"; |
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(UninterpretedOption)/NamePart.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
tsValueToJsonValueFns, | ||
jsonValueToTsValueFns, | ||
|
1 change: 1 addition & 0 deletions
1
generated/messages/google/protobuf/(UninterpretedOption)/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// @ts-nocheck | ||
export type { Type as NamePart } from "./NamePart.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as FieldDescriptorProto, | ||
encodeJson as encodeJson_1, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as EnumValueDescriptorProto, | ||
encodeJson as encodeJson_1, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as EnumValueOptions, | ||
encodeJson as encodeJson_1, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as UninterpretedOption, | ||
encodeJson as encodeJson_1, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as UninterpretedOption, | ||
encodeJson as encodeJson_1, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-nocheck | ||
import { | ||
Type as Label, | ||
name2num, | ||
|
Oops, something went wrong.