@amazon-devices/kepler-graphics 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,350 @@
1
+ import { Double } from '@amazon-devices/keplerscript-turbomodule-api';
2
+ import { Int32 } from 'react-native-tscodegen-types';
3
+ /**
4
+ * Interface for unsubscribing listener.
5
+ */
6
+ export interface ISubscription {
7
+ /**
8
+ * Helps to unsubscribe a registered callback listener.
9
+ */
10
+ unsubscribe: () => void;
11
+ }
12
+ /**
13
+ * Defines Different color space types in a display.
14
+ */
15
+ export declare enum ColorSpace {
16
+ /**
17
+ * Invalid color space type
18
+ */
19
+ INVALID = 1,
20
+ /**
21
+ * Color space type is automatic i.e display server is free to choose any color space. This is default.
22
+ */
23
+ AUTO = 2,
24
+ /**
25
+ * display server is requested to use RGB color space
26
+ */
27
+ RGB = 3,
28
+ /**
29
+ * display server is requested to use YCbCr color space
30
+ */
31
+ YCBCR = 4
32
+ }
33
+ /**
34
+ * Defines all possible color depths in a display.
35
+ */
36
+ export declare enum ColorDepth {
37
+ /**
38
+ * Unknown color depth type
39
+ */
40
+ COLORDEPTH_UNKNOWN = 1,
41
+ /**
42
+ * Color depth type is automatic i.e display server is free to choose any. This is default.
43
+ */
44
+ COLORDEPTH_AUTO = 2,
45
+ /**
46
+ * Display server is free to choose any color depth up to 8 bits per channel.
47
+ */
48
+ COLORDEPTH_8 = 3,
49
+ /**
50
+ * Display server is free to choose any color depth up to 10 bits per channel.
51
+ */
52
+ COLORDEPTH_10 = 4,
53
+ /**
54
+ * Display server is free to choose any color depth up to 12 bits per channel.
55
+ */
56
+ COLORDEPTH_12 = 5
57
+ }
58
+ /**
59
+ * Defines values for High dynamic range mode for display
60
+ */
61
+ export declare enum HdrMode {
62
+ /**
63
+ * High dynamic range is disabled
64
+ */
65
+ DISABLED = 0,
66
+ /**
67
+ * High dynamic range mode usage depends on current settings.
68
+ */
69
+ ADAPTIVE = 1,
70
+ /**
71
+ * always use high dynamic range mode
72
+ */
73
+ ALWAYS = 2
74
+ }
75
+ /**
76
+ * Defines list of supported underlying HDR technologies
77
+ */
78
+ export declare enum HdrType {
79
+ /**
80
+ * No HDR is supported
81
+ */
82
+ NONE = 1,
83
+ /**
84
+ * HDR10 Display
85
+ */
86
+ HDR10 = 2,
87
+ /**
88
+ * HDR10+ Display
89
+ */
90
+ HDR10_PLUS = 3,
91
+ /**
92
+ * Hybrid Log-Gamma HDR display.
93
+ */
94
+ HLG = 4,
95
+ /**
96
+ * Dolby Vision high dynamic range (HDR) display.
97
+ */
98
+ DOLBY_VISION = 5
99
+ }
100
+ /**
101
+ * Defines list of Color gamut types.
102
+ */
103
+ export declare enum ColorGamut {
104
+ /**
105
+ * sRGB standard which has same color primaries of REC.709 or BT.709 standard
106
+ */
107
+ SRGB = "srgb",
108
+ /**
109
+ * DCI P3 Color Space color gamut
110
+ */
111
+ P3 = "p3",
112
+ /**
113
+ * ITU-R Recommendation BT.2020 (REC.2020) color gamut.
114
+ */
115
+ REC_2020 = "rec2020"
116
+ }
117
+ /**
118
+ * Defines list of display Transfer Functions
119
+ */
120
+ export declare enum TransferFunction {
121
+ /**
122
+ * sRGB standard transfer function.
123
+ */
124
+ SRGB = "srgb",
125
+ /**
126
+ * Perceptual Quantizer transfer function.
127
+ */
128
+ PQ = "pq",
129
+ /**
130
+ * Hybrid Log Gamma transfer function.
131
+ */
132
+ HLG = "hlg"
133
+ }
134
+ /**
135
+ * Defines all possible low latency mode (LLM) states that could be supported by a display.
136
+ */
137
+ export declare enum LlmState {
138
+ /**
139
+ * LLM state Auto - display subsystem is free to choose any LLM state.
140
+ */
141
+ LLM_AUTO = 1,
142
+ /**
143
+ * LLM state ON - display subsystem is instructed to enable LLM unconditionally and allows it to enable
144
+ * one of the supported low latency modes.
145
+ */
146
+ LLM_ON = 2,
147
+ /**
148
+ * LLM state OFF - display subsystem is instructed to disable LLM unconditionally.
149
+ */
150
+ LLM_OFF = 3
151
+ }
152
+ /**
153
+ * Defines all possible HDCP levels that could be supported by a display.
154
+ */
155
+ export declare enum HdcpLevel {
156
+ /**
157
+ * Invalid HDCP level
158
+ */
159
+ INVALID = 1,
160
+ /**
161
+ * HDCP level Version 1.0
162
+ */
163
+ V_1_0 = 2,
164
+ /**
165
+ * HDCP level Version 2.0
166
+ */
167
+ V_2_0 = 3,
168
+ /**
169
+ * HDCP level Version 2.1
170
+ */
171
+ V_2_1 = 4,
172
+ /**
173
+ * HDCP level Version 2.2
174
+ */
175
+ V_2_2 = 5,
176
+ /**
177
+ * HDCP level Version 2.3
178
+ */
179
+ V_2_3 = 6,
180
+ /**
181
+ * HDCP level Version 2.4
182
+ */
183
+ V_2_4 = 7
184
+ }
185
+ /**
186
+ * Buffer Pixel Format specifies the memory layout and bits used to store the
187
+ * data within the buffer.
188
+ */
189
+ export declare enum BufferPixelFormat {
190
+ /**
191
+ * Buffer format is unknown or customized format.
192
+ */
193
+ UNKNOWN = "UNKNOWN",
194
+ YUYV = "YUYV",
195
+ YVU420 = "YV12",
196
+ NV12 = "NV12",
197
+ YUV420 = "YU12",
198
+ FLEX_YCbCr_420_888 = "9999",
199
+ FLEX_YCbCr_420_101010 = "8888",
200
+ UYVY = "UYVY",
201
+ RGB888 = "RG24",
202
+ ARGB8888 = "AR24"
203
+ }
204
+ export interface IDisplayConfig {
205
+ /**
206
+ * Width in pixels for this config
207
+ */
208
+ readonly widthInPixels: Int32;
209
+ /**
210
+ * Height in pixels for this config
211
+ */
212
+ readonly heightInPixels: Int32;
213
+ /**
214
+ * Physical/native screen density expressed as dots-per-inch (DPI)
215
+ */
216
+ readonly screenDensityInDpi: Int32;
217
+ /**
218
+ * Maximum HDCP (High-bandwidth Digital Content Protection) level supported on
219
+ * this display config
220
+ */
221
+ readonly maxHdcpLevel: HdcpLevel;
222
+ /**
223
+ * List of all supported refresh rates in mHz (millihertz) for this mode
224
+ * HDR types are correlated with refresh rates. For each refresh rate, there
225
+ * is a corresponding HDR type support information.
226
+ */
227
+ supportedRefreshRatesInMillihertz: Array<Int32>;
228
+ /**
229
+ * List of all supported HdrType for this config
230
+ * HDR types are correlated with refresh rates. For each refresh rate, there
231
+ * is a corresponding HDR type support information.
232
+ */
233
+ supportedHdrType: Array<HdrType>;
234
+ }
235
+ /**
236
+ * Interface that handles the overscan border data.
237
+ * Each border value is expressed as percentage of the display
238
+ * width or height. The valid range of values for each border
239
+ * is 0 to 0.15, where 0 means no overscan and 0.15 refers to
240
+ * 15% overscan in a side.
241
+ */
242
+ export interface IOverscanBorder {
243
+ /**
244
+ * Left border as a fraction of the display width.
245
+ */
246
+ left: Double;
247
+ /**
248
+ * Top border as a fraction of the display height.
249
+ */
250
+ top: Double;
251
+ /**
252
+ * Right border as a fraction of the display width.
253
+ */
254
+ right: Double;
255
+ /**
256
+ * Bottom border as a fraction of the display height.
257
+ */
258
+ bottom: Double;
259
+ }
260
+ /**
261
+ * Listener interface for different display events
262
+ */
263
+ export interface IDisplayListener {
264
+ /**
265
+ * Triggered when the mode of the display is changed.
266
+ * @param config the new display config.
267
+ */
268
+ onConfigChange: (config: IDisplayConfig) => void;
269
+ /**
270
+ * Triggered when refresh rate for the display is changed.
271
+ * @param refreshRate the new refresh rate in mHz (millihertz)
272
+ */
273
+ onRefreshRateChange: (refreshRateInrMillihertz: Int32) => void;
274
+ /**
275
+ * Triggered when color depth of the display is changed.
276
+ * @param colorDepth the new color depth for the display.
277
+ */
278
+ onColorDepthChange: (colorDepth: ColorDepth) => void;
279
+ /**
280
+ * Triggered when color space of the display is changed.
281
+ * @param colorSpace the new color space for the display.
282
+ */
283
+ onColorSpaceChange: (colorSpace: ColorSpace) => void;
284
+ /**
285
+ * Triggered when HDCP level of the display is changed.
286
+ * @param level the new HDCP level.
287
+ */
288
+ onHdcpLevelChange: (level: HdcpLevel) => void;
289
+ /**
290
+ * Triggered when auto config switch state of the display is changed.
291
+ * @param state the new state of auto config switch state.
292
+ */
293
+ onAutoConfigSwitchStateChange: (state: boolean) => void;
294
+ /**
295
+ * Triggered when multiple refresh rate (MRR) state of the display is changed.
296
+ * @param state the new MRR state, true means enabled
297
+ */
298
+ onMultipleRefreshRateStateChange: (state: boolean) => void;
299
+ /**
300
+ * Triggered when low latency mode (LLM) state of the display is changed.
301
+ * @param state the new LLM state
302
+ */
303
+ onLowLatencyModeStateChange: (state: LlmState) => void;
304
+ /**
305
+ * Triggered when HDR mode of the display is changed.
306
+ * @param hdr_mode new changed HDR mode
307
+ */
308
+ onHdrModeChange: (hdr_mode: HdrMode) => void;
309
+ /**
310
+ * Triggered when sink state of the display is changed.
311
+ * @param active new sink state, true means active
312
+ */
313
+ onSinkStateChange?: (active: boolean) => void;
314
+ }
315
+ /**
316
+ * Listener interface for DisplayController events.
317
+ * NOTE: Currently only primary display hot plug events are supported in this
318
+ * turbomodule.
319
+ */
320
+ export interface IDisplayControllerListener {
321
+ /**
322
+ * Triggered when a new display is added.
323
+ * @param id An unique identifier of the display being added.
324
+ */
325
+ onAddDisplay: (id: Int32) => void;
326
+ /**
327
+ * Triggered when a display is removed.
328
+ * When a display is removed then the "Display" object should not be
329
+ * used to do any operation rather it should wait for onAddDisplay() event
330
+ * and then use the "Display" object, otherwise the "Display" object behaviour
331
+ * is undefined.
332
+ * @param id An unique identifier for the primary display being removed.
333
+ */
334
+ onRemoveDisplay: (id: Int32) => void;
335
+ }
336
+ /**
337
+ * Listener interface for DisplayManager events.
338
+ */
339
+ export interface IDisplayManagerListener {
340
+ /**
341
+ * Callback triggered when a commit operation is successful
342
+ * @param id Unique identifier of commit state.
343
+ */
344
+ onCommitSuccess: (id: Int32) => void;
345
+ /**
346
+ * Callback triggered when a commit operation fails.
347
+ * @param id Unique identifier of commit state.
348
+ */
349
+ onCommitFailure: (id: Int32) => void;
350
+ }
@@ -0,0 +1,221 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * PROPRIETARY/CONFIDENTIAL
6
+ *
7
+ * Use is subject to license terms.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;
11
+ /**
12
+ * Defines Different color space types in a display.
13
+ */
14
+ var ColorSpace;
15
+ (function (ColorSpace) {
16
+ /**
17
+ * Invalid color space type
18
+ */
19
+ ColorSpace[ColorSpace["INVALID"] = 1] = "INVALID";
20
+ /**
21
+ * Color space type is automatic i.e display server is free to choose any color space. This is default.
22
+ */
23
+ ColorSpace[ColorSpace["AUTO"] = 2] = "AUTO";
24
+ /**
25
+ * display server is requested to use RGB color space
26
+ */
27
+ ColorSpace[ColorSpace["RGB"] = 3] = "RGB";
28
+ /**
29
+ * display server is requested to use YCbCr color space
30
+ */
31
+ ColorSpace[ColorSpace["YCBCR"] = 4] = "YCBCR";
32
+ })(ColorSpace = exports.ColorSpace || (exports.ColorSpace = {}));
33
+ ;
34
+ /**
35
+ * Defines all possible color depths in a display.
36
+ */
37
+ var ColorDepth;
38
+ (function (ColorDepth) {
39
+ /**
40
+ * Unknown color depth type
41
+ */
42
+ ColorDepth[ColorDepth["COLORDEPTH_UNKNOWN"] = 1] = "COLORDEPTH_UNKNOWN";
43
+ /**
44
+ * Color depth type is automatic i.e display server is free to choose any. This is default.
45
+ */
46
+ ColorDepth[ColorDepth["COLORDEPTH_AUTO"] = 2] = "COLORDEPTH_AUTO";
47
+ /**
48
+ * Display server is free to choose any color depth up to 8 bits per channel.
49
+ */
50
+ ColorDepth[ColorDepth["COLORDEPTH_8"] = 3] = "COLORDEPTH_8";
51
+ /**
52
+ * Display server is free to choose any color depth up to 10 bits per channel.
53
+ */
54
+ ColorDepth[ColorDepth["COLORDEPTH_10"] = 4] = "COLORDEPTH_10";
55
+ /**
56
+ * Display server is free to choose any color depth up to 12 bits per channel.
57
+ */
58
+ ColorDepth[ColorDepth["COLORDEPTH_12"] = 5] = "COLORDEPTH_12";
59
+ })(ColorDepth = exports.ColorDepth || (exports.ColorDepth = {}));
60
+ ;
61
+ /**
62
+ * Defines values for High dynamic range mode for display
63
+ */
64
+ var HdrMode;
65
+ (function (HdrMode) {
66
+ /**
67
+ * High dynamic range is disabled
68
+ */
69
+ HdrMode[HdrMode["DISABLED"] = 0] = "DISABLED";
70
+ /**
71
+ * High dynamic range mode usage depends on current settings.
72
+ */
73
+ HdrMode[HdrMode["ADAPTIVE"] = 1] = "ADAPTIVE";
74
+ /**
75
+ * always use high dynamic range mode
76
+ */
77
+ HdrMode[HdrMode["ALWAYS"] = 2] = "ALWAYS";
78
+ })(HdrMode = exports.HdrMode || (exports.HdrMode = {}));
79
+ ;
80
+ /**
81
+ * Defines list of supported underlying HDR technologies
82
+ */
83
+ var HdrType;
84
+ (function (HdrType) {
85
+ /**
86
+ * No HDR is supported
87
+ */
88
+ HdrType[HdrType["NONE"] = 1] = "NONE";
89
+ /**
90
+ * HDR10 Display
91
+ */
92
+ HdrType[HdrType["HDR10"] = 2] = "HDR10";
93
+ /**
94
+ * HDR10+ Display
95
+ */
96
+ HdrType[HdrType["HDR10_PLUS"] = 3] = "HDR10_PLUS";
97
+ /**
98
+ * Hybrid Log-Gamma HDR display.
99
+ */
100
+ HdrType[HdrType["HLG"] = 4] = "HLG";
101
+ /**
102
+ * Dolby Vision high dynamic range (HDR) display.
103
+ */
104
+ HdrType[HdrType["DOLBY_VISION"] = 5] = "DOLBY_VISION";
105
+ })(HdrType = exports.HdrType || (exports.HdrType = {}));
106
+ ;
107
+ /**
108
+ * Defines list of Color gamut types.
109
+ */
110
+ var ColorGamut;
111
+ (function (ColorGamut) {
112
+ /**
113
+ * sRGB standard which has same color primaries of REC.709 or BT.709 standard
114
+ */
115
+ ColorGamut["SRGB"] = "srgb";
116
+ /**
117
+ * DCI P3 Color Space color gamut
118
+ */
119
+ ColorGamut["P3"] = "p3";
120
+ /**
121
+ * ITU-R Recommendation BT.2020 (REC.2020) color gamut.
122
+ */
123
+ ColorGamut["REC_2020"] = "rec2020";
124
+ })(ColorGamut = exports.ColorGamut || (exports.ColorGamut = {}));
125
+ ;
126
+ /**
127
+ * Defines list of display Transfer Functions
128
+ */
129
+ var TransferFunction;
130
+ (function (TransferFunction) {
131
+ /**
132
+ * sRGB standard transfer function.
133
+ */
134
+ TransferFunction["SRGB"] = "srgb";
135
+ /**
136
+ * Perceptual Quantizer transfer function.
137
+ */
138
+ TransferFunction["PQ"] = "pq";
139
+ /**
140
+ * Hybrid Log Gamma transfer function.
141
+ */
142
+ TransferFunction["HLG"] = "hlg";
143
+ })(TransferFunction = exports.TransferFunction || (exports.TransferFunction = {}));
144
+ ;
145
+ /**
146
+ * Defines all possible low latency mode (LLM) states that could be supported by a display.
147
+ */
148
+ var LlmState;
149
+ (function (LlmState) {
150
+ /**
151
+ * LLM state Auto - display subsystem is free to choose any LLM state.
152
+ */
153
+ LlmState[LlmState["LLM_AUTO"] = 1] = "LLM_AUTO";
154
+ /**
155
+ * LLM state ON - display subsystem is instructed to enable LLM unconditionally and allows it to enable
156
+ * one of the supported low latency modes.
157
+ */
158
+ LlmState[LlmState["LLM_ON"] = 2] = "LLM_ON";
159
+ /**
160
+ * LLM state OFF - display subsystem is instructed to disable LLM unconditionally.
161
+ */
162
+ LlmState[LlmState["LLM_OFF"] = 3] = "LLM_OFF";
163
+ })(LlmState = exports.LlmState || (exports.LlmState = {}));
164
+ ;
165
+ /**
166
+ * Defines all possible HDCP levels that could be supported by a display.
167
+ */
168
+ var HdcpLevel;
169
+ (function (HdcpLevel) {
170
+ /**
171
+ * Invalid HDCP level
172
+ */
173
+ HdcpLevel[HdcpLevel["INVALID"] = 1] = "INVALID";
174
+ /**
175
+ * HDCP level Version 1.0
176
+ */
177
+ HdcpLevel[HdcpLevel["V_1_0"] = 2] = "V_1_0";
178
+ /**
179
+ * HDCP level Version 2.0
180
+ */
181
+ HdcpLevel[HdcpLevel["V_2_0"] = 3] = "V_2_0";
182
+ /**
183
+ * HDCP level Version 2.1
184
+ */
185
+ HdcpLevel[HdcpLevel["V_2_1"] = 4] = "V_2_1";
186
+ /**
187
+ * HDCP level Version 2.2
188
+ */
189
+ HdcpLevel[HdcpLevel["V_2_2"] = 5] = "V_2_2";
190
+ /**
191
+ * HDCP level Version 2.3
192
+ */
193
+ HdcpLevel[HdcpLevel["V_2_3"] = 6] = "V_2_3";
194
+ /**
195
+ * HDCP level Version 2.4
196
+ */
197
+ HdcpLevel[HdcpLevel["V_2_4"] = 7] = "V_2_4";
198
+ })(HdcpLevel = exports.HdcpLevel || (exports.HdcpLevel = {}));
199
+ ;
200
+ /**
201
+ * Buffer Pixel Format specifies the memory layout and bits used to store the
202
+ * data within the buffer.
203
+ */
204
+ var BufferPixelFormat;
205
+ (function (BufferPixelFormat) {
206
+ /**
207
+ * Buffer format is unknown or customized format.
208
+ */
209
+ BufferPixelFormat["UNKNOWN"] = "UNKNOWN";
210
+ BufferPixelFormat["YUYV"] = "YUYV";
211
+ BufferPixelFormat["YVU420"] = "YV12";
212
+ BufferPixelFormat["NV12"] = "NV12";
213
+ BufferPixelFormat["YUV420"] = "YU12";
214
+ BufferPixelFormat["FLEX_YCbCr_420_888"] = "9999";
215
+ BufferPixelFormat["FLEX_YCbCr_420_101010"] = "8888";
216
+ BufferPixelFormat["UYVY"] = "UYVY";
217
+ BufferPixelFormat["RGB888"] = "RG24";
218
+ BufferPixelFormat["ARGB8888"] = "AR24";
219
+ })(BufferPixelFormat = exports.BufferPixelFormat || (exports.BufferPixelFormat = {}));
220
+ ;
221
+ ;
@@ -0,0 +1,2 @@
1
+ import { ColorSpace, ColorDepth, HdrMode, HdrType, LlmState, HdcpLevel, BufferPixelFormat, ColorGamut, TransferFunction, IDisplayConfig, IOverscanBorder, IDisplayListener, IDisplayControllerListener, ISubscription, IDisplayManagerListener } from './GraphicsTypes';
2
+ export { ColorDepth, ColorSpace, HdrMode, HdrType, LlmState, HdcpLevel, BufferPixelFormat, ColorGamut, TransferFunction, type IDisplayConfig, type IOverscanBorder, type IDisplayListener, type IDisplayControllerListener, type ISubscription, type IDisplayManagerListener, };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * PROPRIETARY/CONFIDENTIAL
6
+ *
7
+ * Use is subject to license terms.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = void 0;
11
+ const GraphicsTypes_1 = require("./GraphicsTypes");
12
+ Object.defineProperty(exports, "ColorSpace", { enumerable: true, get: function () { return GraphicsTypes_1.ColorSpace; } });
13
+ Object.defineProperty(exports, "ColorDepth", { enumerable: true, get: function () { return GraphicsTypes_1.ColorDepth; } });
14
+ Object.defineProperty(exports, "HdrMode", { enumerable: true, get: function () { return GraphicsTypes_1.HdrMode; } });
15
+ Object.defineProperty(exports, "HdrType", { enumerable: true, get: function () { return GraphicsTypes_1.HdrType; } });
16
+ Object.defineProperty(exports, "LlmState", { enumerable: true, get: function () { return GraphicsTypes_1.LlmState; } });
17
+ Object.defineProperty(exports, "HdcpLevel", { enumerable: true, get: function () { return GraphicsTypes_1.HdcpLevel; } });
18
+ Object.defineProperty(exports, "BufferPixelFormat", { enumerable: true, get: function () { return GraphicsTypes_1.BufferPixelFormat; } });
19
+ Object.defineProperty(exports, "ColorGamut", { enumerable: true, get: function () { return GraphicsTypes_1.ColorGamut; } });
20
+ Object.defineProperty(exports, "TransferFunction", { enumerable: true, get: function () { return GraphicsTypes_1.TransferFunction; } });
@@ -0,0 +1,8 @@
1
+ {
2
+ "versions": {
3
+ "2.3.0": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
4
+ "2.3.1": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
5
+ "2.3.2": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
6
+ "2.3.3": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
7
+ }
8
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "sourcePackageRef": "@amzn/kepler-graphics"
3
+ }
package/package.json ADDED
@@ -0,0 +1 @@
1
+ {"name": "@amazon-devices/kepler-graphics", "version": "2.3.3", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist", "react-native.config.js", "kepler-compatibility.json", "SystemModules", "SystemBundles", "kepler-transformed-package-info.json"], "scripts": {"clean": "rm -rf node_modules buildinfo.json dist bvm", "test": "jest --colors", "lint": "eslint src tst --ext .ts,.tsx", "lint:fix": "eslint src tst --ext .ts,.tsx --fix", "compile": "tsc -p tsconfig-build.json", "docgen": "npx typedoc --basePath src/ -entryPointStrategy expand --excludePrivate --excludeProtected --excludeInternal --excludeNotDocumented --disableSources --hideGenerator src/", "build": "npm-run-all compile docgen", "release": "npm-run-all lint test compile docgen", "prepublishOnly": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler"}, "dependencies": {"@amazon-devices/keplerscript-turbomodule-api": "^1.0.0", "react-native-tscodegen-types": "0.66.0"}, "devDependencies": {"@babel/core": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/eslint-config": "0.72.2", "@types/jest": "^28.0.0", "@typescript-eslint/eslint-plugin": "^5.30.0", "babel-jest": "^28.0.0", "eslint": "^8.12.0", "@jest/globals": "^28.0.0", "jest": "^28.0.0", "metro-react-native-babel-preset": "^0.76.5", "npm-run-all": "^4.1.5", "prettier": "^2.6.2", "ts-jest": "^28.0.0", "typedoc": "^0.25.x", "typescript": "4.8.4", "@amazon-devices/kepler-cli-platform": "^0", "@react-native-community/cli": "^11.2.0"}, "kepler": {"projectType": "turbomodule", "targets": ["tv", "auto"], "toolchain": "clang", "features": ["vega"]}, "license": "See license in LICENSE"}
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ kepler: {
5
+ autolink: {
6
+ 'amazonkeplergraphicslib': { // The key is the public name of your library
7
+ libraryName: 'libkeplerscript-graphics-lib-2.so', // the filename of your library including the filename extension
8
+ linkDynamic: true, // True to load when called, false to load on app start
9
+ turbomodules: ['AmazonGraphicsTurboModule'], // The names of registered Turbo Modules (this is the string used when registering in both JS and C++
10
+ components: []
11
+ },
12
+ },
13
+ },
14
+ },
15
+ },
16
+ };