Kaushik Narayan R a74ffc453e MASSIVE commit
- moved to typescript

- axios rate limitmodule is busted, removed for now, do something else for that

- sequelize-typescript

- dotenv, not dotenv-flow

- removed playlist details route

types for API

ton of minor fixes and improvements
2025-03-11 15:24:45 -07:00

24 lines
397 B
TypeScript

"use strict";
import {
AllowNull,
Column,
DataType,
Model,
Table,
} from "sequelize-typescript";
@Table
class links extends Model<Partial<links>> {
@AllowNull(false)
@Column(DataType.STRING)
declare userID: string;
@AllowNull(false)
@Column(DataType.STRING)
declare from: string;
@AllowNull(false)
@Column(DataType.STRING)
declare to: string;
}
export default links;