IFClite TypeScript API
    Preparing search index...

    Type Alias DiffEntry

    DiffEntry:
        | { field: InfoField; kind: "info.changed"; new?: string; old?: string }
        | { decl: CustomPsetDecl; kind: "custom.psetDeclared" }
        | { decl: CustomPsetDecl; kind: "custom.psetRemoved" }
        | { decl: UserDefinedTypeDecl; kind: "custom.userDefinedTypeDeclared" }
        | { decl: UserDefinedTypeDecl; kind: "custom.userDefinedTypeRemoved" }
        | {
            index: number;
            kind: "spec.added";
            nodes: SpecNodes;
            spec: IDSSpecification;
            specId: Uuid;
            specName: string;
        }
        | { index: number; kind: "spec.removed"; specId: Uuid; specName: string }
        | {
            from: number;
            kind: "spec.moved";
            specId: Uuid;
            specName: string;
            to: number;
        }
        | {
            cardinality?: { new: SpecCardinality; old: SpecCardinality };
            field: SpecField;
            kind: "spec.changed";
            new: unknown;
            old: unknown;
            specId: Uuid;
            specName: string;
        }
        | FacetContext & {
            index: number;
            kind: "facet.added";
            nodes: FacetNodes;
            requirement?: RequirementSnapshot;
        }
        | FacetContext & { index: number; kind: "facet.removed" }
        | FacetContext & {
            from: { index: number; section: Section; specId: Uuid };
            kind: "facet.moved";
            to: { index: number; section: Section; specId: Uuid };
        }
        | FacetContext & {
            kind: "facet.replaced";
            nodes: FacetNodes;
            old: IDSFacet;
            requirement?: RequirementSnapshot;
        }
        | FacetContext & {
            constraintId?: Uuid;
            field: FacetFieldName;
            kind: "facet.valueChanged";
            new?: IDSConstraint;
            old?: IDSConstraint;
        }
        | FacetContext & {
            kind: "facet.relationChanged";
            new: { rawRelation?: string; relation: PartOfRelation };
            old: { rawRelation?: string; relation: PartOfRelation };
        }
        | FacetContext & { kind: "facet.uriChanged"; new?: string; old?: string }
        | FacetContext & {
            field: RequirementField;
            kind: "requirement.changed";
            new: unknown;
            old: unknown;
        }

    Type Declaration