Options
All
  • Public
  • Public/Protected
  • All
Menu

Module hierarchy/public-api

Index

Type Aliases

GetHierarchicalProperties<T>: { [ K in T]: number | Partial<GetHierarchyItem> }

계층 연동열 읽기 구조

Type Parameters

  • T extends string = "domain"

HierarchyCamelCasedGroupId: "domain" | "deviceType" | "eventType" | string

계층 구분 -알려진- 낙타법 식별값 유형

계층 구분 -알려진- 식별값 유형

HierarchyPosition: "before" | "after" | "child"

계층 항목 위치

author

ksm@imrbiz.co.kr

HierarchySnakeCasedGroupId: "domain" | "device_type" | "event_type" | string

계층 구분 -알려진- 뱀법 식별값 유형

HierarchySpinalCasedGroupId: "domain" | "device-type" | "event-type" | string

계층 구분 -알려진- 케밥법 식별값 유형

PostHierarchicalProperties<T>: { [ K in T]: number }

계층 연동 열 생성 구조

Type Parameters

  • T extends string = "domain"

Functions

  • fromHierarchyFilter<T, V>(filterExpression: string, caseAs?: T, idReducer?: V): CasedHierarchyFilter<T, V>
  • 계층 검출 표현식을 객체로 변환

    example

    전:

    fromHierarchyFilter('domain:1'); // {domain:1}
    fromHierarchyFilter('domain:1;device-type:2'); // {domain:1, deviceType:2}

    Type Parameters

    • T extends Cases

    • V extends undefined | ((id: string) => number)

    Parameters

    • filterExpression: string

      검출 표현식

    • caseAs: T = ...

      변수 표현법

    • Optional idReducer: V

      idseq로 변환해 줄 함수

    Returns CasedHierarchyFilter<T, V>

  • 계층 검출 객체를 표현식으로 변환

    example
    toHierarchyFilter({domain: 1}); // "domain:1"
    toHierarchyFilter({domain: 1, deviceType:2}); // "domain:1;device-type:2"
    toHierarchyFilter({domain: {seq: 1}, deviceType: {id: 'a'}}); // "domain:1;device-type:a"

    Parameters

    Returns string

Generated using TypeDoc