likec4 1.19.0 → 1.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__app__/src/chunks/{-index-overview-C9eO_hFX.js → -index-overview-COSF42be.js} +1 -1
- package/__app__/src/chunks/{main-DY2KbFcO.js → main-CtzxB_vG.js} +3 -3
- package/__app__/src/main.js +1 -1
- package/__app__/webcomponent/webcomponent.js +2 -2
- package/dist/chunks/prompt.cjs +45 -0
- package/dist/chunks/prompt.mjs +1 -1
- package/dist/cli/index.cjs +469 -0
- package/dist/cli/index.d.cts +1 -0
- package/dist/cli/index.mjs +35 -35
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +16475 -0
- package/dist/index.d.mts +162 -148
- package/dist/index.d.ts +162 -148
- package/dist/index.mjs +1 -1
- package/dist/model/index.cjs +1 -0
- package/dist/model/index.d.cts +263 -0
- package/dist/model/index.d.mts +7 -2
- package/dist/model/index.d.ts +7 -2
- package/dist/model/index.mjs +1 -1
- package/dist/shared/likec4.-U9_Dinu.cjs +1856 -0
- package/dist/shared/likec4.CVn8U3Og.cjs +9 -0
- package/dist/shared/likec4.Cgd5VecV.mjs +9 -0
- package/dist/shared/{likec4.CbSUX9bc.mjs → likec4.D7BM0ZAO.mjs} +184 -181
- package/dist/shared/{likec4.DCwaTTuF.d.ts → likec4.DJeGiAvE.d.cts} +14 -0
- package/dist/shared/{likec4.DCwaTTuF.d.mts → likec4.DJeGiAvE.d.mts} +14 -0
- package/dist/shared/likec4.DJeGiAvE.d.ts +1639 -0
- package/package.json +24 -17
- package/react/index.d.ts +9 -0
- package/react/index.js +2 -2
- package/dist/shared/likec4.LktBLTET.mjs +0 -9
|
@@ -330,12 +330,20 @@ declare namespace RelationExpr {
|
|
|
330
330
|
inout: FqnExpr<D, M>;
|
|
331
331
|
};
|
|
332
332
|
const isInOut: (expr: ExpressionV2) => expr is InOut;
|
|
333
|
+
type Where<D = Fqn, M = Fqn> = {
|
|
334
|
+
where: {
|
|
335
|
+
expr: ExpressionV2<D, M>;
|
|
336
|
+
condition: WhereOperator<string, string>;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
const isWhere: (expr: ExpressionV2) => expr is Where;
|
|
333
340
|
}
|
|
334
341
|
type RelationExpr<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
335
342
|
Direct: RelationExpr.Direct<D, M>;
|
|
336
343
|
Incoming: RelationExpr.Incoming<D, M>;
|
|
337
344
|
Outgoing: RelationExpr.Outgoing<D, M>;
|
|
338
345
|
InOut: RelationExpr.InOut<D, M>;
|
|
346
|
+
Where: RelationExpr.Where<D, M>;
|
|
339
347
|
}>;
|
|
340
348
|
/**
|
|
341
349
|
* Represents a version 2 expression which can be one of several types.
|
|
@@ -351,6 +359,7 @@ type ExpressionV2<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
|
351
359
|
Incoming: RelationExpr.Incoming<D, M>;
|
|
352
360
|
Outgoing: RelationExpr.Outgoing<D, M>;
|
|
353
361
|
InOut: RelationExpr.InOut<D, M>;
|
|
362
|
+
RelationPredicateOrWhere: RelationExpr.Where<D, M>;
|
|
354
363
|
}>;
|
|
355
364
|
declare namespace ExpressionV2 {
|
|
356
365
|
const isFqnExpr: (expr: ExpressionV2) => expr is FqnExpr;
|
|
@@ -755,6 +764,7 @@ interface DeployedInstance {
|
|
|
755
764
|
readonly title?: string;
|
|
756
765
|
readonly description?: string | null;
|
|
757
766
|
readonly technology?: string | null;
|
|
767
|
+
readonly kind?: string | null;
|
|
758
768
|
readonly tags?: NonEmptyArray<Tag> | null;
|
|
759
769
|
readonly links?: NonEmptyArray<Link> | null;
|
|
760
770
|
readonly style?: DeploymentElementStyle;
|
|
@@ -1081,6 +1091,7 @@ declare class RelationshipModel<M extends AnyAux = AnyAux> {
|
|
|
1081
1091
|
get description(): string | null;
|
|
1082
1092
|
get navigateTo(): LikeC4ViewModel<M> | null;
|
|
1083
1093
|
get tags(): ReadonlyArray<Tag>;
|
|
1094
|
+
get kind(): string | null;
|
|
1084
1095
|
get links(): ReadonlyArray<Link>;
|
|
1085
1096
|
/**
|
|
1086
1097
|
* Iterate over all views that include this relationship.
|
|
@@ -1315,6 +1326,7 @@ declare abstract class AbstractDeploymentElementModel<M extends AnyAux = AnyAux>
|
|
|
1315
1326
|
get shape(): ElementShape;
|
|
1316
1327
|
get color(): ThemeColor;
|
|
1317
1328
|
get tags(): ReadonlyArray<Tag>;
|
|
1329
|
+
get kind(): DeploymentNodeKind | string | null;
|
|
1318
1330
|
get description(): string | null;
|
|
1319
1331
|
get technology(): string | null;
|
|
1320
1332
|
get links(): ReadonlyArray<Link>;
|
|
@@ -1415,6 +1427,7 @@ declare class DeployedInstanceModel<M extends AnyAux = AnyAux> extends AbstractD
|
|
|
1415
1427
|
get shape(): ElementShape;
|
|
1416
1428
|
get color(): ThemeColor;
|
|
1417
1429
|
get tags(): ReadonlyArray<Tag>;
|
|
1430
|
+
get kind(): string | null;
|
|
1418
1431
|
get description(): string | null;
|
|
1419
1432
|
get technology(): string | null;
|
|
1420
1433
|
get links(): ReadonlyArray<Link>;
|
|
@@ -1455,6 +1468,7 @@ declare class DeploymentRelationModel<M extends AnyAux = AnyAux> {
|
|
|
1455
1468
|
get technology(): string | null;
|
|
1456
1469
|
get description(): string | null;
|
|
1457
1470
|
get tags(): ReadonlyArray<Tag>;
|
|
1471
|
+
get kind(): RelationshipKind | null;
|
|
1458
1472
|
get navigateTo(): LikeC4ViewModel<M> | null;
|
|
1459
1473
|
get links(): ReadonlyArray<Link>;
|
|
1460
1474
|
views(): IteratorLike<LikeC4ViewModel<M, ComputedDeploymentView>>;
|
|
@@ -330,12 +330,20 @@ declare namespace RelationExpr {
|
|
|
330
330
|
inout: FqnExpr<D, M>;
|
|
331
331
|
};
|
|
332
332
|
const isInOut: (expr: ExpressionV2) => expr is InOut;
|
|
333
|
+
type Where<D = Fqn, M = Fqn> = {
|
|
334
|
+
where: {
|
|
335
|
+
expr: ExpressionV2<D, M>;
|
|
336
|
+
condition: WhereOperator<string, string>;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
const isWhere: (expr: ExpressionV2) => expr is Where;
|
|
333
340
|
}
|
|
334
341
|
type RelationExpr<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
335
342
|
Direct: RelationExpr.Direct<D, M>;
|
|
336
343
|
Incoming: RelationExpr.Incoming<D, M>;
|
|
337
344
|
Outgoing: RelationExpr.Outgoing<D, M>;
|
|
338
345
|
InOut: RelationExpr.InOut<D, M>;
|
|
346
|
+
Where: RelationExpr.Where<D, M>;
|
|
339
347
|
}>;
|
|
340
348
|
/**
|
|
341
349
|
* Represents a version 2 expression which can be one of several types.
|
|
@@ -351,6 +359,7 @@ type ExpressionV2<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
|
351
359
|
Incoming: RelationExpr.Incoming<D, M>;
|
|
352
360
|
Outgoing: RelationExpr.Outgoing<D, M>;
|
|
353
361
|
InOut: RelationExpr.InOut<D, M>;
|
|
362
|
+
RelationPredicateOrWhere: RelationExpr.Where<D, M>;
|
|
354
363
|
}>;
|
|
355
364
|
declare namespace ExpressionV2 {
|
|
356
365
|
const isFqnExpr: (expr: ExpressionV2) => expr is FqnExpr;
|
|
@@ -755,6 +764,7 @@ interface DeployedInstance {
|
|
|
755
764
|
readonly title?: string;
|
|
756
765
|
readonly description?: string | null;
|
|
757
766
|
readonly technology?: string | null;
|
|
767
|
+
readonly kind?: string | null;
|
|
758
768
|
readonly tags?: NonEmptyArray<Tag> | null;
|
|
759
769
|
readonly links?: NonEmptyArray<Link> | null;
|
|
760
770
|
readonly style?: DeploymentElementStyle;
|
|
@@ -1081,6 +1091,7 @@ declare class RelationshipModel<M extends AnyAux = AnyAux> {
|
|
|
1081
1091
|
get description(): string | null;
|
|
1082
1092
|
get navigateTo(): LikeC4ViewModel<M> | null;
|
|
1083
1093
|
get tags(): ReadonlyArray<Tag>;
|
|
1094
|
+
get kind(): string | null;
|
|
1084
1095
|
get links(): ReadonlyArray<Link>;
|
|
1085
1096
|
/**
|
|
1086
1097
|
* Iterate over all views that include this relationship.
|
|
@@ -1315,6 +1326,7 @@ declare abstract class AbstractDeploymentElementModel<M extends AnyAux = AnyAux>
|
|
|
1315
1326
|
get shape(): ElementShape;
|
|
1316
1327
|
get color(): ThemeColor;
|
|
1317
1328
|
get tags(): ReadonlyArray<Tag>;
|
|
1329
|
+
get kind(): DeploymentNodeKind | string | null;
|
|
1318
1330
|
get description(): string | null;
|
|
1319
1331
|
get technology(): string | null;
|
|
1320
1332
|
get links(): ReadonlyArray<Link>;
|
|
@@ -1415,6 +1427,7 @@ declare class DeployedInstanceModel<M extends AnyAux = AnyAux> extends AbstractD
|
|
|
1415
1427
|
get shape(): ElementShape;
|
|
1416
1428
|
get color(): ThemeColor;
|
|
1417
1429
|
get tags(): ReadonlyArray<Tag>;
|
|
1430
|
+
get kind(): string | null;
|
|
1418
1431
|
get description(): string | null;
|
|
1419
1432
|
get technology(): string | null;
|
|
1420
1433
|
get links(): ReadonlyArray<Link>;
|
|
@@ -1455,6 +1468,7 @@ declare class DeploymentRelationModel<M extends AnyAux = AnyAux> {
|
|
|
1455
1468
|
get technology(): string | null;
|
|
1456
1469
|
get description(): string | null;
|
|
1457
1470
|
get tags(): ReadonlyArray<Tag>;
|
|
1471
|
+
get kind(): RelationshipKind | null;
|
|
1458
1472
|
get navigateTo(): LikeC4ViewModel<M> | null;
|
|
1459
1473
|
get links(): ReadonlyArray<Link>;
|
|
1460
1474
|
views(): IteratorLike<LikeC4ViewModel<M, ComputedDeploymentView>>;
|