mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2025-12-06 12:54:07 +00:00
- 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
24 lines
397 B
TypeScript
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;
|