Skip to content

Commit 3f33577

Browse files
committed
add vars
1 parent 71c0540 commit 3f33577

File tree

31 files changed

+1136
-2442
lines changed

31 files changed

+1136
-2442
lines changed

apps/event-queue/src/workspace-engine/gen/workspace_pb.d.ts

Lines changed: 80 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -510,11 +510,11 @@ export declare type ReleaseTarget = Message<"workspace.ReleaseTarget"> & {
510510
export declare const ReleaseTargetSchema: GenMessage<ReleaseTarget>;
511511

512512
/**
513-
* @generated from message workspace.Value
513+
* @generated from message workspace.LiteralValue
514514
*/
515-
export declare type Value = Message<"workspace.Value"> & {
515+
export declare type LiteralValue = Message<"workspace.LiteralValue"> & {
516516
/**
517-
* @generated from oneof workspace.Value.data
517+
* @generated from oneof workspace.LiteralValue.data
518518
*/
519519
data: {
520520
/**
@@ -555,6 +555,77 @@ export declare type Value = Message<"workspace.Value"> & {
555555
} | { case: undefined; value?: undefined };
556556
};
557557

558+
/**
559+
* Describes the message workspace.LiteralValue.
560+
* Use `create(LiteralValueSchema)` to create a new message.
561+
*/
562+
export declare const LiteralValueSchema: GenMessage<LiteralValue>;
563+
564+
/**
565+
* @generated from message workspace.SensitiveValue
566+
*/
567+
export declare type SensitiveValue = Message<"workspace.SensitiveValue"> & {
568+
/**
569+
* @generated from field: string value_hash = 1;
570+
*/
571+
valueHash: string;
572+
};
573+
574+
/**
575+
* Describes the message workspace.SensitiveValue.
576+
* Use `create(SensitiveValueSchema)` to create a new message.
577+
*/
578+
export declare const SensitiveValueSchema: GenMessage<SensitiveValue>;
579+
580+
/**
581+
* @generated from message workspace.ReferenceValue
582+
*/
583+
export declare type ReferenceValue = Message<"workspace.ReferenceValue"> & {
584+
/**
585+
* @generated from field: string reference = 1;
586+
*/
587+
reference: string;
588+
589+
/**
590+
* @generated from field: repeated string path = 2;
591+
*/
592+
path: string[];
593+
};
594+
595+
/**
596+
* Describes the message workspace.ReferenceValue.
597+
* Use `create(ReferenceValueSchema)` to create a new message.
598+
*/
599+
export declare const ReferenceValueSchema: GenMessage<ReferenceValue>;
600+
601+
/**
602+
* @generated from message workspace.Value
603+
*/
604+
export declare type Value = Message<"workspace.Value"> & {
605+
/**
606+
* @generated from oneof workspace.Value.data
607+
*/
608+
data: {
609+
/**
610+
* @generated from field: workspace.LiteralValue literal = 7;
611+
*/
612+
value: LiteralValue;
613+
case: "literal";
614+
} | {
615+
/**
616+
* @generated from field: workspace.ReferenceValue reference = 8;
617+
*/
618+
value: ReferenceValue;
619+
case: "reference";
620+
} | {
621+
/**
622+
* @generated from field: workspace.SensitiveValue sensitive = 9;
623+
*/
624+
value: SensitiveValue;
625+
case: "sensitive";
626+
} | { case: undefined; value?: undefined };
627+
};
628+
558629
/**
559630
* Describes the message workspace.Value.
560631
* Use `create(ValueSchema)` to create a new message.
@@ -571,9 +642,9 @@ export declare type Release = Message<"workspace.Release"> & {
571642
version?: DeploymentVersion;
572643

573644
/**
574-
* @generated from field: map<string, workspace.Value> variables = 2;
645+
* @generated from field: map<string, workspace.LiteralValue> variables = 2;
575646
*/
576-
variables: { [key: string]: Value };
647+
variables: { [key: string]: LiteralValue };
577648

578649
/**
579650
* @generated from field: repeated string encrypted_variables = 3;
@@ -627,9 +698,9 @@ export declare type DeploymentVariable = Message<"workspace.DeploymentVariable">
627698
deploymentId: string;
628699

629700
/**
630-
* @generated from field: workspace.Value default_value = 6;
701+
* @generated from field: workspace.LiteralValue default_value = 6;
631702
*/
632-
defaultValue?: Value;
703+
defaultValue?: LiteralValue;
633704
};
634705

635706
/**
@@ -657,38 +728,15 @@ export declare type DeploymentVariableValue = Message<"workspace.DeploymentVaria
657728
*/
658729
priority: bigint;
659730

660-
/**
661-
* @generated from field: workspace.Value default_value = 5;
662-
*/
663-
defaultValue?: Value;
664-
665731
/**
666732
* @generated from field: optional workspace.Selector resource_selector = 6;
667733
*/
668734
resourceSelector?: Selector;
669735

670736
/**
671-
* @generated from oneof workspace.DeploymentVariableValue.value
737+
* @generated from field: workspace.Value value = 7;
672738
*/
673-
value: {
674-
/**
675-
* @generated from field: workspace.Value direct = 7;
676-
*/
677-
value: Value;
678-
case: "direct";
679-
} | {
680-
/**
681-
* @generated from field: workspace.ReferenceValue reference = 8;
682-
*/
683-
value: ReferenceValue;
684-
case: "reference";
685-
} | {
686-
/**
687-
* @generated from field: workspace.SensitiveValue sensitive = 9;
688-
*/
689-
value: SensitiveValue;
690-
case: "sensitive";
691-
} | { case: undefined; value?: undefined };
739+
value?: Value;
692740
};
693741

694742
/**
@@ -697,43 +745,6 @@ export declare type DeploymentVariableValue = Message<"workspace.DeploymentVaria
697745
*/
698746
export declare const DeploymentVariableValueSchema: GenMessage<DeploymentVariableValue>;
699747

700-
/**
701-
* @generated from message workspace.SensitiveValue
702-
*/
703-
export declare type SensitiveValue = Message<"workspace.SensitiveValue"> & {
704-
/**
705-
* @generated from field: string value_hash = 1;
706-
*/
707-
valueHash: string;
708-
};
709-
710-
/**
711-
* Describes the message workspace.SensitiveValue.
712-
* Use `create(SensitiveValueSchema)` to create a new message.
713-
*/
714-
export declare const SensitiveValueSchema: GenMessage<SensitiveValue>;
715-
716-
/**
717-
* @generated from message workspace.ReferenceValue
718-
*/
719-
export declare type ReferenceValue = Message<"workspace.ReferenceValue"> & {
720-
/**
721-
* @generated from field: optional google.protobuf.Struct reference = 1;
722-
*/
723-
reference?: JsonObject;
724-
725-
/**
726-
* @generated from field: repeated string path = 2;
727-
*/
728-
path: string[];
729-
};
730-
731-
/**
732-
* Describes the message workspace.ReferenceValue.
733-
* Use `create(ReferenceValueSchema)` to create a new message.
734-
*/
735-
export declare const ReferenceValueSchema: GenMessage<ReferenceValue>;
736-
737748
/**
738749
* @generated from message workspace.DeploymentVersion
739750
*/
@@ -995,72 +1006,6 @@ export declare type RelationshipRule = Message<"workspace.RelationshipRule"> & {
9951006
*/
9961007
export declare const RelationshipRuleSchema: GenMessage<RelationshipRule>;
9971008

998-
/**
999-
* RelationshipInstance represents a computed relationship between two specific entities.
1000-
* This is generated from a RelationshipRule by evaluating the selectors.
1001-
*
1002-
* @generated from message workspace.RelationshipInstance
1003-
*/
1004-
export declare type RelationshipInstance = Message<"workspace.RelationshipInstance"> & {
1005-
/**
1006-
* Unique ID for this instance
1007-
*
1008-
* @generated from field: string id = 1;
1009-
*/
1010-
id: string;
1011-
1012-
/**
1013-
* Reference to the RelationshipRule that created this instance
1014-
*
1015-
* @generated from field: string rule_id = 2;
1016-
*/
1017-
ruleId: string;
1018-
1019-
/**
1020-
* Source entity
1021-
*
1022-
* @generated from field: string from_type = 3;
1023-
*/
1024-
fromType: string;
1025-
1026-
/**
1027-
* @generated from field: string from_id = 4;
1028-
*/
1029-
fromId: string;
1030-
1031-
/**
1032-
* Target entity
1033-
*
1034-
* @generated from field: string to_type = 5;
1035-
*/
1036-
toType: string;
1037-
1038-
/**
1039-
* @generated from field: string to_id = 6;
1040-
*/
1041-
toId: string;
1042-
1043-
/**
1044-
* The semantic type of the relationship (inherited from the rule)
1045-
*
1046-
* @generated from field: string relationship_type = 7;
1047-
*/
1048-
relationshipType: string;
1049-
1050-
/**
1051-
* Additional metadata (inherited from rule + any computed metadata)
1052-
*
1053-
* @generated from field: map<string, string> metadata = 8;
1054-
*/
1055-
metadata: { [key: string]: string };
1056-
};
1057-
1058-
/**
1059-
* Describes the message workspace.RelationshipInstance.
1060-
* Use `create(RelationshipInstanceSchema)` to create a new message.
1061-
*/
1062-
export declare const RelationshipInstanceSchema: GenMessage<RelationshipInstance>;
1063-
10641009
/**
10651010
* @generated from message workspace.ComputeReleaseTargetsResponse
10661011
*/

apps/event-queue/src/workspace-engine/gen/workspace_pb.js

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)