webstudio/server/src/core/interfaces/payload.ts

14 lines
321 B
TypeScript
Raw Normal View History

2023-10-31 09:03:39 +00:00
// export class Payload<T>{
// model: T | undefined
// query:string | undefined
// setModel(model:T){
// this.model = model
// }
// setQuery(query:string){
// this.query = query
// }
// isEmpty(){
// return this.model != undefined || this.query != undefined
// }
// }