@rbxts/types 1.0.911 → 1.0.913
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.
- package/include/generated/None.d.ts +266 -103
- package/include/generated/PluginSecurity.d.ts +181 -40
- package/include/generated/enums.d.ts +459 -66
- package/package.json +1 -1
|
@@ -49,7 +49,6 @@ interface Services {
|
|
|
49
49
|
ContentProvider: ContentProvider;
|
|
50
50
|
ContextActionService: ContextActionService;
|
|
51
51
|
ControllerService: ControllerService;
|
|
52
|
-
ConversationalAIAcceptanceService: ConversationalAIAcceptanceService;
|
|
53
52
|
CoreGui: CoreGui;
|
|
54
53
|
CoreGuiConfiguration: CoreGuiConfiguration;
|
|
55
54
|
CoreScriptDebuggingManagerHelper: CoreScriptDebuggingManagerHelper;
|
|
@@ -64,6 +63,7 @@ interface Services {
|
|
|
64
63
|
DebuggerManager: DebuggerManager;
|
|
65
64
|
DebuggerUIService: DebuggerUIService;
|
|
66
65
|
DebugSettings: DebugSettings;
|
|
66
|
+
DeferredAssetManagerService: DeferredAssetManagerService;
|
|
67
67
|
DeviceIdService: DeviceIdService;
|
|
68
68
|
DraggerService: DraggerService;
|
|
69
69
|
EditableService: EditableService;
|
|
@@ -98,10 +98,12 @@ interface Services {
|
|
|
98
98
|
HeightmapImporterService: HeightmapImporterService;
|
|
99
99
|
HttpService: HttpService;
|
|
100
100
|
ILegacyStudioBridge: ILegacyStudioBridge;
|
|
101
|
+
ImageScreenCaptureService: ImageScreenCaptureService;
|
|
101
102
|
IncrementalPatchBuilder: IncrementalPatchBuilder;
|
|
102
103
|
InsertService: InsertService;
|
|
103
104
|
InstanceExtensionsService: InstanceExtensionsService;
|
|
104
105
|
InstanceFileSyncService: InstanceFileSyncService;
|
|
106
|
+
InternalMessagingService: InternalMessagingService;
|
|
105
107
|
InternalSyncService: InternalSyncService;
|
|
106
108
|
IXPService: IXPService;
|
|
107
109
|
JointsService: JointsService;
|
|
@@ -215,6 +217,7 @@ interface Services {
|
|
|
215
217
|
Studio: Studio;
|
|
216
218
|
StudioAssetService: StudioAssetService;
|
|
217
219
|
StudioCameraService: StudioCameraService;
|
|
220
|
+
StudioCaptureService: StudioCaptureService;
|
|
218
221
|
StudioData: StudioData;
|
|
219
222
|
StudioDeviceEmulatorService: StudioDeviceEmulatorService;
|
|
220
223
|
StudioPublishService: StudioPublishService;
|
|
@@ -752,6 +755,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
752
755
|
StarterPlayerScripts: StarterPlayerScripts;
|
|
753
756
|
StatsItem: StatsItem;
|
|
754
757
|
StudioObjectBase: StudioObjectBase;
|
|
758
|
+
StudioScreenshotCapture: StudioScreenshotCapture;
|
|
755
759
|
StudioTheme: StudioTheme;
|
|
756
760
|
StudioWidget: StudioWidget;
|
|
757
761
|
StyleBase: StyleBase;
|
|
@@ -787,7 +791,6 @@ interface Instances extends Services, CreatableInstances {
|
|
|
787
791
|
}
|
|
788
792
|
interface Objects extends Instances {
|
|
789
793
|
AnimationNode: AnimationNode;
|
|
790
|
-
AuroraHandle: AuroraHandle;
|
|
791
794
|
Capture: Capture;
|
|
792
795
|
ConfigSnapshot: ConfigSnapshot;
|
|
793
796
|
EditableImage: EditableImage;
|
|
@@ -795,6 +798,7 @@ interface Objects extends Instances {
|
|
|
795
798
|
ExecutedRemoteCommand: ExecutedRemoteCommand;
|
|
796
799
|
MLSession: MLSession;
|
|
797
800
|
Object: RBXObject;
|
|
801
|
+
OutputLink: OutputLink;
|
|
798
802
|
ScreenshotCapture: ScreenshotCapture;
|
|
799
803
|
TerrainIterateOperation: TerrainIterateOperation;
|
|
800
804
|
TerrainModifyOperation: TerrainModifyOperation;
|
|
@@ -838,23 +842,6 @@ interface AnimationNode extends RBXObject {
|
|
|
838
842
|
*/
|
|
839
843
|
readonly _nominal_AnimationNode: unique symbol;
|
|
840
844
|
}
|
|
841
|
-
/**
|
|
842
|
-
* - **Tags**: NotCreatable
|
|
843
|
-
*
|
|
844
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraHandle)
|
|
845
|
-
*
|
|
846
|
-
* @deprecated
|
|
847
|
-
*/
|
|
848
|
-
interface AuroraHandle extends RBXObject {
|
|
849
|
-
/**
|
|
850
|
-
* **DO NOT USE!**
|
|
851
|
-
*
|
|
852
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
853
|
-
* @hidden
|
|
854
|
-
* @deprecated
|
|
855
|
-
*/
|
|
856
|
-
readonly _nominal_AuroraHandle: unique symbol;
|
|
857
|
-
}
|
|
858
845
|
/**
|
|
859
846
|
* A class which defines a piece of content, such as a screenshot or video, taken in-experience.
|
|
860
847
|
*
|
|
@@ -1150,7 +1137,7 @@ interface AdService extends Instance {
|
|
|
1150
1137
|
readonly _nominal_AdService: unique symbol;
|
|
1151
1138
|
}
|
|
1152
1139
|
/**
|
|
1153
|
-
* Collection of methods that allows
|
|
1140
|
+
* Collection of methods that allows you to track how users interact with your experiences.
|
|
1154
1141
|
*
|
|
1155
1142
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
1156
1143
|
*
|
|
@@ -4121,21 +4108,6 @@ interface ControllerService extends Instance {
|
|
|
4121
4108
|
*/
|
|
4122
4109
|
readonly _nominal_ControllerService: unique symbol;
|
|
4123
4110
|
}
|
|
4124
|
-
/**
|
|
4125
|
-
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4126
|
-
*
|
|
4127
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ConversationalAIAcceptanceService)
|
|
4128
|
-
*/
|
|
4129
|
-
interface ConversationalAIAcceptanceService extends Instance {
|
|
4130
|
-
/**
|
|
4131
|
-
* **DO NOT USE!**
|
|
4132
|
-
*
|
|
4133
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
4134
|
-
* @hidden
|
|
4135
|
-
* @deprecated
|
|
4136
|
-
*/
|
|
4137
|
-
readonly _nominal_ConversationalAIAcceptanceService: unique symbol;
|
|
4138
|
-
}
|
|
4139
4111
|
/**
|
|
4140
4112
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4141
4113
|
*
|
|
@@ -4764,6 +4736,21 @@ interface DebuggerWatch extends Instance {
|
|
|
4764
4736
|
*/
|
|
4765
4737
|
readonly _nominal_DebuggerWatch: unique symbol;
|
|
4766
4738
|
}
|
|
4739
|
+
/**
|
|
4740
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4741
|
+
*
|
|
4742
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DeferredAssetManagerService)
|
|
4743
|
+
*/
|
|
4744
|
+
interface DeferredAssetManagerService extends Instance {
|
|
4745
|
+
/**
|
|
4746
|
+
* **DO NOT USE!**
|
|
4747
|
+
*
|
|
4748
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
4749
|
+
* @hidden
|
|
4750
|
+
* @deprecated
|
|
4751
|
+
*/
|
|
4752
|
+
readonly _nominal_DeferredAssetManagerService: unique symbol;
|
|
4753
|
+
}
|
|
4767
4754
|
/**
|
|
4768
4755
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4769
4756
|
*
|
|
@@ -7300,6 +7287,21 @@ interface IXPService extends Instance {
|
|
|
7300
7287
|
*/
|
|
7301
7288
|
readonly _nominal_IXPService: unique symbol;
|
|
7302
7289
|
}
|
|
7290
|
+
/**
|
|
7291
|
+
* - **Tags**: NotCreatable, Service
|
|
7292
|
+
*
|
|
7293
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ImageScreenCaptureService)
|
|
7294
|
+
*/
|
|
7295
|
+
interface ImageScreenCaptureService extends Instance {
|
|
7296
|
+
/**
|
|
7297
|
+
* **DO NOT USE!**
|
|
7298
|
+
*
|
|
7299
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7300
|
+
* @hidden
|
|
7301
|
+
* @deprecated
|
|
7302
|
+
*/
|
|
7303
|
+
readonly _nominal_ImageScreenCaptureService: unique symbol;
|
|
7304
|
+
}
|
|
7303
7305
|
/**
|
|
7304
7306
|
* - **Tags**: NotCreatable, NotReplicated
|
|
7305
7307
|
*
|
|
@@ -7496,6 +7498,21 @@ interface InstanceFileSyncService extends Instance {
|
|
|
7496
7498
|
*/
|
|
7497
7499
|
readonly StatusChanged: RBXScriptSignal<(instance: Instance, status: Enum.InstanceFileSyncStatus) => void>;
|
|
7498
7500
|
}
|
|
7501
|
+
/**
|
|
7502
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
7503
|
+
*
|
|
7504
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InternalMessagingService)
|
|
7505
|
+
*/
|
|
7506
|
+
interface InternalMessagingService extends Instance {
|
|
7507
|
+
/**
|
|
7508
|
+
* **DO NOT USE!**
|
|
7509
|
+
*
|
|
7510
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7511
|
+
* @hidden
|
|
7512
|
+
* @deprecated
|
|
7513
|
+
*/
|
|
7514
|
+
readonly _nominal_InternalMessagingService: unique symbol;
|
|
7515
|
+
}
|
|
7499
7516
|
/**
|
|
7500
7517
|
* - **Tags**: NotReplicated
|
|
7501
7518
|
*
|
|
@@ -8337,8 +8354,6 @@ interface MLService extends Instance {
|
|
|
8337
8354
|
readonly _nominal_MLService: unique symbol;
|
|
8338
8355
|
}
|
|
8339
8356
|
/**
|
|
8340
|
-
* - **Tags**: NotBrowsable
|
|
8341
|
-
*
|
|
8342
8357
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MakeupDescription)
|
|
8343
8358
|
*/
|
|
8344
8359
|
interface MakeupDescription extends Instance {
|
|
@@ -12488,7 +12503,8 @@ interface ScriptEditorService extends Instance {
|
|
|
12488
12503
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptEditorService#OpenScriptDocumentAsync)
|
|
12489
12504
|
* @param this This service is used for interacting with `ScriptDocument` instances.
|
|
12490
12505
|
* @param script
|
|
12491
|
-
* @param options
|
|
12506
|
+
* @param options A dictionary that supports the following options: - `Temporary` — Boolean. Whether to open the script in a preview tab. Default is false.
|
|
12507
|
+
* - `HighlightRange` — A nested dictionary containing a line and character range to highlight in the editor. Example: `HighlightRange = { Start = { Line = 10, Character = 1 }, End = { Line = 15, Character = 20 }}`.
|
|
12492
12508
|
*/
|
|
12493
12509
|
OpenScriptDocumentAsync(this: ScriptEditorService, script: LuaSourceContainer, options?: object): unknown;
|
|
12494
12510
|
/**
|
|
@@ -13829,6 +13845,40 @@ interface StudioCameraService extends Instance {
|
|
|
13829
13845
|
*/
|
|
13830
13846
|
readonly _nominal_StudioCameraService: unique symbol;
|
|
13831
13847
|
}
|
|
13848
|
+
/**
|
|
13849
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
13850
|
+
*
|
|
13851
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCaptureService)
|
|
13852
|
+
*/
|
|
13853
|
+
interface StudioCaptureService extends Instance {
|
|
13854
|
+
/**
|
|
13855
|
+
* **DO NOT USE!**
|
|
13856
|
+
*
|
|
13857
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
13858
|
+
* @hidden
|
|
13859
|
+
* @deprecated
|
|
13860
|
+
*/
|
|
13861
|
+
readonly _nominal_StudioCaptureService: unique symbol;
|
|
13862
|
+
/**
|
|
13863
|
+
* - **ThreadSafety**: Unsafe
|
|
13864
|
+
*
|
|
13865
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCaptureService#CanCaptureScreenshot)
|
|
13866
|
+
*/
|
|
13867
|
+
CanCaptureScreenshot(this: StudioCaptureService): boolean;
|
|
13868
|
+
/**
|
|
13869
|
+
* - **ThreadSafety**: Unsafe
|
|
13870
|
+
*
|
|
13871
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCaptureService#CaptureScreenshot)
|
|
13872
|
+
*/
|
|
13873
|
+
CaptureScreenshot(this: StudioCaptureService, screenshotOptions: object): StudioScreenshotCapture;
|
|
13874
|
+
/**
|
|
13875
|
+
* - **ThreadSafety**: Unsafe
|
|
13876
|
+
* - **Tags**: Yields
|
|
13877
|
+
*
|
|
13878
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCaptureService#RequestScreenshotPermissionAsync)
|
|
13879
|
+
*/
|
|
13880
|
+
RequestScreenshotPermissionAsync(this: StudioCaptureService): boolean;
|
|
13881
|
+
}
|
|
13832
13882
|
/**
|
|
13833
13883
|
* - **Tags**: NotCreatable, Service
|
|
13834
13884
|
*
|
|
@@ -13904,6 +13954,82 @@ interface StudioPublishService extends Instance {
|
|
|
13904
13954
|
*/
|
|
13905
13955
|
readonly _nominal_StudioPublishService: unique symbol;
|
|
13906
13956
|
}
|
|
13957
|
+
/**
|
|
13958
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
13959
|
+
*
|
|
13960
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture)
|
|
13961
|
+
*/
|
|
13962
|
+
interface StudioScreenshotCapture extends Instance {
|
|
13963
|
+
/**
|
|
13964
|
+
* **DO NOT USE!**
|
|
13965
|
+
*
|
|
13966
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
13967
|
+
* @hidden
|
|
13968
|
+
* @deprecated
|
|
13969
|
+
*/
|
|
13970
|
+
readonly _nominal_StudioScreenshotCapture: unique symbol;
|
|
13971
|
+
/**
|
|
13972
|
+
* - **ThreadSafety**: ReadSafe
|
|
13973
|
+
* - **Tags**: NotReplicated
|
|
13974
|
+
*
|
|
13975
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#BufferFormat)
|
|
13976
|
+
*/
|
|
13977
|
+
readonly BufferFormat: Enum.StudioCaptureScreenshotFormat;
|
|
13978
|
+
/**
|
|
13979
|
+
* - **ThreadSafety**: ReadSafe
|
|
13980
|
+
* - **Tags**: NotReplicated
|
|
13981
|
+
*
|
|
13982
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#BufferStatus)
|
|
13983
|
+
*/
|
|
13984
|
+
readonly BufferStatus: Enum.StudioCaptureBufferStatus;
|
|
13985
|
+
/**
|
|
13986
|
+
* - **ThreadSafety**: ReadSafe
|
|
13987
|
+
* - **Tags**: NotReplicated
|
|
13988
|
+
*
|
|
13989
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#OriginalSize)
|
|
13990
|
+
*/
|
|
13991
|
+
readonly OriginalSize: Vector2;
|
|
13992
|
+
/**
|
|
13993
|
+
* - **ThreadSafety**: ReadSafe
|
|
13994
|
+
* - **Tags**: NotReplicated
|
|
13995
|
+
*
|
|
13996
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#Position)
|
|
13997
|
+
*/
|
|
13998
|
+
readonly Position: Vector2;
|
|
13999
|
+
/**
|
|
14000
|
+
* - **ThreadSafety**: ReadSafe
|
|
14001
|
+
* - **Tags**: NotReplicated
|
|
14002
|
+
*
|
|
14003
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#Resolution)
|
|
14004
|
+
*/
|
|
14005
|
+
readonly Resolution: Vector2;
|
|
14006
|
+
/**
|
|
14007
|
+
* - **ThreadSafety**: ReadSafe
|
|
14008
|
+
* - **Tags**: NotReplicated
|
|
14009
|
+
*
|
|
14010
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#UICaptureMode)
|
|
14011
|
+
*/
|
|
14012
|
+
readonly UICaptureMode: Enum.UICaptureMode;
|
|
14013
|
+
/**
|
|
14014
|
+
* - **ThreadSafety**: Unsafe
|
|
14015
|
+
*
|
|
14016
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#GetBuffer)
|
|
14017
|
+
*/
|
|
14018
|
+
GetBuffer(this: StudioScreenshotCapture): buffer;
|
|
14019
|
+
/**
|
|
14020
|
+
* - **ThreadSafety**: Unsafe
|
|
14021
|
+
*
|
|
14022
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#GetErrors)
|
|
14023
|
+
*/
|
|
14024
|
+
GetErrors(this: StudioScreenshotCapture): Array<unknown>;
|
|
14025
|
+
/**
|
|
14026
|
+
* - **ThreadSafety**: Unsafe
|
|
14027
|
+
* - **Tags**: Yields
|
|
14028
|
+
*
|
|
14029
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#ScaleAsync)
|
|
14030
|
+
*/
|
|
14031
|
+
ScaleAsync(this: StudioScreenshotCapture, strategy: CastsToEnum<Enum.ResamplerMode>, newSize: Vector2): StudioScreenshotCapture;
|
|
14032
|
+
}
|
|
13907
14033
|
/**
|
|
13908
14034
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
13909
14035
|
*
|
|
@@ -14210,8 +14336,6 @@ interface StyleLink extends Instance {
|
|
|
14210
14336
|
readonly _nominal_StyleLink: unique symbol;
|
|
14211
14337
|
}
|
|
14212
14338
|
/**
|
|
14213
|
-
* - **Tags**: NotBrowsable
|
|
14214
|
-
*
|
|
14215
14339
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleQuery)
|
|
14216
14340
|
*/
|
|
14217
14341
|
interface StyleQuery extends Instance {
|
|
@@ -15539,6 +15663,8 @@ interface UIScale extends UIComponent {
|
|
|
15539
15663
|
readonly _nominal_UIScale: unique symbol;
|
|
15540
15664
|
}
|
|
15541
15665
|
/**
|
|
15666
|
+
* - **Tags**: NotBrowsable
|
|
15667
|
+
*
|
|
15542
15668
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UIShadow)
|
|
15543
15669
|
*/
|
|
15544
15670
|
interface UIShadow extends UIComponent {
|
|
@@ -16259,6 +16385,21 @@ interface MLSession extends RBXObject {
|
|
|
16259
16385
|
*/
|
|
16260
16386
|
readonly _nominal_MLSession: unique symbol;
|
|
16261
16387
|
}
|
|
16388
|
+
/**
|
|
16389
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
16390
|
+
*
|
|
16391
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/OutputLink)
|
|
16392
|
+
*/
|
|
16393
|
+
interface OutputLink extends RBXObject {
|
|
16394
|
+
/**
|
|
16395
|
+
* **DO NOT USE!**
|
|
16396
|
+
*
|
|
16397
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
16398
|
+
* @hidden
|
|
16399
|
+
* @deprecated
|
|
16400
|
+
*/
|
|
16401
|
+
readonly _nominal_OutputLink: unique symbol;
|
|
16402
|
+
}
|
|
16262
16403
|
/**
|
|
16263
16404
|
* - **Tags**: NotCreatable, NotReplicated
|
|
16264
16405
|
*
|