https://github.com/dbwodlf3/ddl
duck data layer for components
https://github.com/dbwodlf3/ddl
Last synced: 3 months ago
JSON representation
duck data layer for components
- Host: GitHub
- URL: https://github.com/dbwodlf3/ddl
- Owner: dbwodlf3
- Created: 2022-10-28T04:07:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T02:56:17.000Z (over 2 years ago)
- Last Synced: 2025-01-05T14:24:12.834Z (5 months ago)
- Language: TypeScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# What is this
When make some client side application with jabascripts, it is creepy to make
some api test and make something something something..So this is for it.
I would like to go home.
# Quick Start
```tsinterface BoardData {
title: string;
writer: string;
date: string;
data: any;
}export class BoardData extends DefaultLayer {
static type = "query";
static method = "get";
static url = "/board-api/getContent"static getData(params: {id: number}){
return super.getData(params) as Promise
}
}
```