mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
28 lines
No EOL
412 B
TypeScript
28 lines
No EOL
412 B
TypeScript
import { gql } from 'graphql-request'
|
|
|
|
export type LabelColor =
|
|
| '#FF5D99'
|
|
| '#7CFF7B'
|
|
| '#FFD234'
|
|
| '#7BE4FF'
|
|
| '#CE88EF'
|
|
| '#EF8C43'
|
|
| 'custom color';
|
|
|
|
export const labelFragment = gql`
|
|
fragment LabelFields on Label {
|
|
id
|
|
name
|
|
color
|
|
description
|
|
createdAt
|
|
}
|
|
`
|
|
|
|
export type Label = {
|
|
id: string
|
|
name: string
|
|
color: LabelColor
|
|
description?: string
|
|
createdAt: Date
|
|
} |