* bskylink: scaffold service w/ initial config and schema * bskylink: implement link creation and redirects * bskylink: tidy * bskylink: tests * bskylink: tidy, add error handler * bskylink: add dockerfile * bskylink: add build * bskylink: fix some express plumbing * bskyweb: proxy fallthrough routes to link service redirects * bskyweb: build w/ link proxy * Add AASA to bskylink (#4588) --------- Co-authored-by: Hailey <me@haileyok.com>
17 lines
234 B
TypeScript
17 lines
234 B
TypeScript
import {Selectable} from 'kysely'
|
|
|
|
export type DbSchema = {
|
|
link: Link
|
|
}
|
|
|
|
export interface Link {
|
|
id: string
|
|
type: LinkType
|
|
path: string
|
|
}
|
|
|
|
export enum LinkType {
|
|
StarterPack = 1,
|
|
}
|
|
|
|
export type LinkEntry = Selectable<Link>
|