@rbxts/types 1.0.938 → 1.0.940
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 +304 -53
- package/include/generated/PluginSecurity.d.ts +126 -9
- package/include/generated/enums.d.ts +587 -29
- package/package.json +1 -1
|
@@ -71,6 +71,7 @@ interface Services {
|
|
|
71
71
|
DeviceIdService: DeviceIdService;
|
|
72
72
|
DraggerService: DraggerService;
|
|
73
73
|
EditableService: EditableService;
|
|
74
|
+
EditorSourceService: EditorSourceService;
|
|
74
75
|
EncodingService: EncodingService;
|
|
75
76
|
EventIngestService: EventIngestService;
|
|
76
77
|
ExampleV2Service: ExampleV2Service;
|
|
@@ -126,6 +127,7 @@ interface Services {
|
|
|
126
127
|
LogReporterService: LogReporterService;
|
|
127
128
|
LogService: LogService;
|
|
128
129
|
LuaSettings: LuaSettings;
|
|
130
|
+
LuauExpressionService: LuauExpressionService;
|
|
129
131
|
LuauScriptAnalyzerService: LuauScriptAnalyzerService;
|
|
130
132
|
MarketplaceService: MarketplaceService;
|
|
131
133
|
MatchmakingService: MatchmakingService;
|
|
@@ -153,6 +155,7 @@ interface Services {
|
|
|
153
155
|
PerformanceControlService: PerformanceControlService;
|
|
154
156
|
PhysicsService: PhysicsService;
|
|
155
157
|
PhysicsSettings: PhysicsSettings;
|
|
158
|
+
PinShortcutService: PinShortcutService;
|
|
156
159
|
PlaceAssetIdsService: PlaceAssetIdsService;
|
|
157
160
|
PlacesService: PlacesService;
|
|
158
161
|
PlaceStatsService: PlaceStatsService;
|
|
@@ -183,6 +186,7 @@ interface Services {
|
|
|
183
186
|
RenderSettings: RenderSettings;
|
|
184
187
|
ReplicatedFirst: ReplicatedFirst;
|
|
185
188
|
ReplicatedStorage: ReplicatedStorage;
|
|
189
|
+
RequestOrchestratorService: RequestOrchestratorService;
|
|
186
190
|
RibbonNotificationService: RibbonNotificationService;
|
|
187
191
|
RobloxPluginGuiService: RobloxPluginGuiService;
|
|
188
192
|
RobloxServerStorage: RobloxServerStorage;
|
|
@@ -282,6 +286,7 @@ interface Services {
|
|
|
282
286
|
VRStatusService: VRStatusService;
|
|
283
287
|
WebSocketService: WebSocketService;
|
|
284
288
|
WebViewService: WebViewService;
|
|
289
|
+
WindowProtocolService: WindowProtocolService;
|
|
285
290
|
Workspace: Workspace;
|
|
286
291
|
WrapDeformMeshProvider: WrapDeformMeshProvider;
|
|
287
292
|
}
|
|
@@ -474,6 +479,7 @@ interface CreatableInstances {
|
|
|
474
479
|
ParticleEmitter: ParticleEmitter;
|
|
475
480
|
PartOperation: PartOperation;
|
|
476
481
|
Path2D: Path2D;
|
|
482
|
+
Path3D: Path3D;
|
|
477
483
|
PathfindingLink: PathfindingLink;
|
|
478
484
|
PathfindingModifier: PathfindingModifier;
|
|
479
485
|
PitchShiftSoundEffect: PitchShiftSoundEffect;
|
|
@@ -815,6 +821,7 @@ interface Objects extends Instances {
|
|
|
815
821
|
EditableImage: EditableImage;
|
|
816
822
|
EditableMesh: EditableMesh;
|
|
817
823
|
ExecutedRemoteCommand: ExecutedRemoteCommand;
|
|
824
|
+
LuauExpression: LuauExpression;
|
|
818
825
|
MLSession: MLSession;
|
|
819
826
|
Object: RBXObject;
|
|
820
827
|
OutputLink: OutputLink;
|
|
@@ -4961,6 +4968,21 @@ interface EditableService extends Instance {
|
|
|
4961
4968
|
*/
|
|
4962
4969
|
readonly _nominal_EditableService: unique symbol;
|
|
4963
4970
|
}
|
|
4971
|
+
/**
|
|
4972
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4973
|
+
*
|
|
4974
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EditorSourceService)
|
|
4975
|
+
*/
|
|
4976
|
+
interface EditorSourceService extends Instance {
|
|
4977
|
+
/**
|
|
4978
|
+
* **DO NOT USE!**
|
|
4979
|
+
*
|
|
4980
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
4981
|
+
* @hidden
|
|
4982
|
+
* @deprecated
|
|
4983
|
+
*/
|
|
4984
|
+
readonly _nominal_EditorSourceService: unique symbol;
|
|
4985
|
+
}
|
|
4964
4986
|
/**
|
|
4965
4987
|
* Service providing common encoding, hashing, and compression methods.
|
|
4966
4988
|
*
|
|
@@ -6073,7 +6095,7 @@ interface GameSettings extends Instance {
|
|
|
6073
6095
|
*/
|
|
6074
6096
|
readonly _nominal_GameSettings: unique symbol;
|
|
6075
6097
|
/**
|
|
6076
|
-
* **Deprecated:**
|
|
6098
|
+
* **Deprecated:** This property is deprecated. Do not use it for new work.
|
|
6077
6099
|
*
|
|
6078
6100
|
* - **ThreadSafety**: ReadSafe
|
|
6079
6101
|
* - **Tags**:
|
|
@@ -6326,7 +6348,7 @@ interface GuiObject extends GuiBase2d {
|
|
|
6326
6348
|
readonly _nominal_GuiObject: unique symbol;
|
|
6327
6349
|
}
|
|
6328
6350
|
/**
|
|
6329
|
-
* Blends descendants as a group with color/transparency.
|
|
6351
|
+
* Blends descendants as a flattened group with an optional color/transparency modification.
|
|
6330
6352
|
*
|
|
6331
6353
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CanvasGroup)
|
|
6332
6354
|
*/
|
|
@@ -8447,6 +8469,21 @@ interface ModuleScript extends LuaSourceContainer {
|
|
|
8447
8469
|
*/
|
|
8448
8470
|
readonly _nominal_ModuleScript: unique symbol;
|
|
8449
8471
|
}
|
|
8472
|
+
/**
|
|
8473
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
8474
|
+
*
|
|
8475
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LuauExpressionService)
|
|
8476
|
+
*/
|
|
8477
|
+
interface LuauExpressionService extends Instance {
|
|
8478
|
+
/**
|
|
8479
|
+
* **DO NOT USE!**
|
|
8480
|
+
*
|
|
8481
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
8482
|
+
* @hidden
|
|
8483
|
+
* @deprecated
|
|
8484
|
+
*/
|
|
8485
|
+
readonly _nominal_LuauExpressionService: unique symbol;
|
|
8486
|
+
}
|
|
8450
8487
|
/**
|
|
8451
8488
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
8452
8489
|
*
|
|
@@ -9841,7 +9878,7 @@ interface Workspace extends WorldRoot {
|
|
|
9841
9878
|
*/
|
|
9842
9879
|
ApplyRecommendedStreamingSettings(this: Workspace): boolean;
|
|
9843
9880
|
/**
|
|
9844
|
-
* **Deprecated:**
|
|
9881
|
+
* **Deprecated:** This method is deprecated. Do not use it for new work.
|
|
9845
9882
|
*
|
|
9846
9883
|
* Goes through all `BaseParts` given, breaking any joints connected to these parts.
|
|
9847
9884
|
*
|
|
@@ -9856,7 +9893,7 @@ interface Workspace extends WorldRoot {
|
|
|
9856
9893
|
*/
|
|
9857
9894
|
readonly BreakJoints: never;
|
|
9858
9895
|
/**
|
|
9859
|
-
* **Deprecated:**
|
|
9896
|
+
* **Deprecated:** This method is deprecated. Do not use it for new work.
|
|
9860
9897
|
*
|
|
9861
9898
|
* Goes through all `BaseParts` given. If any part's side has a `SurfaceType` that can make a joint it will create a joint with any adjacent parts.
|
|
9862
9899
|
*
|
|
@@ -10296,6 +10333,19 @@ interface Path extends Instance {
|
|
|
10296
10333
|
*/
|
|
10297
10334
|
readonly _nominal_Path: unique symbol;
|
|
10298
10335
|
}
|
|
10336
|
+
/**
|
|
10337
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Path3D)
|
|
10338
|
+
*/
|
|
10339
|
+
interface Path3D extends Instance {
|
|
10340
|
+
/**
|
|
10341
|
+
* **DO NOT USE!**
|
|
10342
|
+
*
|
|
10343
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10344
|
+
* @hidden
|
|
10345
|
+
* @deprecated
|
|
10346
|
+
*/
|
|
10347
|
+
readonly _nominal_Path3D: unique symbol;
|
|
10348
|
+
}
|
|
10299
10349
|
/**
|
|
10300
10350
|
* Connects two locations which otherwise by default are unconnected.
|
|
10301
10351
|
*
|
|
@@ -10640,6 +10690,21 @@ interface PhysicsSettings extends Instance {
|
|
|
10640
10690
|
*/
|
|
10641
10691
|
UseCSGv2: boolean;
|
|
10642
10692
|
}
|
|
10693
|
+
/**
|
|
10694
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
10695
|
+
*
|
|
10696
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PinShortcutService)
|
|
10697
|
+
*/
|
|
10698
|
+
interface PinShortcutService extends Instance {
|
|
10699
|
+
/**
|
|
10700
|
+
* **DO NOT USE!**
|
|
10701
|
+
*
|
|
10702
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10703
|
+
* @hidden
|
|
10704
|
+
* @deprecated
|
|
10705
|
+
*/
|
|
10706
|
+
readonly _nominal_PinShortcutService: unique symbol;
|
|
10707
|
+
}
|
|
10643
10708
|
/**
|
|
10644
10709
|
* - **Tags**: NotCreatable, Service
|
|
10645
10710
|
*
|
|
@@ -11252,25 +11317,25 @@ interface Plugin extends Instance {
|
|
|
11252
11317
|
*/
|
|
11253
11318
|
ImportFbxRigAsync(this: Plugin, isR15?: boolean): Instance | undefined;
|
|
11254
11319
|
/**
|
|
11255
|
-
* Opens a window in Roblox Studio
|
|
11320
|
+
* Opens a window in Roblox Studio that prompts the user to select an existing `AssetType.Animation` asset. The `assetType` parameter must be `Animation`; other values are not supported and cause an error.
|
|
11256
11321
|
*
|
|
11257
11322
|
* - **ThreadSafety**: Unsafe
|
|
11258
11323
|
* - **Tags**: Yields
|
|
11259
11324
|
*
|
|
11260
11325
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#PromptForExistingAssetId)
|
|
11261
11326
|
* @param this
|
|
11262
|
-
* @param assetType
|
|
11327
|
+
* @param assetType The asset type to browse. Only `Animation` is supported.
|
|
11263
11328
|
*/
|
|
11264
11329
|
PromptForExistingAssetId(this: Plugin, assetType: string): number;
|
|
11265
11330
|
/**
|
|
11266
|
-
* Opens a window in Roblox Studio
|
|
11331
|
+
* Opens a window in Roblox Studio that prompts the user to select an existing `AssetType.Animation` asset. The `assetType` parameter must be `Animation`; other values are not supported and cause an error.
|
|
11267
11332
|
*
|
|
11268
11333
|
* - **ThreadSafety**: Unsafe
|
|
11269
11334
|
* - **Tags**: Yields
|
|
11270
11335
|
*
|
|
11271
11336
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#PromptForExistingAssetIdAsync)
|
|
11272
11337
|
* @param this
|
|
11273
|
-
* @param assetType
|
|
11338
|
+
* @param assetType The asset type to browse. Only `Animation` is supported.
|
|
11274
11339
|
*/
|
|
11275
11340
|
PromptForExistingAssetIdAsync(this: Plugin, assetType: string): number;
|
|
11276
11341
|
/**
|
|
@@ -12254,6 +12319,21 @@ interface ReplicatedStorage extends Instance {
|
|
|
12254
12319
|
*/
|
|
12255
12320
|
readonly _nominal_ReplicatedStorage: unique symbol;
|
|
12256
12321
|
}
|
|
12322
|
+
/**
|
|
12323
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
12324
|
+
*
|
|
12325
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RequestOrchestratorService)
|
|
12326
|
+
*/
|
|
12327
|
+
interface RequestOrchestratorService extends Instance {
|
|
12328
|
+
/**
|
|
12329
|
+
* **DO NOT USE!**
|
|
12330
|
+
*
|
|
12331
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
12332
|
+
* @hidden
|
|
12333
|
+
* @deprecated
|
|
12334
|
+
*/
|
|
12335
|
+
readonly _nominal_RequestOrchestratorService: unique symbol;
|
|
12336
|
+
}
|
|
12257
12337
|
/**
|
|
12258
12338
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
12259
12339
|
*
|
|
@@ -13020,6 +13100,13 @@ interface ScriptDocument extends Instance {
|
|
|
13020
13100
|
* @param anchorCharacter
|
|
13021
13101
|
*/
|
|
13022
13102
|
RequestSetSelectionAsync(this: ScriptDocument, cursorLine: number, cursorCharacter: number, anchorLine?: number, anchorCharacter?: number): unknown;
|
|
13103
|
+
/**
|
|
13104
|
+
* - **ThreadSafety**: Unsafe
|
|
13105
|
+
* - **Tags**: Yields
|
|
13106
|
+
*
|
|
13107
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDocument#ReviewableTextEditsAsync)
|
|
13108
|
+
*/
|
|
13109
|
+
ReviewableTextEditsAsync(this: ScriptDocument, changes: Array<unknown>): unknown;
|
|
13023
13110
|
/**
|
|
13024
13111
|
* Fires when the ScriptDocument changes, including immediately after a text change.
|
|
13025
13112
|
*
|
|
@@ -16436,7 +16523,7 @@ interface TestService extends Instance {
|
|
|
16436
16523
|
*/
|
|
16437
16524
|
readonly _nominal_TestService: unique symbol;
|
|
16438
16525
|
/**
|
|
16439
|
-
* **Deprecated:**
|
|
16526
|
+
* **Deprecated:** Use `RunAsync()` instead.
|
|
16440
16527
|
*
|
|
16441
16528
|
* Runs scripts which are parented to `TestService`.
|
|
16442
16529
|
*
|
|
@@ -17966,6 +18053,21 @@ interface WeldConstraint extends Instance {
|
|
|
17966
18053
|
*/
|
|
17967
18054
|
readonly _nominal_WeldConstraint: unique symbol;
|
|
17968
18055
|
}
|
|
18056
|
+
/**
|
|
18057
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
18058
|
+
*
|
|
18059
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WindowProtocolService)
|
|
18060
|
+
*/
|
|
18061
|
+
interface WindowProtocolService extends Instance {
|
|
18062
|
+
/**
|
|
18063
|
+
* **DO NOT USE!**
|
|
18064
|
+
*
|
|
18065
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
18066
|
+
* @hidden
|
|
18067
|
+
* @deprecated
|
|
18068
|
+
*/
|
|
18069
|
+
readonly _nominal_WindowProtocolService: unique symbol;
|
|
18070
|
+
}
|
|
17969
18071
|
/**
|
|
17970
18072
|
* Connects one or more `Instances` to form a processing graph of their streams. At the moment, only audio streams are supported, but this may expand in the future.
|
|
17971
18073
|
*
|
|
@@ -18011,6 +18113,21 @@ interface WrapTextureTransfer extends Instance {
|
|
|
18011
18113
|
*/
|
|
18012
18114
|
readonly _nominal_WrapTextureTransfer: unique symbol;
|
|
18013
18115
|
}
|
|
18116
|
+
/**
|
|
18117
|
+
* - **Tags**: NotCreatable
|
|
18118
|
+
*
|
|
18119
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LuauExpression)
|
|
18120
|
+
*/
|
|
18121
|
+
interface LuauExpression extends RBXObject {
|
|
18122
|
+
/**
|
|
18123
|
+
* **DO NOT USE!**
|
|
18124
|
+
*
|
|
18125
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
18126
|
+
* @hidden
|
|
18127
|
+
* @deprecated
|
|
18128
|
+
*/
|
|
18129
|
+
readonly _nominal_LuauExpression: unique symbol;
|
|
18130
|
+
}
|
|
18014
18131
|
/**
|
|
18015
18132
|
* - **Tags**: NotCreatable, NotReplicated
|
|
18016
18133
|
*
|