idlize

Форк
0
/
DtsImportsGenerator.ts 
114 строк · 2.8 Кб
1
/*
2
 * Copyright (c) 2024 Huawei Device Co., Ltd.
3
 * Licensed under the Apache License, Version 2.0 (the "License");
4
 * you may not use this file except in compliance with the License.
5
 * You may obtain a copy of the License at
6
 *
7
 * http://www.apache.org/licenses/LICENSE-2.0
8
 *
9
 * Unless required by applicable law or agreed to in writing, software
10
 * distributed under the License is distributed on an "AS IS" BASIS,
11
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
 * See the License for the specific language governing permissions and
13
 * limitations under the License.
14
 */
15

16
const dtsImports = `import {
17
    AltOffset,
18
    BackgroundBlurStyleOptions,
19
    BindOptions,
20
    BlurOptions,
21
    BlurStyleOptions,
22
    Color,
23
    CommonAttribute,
24
    CommonMethod,
25
    DragInteractionOptions,
26
    DragPreviewOptions,
27
    Length,
28
    Offset,
29
    Padding,
30
    Position,
31
    Resource,
32
    ResourceStr,
33
    ResourceColor,
34
    SheetOptions,
35
    StateStyles,
36
    SheetTitleOptions,
37
    CustomComponent,
38
    CanvasPath,
39
    CanvasRenderer,
40
    NativeEmbedInfo,
41
    DividerOptions,
42
    BooleanInterfaceDTS,
43
    LocalizedPadding,
44
    TabBarSymbol,
45
    NativeEmbedDataInfo,
46
    VisibleListContentInfo,
47
    TextCascadePickerRangeContent,
48
    TextPickerRangeContent,
49
    TextPickerOptions,
50
    IndicatorStyle,
51
    EmitterProperty,
52
    ClassWithConstructorAndFieldsDTS,
53
    ClassWithConstructorDTS,
54
    ClassDTS,
55
    ArrayRefNumberInterfaceDTS,
56
    OptionInterfaceDTS,
57
    TupleInterfaceDTS,
58
    UnionOptionalInterfaceDTS,
59
    UnionInterfaceDTS,
60
    StringInterfaceDTS,
61
    NumberInterfaceDTS,
62
    ClassWithConstructorAndMethodsDTS,
63
    ClassWithConstructorAndStaticMethodsDTS,
64
    ClassWithConstructorAndFieldsAndMethodsDTS,
65
    ClassWithConstructorAndNonOptionalParamsDTS,
66
    ClassWithConstructorAndSomeOptionalParamsDTS,
67
    ClassWithConstructorAndAllOptionalParamsDTS,
68
    ClassWithConstructorAndWithoutParamsDTS,
69
    BorderOptions,
70
    RenderingContextSettings,
71
    LabelStyle,
72
    Dimension,
73
    OnScrollVisibleContentChangeCallback,
74
    Vector1,
75
    Vector2,
76
    PixelMap,
77
    RectResult,
78
    TouchTestInfo,
79
    AttributeModifier,
80
    CustomBuilder,
81
    ShadowOptions,
82
    LocalizedEdgeColors,
83
    LocalizedEdgeWidths,
84
    Font,
85
    EdgeWidths,
86
    EdgeColors,
87
    EdgeStyles,
88
    ImageModifier,
89
    SheetDismiss,
90
    DismissSheetAction,
91
    SpringBackAction,
92
    UIContext,
93
    BaseEvent,
94
    FingerInfo,
95
    BaseGestureEvent,
96
    LengthMetricsUnit,
97
    ImageData,
98
    GestureInterface,
99
    GestureHandler,
100
    UIGestureEvent,
101
    GestureModifier,
102
    GestureRecognizerJudgeBeginCallback,
103
    CanvasRenderingContext2D,
104
    DrawingRenderingContext,
105
    BoardStyle,
106
    ComponentContent,
107
    LengthMetrics,
108
    DotIndicator
109
} from "./dts-exports"
110
`
111

112
export function collectDtsImports() {
113
    return dtsImports // for now
114
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.