다음을 통해 공유


NotificationEventType interface

이벤트 유형의 속성을 캡슐화합니다. 해당 이벤트 유형에 대해 필터링에 사용할 수 있는 필드를 정의합니다.

속성

category
color

이 이벤트 유형을 나타내는 색을 가져오거나 설정합니다. 예: rgb(128,245,211) 또는 #fafafa

customSubscriptionsAllowed
eventPublisher
fields
hasInitiator
icon

이 이벤트 유형을 나타내는 아이콘을 가져오거나 설정합니다. URL 또는 CSS 클래스일 수 있습니다. 예: css://some-css-class

id

이 이벤트 정의의 고유 식별자를 가져오거나 설정합니다.

name

이 이벤트 정의의 이름을 가져오거나 설정합니다.

roles
supportedScopes

이 이벤트 형식이 지원하는 범위를 가져오거나 설정합니다.

url

이 이벤트 유형 세부 정보(필드, 필드 유형)를 가져오기 위해 나머지 끝점을 가져오거나 설정합니다.

속성 세부 정보

category

category: NotificationEventTypeCategory

속성 값

color

이 이벤트 유형을 나타내는 색을 가져오거나 설정합니다. 예: rgb(128,245,211) 또는 #fafafa

color: string

속성 값

string

customSubscriptionsAllowed

customSubscriptionsAllowed: boolean

속성 값

boolean

eventPublisher

eventPublisher: NotificationEventPublisher

속성 값

fields

fields: {[key: string]: NotificationEventField}

속성 값

{[key: string]: NotificationEventField}

hasInitiator

hasInitiator: boolean

속성 값

boolean

icon

이 이벤트 유형을 나타내는 아이콘을 가져오거나 설정합니다. URL 또는 CSS 클래스일 수 있습니다. 예: css://some-css-class

icon: string

속성 값

string

id

이 이벤트 정의의 고유 식별자를 가져오거나 설정합니다.

id: string

속성 값

string

name

이 이벤트 정의의 이름을 가져오거나 설정합니다.

name: string

속성 값

string

roles

roles: NotificationEventRole[]

속성 값

supportedScopes

이 이벤트 형식이 지원하는 범위를 가져오거나 설정합니다.

supportedScopes: string[]

속성 값

string[]

url

이 이벤트 유형 세부 정보(필드, 필드 유형)를 가져오기 위해 나머지 끝점을 가져오거나 설정합니다.

url: string

속성 값

string