File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ export const SHARE_TARGET_PICKER_FIXED_ARGUMENT_LIST = [
2
+ {
3
+ label : 'text' ,
4
+ value : {
5
+ type : 'text' ,
6
+ text : 'Hello, World!' ,
7
+ } ,
8
+ } ,
9
+ {
10
+ label : 'sticker' ,
11
+ value : {
12
+ type : 'sticker' ,
13
+ packageId : '446' ,
14
+ stickerId : '1988' ,
15
+ } ,
16
+ } ,
17
+ {
18
+ label : 'image' ,
19
+ value : {
20
+ type : 'image' ,
21
+ originalContentUrl : 'https://example.com/original.jpg' ,
22
+ previewImageUrl : 'https://example.com/preview.jpg' ,
23
+ } ,
24
+ } ,
25
+ {
26
+ label : 'video' ,
27
+ value : {
28
+ type : 'video' ,
29
+ originalContentUrl : 'https://example.com/original.mp4' ,
30
+ previewImageUrl : 'https://example.com/preview.jpg' ,
31
+ trackingId : 'track-id' ,
32
+ } ,
33
+ } ,
34
+ {
35
+ label : 'audio' ,
36
+ value : {
37
+ type : 'audio' ,
38
+ originalContentUrl : 'https://example.com/original.m4a' ,
39
+ duration : 60000 ,
40
+ } ,
41
+ } ,
42
+ {
43
+ label : 'location' ,
44
+ value : {
45
+ type : 'location' ,
46
+ title : 'my location' ,
47
+ address : '〒102-8282 東京都千代田区紀尾井町1番3号' ,
48
+ latitude : 35.67966 ,
49
+ longitude : 139.73669 ,
50
+ } ,
51
+ } ,
52
+ ] . map ( ( { label, value } ) => ( {
53
+ label,
54
+ value : JSON . stringify ( value , null , 4 ) ,
55
+ } ) )
You can’t perform that action at this time.
0 commit comments