@rbxts/types 1.0.716 → 1.0.718
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 +53 -4
- package/include/generated/enums.d.ts +47 -10
- package/include/roblox.d.ts +11 -0
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ interface Services {
|
|
|
32
32
|
ContextActionService: ContextActionService;
|
|
33
33
|
ControllerService: ControllerService;
|
|
34
34
|
CoreScriptDebuggingManagerHelper: CoreScriptDebuggingManagerHelper;
|
|
35
|
+
CreationDBService: CreationDBService;
|
|
35
36
|
CrossDMScriptChangeListener: CrossDMScriptChangeListener;
|
|
36
37
|
DataModelPatchService: DataModelPatchService;
|
|
37
38
|
DataStoreService: DataStoreService;
|
|
@@ -96,6 +97,7 @@ interface Services {
|
|
|
96
97
|
ProcessInstancePhysicsService: ProcessInstancePhysicsService;
|
|
97
98
|
ProximityPromptService: ProximityPromptService;
|
|
98
99
|
PublishService: PublishService;
|
|
100
|
+
ReflectionService: ReflectionService;
|
|
99
101
|
RemoteCursorService: RemoteCursorService;
|
|
100
102
|
RemoteDebuggerServer: RemoteDebuggerServer;
|
|
101
103
|
ReplicatedFirst: ReplicatedFirst;
|
|
@@ -167,6 +169,7 @@ interface Services {
|
|
|
167
169
|
|
|
168
170
|
interface CreatableInstances {
|
|
169
171
|
Accessory: Accessory;
|
|
172
|
+
AccessoryDescription: AccessoryDescription;
|
|
170
173
|
Accoutrement: Accoutrement;
|
|
171
174
|
Actor: Actor;
|
|
172
175
|
AdGui: AdGui;
|
|
@@ -1229,6 +1232,23 @@ interface Instance {
|
|
|
1229
1232
|
readonly Destroying: RBXScriptSignal<() => void>;
|
|
1230
1233
|
}
|
|
1231
1234
|
|
|
1235
|
+
interface AccessoryDescription extends Instance {
|
|
1236
|
+
/**
|
|
1237
|
+
* **DO NOT USE!**
|
|
1238
|
+
*
|
|
1239
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1240
|
+
* @hidden
|
|
1241
|
+
* @deprecated
|
|
1242
|
+
*/
|
|
1243
|
+
readonly _nominal_AccessoryDescription: unique symbol;
|
|
1244
|
+
AccessoryType: Enum.AccessoryType;
|
|
1245
|
+
AssetId: number;
|
|
1246
|
+
Instance: Instance | undefined;
|
|
1247
|
+
IsLayered: boolean;
|
|
1248
|
+
Order: number;
|
|
1249
|
+
Puffiness: number;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1232
1252
|
/** An Accoutrement is an object that welds its child [part](https://developer.roblox.com/en-us/api-reference/class/Part) called “Handle” to the Head of a player's character. The position and rotation of the Handle part can be changed with the [AttachmentPos](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentPos)/[Right](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentRight)/[Forward](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentForward)/[Up](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentUp) properties.
|
|
1233
1253
|
*
|
|
1234
1254
|
* Parts descending from an accoutrement will be massless when attached to other parts (e.g. with a Weld) as long as they are not the root part of the assembly returned by [GetRootPart()](https://developer.roblox.com/en-us/api-reference/function/BasePart/GetRootPart). [GetMass()](https://developer.roblox.com/en-us/api-reference/function/BasePart/GetMass) will return 0 for parts in this case and it will not add to the total mass or rotational inertia of the Assembly.
|
|
@@ -2127,6 +2147,14 @@ interface Animator extends Instance {
|
|
|
2127
2147
|
*/
|
|
2128
2148
|
readonly EvaluationThrottled: boolean;
|
|
2129
2149
|
PreferLodEnabled: boolean;
|
|
2150
|
+
/**
|
|
2151
|
+
* Tags: NotReplicated, NotBrowsable
|
|
2152
|
+
*/
|
|
2153
|
+
readonly RootMotion: CFrame;
|
|
2154
|
+
/**
|
|
2155
|
+
* Tags: NotReplicated, NotBrowsable
|
|
2156
|
+
*/
|
|
2157
|
+
readonly RootMotionWeight: number;
|
|
2130
2158
|
/**
|
|
2131
2159
|
* Given the current set of [AnimationTracks](https://developer.roblox.com/en-us/api-reference/class/AnimationTrack) playing, and their current times and play speeds, compute relative velocities between the parts and apply them to Motor6D.Part1 (the part which [Animator](https://developer.roblox.com/en-us/api-reference/class/Animator) considers the “child” part). These relative velocity calculations and assignments happen in the order provided.
|
|
2132
2160
|
*
|
|
@@ -2227,7 +2255,6 @@ interface AssetImportSession extends Instance {
|
|
|
2227
2255
|
*/
|
|
2228
2256
|
readonly _nominal_AssetImportSession: unique symbol;
|
|
2229
2257
|
readonly UploadComplete: RBXScriptSignal<(results: object) => void>;
|
|
2230
|
-
readonly UploadCompleteDeprecated: RBXScriptSignal<(succeeded: boolean, errorMap: object) => void>;
|
|
2231
2258
|
readonly UploadProgress: RBXScriptSignal<(progressRatio: number) => void>;
|
|
2232
2259
|
}
|
|
2233
2260
|
|
|
@@ -3722,6 +3749,7 @@ interface RootImportData extends BaseImportData {
|
|
|
3722
3749
|
UseSceneOriginAsCFrame: boolean;
|
|
3723
3750
|
UseSceneOriginAsPivot: boolean;
|
|
3724
3751
|
UsesCages: boolean;
|
|
3752
|
+
ValidateUgcBody: boolean;
|
|
3725
3753
|
WorldForward: Enum.NormalId;
|
|
3726
3754
|
WorldUp: Enum.NormalId;
|
|
3727
3755
|
}
|
|
@@ -9190,6 +9218,17 @@ interface CoreScriptDebuggingManagerHelper extends Instance {
|
|
|
9190
9218
|
readonly _nominal_CoreScriptDebuggingManagerHelper: unique symbol;
|
|
9191
9219
|
}
|
|
9192
9220
|
|
|
9221
|
+
interface CreationDBService extends Instance {
|
|
9222
|
+
/**
|
|
9223
|
+
* **DO NOT USE!**
|
|
9224
|
+
*
|
|
9225
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9226
|
+
* @hidden
|
|
9227
|
+
* @deprecated
|
|
9228
|
+
*/
|
|
9229
|
+
readonly _nominal_CreationDBService: unique symbol;
|
|
9230
|
+
}
|
|
9231
|
+
|
|
9193
9232
|
interface CrossDMScriptChangeListener extends Instance {
|
|
9194
9233
|
/**
|
|
9195
9234
|
* **DO NOT USE!**
|
|
@@ -15295,6 +15334,7 @@ interface HttpService extends Instance {
|
|
|
15295
15334
|
* * **false** - _db454790-7563-44ed-ab4b-397ff5df737b_
|
|
15296
15335
|
*/
|
|
15297
15336
|
GenerateGUID(this: HttpService, wrapInCurlyBraces?: boolean): string;
|
|
15337
|
+
GetSecret(this: HttpService, key: string): Secret;
|
|
15298
15338
|
/**
|
|
15299
15339
|
* The JSONDecode function transforms a [JSON object or array](http://robloxdev.com/articles/JSON-Storage-Format) into a Lua [table](http://robloxdev.com/articles/Table) with the following characteristics:
|
|
15300
15340
|
*
|
|
@@ -15646,9 +15686,6 @@ interface Humanoid extends Instance {
|
|
|
15646
15686
|
* When a Humanoid named `StarterHumanoid` is parented to [StarterPlayer](https://developer.roblox.com/api-reference/class/StarterPlayer), or when a Humanoid is present in a Model named `StarterCharacter`, the DisplayName property will be respected when Characters are loaded by Players in the game. The engine will only override the `DisplayName` property of the Humanoid with the `DisplayName` property of the player if the `StarterHumanoid`'s `DisplayName` property is an empty string.
|
|
15647
15687
|
*/
|
|
15648
15688
|
DisplayName: string;
|
|
15649
|
-
/**
|
|
15650
|
-
* Tags: NotBrowsable
|
|
15651
|
-
*/
|
|
15652
15689
|
EvaluateStateMachine: boolean;
|
|
15653
15690
|
/**
|
|
15654
15691
|
* This is a read-only property that describes the [Material](https://developer.roblox.com/en-us/api-reference/enum/Material) the [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) is currently standing on.
|
|
@@ -29308,6 +29345,17 @@ interface PublishService extends Instance {
|
|
|
29308
29345
|
readonly _nominal_PublishService: unique symbol;
|
|
29309
29346
|
}
|
|
29310
29347
|
|
|
29348
|
+
interface ReflectionService extends Instance {
|
|
29349
|
+
/**
|
|
29350
|
+
* **DO NOT USE!**
|
|
29351
|
+
*
|
|
29352
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
29353
|
+
* @hidden
|
|
29354
|
+
* @deprecated
|
|
29355
|
+
*/
|
|
29356
|
+
readonly _nominal_ReflectionService: unique symbol;
|
|
29357
|
+
}
|
|
29358
|
+
|
|
29311
29359
|
interface RemoteCursorService extends Instance {
|
|
29312
29360
|
/**
|
|
29313
29361
|
* **DO NOT USE!**
|
|
@@ -33912,6 +33960,7 @@ interface TextChatCommand extends Instance {
|
|
|
33912
33960
|
* @deprecated
|
|
33913
33961
|
*/
|
|
33914
33962
|
readonly _nominal_TextChatCommand: unique symbol;
|
|
33963
|
+
AutocompleteVisible: boolean;
|
|
33915
33964
|
Enabled: boolean;
|
|
33916
33965
|
PrimaryAlias: string;
|
|
33917
33966
|
SecondaryAlias: string;
|
|
@@ -6168,6 +6168,35 @@ declare namespace Enum {
|
|
|
6168
6168
|
}
|
|
6169
6169
|
export type EasingStyle = EasingStyle.Linear | EasingStyle.Sine | EasingStyle.Back | EasingStyle.Quad | EasingStyle.Quart | EasingStyle.Quint | EasingStyle.Bounce | EasingStyle.Elastic | EasingStyle.Exponential | EasingStyle.Circular | EasingStyle.Cubic;
|
|
6170
6170
|
|
|
6171
|
+
export namespace EditorLiveScripting {
|
|
6172
|
+
export interface Default extends globalThis.EnumItem {
|
|
6173
|
+
Name: "Default";
|
|
6174
|
+
Value: 0;
|
|
6175
|
+
EnumType: typeof globalThis.Enum.EditorLiveScripting;
|
|
6176
|
+
}
|
|
6177
|
+
|
|
6178
|
+
export const Default: Default;
|
|
6179
|
+
|
|
6180
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
6181
|
+
Name: "Disabled";
|
|
6182
|
+
Value: 1;
|
|
6183
|
+
EnumType: typeof globalThis.Enum.EditorLiveScripting;
|
|
6184
|
+
}
|
|
6185
|
+
|
|
6186
|
+
export const Disabled: Disabled;
|
|
6187
|
+
|
|
6188
|
+
export interface Enabled extends globalThis.EnumItem {
|
|
6189
|
+
Name: "Enabled";
|
|
6190
|
+
Value: 2;
|
|
6191
|
+
EnumType: typeof globalThis.Enum.EditorLiveScripting;
|
|
6192
|
+
}
|
|
6193
|
+
|
|
6194
|
+
export const Enabled: Enabled;
|
|
6195
|
+
|
|
6196
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.EditorLiveScripting>;
|
|
6197
|
+
}
|
|
6198
|
+
export type EditorLiveScripting = EditorLiveScripting.Default | EditorLiveScripting.Disabled | EditorLiveScripting.Enabled;
|
|
6199
|
+
|
|
6171
6200
|
export namespace ElasticBehavior {
|
|
6172
6201
|
export interface WhenScrollable extends globalThis.EnumItem {
|
|
6173
6202
|
Name: "WhenScrollable";
|
|
@@ -15118,9 +15147,17 @@ declare namespace Enum {
|
|
|
15118
15147
|
|
|
15119
15148
|
export const CoreUISafeInsets: CoreUISafeInsets;
|
|
15120
15149
|
|
|
15150
|
+
export interface TopbarSafeInsets extends globalThis.EnumItem {
|
|
15151
|
+
Name: "TopbarSafeInsets";
|
|
15152
|
+
Value: 3;
|
|
15153
|
+
EnumType: typeof globalThis.Enum.ScreenInsets;
|
|
15154
|
+
}
|
|
15155
|
+
|
|
15156
|
+
export const TopbarSafeInsets: TopbarSafeInsets;
|
|
15157
|
+
|
|
15121
15158
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ScreenInsets>;
|
|
15122
15159
|
}
|
|
15123
|
-
export type ScreenInsets = ScreenInsets.None | ScreenInsets.DeviceSafeInsets | ScreenInsets.CoreUISafeInsets;
|
|
15160
|
+
export type ScreenInsets = ScreenInsets.None | ScreenInsets.DeviceSafeInsets | ScreenInsets.CoreUISafeInsets | ScreenInsets.TopbarSafeInsets;
|
|
15124
15161
|
|
|
15125
15162
|
export namespace ScreenOrientation {
|
|
15126
15163
|
export interface LandscapeLeft extends globalThis.EnumItem {
|
|
@@ -19065,13 +19102,13 @@ declare namespace Enum {
|
|
|
19065
19102
|
export type TrackerPromptEvent = TrackerPromptEvent.LODCameraRecommendDisable;
|
|
19066
19103
|
|
|
19067
19104
|
export namespace TriStateBoolean {
|
|
19068
|
-
export interface
|
|
19069
|
-
Name: "
|
|
19070
|
-
Value:
|
|
19105
|
+
export interface False extends globalThis.EnumItem {
|
|
19106
|
+
Name: "False";
|
|
19107
|
+
Value: 2;
|
|
19071
19108
|
EnumType: typeof globalThis.Enum.TriStateBoolean;
|
|
19072
19109
|
}
|
|
19073
19110
|
|
|
19074
|
-
export const
|
|
19111
|
+
export const False: False;
|
|
19075
19112
|
|
|
19076
19113
|
export interface True extends globalThis.EnumItem {
|
|
19077
19114
|
Name: "True";
|
|
@@ -19081,17 +19118,17 @@ declare namespace Enum {
|
|
|
19081
19118
|
|
|
19082
19119
|
export const True: True;
|
|
19083
19120
|
|
|
19084
|
-
export interface
|
|
19085
|
-
Name: "
|
|
19086
|
-
Value:
|
|
19121
|
+
export interface Unknown extends globalThis.EnumItem {
|
|
19122
|
+
Name: "Unknown";
|
|
19123
|
+
Value: 0;
|
|
19087
19124
|
EnumType: typeof globalThis.Enum.TriStateBoolean;
|
|
19088
19125
|
}
|
|
19089
19126
|
|
|
19090
|
-
export const
|
|
19127
|
+
export const Unknown: Unknown;
|
|
19091
19128
|
|
|
19092
19129
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TriStateBoolean>;
|
|
19093
19130
|
}
|
|
19094
|
-
export type TriStateBoolean = TriStateBoolean.
|
|
19131
|
+
export type TriStateBoolean = TriStateBoolean.False | TriStateBoolean.True | TriStateBoolean.Unknown;
|
|
19095
19132
|
|
|
19096
19133
|
export namespace TweenStatus {
|
|
19097
19134
|
export interface Canceled extends globalThis.EnumItem {
|
package/include/roblox.d.ts
CHANGED
|
@@ -2145,6 +2145,17 @@ type RotationCurveKeyConstructor = new (
|
|
|
2145
2145
|
) => RotationCurveKey;
|
|
2146
2146
|
declare const RotationCurveKey: RotationCurveKeyConstructor;
|
|
2147
2147
|
|
|
2148
|
+
interface Secret {
|
|
2149
|
+
/**
|
|
2150
|
+
* **DO NOT USE!**
|
|
2151
|
+
*
|
|
2152
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2153
|
+
* @hidden
|
|
2154
|
+
* @deprecated
|
|
2155
|
+
*/
|
|
2156
|
+
readonly _nominal_Secret: unique symbol;
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2148
2159
|
declare const SharedTableNominal: unique symbol;
|
|
2149
2160
|
type SharedTableValue = boolean | number | Vector3 | string | SharedTable | Instance | typeof SharedTableNominal;
|
|
2150
2161
|
// SharedTable
|