New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@likec4/core

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likec4/core - npm Package Compare versions

Comparing version 0.19.0 to 0.20.0

4

dist/compute-view/compute-element-view.d.ts
import type { ModelIndex } from '../model-index';
import { type ElementView, type ComputedView } from '../types';
export declare function computeElementView(view: ElementView, index: ModelIndex): ComputedView;
import { type ElementView, type ComputeResult } from '../types';
export declare function computeElementView<V extends ElementView>(view: V, index: ModelIndex): ComputeResult<V>;
//# sourceMappingURL=compute-element-view.d.ts.map
import { anyPass, filter, head, uniq, isNil } from 'rambdax';
import { DefaultThemeColor, DefaultElementShape } from '../types';
import { DefaultThemeColor, DefaultElementShape, } from '../types';
import * as Expression from '../types/expression';

@@ -4,0 +4,0 @@ import { isViewRuleAutoLayout, isViewRuleExpression, isViewRuleStyle } from '../types/view';

import { ModelIndex } from '../model-index';
import type { Element, ElementView, Fqn, LikeC4Model, Relation, ComputedView, RelationID, ViewID } from '../types';
export declare function computeView(view: ElementView, index: ModelIndex): ComputedView;
type InputModel = {
import type { Element, ElementView, Fqn, Relation, RelationID, ViewID, ComputeResult } from '../types';
export declare function computeView<V extends ElementView>(view: V, index: ModelIndex): ComputeResult<V>;
type InputModel<V extends ElementView> = {
elements: Record<Fqn, Element>;
relations: Record<RelationID, Relation>;
views: Record<ViewID, ElementView>;
views: Record<ViewID, V>;
};
export declare function computeViews(model: InputModel): LikeC4Model;
type OutputModel<V extends ElementView> = {
elements: Record<Fqn, Element>;
relations: Record<RelationID, Relation>;
views: Record<ViewID, ComputeResult<V>>;
};
export declare function computeViews<V extends ElementView>(model: InputModel<V>): OutputModel<V>;
export {};
//# sourceMappingURL=compute.d.ts.map

@@ -33,2 +33,3 @@ import type { Opaque } from './opaque';

}
export type ComputeResult<V extends ElementView> = V & Pick<ComputedView, 'autoLayout' | 'nodes' | 'edges'>;
//# sourceMappingURL=computed-view.d.ts.map
{
"name": "@likec4/core",
"version": "0.19.0",
"version": "0.20.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/likec4/likec4/issues",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc