Skip to content

Commit

Permalink
add relationshipsUpdate property to trace
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <[email protected]>
  • Loading branch information
MUzairS15 committed Aug 26, 2024
1 parent 38d154c commit 782edb0
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 0 deletions.
3 changes: 3 additions & 0 deletions models/v1beta1/pattern/evaluation_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions schemas/constructs/openapi/relationshipEvaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ components:
description: List of new relationships added to the design.
items:
$ref: ../v1alpha3/relationship.json
relationshipsUpdated:
type: array
description: List of relationships updated in the design.
relationshipsRemoved:
type: array
description: List of relationships removed from the design.
Expand Down
40 changes: 40 additions & 0 deletions typescript/constructs/v1beta1/component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export type ComponentStyles = Styles & {
* The height of the node’s body
*/
height?: number;
/**
* The URL that points to the image to show in the node.
*/
"background-image"?: string;
/**
* The colour of the node’s body. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)).
*/
Expand All @@ -115,6 +119,38 @@ export type ComponentStyles = Styles & {
* The opacity level of the node’s background colour
*/
"background-opacity"?: number;
/**
* The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-position-x"?: string;
/**
* The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-position-y"?: string;
/**
* The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-offset-x"?: string;
/**
* The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-offset-y"?: string;
/**
* How the background image is fit to the node. Can be 'none', 'contain', or 'cover'.
*/
"background-fit"?: string;
/**
* How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'.
*/
"background-clip"?: string;
/**
* How the background image’s width is determined. Can be 'none', 'inner', or 'outer'.
*/
"background-width-relative-to"?: string;
/**
* How the background image’s height is determined. Can be 'none', 'inner', or 'outer'.
*/
"background-height-relative-to"?: string;
/**
* The size of the node’s border.
*/
Expand Down Expand Up @@ -236,6 +272,10 @@ export interface HttpsSchemasMesheryIoComponentJson {
* Identifies whether the component is semantically meaningful or not; identifies whether the component should be treated as deployable entity or is for purposes of logical representation.
*/
isAnnotation?: boolean;
/**
* Identifies whether the component is scoped to namespace or clsuter wide.
*/
isNamespaced?: boolean;
/**
* 'published' controls whether the component should be registered in Meshery Registry. When the same 'published' property in Models, is set to 'false', the Model property takes precedence with all Entities in the Model not being registered.
*/
Expand Down
40 changes: 40 additions & 0 deletions typescript/constructs/v1beta1/designs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export type ComponentStyles = Styles & {
* The height of the node’s body
*/
height?: number;
/**
* The URL that points to the image to show in the node.
*/
"background-image"?: string;
/**
* The colour of the node’s body. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)).
*/
Expand All @@ -115,6 +119,38 @@ export type ComponentStyles = Styles & {
* The opacity level of the node’s background colour
*/
"background-opacity"?: number;
/**
* The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-position-x"?: string;
/**
* The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-position-y"?: string;
/**
* The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-offset-x"?: string;
/**
* The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)
*/
"background-offset-y"?: string;
/**
* How the background image is fit to the node. Can be 'none', 'contain', or 'cover'.
*/
"background-fit"?: string;
/**
* How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'.
*/
"background-clip"?: string;
/**
* How the background image’s width is determined. Can be 'none', 'inner', or 'outer'.
*/
"background-width-relative-to"?: string;
/**
* How the background image’s height is determined. Can be 'none', 'inner', or 'outer'.
*/
"background-height-relative-to"?: string;
/**
* The size of the node’s border.
*/
Expand Down Expand Up @@ -278,6 +314,10 @@ export interface HttpsSchemasMesheryIoComponentJson {
* Identifies whether the component is semantically meaningful or not; identifies whether the component should be treated as deployable entity or is for purposes of logical representation.
*/
isAnnotation?: boolean;
/**
* Identifies whether the component is scoped to namespace or clsuter wide.
*/
isNamespaced?: boolean;
/**
* 'published' controls whether the component should be registered in Meshery Registry. When the same 'published' property in Models, is set to 'false', the Model property takes precedence with all Entities in the Model not being registered.
*/
Expand Down

0 comments on commit 782edb0

Please sign in to comment.