@darkpay/dark-types
Version:
JavaScript type definitions for Darkdot blockchain.
35 lines (34 loc) • 817 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ElasticFields = exports.AllElasticIndexes = exports.ElasticIndex = void 0;
exports.ElasticIndex = {
profiles: 'darkdot_profiles',
storefronts: 'darkdot_storefronts',
products: 'darkdot_products',
};
exports.AllElasticIndexes = [
exports.ElasticIndex.profiles,
exports.ElasticIndex.storefronts,
exports.ElasticIndex.products,
];
exports.ElasticFields = {
storefront: {
name: 'name',
handle: 'handle',
about: 'about',
tags: 'tags',
},
product: {
title: 'title',
body: 'body',
tags: 'tags',
shipzones: 'shipzones'
},
comment: {
body: 'body',
},
profile: {
name: 'name',
about: 'about',
}
};