@ournet/news-data
Version:
Ournet news data module
17 lines (16 loc) • 529 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const dynamo_item_1 = require("dynamo-item");
class ArticleContentModel extends dynamo_item_1.DynamoItem {
constructor(client, tableSuffix) {
super({
hashKey: {
name: 'id',
type: 'S'
},
name: 'articles_content',
tableName: `ournet_articles_content_${tableSuffix}`,
}, client);
}
}
exports.ArticleContentModel = ArticleContentModel;