UNPKG

@oap75/types

Version:

JavaScript type definitions for Subsocial blockchain.

34 lines (33 loc) 760 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ElasticFields = exports.AllElasticIndexes = exports.ElasticIndex = void 0; exports.ElasticIndex = { profiles: 'subsocial_profiles', spaces: 'subsocial_spaces', posts: 'subsocial_posts', }; exports.AllElasticIndexes = [ exports.ElasticIndex.profiles, exports.ElasticIndex.spaces, exports.ElasticIndex.posts ]; exports.ElasticFields = { space: { name: 'name', handle: 'handle', about: 'about', tags: 'tags', }, post: { title: 'title', body: 'body', tags: 'tags', }, comment: { body: 'body', }, profile: { name: 'name', about: 'about', }, };