feat(planning): grille hebdomadaire complète avec API et filtres
- Connexion API via proxy Angular (résolution CORS, base path /api) - Import CSS ng-zorro global pour les modales et composants - Filtres Camion/Show câblés sur l'affichage de la grille - Camions affichés via TrucksService (linkés au show du même créneau) - Panneau de détails : spectacles + camions du jour sélectionné - Modale de création de spectacle stylisée avec fond et centrage - Positionnement précis des events à la minute dans leur créneau - Auto-scroll vers l'heure courante au chargement - Ligne "maintenant" sur la colonne du jour actuel - Régénération des services OpenAPI (nouveaux noms de types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: envelope.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Signature = exports.Envelope = void 0;
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@ export interface CloudEvent {
|
||||
[key: string]: CloudEvent_CloudEventAttributeValue;
|
||||
};
|
||||
/** -- CloudEvent Data (Bytes, Text, or Proto) */
|
||||
data: {
|
||||
data?: {
|
||||
$case: "binaryData";
|
||||
binaryData: Buffer;
|
||||
} | {
|
||||
@@ -27,7 +27,7 @@ export interface CloudEvent_AttributesEntry {
|
||||
value: CloudEvent_CloudEventAttributeValue | undefined;
|
||||
}
|
||||
export interface CloudEvent_CloudEventAttributeValue {
|
||||
attr: {
|
||||
attr?: {
|
||||
$case: "ceBoolean";
|
||||
ceBoolean: boolean;
|
||||
} | {
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: events.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CloudEventBatch = exports.CloudEvent_CloudEventAttributeValue = exports.CloudEvent_AttributesEntry = exports.CloudEvent = void 0;
|
||||
@@ -17,7 +17,7 @@ exports.CloudEvent = {
|
||||
specVersion: isSet(object.specVersion) ? globalThis.String(object.specVersion) : "",
|
||||
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
||||
attributes: isObject(object.attributes)
|
||||
? globalThis.Object.entries(object.attributes).reduce((acc, [key, value]) => {
|
||||
? Object.entries(object.attributes).reduce((acc, [key, value]) => {
|
||||
acc[key] = exports.CloudEvent_CloudEventAttributeValue.fromJSON(value);
|
||||
return acc;
|
||||
}, {})
|
||||
@@ -46,7 +46,7 @@ exports.CloudEvent = {
|
||||
obj.type = message.type;
|
||||
}
|
||||
if (message.attributes) {
|
||||
const entries = globalThis.Object.entries(message.attributes);
|
||||
const entries = Object.entries(message.attributes);
|
||||
if (entries.length > 0) {
|
||||
obj.attributes = {};
|
||||
entries.forEach(([k, v]) => {
|
||||
|
||||
Generated
Vendored
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: google/api/field_behavior.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FieldBehavior = void 0;
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: google/protobuf/any.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Any = void 0;
|
||||
|
||||
Generated
Vendored
+1
-57
@@ -22,8 +22,6 @@ export declare enum Edition {
|
||||
*/
|
||||
EDITION_2023 = 1000,
|
||||
EDITION_2024 = 1001,
|
||||
/** EDITION_UNSTABLE - A placeholder edition for developing and testing unscheduled features. */
|
||||
EDITION_UNSTABLE = 9999,
|
||||
/**
|
||||
* EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
|
||||
* used or relied on outside of tests.
|
||||
@@ -42,20 +40,6 @@ export declare enum Edition {
|
||||
}
|
||||
export declare function editionFromJSON(object: any): Edition;
|
||||
export declare function editionToJSON(object: Edition): string;
|
||||
/**
|
||||
* Describes the 'visibility' of a symbol with respect to the proto import
|
||||
* system. Symbols can only be imported when the visibility rules do not prevent
|
||||
* it (ex: local symbols cannot be imported). Visibility modifiers can only set
|
||||
* on `message` and `enum` as they are the only types available to be referenced
|
||||
* from other files.
|
||||
*/
|
||||
export declare enum SymbolVisibility {
|
||||
VISIBILITY_UNSET = 0,
|
||||
VISIBILITY_LOCAL = 1,
|
||||
VISIBILITY_EXPORT = 2
|
||||
}
|
||||
export declare function symbolVisibilityFromJSON(object: any): SymbolVisibility;
|
||||
export declare function symbolVisibilityToJSON(object: SymbolVisibility): string;
|
||||
/**
|
||||
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
||||
* files it parses.
|
||||
@@ -78,11 +62,6 @@ export interface FileDescriptorProto {
|
||||
* For Google-internal migration only. Do not use.
|
||||
*/
|
||||
weakDependency: number[];
|
||||
/**
|
||||
* Names of files imported by this file purely for the purpose of providing
|
||||
* option extensions. These are excluded from the dependency list above.
|
||||
*/
|
||||
optionDependency: string[];
|
||||
/** All top-level definitions in this file. */
|
||||
messageType: DescriptorProto[];
|
||||
enumType: EnumDescriptorProto[];
|
||||
@@ -130,8 +109,6 @@ export interface DescriptorProto {
|
||||
* A given name may only be reserved once.
|
||||
*/
|
||||
reservedName: string[];
|
||||
/** Support for `export` and `local` keywords on enums. */
|
||||
visibility?: SymbolVisibility | undefined;
|
||||
}
|
||||
export interface DescriptorProto_ExtensionRange {
|
||||
/** Inclusive. */
|
||||
@@ -350,8 +327,6 @@ export interface EnumDescriptorProto {
|
||||
* be reserved once.
|
||||
*/
|
||||
reservedName: string[];
|
||||
/** Support for `export` and `local` keywords on enums. */
|
||||
visibility?: SymbolVisibility | undefined;
|
||||
}
|
||||
/**
|
||||
* Range of reserved numeric values. Reserved values may not be used by
|
||||
@@ -692,12 +667,7 @@ export interface FieldOptions {
|
||||
* is a formalization for deprecating fields.
|
||||
*/
|
||||
deprecated?: boolean | undefined;
|
||||
/**
|
||||
* DEPRECATED. DO NOT USE!
|
||||
* For Google-internal migration only. Do not use.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
/** For Google-internal migration only. Do not use. */
|
||||
weak?: boolean | undefined;
|
||||
/**
|
||||
* Indicate that the field value should not be printed out when using debug
|
||||
@@ -800,11 +770,6 @@ export interface FieldOptions_FeatureSupport {
|
||||
* not be able to override it.
|
||||
*/
|
||||
editionRemoved?: Edition | undefined;
|
||||
/**
|
||||
* The removal error text if this feature is used after the edition it was
|
||||
* removed in.
|
||||
*/
|
||||
removalError?: string | undefined;
|
||||
}
|
||||
export interface OneofOptions {
|
||||
/**
|
||||
@@ -976,7 +941,6 @@ export interface FeatureSet {
|
||||
messageEncoding?: FeatureSet_MessageEncoding | undefined;
|
||||
jsonFormat?: FeatureSet_JsonFormat | undefined;
|
||||
enforceNamingStyle?: FeatureSet_EnforceNamingStyle | undefined;
|
||||
defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility | undefined;
|
||||
}
|
||||
export declare enum FeatureSet_FieldPresence {
|
||||
FIELD_PRESENCE_UNKNOWN = 0,
|
||||
@@ -1028,25 +992,6 @@ export declare enum FeatureSet_EnforceNamingStyle {
|
||||
}
|
||||
export declare function featureSet_EnforceNamingStyleFromJSON(object: any): FeatureSet_EnforceNamingStyle;
|
||||
export declare function featureSet_EnforceNamingStyleToJSON(object: FeatureSet_EnforceNamingStyle): string;
|
||||
export interface FeatureSet_VisibilityFeature {
|
||||
}
|
||||
export declare enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
|
||||
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
||||
/** EXPORT_ALL - Default pre-EDITION_2024, all UNSET visibility are export. */
|
||||
EXPORT_ALL = 1,
|
||||
/** EXPORT_TOP_LEVEL - All top-level symbols default to export, nested default to local. */
|
||||
EXPORT_TOP_LEVEL = 2,
|
||||
/** LOCAL_ALL - All symbols default to local. */
|
||||
LOCAL_ALL = 3,
|
||||
/**
|
||||
* STRICT - All symbols local by default. Nested types cannot be exported.
|
||||
* With special case caveat for message { enum {} reserved 1 to max; }
|
||||
* This is the recommended setting for new protos.
|
||||
*/
|
||||
STRICT = 4
|
||||
}
|
||||
export declare function featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON(object: any): FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
|
||||
export declare function featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON(object: FeatureSet_VisibilityFeature_DefaultSymbolVisibility): string;
|
||||
/**
|
||||
* A compiled specification for the defaults of a set of features. These
|
||||
* messages are generated from FeatureSet extensions and can be used to seed
|
||||
@@ -1293,7 +1238,6 @@ export declare const MethodOptions: MessageFns<MethodOptions>;
|
||||
export declare const UninterpretedOption: MessageFns<UninterpretedOption>;
|
||||
export declare const UninterpretedOption_NamePart: MessageFns<UninterpretedOption_NamePart>;
|
||||
export declare const FeatureSet: MessageFns<FeatureSet>;
|
||||
export declare const FeatureSet_VisibilityFeature: MessageFns<FeatureSet_VisibilityFeature>;
|
||||
export declare const FeatureSetDefaults: MessageFns<FeatureSetDefaults>;
|
||||
export declare const FeatureSetDefaults_FeatureSetEditionDefault: MessageFns<FeatureSetDefaults_FeatureSetEditionDefault>;
|
||||
export declare const SourceCodeInfo: MessageFns<SourceCodeInfo>;
|
||||
|
||||
Generated
Vendored
+4
-141
@@ -1,16 +1,14 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: google/protobuf/descriptor.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FeatureSetDefaults = exports.FeatureSet_VisibilityFeature = exports.FeatureSet = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions_FeatureSupport = exports.FieldOptions_EditionDefault = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.GeneratedCodeInfo_Annotation_Semantic = exports.FeatureSet_VisibilityFeature_DefaultSymbolVisibility = exports.FeatureSet_EnforceNamingStyle = exports.FeatureSet_JsonFormat = exports.FeatureSet_MessageEncoding = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncoding = exports.FeatureSet_EnumType = exports.FeatureSet_FieldPresence = exports.MethodOptions_IdempotencyLevel = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = exports.ExtensionRangeOptions_VerificationState = exports.SymbolVisibility = exports.Edition = void 0;
|
||||
exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = void 0;
|
||||
exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FeatureSetDefaults = exports.FeatureSet = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions_FeatureSupport = exports.FieldOptions_EditionDefault = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.GeneratedCodeInfo_Annotation_Semantic = exports.FeatureSet_EnforceNamingStyle = exports.FeatureSet_JsonFormat = exports.FeatureSet_MessageEncoding = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncoding = exports.FeatureSet_EnumType = exports.FeatureSet_FieldPresence = exports.MethodOptions_IdempotencyLevel = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = exports.ExtensionRangeOptions_VerificationState = exports.Edition = void 0;
|
||||
exports.GeneratedCodeInfo_Annotation = void 0;
|
||||
exports.editionFromJSON = editionFromJSON;
|
||||
exports.editionToJSON = editionToJSON;
|
||||
exports.symbolVisibilityFromJSON = symbolVisibilityFromJSON;
|
||||
exports.symbolVisibilityToJSON = symbolVisibilityToJSON;
|
||||
exports.extensionRangeOptions_VerificationStateFromJSON = extensionRangeOptions_VerificationStateFromJSON;
|
||||
exports.extensionRangeOptions_VerificationStateToJSON = extensionRangeOptions_VerificationStateToJSON;
|
||||
exports.fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON;
|
||||
@@ -43,8 +41,6 @@ exports.featureSet_JsonFormatFromJSON = featureSet_JsonFormatFromJSON;
|
||||
exports.featureSet_JsonFormatToJSON = featureSet_JsonFormatToJSON;
|
||||
exports.featureSet_EnforceNamingStyleFromJSON = featureSet_EnforceNamingStyleFromJSON;
|
||||
exports.featureSet_EnforceNamingStyleToJSON = featureSet_EnforceNamingStyleToJSON;
|
||||
exports.featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON = featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON;
|
||||
exports.featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON = featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON;
|
||||
exports.generatedCodeInfo_Annotation_SemanticFromJSON = generatedCodeInfo_Annotation_SemanticFromJSON;
|
||||
exports.generatedCodeInfo_Annotation_SemanticToJSON = generatedCodeInfo_Annotation_SemanticToJSON;
|
||||
/* eslint-disable */
|
||||
@@ -73,8 +69,6 @@ var Edition;
|
||||
*/
|
||||
Edition[Edition["EDITION_2023"] = 1000] = "EDITION_2023";
|
||||
Edition[Edition["EDITION_2024"] = 1001] = "EDITION_2024";
|
||||
/** EDITION_UNSTABLE - A placeholder edition for developing and testing unscheduled features. */
|
||||
Edition[Edition["EDITION_UNSTABLE"] = 9999] = "EDITION_UNSTABLE";
|
||||
/**
|
||||
* EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
|
||||
* used or relied on outside of tests.
|
||||
@@ -111,9 +105,6 @@ function editionFromJSON(object) {
|
||||
case 1001:
|
||||
case "EDITION_2024":
|
||||
return Edition.EDITION_2024;
|
||||
case 9999:
|
||||
case "EDITION_UNSTABLE":
|
||||
return Edition.EDITION_UNSTABLE;
|
||||
case 1:
|
||||
case "EDITION_1_TEST_ONLY":
|
||||
return Edition.EDITION_1_TEST_ONLY;
|
||||
@@ -150,8 +141,6 @@ function editionToJSON(object) {
|
||||
return "EDITION_2023";
|
||||
case Edition.EDITION_2024:
|
||||
return "EDITION_2024";
|
||||
case Edition.EDITION_UNSTABLE:
|
||||
return "EDITION_UNSTABLE";
|
||||
case Edition.EDITION_1_TEST_ONLY:
|
||||
return "EDITION_1_TEST_ONLY";
|
||||
case Edition.EDITION_2_TEST_ONLY:
|
||||
@@ -168,46 +157,6 @@ function editionToJSON(object) {
|
||||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum Edition");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Describes the 'visibility' of a symbol with respect to the proto import
|
||||
* system. Symbols can only be imported when the visibility rules do not prevent
|
||||
* it (ex: local symbols cannot be imported). Visibility modifiers can only set
|
||||
* on `message` and `enum` as they are the only types available to be referenced
|
||||
* from other files.
|
||||
*/
|
||||
var SymbolVisibility;
|
||||
(function (SymbolVisibility) {
|
||||
SymbolVisibility[SymbolVisibility["VISIBILITY_UNSET"] = 0] = "VISIBILITY_UNSET";
|
||||
SymbolVisibility[SymbolVisibility["VISIBILITY_LOCAL"] = 1] = "VISIBILITY_LOCAL";
|
||||
SymbolVisibility[SymbolVisibility["VISIBILITY_EXPORT"] = 2] = "VISIBILITY_EXPORT";
|
||||
})(SymbolVisibility || (exports.SymbolVisibility = SymbolVisibility = {}));
|
||||
function symbolVisibilityFromJSON(object) {
|
||||
switch (object) {
|
||||
case 0:
|
||||
case "VISIBILITY_UNSET":
|
||||
return SymbolVisibility.VISIBILITY_UNSET;
|
||||
case 1:
|
||||
case "VISIBILITY_LOCAL":
|
||||
return SymbolVisibility.VISIBILITY_LOCAL;
|
||||
case 2:
|
||||
case "VISIBILITY_EXPORT":
|
||||
return SymbolVisibility.VISIBILITY_EXPORT;
|
||||
default:
|
||||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum SymbolVisibility");
|
||||
}
|
||||
}
|
||||
function symbolVisibilityToJSON(object) {
|
||||
switch (object) {
|
||||
case SymbolVisibility.VISIBILITY_UNSET:
|
||||
return "VISIBILITY_UNSET";
|
||||
case SymbolVisibility.VISIBILITY_LOCAL:
|
||||
return "VISIBILITY_LOCAL";
|
||||
case SymbolVisibility.VISIBILITY_EXPORT:
|
||||
return "VISIBILITY_EXPORT";
|
||||
default:
|
||||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum SymbolVisibility");
|
||||
}
|
||||
}
|
||||
/** The verification state of the extension range. */
|
||||
var ExtensionRangeOptions_VerificationState;
|
||||
(function (ExtensionRangeOptions_VerificationState) {
|
||||
@@ -928,59 +877,6 @@ function featureSet_EnforceNamingStyleToJSON(object) {
|
||||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FeatureSet_EnforceNamingStyle");
|
||||
}
|
||||
}
|
||||
var FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
|
||||
(function (FeatureSet_VisibilityFeature_DefaultSymbolVisibility) {
|
||||
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN";
|
||||
/** EXPORT_ALL - Default pre-EDITION_2024, all UNSET visibility are export. */
|
||||
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["EXPORT_ALL"] = 1] = "EXPORT_ALL";
|
||||
/** EXPORT_TOP_LEVEL - All top-level symbols default to export, nested default to local. */
|
||||
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["EXPORT_TOP_LEVEL"] = 2] = "EXPORT_TOP_LEVEL";
|
||||
/** LOCAL_ALL - All symbols default to local. */
|
||||
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["LOCAL_ALL"] = 3] = "LOCAL_ALL";
|
||||
/**
|
||||
* STRICT - All symbols local by default. Nested types cannot be exported.
|
||||
* With special case caveat for message { enum {} reserved 1 to max; }
|
||||
* This is the recommended setting for new protos.
|
||||
*/
|
||||
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["STRICT"] = 4] = "STRICT";
|
||||
})(FeatureSet_VisibilityFeature_DefaultSymbolVisibility || (exports.FeatureSet_VisibilityFeature_DefaultSymbolVisibility = FeatureSet_VisibilityFeature_DefaultSymbolVisibility = {}));
|
||||
function featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON(object) {
|
||||
switch (object) {
|
||||
case 0:
|
||||
case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
|
||||
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN;
|
||||
case 1:
|
||||
case "EXPORT_ALL":
|
||||
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility.EXPORT_ALL;
|
||||
case 2:
|
||||
case "EXPORT_TOP_LEVEL":
|
||||
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility.EXPORT_TOP_LEVEL;
|
||||
case 3:
|
||||
case "LOCAL_ALL":
|
||||
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility.LOCAL_ALL;
|
||||
case 4:
|
||||
case "STRICT":
|
||||
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility.STRICT;
|
||||
default:
|
||||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility");
|
||||
}
|
||||
}
|
||||
function featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON(object) {
|
||||
switch (object) {
|
||||
case FeatureSet_VisibilityFeature_DefaultSymbolVisibility.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN:
|
||||
return "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN";
|
||||
case FeatureSet_VisibilityFeature_DefaultSymbolVisibility.EXPORT_ALL:
|
||||
return "EXPORT_ALL";
|
||||
case FeatureSet_VisibilityFeature_DefaultSymbolVisibility.EXPORT_TOP_LEVEL:
|
||||
return "EXPORT_TOP_LEVEL";
|
||||
case FeatureSet_VisibilityFeature_DefaultSymbolVisibility.LOCAL_ALL:
|
||||
return "LOCAL_ALL";
|
||||
case FeatureSet_VisibilityFeature_DefaultSymbolVisibility.STRICT:
|
||||
return "STRICT";
|
||||
default:
|
||||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Represents the identified object's effect on the element in the original
|
||||
* .proto file.
|
||||
@@ -1049,9 +945,6 @@ exports.FileDescriptorProto = {
|
||||
weakDependency: globalThis.Array.isArray(object?.weakDependency)
|
||||
? object.weakDependency.map((e) => globalThis.Number(e))
|
||||
: [],
|
||||
optionDependency: globalThis.Array.isArray(object?.optionDependency)
|
||||
? object.optionDependency.map((e) => globalThis.String(e))
|
||||
: [],
|
||||
messageType: globalThis.Array.isArray(object?.messageType)
|
||||
? object.messageType.map((e) => exports.DescriptorProto.fromJSON(e))
|
||||
: [],
|
||||
@@ -1087,9 +980,6 @@ exports.FileDescriptorProto = {
|
||||
if (message.weakDependency?.length) {
|
||||
obj.weakDependency = message.weakDependency.map((e) => Math.round(e));
|
||||
}
|
||||
if (message.optionDependency?.length) {
|
||||
obj.optionDependency = message.optionDependency;
|
||||
}
|
||||
if (message.messageType?.length) {
|
||||
obj.messageType = message.messageType.map((e) => exports.DescriptorProto.toJSON(e));
|
||||
}
|
||||
@@ -1146,7 +1036,6 @@ exports.DescriptorProto = {
|
||||
reservedName: globalThis.Array.isArray(object?.reservedName)
|
||||
? object.reservedName.map((e) => globalThis.String(e))
|
||||
: [],
|
||||
visibility: isSet(object.visibility) ? symbolVisibilityFromJSON(object.visibility) : 0,
|
||||
};
|
||||
},
|
||||
toJSON(message) {
|
||||
@@ -1181,9 +1070,6 @@ exports.DescriptorProto = {
|
||||
if (message.reservedName?.length) {
|
||||
obj.reservedName = message.reservedName;
|
||||
}
|
||||
if (message.visibility !== undefined && message.visibility !== 0) {
|
||||
obj.visibility = symbolVisibilityToJSON(message.visibility);
|
||||
}
|
||||
return obj;
|
||||
},
|
||||
};
|
||||
@@ -1375,7 +1261,6 @@ exports.EnumDescriptorProto = {
|
||||
reservedName: globalThis.Array.isArray(object?.reservedName)
|
||||
? object.reservedName.map((e) => globalThis.String(e))
|
||||
: [],
|
||||
visibility: isSet(object.visibility) ? symbolVisibilityFromJSON(object.visibility) : 0,
|
||||
};
|
||||
},
|
||||
toJSON(message) {
|
||||
@@ -1395,9 +1280,6 @@ exports.EnumDescriptorProto = {
|
||||
if (message.reservedName?.length) {
|
||||
obj.reservedName = message.reservedName;
|
||||
}
|
||||
if (message.visibility !== undefined && message.visibility !== 0) {
|
||||
obj.visibility = symbolVisibilityToJSON(message.visibility);
|
||||
}
|
||||
return obj;
|
||||
},
|
||||
};
|
||||
@@ -1742,7 +1624,6 @@ exports.FieldOptions_FeatureSupport = {
|
||||
editionDeprecated: isSet(object.editionDeprecated) ? editionFromJSON(object.editionDeprecated) : 0,
|
||||
deprecationWarning: isSet(object.deprecationWarning) ? globalThis.String(object.deprecationWarning) : "",
|
||||
editionRemoved: isSet(object.editionRemoved) ? editionFromJSON(object.editionRemoved) : 0,
|
||||
removalError: isSet(object.removalError) ? globalThis.String(object.removalError) : "",
|
||||
};
|
||||
},
|
||||
toJSON(message) {
|
||||
@@ -1759,9 +1640,6 @@ exports.FieldOptions_FeatureSupport = {
|
||||
if (message.editionRemoved !== undefined && message.editionRemoved !== 0) {
|
||||
obj.editionRemoved = editionToJSON(message.editionRemoved);
|
||||
}
|
||||
if (message.removalError !== undefined && message.removalError !== "") {
|
||||
obj.removalError = message.removalError;
|
||||
}
|
||||
return obj;
|
||||
},
|
||||
};
|
||||
@@ -1979,9 +1857,6 @@ exports.FeatureSet = {
|
||||
enforceNamingStyle: isSet(object.enforceNamingStyle)
|
||||
? featureSet_EnforceNamingStyleFromJSON(object.enforceNamingStyle)
|
||||
: 0,
|
||||
defaultSymbolVisibility: isSet(object.defaultSymbolVisibility)
|
||||
? featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON(object.defaultSymbolVisibility)
|
||||
: 0,
|
||||
};
|
||||
},
|
||||
toJSON(message) {
|
||||
@@ -2007,18 +1882,6 @@ exports.FeatureSet = {
|
||||
if (message.enforceNamingStyle !== undefined && message.enforceNamingStyle !== 0) {
|
||||
obj.enforceNamingStyle = featureSet_EnforceNamingStyleToJSON(message.enforceNamingStyle);
|
||||
}
|
||||
if (message.defaultSymbolVisibility !== undefined && message.defaultSymbolVisibility !== 0) {
|
||||
obj.defaultSymbolVisibility = featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON(message.defaultSymbolVisibility);
|
||||
}
|
||||
return obj;
|
||||
},
|
||||
};
|
||||
exports.FeatureSet_VisibilityFeature = {
|
||||
fromJSON(_) {
|
||||
return {};
|
||||
},
|
||||
toJSON(_) {
|
||||
const obj = {};
|
||||
return obj;
|
||||
},
|
||||
};
|
||||
|
||||
Generated
Vendored
+8
-9
@@ -71,8 +71,8 @@
|
||||
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
||||
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
||||
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
||||
* is required. A ProtoJSON serializer should always use UTC (as indicated by
|
||||
* "Z") when printing the Timestamp type and a ProtoJSON parser should be
|
||||
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
||||
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
||||
* able to accept both UTC and other timezones (as indicated by an offset).
|
||||
*
|
||||
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
||||
@@ -91,16 +91,15 @@
|
||||
*/
|
||||
export interface Timestamp {
|
||||
/**
|
||||
* Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
||||
* be between -62135596800 and 253402300799 inclusive (which corresponds to
|
||||
* 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
||||
* Represents seconds of UTC time since Unix epoch
|
||||
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
||||
* 9999-12-31T23:59:59Z inclusive.
|
||||
*/
|
||||
seconds: string;
|
||||
/**
|
||||
* Non-negative fractions of a second at nanosecond resolution. This field is
|
||||
* the nanosecond portion of the duration, not an alternative to seconds.
|
||||
* Negative second values with fractions must still have non-negative nanos
|
||||
* values that count forward in time. Must be between 0 and 999,999,999
|
||||
* Non-negative fractions of a second at nanosecond resolution. Negative
|
||||
* second values with fractions must still have non-negative nanos values
|
||||
* that count forward in time. Must be from 0 to 999,999,999
|
||||
* inclusive.
|
||||
*/
|
||||
nanos: number;
|
||||
|
||||
Generated
Vendored
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: google/protobuf/timestamp.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Timestamp = void 0;
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: rekor/v2/dsse.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DSSELogEntryV002 = exports.DSSERequestV002 = void 0;
|
||||
|
||||
+2
-2
@@ -15,7 +15,7 @@ export interface Entry {
|
||||
}
|
||||
/** Spec contains one of the Rekor entry types. */
|
||||
export interface Spec {
|
||||
spec: {
|
||||
spec?: {
|
||||
$case: "hashedRekordV002";
|
||||
hashedRekordV002: HashedRekordLogEntryV002;
|
||||
} | {
|
||||
@@ -25,7 +25,7 @@ export interface Spec {
|
||||
}
|
||||
/** Create a new HashedRekord or DSSE */
|
||||
export interface CreateEntryRequest {
|
||||
spec: {
|
||||
spec?: {
|
||||
$case: "hashedRekordRequestV002";
|
||||
hashedRekordRequestV002: HashedRekordRequestV002;
|
||||
} | {
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: rekor/v2/entry.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CreateEntryRequest = exports.Spec = exports.Entry = void 0;
|
||||
|
||||
Generated
Vendored
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: rekor/v2/hashedrekord.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.HashedRekordLogEntryV002 = exports.HashedRekordRequestV002 = void 0;
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ export interface PublicKey {
|
||||
}
|
||||
/** Either a public key or a X.509 cerificiate with an embedded public key */
|
||||
export interface Verifier {
|
||||
verifier: //
|
||||
verifier?: //
|
||||
/** DER-encoded public key. Encoding method is specified by the key_details attribute */
|
||||
{
|
||||
$case: "publicKey";
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: rekor/v2/verifier.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Signature = exports.Verifier = exports.PublicKey = void 0;
|
||||
|
||||
+2
-2
@@ -63,7 +63,7 @@ export interface VerificationMaterial {
|
||||
* When used in a `0.3` bundle with the PGI and "keyless" signing,
|
||||
* form (3) MUST be used.
|
||||
*/
|
||||
content: {
|
||||
content?: {
|
||||
$case: "publicKey";
|
||||
publicKey: PublicKeyIdentifier;
|
||||
} | {
|
||||
@@ -112,7 +112,7 @@ export interface Bundle {
|
||||
* DSSE envelope.
|
||||
*/
|
||||
verificationMaterial: VerificationMaterial | undefined;
|
||||
content: {
|
||||
content?: {
|
||||
$case: "messageSignature";
|
||||
messageSignature: MessageSignature;
|
||||
} | //
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: sigstore_bundle.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Bundle = exports.VerificationMaterial = exports.TimestampVerificationData = void 0;
|
||||
|
||||
+10
-21
@@ -12,17 +12,7 @@ export declare enum HashAlgorithm {
|
||||
SHA2_256 = 1,
|
||||
SHA2_384 = 2,
|
||||
SHA2_512 = 3,
|
||||
/**
|
||||
* SHA3_256 - Used for LMS
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
SHA3_256 = 4,
|
||||
/**
|
||||
* SHA3_384 - Used for LMS
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
SHA3_384 = 5
|
||||
}
|
||||
export declare function hashAlgorithmFromJSON(object: any): HashAlgorithm;
|
||||
@@ -98,7 +88,9 @@ export declare enum PublicKeyDetails {
|
||||
* LMS_SHA256 - LMS and LM-OTS
|
||||
*
|
||||
* These algorithms are deprecated and should not be used.
|
||||
* There are no plans to support SLH-DSA at this time.
|
||||
* Keys and signatures MAY be used by private Sigstore
|
||||
* deployments, but will not be supported by the public
|
||||
* good instance.
|
||||
*
|
||||
* USER WARNING: LMS and LM-OTS are both stateful signature schemes.
|
||||
* Using them correctly requires discretion and careful consideration
|
||||
@@ -114,23 +106,20 @@ export declare enum PublicKeyDetails {
|
||||
/** @deprecated */
|
||||
LMOTS_SHA256 = 15,
|
||||
/**
|
||||
* ML_DSA_44 - ML-DSA
|
||||
* ML_DSA_65 - ML-DSA
|
||||
*
|
||||
* These ML_DSA_44, ML_DSA_65 and ML-DSA_87 algorithms are the pure variants
|
||||
* that take data to sign rather than the prehash variants (HashML-DSA), which
|
||||
* take digests. While considered quantum-resistant, their usage
|
||||
* These ML_DSA_65 and ML-DSA_87 algorithms are the pure variants that
|
||||
* take data to sign rather than the prehash variants (HashML-DSA), which
|
||||
* take digests. While considered quantum-resistant, their usage
|
||||
* involves tradeoffs in that signatures and keys are much larger, and
|
||||
* this makes deployments more costly.
|
||||
*
|
||||
* USER WARNING: ML_DSA_44, ML_DSA_65 and ML_DSA_87 are experimental algorithms.
|
||||
* USER WARNING: ML_DSA_65 and ML_DSA_87 are experimental algorithms.
|
||||
* In the future they MAY be used by private Sigstore deployments, but
|
||||
* they are not yet fully functional. This warning will be removed when
|
||||
* they are not yet fully functional. This warning will be removed when
|
||||
* these algorithms are widely supported by Sigstore clients and servers,
|
||||
* but care should still be taken for production environments.
|
||||
*
|
||||
* See NIST FIPS 204, RFC 9881 for algorithm identifiers
|
||||
*/
|
||||
ML_DSA_44 = 23,
|
||||
ML_DSA_65 = 21,
|
||||
ML_DSA_87 = 22
|
||||
}
|
||||
@@ -242,7 +231,7 @@ export interface X509Certificate {
|
||||
}
|
||||
export interface SubjectAlternativeName {
|
||||
type: SubjectAlternativeNameType;
|
||||
identity: //
|
||||
identity?: //
|
||||
/**
|
||||
* A regular expression describing the expected value for
|
||||
* the SAN.
|
||||
|
||||
+11
-27
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: sigstore_common.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TimeRange = exports.X509CertificateChain = exports.SubjectAlternativeName = exports.X509Certificate = exports.DistinguishedName = exports.ObjectIdentifierValuePair = exports.ObjectIdentifier = exports.PublicKeyIdentifier = exports.PublicKey = exports.RFC3161SignedTimestamp = exports.LogId = exports.MessageSignature = exports.HashOutput = exports.SubjectAlternativeNameType = exports.PublicKeyDetails = exports.HashAlgorithm = void 0;
|
||||
@@ -29,17 +29,7 @@ var HashAlgorithm;
|
||||
HashAlgorithm[HashAlgorithm["SHA2_256"] = 1] = "SHA2_256";
|
||||
HashAlgorithm[HashAlgorithm["SHA2_384"] = 2] = "SHA2_384";
|
||||
HashAlgorithm[HashAlgorithm["SHA2_512"] = 3] = "SHA2_512";
|
||||
/**
|
||||
* SHA3_256 - Used for LMS
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
HashAlgorithm[HashAlgorithm["SHA3_256"] = 4] = "SHA3_256";
|
||||
/**
|
||||
* SHA3_384 - Used for LMS
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
HashAlgorithm[HashAlgorithm["SHA3_384"] = 5] = "SHA3_384";
|
||||
})(HashAlgorithm || (exports.HashAlgorithm = HashAlgorithm = {}));
|
||||
function hashAlgorithmFromJSON(object) {
|
||||
@@ -156,7 +146,9 @@ var PublicKeyDetails;
|
||||
* LMS_SHA256 - LMS and LM-OTS
|
||||
*
|
||||
* These algorithms are deprecated and should not be used.
|
||||
* There are no plans to support SLH-DSA at this time.
|
||||
* Keys and signatures MAY be used by private Sigstore
|
||||
* deployments, but will not be supported by the public
|
||||
* good instance.
|
||||
*
|
||||
* USER WARNING: LMS and LM-OTS are both stateful signature schemes.
|
||||
* Using them correctly requires discretion and careful consideration
|
||||
@@ -172,23 +164,20 @@ var PublicKeyDetails;
|
||||
/** @deprecated */
|
||||
PublicKeyDetails[PublicKeyDetails["LMOTS_SHA256"] = 15] = "LMOTS_SHA256";
|
||||
/**
|
||||
* ML_DSA_44 - ML-DSA
|
||||
* ML_DSA_65 - ML-DSA
|
||||
*
|
||||
* These ML_DSA_44, ML_DSA_65 and ML-DSA_87 algorithms are the pure variants
|
||||
* that take data to sign rather than the prehash variants (HashML-DSA), which
|
||||
* take digests. While considered quantum-resistant, their usage
|
||||
* These ML_DSA_65 and ML-DSA_87 algorithms are the pure variants that
|
||||
* take data to sign rather than the prehash variants (HashML-DSA), which
|
||||
* take digests. While considered quantum-resistant, their usage
|
||||
* involves tradeoffs in that signatures and keys are much larger, and
|
||||
* this makes deployments more costly.
|
||||
*
|
||||
* USER WARNING: ML_DSA_44, ML_DSA_65 and ML_DSA_87 are experimental algorithms.
|
||||
* USER WARNING: ML_DSA_65 and ML_DSA_87 are experimental algorithms.
|
||||
* In the future they MAY be used by private Sigstore deployments, but
|
||||
* they are not yet fully functional. This warning will be removed when
|
||||
* they are not yet fully functional. This warning will be removed when
|
||||
* these algorithms are widely supported by Sigstore clients and servers,
|
||||
* but care should still be taken for production environments.
|
||||
*
|
||||
* See NIST FIPS 204, RFC 9881 for algorithm identifiers
|
||||
*/
|
||||
PublicKeyDetails[PublicKeyDetails["ML_DSA_44"] = 23] = "ML_DSA_44";
|
||||
PublicKeyDetails[PublicKeyDetails["ML_DSA_65"] = 21] = "ML_DSA_65";
|
||||
PublicKeyDetails[PublicKeyDetails["ML_DSA_87"] = 22] = "ML_DSA_87";
|
||||
})(PublicKeyDetails || (exports.PublicKeyDetails = PublicKeyDetails = {}));
|
||||
@@ -257,9 +246,6 @@ function publicKeyDetailsFromJSON(object) {
|
||||
case 15:
|
||||
case "LMOTS_SHA256":
|
||||
return PublicKeyDetails.LMOTS_SHA256;
|
||||
case 23:
|
||||
case "ML_DSA_44":
|
||||
return PublicKeyDetails.ML_DSA_44;
|
||||
case 21:
|
||||
case "ML_DSA_65":
|
||||
return PublicKeyDetails.ML_DSA_65;
|
||||
@@ -314,8 +300,6 @@ function publicKeyDetailsToJSON(object) {
|
||||
return "LMS_SHA256";
|
||||
case PublicKeyDetails.LMOTS_SHA256:
|
||||
return "LMOTS_SHA256";
|
||||
case PublicKeyDetails.ML_DSA_44:
|
||||
return "ML_DSA_44";
|
||||
case PublicKeyDetails.ML_DSA_65:
|
||||
return "ML_DSA_65";
|
||||
case PublicKeyDetails.ML_DSA_87:
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: sigstore_rekor.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TransparencyLogEntry = exports.InclusionPromise = exports.InclusionProof = exports.Checkpoint = exports.KindVersion = void 0;
|
||||
|
||||
+18
-21
@@ -50,25 +50,23 @@ export interface TransparencyLogInstance {
|
||||
*/
|
||||
publicKey: PublicKey | undefined;
|
||||
/**
|
||||
* The identifier for this transparency log.
|
||||
* The unique identifier for this transparency log.
|
||||
* Represented as the SHA-256 hash of the log's public key,
|
||||
* calculated over the DER encoding of the key represented as
|
||||
* SubjectPublicKeyInfo.
|
||||
* See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
|
||||
* For Rekor v2 instances, log_id and checkpoint_key_id will be set
|
||||
* to the same value.
|
||||
* It is recommended to use checkpoint_key_id instead, since log_id is not
|
||||
* MUST set checkpoint_key_id if multiple logs use the same
|
||||
* signing key.
|
||||
* Deprecated: Use checkpoint_key_id instead, since log_id is not
|
||||
* guaranteed to be unique across multiple deployments. Clients
|
||||
* must use the key name and key ID, as defined by the signed-note spec
|
||||
* linked below, from a checkpoint to determine the correct
|
||||
* TransparencyLogInstance to verify a proof.
|
||||
* log_id will eventually be deprecated in favor of checkpoint_id.
|
||||
* must use the key name and key ID from a checkpoint to determine
|
||||
* the correct TransparencyLogInstance to verify a proof.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
logId: LogId | undefined;
|
||||
/**
|
||||
* The unique identifier for the log, used in the checkpoint.
|
||||
* Only supported for TrustedRoot media types matching or greater than
|
||||
* application/vnd.dev.sigstore.trustedroot.v0.2+json
|
||||
* Its calculation is described in
|
||||
* https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures
|
||||
* SHOULD be set for all logs. When not set, clients MUST use log_id.
|
||||
@@ -95,8 +93,6 @@ export interface TransparencyLogInstance {
|
||||
/**
|
||||
* The name of the operator of this log deployment. Operator MUST be
|
||||
* formatted as a scheme-less URI, e.g. sigstore.dev
|
||||
* Only supported for TrustedRoot media types matching or greater than
|
||||
* application/vnd.dev.sigstore.trustedroot.v0.2+json
|
||||
* This MUST be used when there are multiple transparency log instances
|
||||
* to determine if log proof verification meets a specified threshold,
|
||||
* e.g. two proofs from log deployments operated by the same operator
|
||||
@@ -167,10 +163,13 @@ export interface CertificateAuthority {
|
||||
* previously used instance -- otherwise signatures made in the past cannot
|
||||
* be verified.
|
||||
*
|
||||
* All the listed instances SHOULD be sorted by the 'valid_for.start'
|
||||
* in ascending order, that is, the oldest instance first. Clients
|
||||
* MUST accept instances that overlaps in time, if not clients may
|
||||
* experience problems during rotations of verification materials.
|
||||
* All the listed instances SHOULD be sorted by the 'valid_for' in ascending
|
||||
* order, that is, the oldest instance first. Only the last instance is
|
||||
* allowed to have their 'end' timestamp unset. All previous instances MUST
|
||||
* have a closed interval of validity. The last instance MAY have a closed
|
||||
* interval. Clients MUST accept instances that overlaps in time, if not
|
||||
* clients may experience problems during rotations of verification
|
||||
* materials.
|
||||
*
|
||||
* To be able to manage planned rotations of either transparency logs or
|
||||
* certificate authorities, clienst MUST accept lists of instances where
|
||||
@@ -181,12 +180,10 @@ export interface CertificateAuthority {
|
||||
*/
|
||||
export interface TrustedRoot {
|
||||
/**
|
||||
* MUST be application/vnd.dev.sigstore.trustedroot.v0.2+json
|
||||
* MUST be application/vnd.dev.sigstore.trustedroot.v0.1+json
|
||||
* when encoded as JSON.
|
||||
* Clients MAY choose to also support
|
||||
* application/vnd.dev.sigstore.trustedroot.v0.1+json
|
||||
* Clients MAY process and parse content with the media type defined
|
||||
* in the old format:
|
||||
* Clients MUST be able to process and parse content with the media
|
||||
* type defined in the old format:
|
||||
* application/vnd.dev.sigstore.trustedroot+json;version=0.1
|
||||
*/
|
||||
mediaType: string;
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: sigstore_trustroot.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ClientTrustConfig = exports.ServiceConfiguration = exports.Service = exports.SigningConfig = exports.TrustedRoot = exports.CertificateAuthority = exports.TransparencyLogInstance = exports.ServiceSelector = void 0;
|
||||
|
||||
Generated
Vendored
+2
-2
@@ -29,7 +29,7 @@ export interface ArtifactVerificationOptions {
|
||||
* is an error. If at least one provided identity is found as a
|
||||
* signer, the verification is considered successful.
|
||||
*/
|
||||
signers: {
|
||||
signers?: {
|
||||
$case: "certificateIdentities";
|
||||
certificateIdentities: CertificateIdentities;
|
||||
} | //
|
||||
@@ -127,7 +127,7 @@ export interface ArtifactVerificationOptions_ObserverTimestampOptions {
|
||||
disable: boolean;
|
||||
}
|
||||
export interface Artifact {
|
||||
data: //
|
||||
data?: //
|
||||
/** Location of the artifact */
|
||||
{
|
||||
$case: "artifactUri";
|
||||
|
||||
Generated
Vendored
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.11.5
|
||||
// protoc v7.34.1
|
||||
// protoc-gen-ts_proto v2.7.0
|
||||
// protoc v6.30.2
|
||||
// source: sigstore_verification.proto
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Input = exports.Artifact = exports.ArtifactVerificationOptions_ObserverTimestampOptions = exports.ArtifactVerificationOptions_TlogIntegratedTimestampOptions = exports.ArtifactVerificationOptions_TimestampAuthorityOptions = exports.ArtifactVerificationOptions_CtlogOptions = exports.ArtifactVerificationOptions_TlogOptions = exports.ArtifactVerificationOptions = exports.PublicKeyIdentities = exports.CertificateIdentities = exports.CertificateIdentity = void 0;
|
||||
|
||||
Reference in New Issue
Block a user