Bin
2025-12-16 9e0b2ba2c317b1a86212f24cbae3195ad1f3dbfa
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
export const allClassificationsConfig = `<View>
    <Text name="text" value="$text"></Text>
    <Choices name="choices" toName="text" fromPrediction="true">
        <Choice value="Choice 1" />
        <Choice value="Choice 2" />
    </Choices>
    <DateTime name="datetime" toName="text"/>
    <Number name="number" toName="text"/>
    <Rating name="rating" toName="text"/>
    <TextArea name="textarea" toName="text"/>
    <TextArea name="textarea_edit" toName="text" editable="true" />
</View>`;
 
export const textData = {
  text: "This text exists for no reason",
};
 
export const prediction = {
  id: "223322223322",
  result: [
    {
      id: "1",
      from_name: "choices",
      to_name: "text",
      type: "choices",
      value: {
        choices: ["Choice 1"],
      },
    },
    {
      id: "2",
      from_name: "datetime",
      to_name: "text",
      type: "datetime",
      value: {
        datetime: "2000-01-01T00:00:00.000Z",
      },
    },
    {
      id: "3",
      from_name: "number",
      to_name: "text",
      type: "number",
      value: {
        number: 3.14,
      },
    },
    {
      id: "4",
      from_name: "rating",
      to_name: "text",
      type: "rating",
      value: {
        rating: 3,
      },
    },
    {
      id: "5",
      from_name: "textarea",
      to_name: "text",
      type: "textarea",
      value: {
        text: ["This is a text"],
      },
    },
    {
      id: "5",
      from_name: "textarea_edit",
      to_name: "text",
      type: "textarea",
      value: {
        text: ["This text will be"],
      },
    },
  ],
};