Spaces:
Paused
Paused
Download node_modules/@grpc/grpc-js/src/generated/validate/TimestampRules.ts from Huzaifa1313/prof002313: direct link, hf CLI and curl.
- Browser
- Download file 3.45 kB
-
https://huggingface.co/spaces/Huzaifa1313/prof002313/resolve/main/node_modules/%40grpc/grpc-js/src/generated/validate/TimestampRules.ts
- Command line
-
hf download hf://spaces/Huzaifa1313/prof002313/node_modules/@grpc/grpc-js/src/generated/validate/TimestampRules.ts
-
curl -L -o TimestampRules.ts https://huggingface.co/spaces/Huzaifa1313/prof002313/resolve/main/node_modules/%40grpc/grpc-js/src/generated/validate/TimestampRules.ts
3.45 kB
| // Original file: proto/protoc-gen-validate/validate/validate.proto | |
| import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../google/protobuf/Timestamp'; | |
| import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../google/protobuf/Duration'; | |
| /** | |
| * TimestampRules describe the constraints applied exclusively to the | |
| * `google.protobuf.Timestamp` well-known type | |
| */ | |
| export interface TimestampRules { | |
| /** | |
| * Required specifies that this field must be set | |
| */ | |
| 'required'?: (boolean); | |
| /** | |
| * Const specifies that this field must be exactly the specified value | |
| */ | |
| 'const'?: (_google_protobuf_Timestamp | null); | |
| /** | |
| * Lt specifies that this field must be less than the specified value, | |
| * exclusive | |
| */ | |
| 'lt'?: (_google_protobuf_Timestamp | null); | |
| /** | |
| * Lte specifies that this field must be less than the specified value, | |
| * inclusive | |
| */ | |
| 'lte'?: (_google_protobuf_Timestamp | null); | |
| /** | |
| * Gt specifies that this field must be greater than the specified value, | |
| * exclusive | |
| */ | |
| 'gt'?: (_google_protobuf_Timestamp | null); | |
| /** | |
| * Gte specifies that this field must be greater than the specified value, | |
| * inclusive | |
| */ | |
| 'gte'?: (_google_protobuf_Timestamp | null); | |
| /** | |
| * LtNow specifies that this must be less than the current time. LtNow | |
| * can only be used with the Within rule. | |
| */ | |
| 'lt_now'?: (boolean); | |
| /** | |
| * GtNow specifies that this must be greater than the current time. GtNow | |
| * can only be used with the Within rule. | |
| */ | |
| 'gt_now'?: (boolean); | |
| /** | |
| * Within specifies that this field must be within this duration of the | |
| * current time. This constraint can be used alone or with the LtNow and | |
| * GtNow rules. | |
| */ | |
| 'within'?: (_google_protobuf_Duration | null); | |
| } | |
| /** | |
| * TimestampRules describe the constraints applied exclusively to the | |
| * `google.protobuf.Timestamp` well-known type | |
| */ | |
| export interface TimestampRules__Output { | |
| /** | |
| * Required specifies that this field must be set | |
| */ | |
| 'required': (boolean); | |
| /** | |
| * Const specifies that this field must be exactly the specified value | |
| */ | |
| 'const': (_google_protobuf_Timestamp__Output | null); | |
| /** | |
| * Lt specifies that this field must be less than the specified value, | |
| * exclusive | |
| */ | |
| 'lt': (_google_protobuf_Timestamp__Output | null); | |
| /** | |
| * Lte specifies that this field must be less than the specified value, | |
| * inclusive | |
| */ | |
| 'lte': (_google_protobuf_Timestamp__Output | null); | |
| /** | |
| * Gt specifies that this field must be greater than the specified value, | |
| * exclusive | |
| */ | |
| 'gt': (_google_protobuf_Timestamp__Output | null); | |
| /** | |
| * Gte specifies that this field must be greater than the specified value, | |
| * inclusive | |
| */ | |
| 'gte': (_google_protobuf_Timestamp__Output | null); | |
| /** | |
| * LtNow specifies that this must be less than the current time. LtNow | |
| * can only be used with the Within rule. | |
| */ | |
| 'lt_now': (boolean); | |
| /** | |
| * GtNow specifies that this must be greater than the current time. GtNow | |
| * can only be used with the Within rule. | |
| */ | |
| 'gt_now': (boolean); | |
| /** | |
| * Within specifies that this field must be within this duration of the | |
| * current time. This constraint can be used alone or with the LtNow and | |
| * GtNow rules. | |
| */ | |
| 'within': (_google_protobuf_Duration__Output | null); | |
| } | |