aboutsummaryrefslogtreecommitdiff
path: root/src/definitions/commerce.ts
blob: 8157c1fcf37aaf8b3c8c73c6dd06473d56d1bfdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import type { LocaleEntry } from './definitions';

/**
 * The possible definitions related to commerce.
 */
export type CommerceDefinitions = LocaleEntry<{
  /**
   * Department names inside a shop.
   */
  department: string[];
  /**
   * Product name generation definitions.
   */
  product_name: CommerceProductNameDefinitions;
  /**
   * Descriptions for products.
   */
  product_description: string[];
}>;

/**
 * The possible definitions related to product name generation.
 */
export interface CommerceProductNameDefinitions {
  /**
   * Adjectives describing a product (e.g. tasty).
   */
  adjective: string[];
  /**
   * Materials describing a product (e.g. wood).
   */
  material: string[];
  /**
   * Types of products (e.g. chair).
   */
  product: string[];
}