@rbxts/types 1.0.777 → 1.0.779
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 +47 -0
- package/include/generated/enums.d.ts +121 -2
- package/include/roblox.d.ts +6 -0
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ interface Services {
|
|
|
11
11
|
AnimationClipProvider: AnimationClipProvider;
|
|
12
12
|
AnimationFromVideoCreatorService: AnimationFromVideoCreatorService;
|
|
13
13
|
AnimationFromVideoCreatorStudioService: AnimationFromVideoCreatorStudioService;
|
|
14
|
+
AnnotationsService: AnnotationsService;
|
|
14
15
|
AppUpdateService: AppUpdateService;
|
|
15
16
|
AssetCounterService: AssetCounterService;
|
|
16
17
|
AssetDeliveryProxy: AssetDeliveryProxy;
|
|
@@ -77,6 +78,7 @@ interface Services {
|
|
|
77
78
|
LanguageService: LanguageService;
|
|
78
79
|
LegacyStudioBridge: LegacyStudioBridge;
|
|
79
80
|
Lighting: Lighting;
|
|
81
|
+
LinkingService: LinkingService;
|
|
80
82
|
LiveScriptingService: LiveScriptingService;
|
|
81
83
|
LocalizationService: LocalizationService;
|
|
82
84
|
LodDataService: LodDataService;
|
|
@@ -2263,6 +2265,17 @@ interface Animator extends Instance {
|
|
|
2263
2265
|
readonly AnimationPlayed: RBXScriptSignal<(animationTrack: AnimationTrack) => void>;
|
|
2264
2266
|
}
|
|
2265
2267
|
|
|
2268
|
+
interface AnnotationsService extends Instance {
|
|
2269
|
+
/**
|
|
2270
|
+
* **DO NOT USE!**
|
|
2271
|
+
*
|
|
2272
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2273
|
+
* @hidden
|
|
2274
|
+
* @deprecated
|
|
2275
|
+
*/
|
|
2276
|
+
readonly _nominal_AnnotationsService: unique symbol;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2266
2279
|
interface AppUpdateService extends Instance {
|
|
2267
2280
|
/**
|
|
2268
2281
|
* **DO NOT USE!**
|
|
@@ -2808,6 +2821,7 @@ interface AudioChorus extends Instance {
|
|
|
2808
2821
|
* @deprecated
|
|
2809
2822
|
*/
|
|
2810
2823
|
readonly _nominal_AudioChorus: unique symbol;
|
|
2824
|
+
Bypass: boolean;
|
|
2811
2825
|
Depth: number;
|
|
2812
2826
|
Mix: number;
|
|
2813
2827
|
Rate: number;
|
|
@@ -2824,6 +2838,7 @@ interface AudioCompressor extends Instance {
|
|
|
2824
2838
|
*/
|
|
2825
2839
|
readonly _nominal_AudioCompressor: unique symbol;
|
|
2826
2840
|
Attack: number;
|
|
2841
|
+
Bypass: boolean;
|
|
2827
2842
|
MakeupGain: number;
|
|
2828
2843
|
Ratio: number;
|
|
2829
2844
|
Release: number;
|
|
@@ -2871,6 +2886,7 @@ interface AudioDistortion extends Instance {
|
|
|
2871
2886
|
* @deprecated
|
|
2872
2887
|
*/
|
|
2873
2888
|
readonly _nominal_AudioDistortion: unique symbol;
|
|
2889
|
+
Bypass: boolean;
|
|
2874
2890
|
Level: number;
|
|
2875
2891
|
GetConnectedWires(this: AudioDistortion, pin: string): unknown;
|
|
2876
2892
|
}
|
|
@@ -2884,6 +2900,7 @@ interface AudioEcho extends Instance {
|
|
|
2884
2900
|
* @deprecated
|
|
2885
2901
|
*/
|
|
2886
2902
|
readonly _nominal_AudioEcho: unique symbol;
|
|
2903
|
+
Bypass: boolean;
|
|
2887
2904
|
DelayTime: number;
|
|
2888
2905
|
DryLevel: number;
|
|
2889
2906
|
Feedback: number;
|
|
@@ -2921,6 +2938,7 @@ interface AudioEqualizer extends Instance {
|
|
|
2921
2938
|
* @deprecated
|
|
2922
2939
|
*/
|
|
2923
2940
|
readonly _nominal_AudioEqualizer: unique symbol;
|
|
2941
|
+
Bypass: boolean;
|
|
2924
2942
|
HighGain: number;
|
|
2925
2943
|
LowGain: number;
|
|
2926
2944
|
MidGain: number;
|
|
@@ -2937,6 +2955,7 @@ interface AudioFader extends Instance {
|
|
|
2937
2955
|
* @deprecated
|
|
2938
2956
|
*/
|
|
2939
2957
|
readonly _nominal_AudioFader: unique symbol;
|
|
2958
|
+
Bypass: boolean;
|
|
2940
2959
|
Volume: number;
|
|
2941
2960
|
GetConnectedWires(this: AudioFader, pin: string): unknown;
|
|
2942
2961
|
}
|
|
@@ -2950,6 +2969,7 @@ interface AudioFlanger extends Instance {
|
|
|
2950
2969
|
* @deprecated
|
|
2951
2970
|
*/
|
|
2952
2971
|
readonly _nominal_AudioFlanger: unique symbol;
|
|
2972
|
+
Bypass: boolean;
|
|
2953
2973
|
Depth: number;
|
|
2954
2974
|
Mix: number;
|
|
2955
2975
|
Rate: number;
|
|
@@ -2978,6 +2998,7 @@ interface AudioPitchShifter extends Instance {
|
|
|
2978
2998
|
* @deprecated
|
|
2979
2999
|
*/
|
|
2980
3000
|
readonly _nominal_AudioPitchShifter: unique symbol;
|
|
3001
|
+
Bypass: boolean;
|
|
2981
3002
|
Pitch: number;
|
|
2982
3003
|
GetConnectedWires(this: AudioPitchShifter, pin: string): unknown;
|
|
2983
3004
|
}
|
|
@@ -3023,6 +3044,7 @@ interface AudioReverb extends Instance {
|
|
|
3023
3044
|
* @deprecated
|
|
3024
3045
|
*/
|
|
3025
3046
|
readonly _nominal_AudioReverb: unique symbol;
|
|
3047
|
+
Bypass: boolean;
|
|
3026
3048
|
DecayRatio: number;
|
|
3027
3049
|
DecayTime: number;
|
|
3028
3050
|
Density: number;
|
|
@@ -3103,6 +3125,18 @@ interface AvatarCreationService extends Instance {
|
|
|
3103
3125
|
* Tags: Yields
|
|
3104
3126
|
*/
|
|
3105
3127
|
PromptCreateAvatarAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
3128
|
+
/**
|
|
3129
|
+
* Tags: Yields
|
|
3130
|
+
*/
|
|
3131
|
+
ValidateUGCAccessoryAsync(this: AvatarCreationService, player: Player, accessory: Accessory, accessoryType: CastsToEnum<Enum.AccessoryType>): unknown;
|
|
3132
|
+
/**
|
|
3133
|
+
* Tags: Yields
|
|
3134
|
+
*/
|
|
3135
|
+
ValidateUGCBodyPartAsync(this: AvatarCreationService, player: Player, instance: Instance, bodyPart: CastsToEnum<Enum.BodyPart>): unknown;
|
|
3136
|
+
/**
|
|
3137
|
+
* Tags: Yields
|
|
3138
|
+
*/
|
|
3139
|
+
ValidateUGCFullBodyAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
3106
3140
|
}
|
|
3107
3141
|
|
|
3108
3142
|
/** AvatarEditorService is a service to support developer Avatar Editors. It provides methods to modify the player's platform avatar, request information about a user's inventory, and request information about the catalog.
|
|
@@ -3548,6 +3582,7 @@ interface AvatarGenerationJob extends Instance {
|
|
|
3548
3582
|
Progress: number;
|
|
3549
3583
|
Status: Enum.AvatarGenerationJobStatus;
|
|
3550
3584
|
Cancel(this: AvatarGenerationJob): void;
|
|
3585
|
+
GetOutput(this: AvatarGenerationJob): object;
|
|
3551
3586
|
/**
|
|
3552
3587
|
* Tags: Yields
|
|
3553
3588
|
*/
|
|
@@ -3935,6 +3970,7 @@ interface RootImportData extends BaseImportData {
|
|
|
3935
3970
|
InsertInWorkspace: boolean;
|
|
3936
3971
|
InsertWithScenePosition: boolean;
|
|
3937
3972
|
InvertNegativeFaces: boolean;
|
|
3973
|
+
KeepZeroInfluenceBones: boolean;
|
|
3938
3974
|
MergeMeshes: boolean;
|
|
3939
3975
|
/**
|
|
3940
3976
|
* Tags: NotReplicated
|
|
@@ -20999,6 +21035,17 @@ interface Lighting extends Instance {
|
|
|
20999
21035
|
readonly LightingChanged: RBXScriptSignal<(skyChanged: boolean) => void>;
|
|
21000
21036
|
}
|
|
21001
21037
|
|
|
21038
|
+
interface LinkingService extends Instance {
|
|
21039
|
+
/**
|
|
21040
|
+
* **DO NOT USE!**
|
|
21041
|
+
*
|
|
21042
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
21043
|
+
* @hidden
|
|
21044
|
+
* @deprecated
|
|
21045
|
+
*/
|
|
21046
|
+
readonly _nominal_LinkingService: unique symbol;
|
|
21047
|
+
}
|
|
21048
|
+
|
|
21002
21049
|
interface LiveScriptingService extends Instance {
|
|
21003
21050
|
/**
|
|
21004
21051
|
* **DO NOT USE!**
|
|
@@ -415,6 +415,88 @@ declare namespace Enum {
|
|
|
415
415
|
}
|
|
416
416
|
export type AdTeleportMethod = AdTeleportMethod.Undefined | AdTeleportMethod.PortalForward | AdTeleportMethod.InGameMenuBackButton | AdTeleportMethod.UIBackButton;
|
|
417
417
|
|
|
418
|
+
export namespace AdUIEventType {
|
|
419
|
+
export interface AdLabelClicked extends globalThis.EnumItem {
|
|
420
|
+
Name: "AdLabelClicked";
|
|
421
|
+
Value: 0;
|
|
422
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export const AdLabelClicked: AdLabelClicked;
|
|
426
|
+
|
|
427
|
+
export interface VolumeButtonClicked extends globalThis.EnumItem {
|
|
428
|
+
Name: "VolumeButtonClicked";
|
|
429
|
+
Value: 1;
|
|
430
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export const VolumeButtonClicked: VolumeButtonClicked;
|
|
434
|
+
|
|
435
|
+
export interface FullscreenButtonClicked extends globalThis.EnumItem {
|
|
436
|
+
Name: "FullscreenButtonClicked";
|
|
437
|
+
Value: 2;
|
|
438
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export const FullscreenButtonClicked: FullscreenButtonClicked;
|
|
442
|
+
|
|
443
|
+
export interface PlayButtonClicked extends globalThis.EnumItem {
|
|
444
|
+
Name: "PlayButtonClicked";
|
|
445
|
+
Value: 3;
|
|
446
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export const PlayButtonClicked: PlayButtonClicked;
|
|
450
|
+
|
|
451
|
+
export interface PauseButtonClicked extends globalThis.EnumItem {
|
|
452
|
+
Name: "PauseButtonClicked";
|
|
453
|
+
Value: 4;
|
|
454
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export const PauseButtonClicked: PauseButtonClicked;
|
|
458
|
+
|
|
459
|
+
export interface CloseButtonClicked extends globalThis.EnumItem {
|
|
460
|
+
Name: "CloseButtonClicked";
|
|
461
|
+
Value: 5;
|
|
462
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export const CloseButtonClicked: CloseButtonClicked;
|
|
466
|
+
|
|
467
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUIEventType>;
|
|
468
|
+
}
|
|
469
|
+
export type AdUIEventType = AdUIEventType.AdLabelClicked | AdUIEventType.VolumeButtonClicked | AdUIEventType.FullscreenButtonClicked | AdUIEventType.PlayButtonClicked | AdUIEventType.PauseButtonClicked | AdUIEventType.CloseButtonClicked;
|
|
470
|
+
|
|
471
|
+
export namespace AdUIType {
|
|
472
|
+
export interface None extends globalThis.EnumItem {
|
|
473
|
+
Name: "None";
|
|
474
|
+
Value: 0;
|
|
475
|
+
EnumType: typeof globalThis.Enum.AdUIType;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export const None: None;
|
|
479
|
+
|
|
480
|
+
export interface Image extends globalThis.EnumItem {
|
|
481
|
+
Name: "Image";
|
|
482
|
+
Value: 1;
|
|
483
|
+
EnumType: typeof globalThis.Enum.AdUIType;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export const Image: Image;
|
|
487
|
+
|
|
488
|
+
export interface Video extends globalThis.EnumItem {
|
|
489
|
+
Name: "Video";
|
|
490
|
+
Value: 2;
|
|
491
|
+
EnumType: typeof globalThis.Enum.AdUIType;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export const Video: Video;
|
|
495
|
+
|
|
496
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUIType>;
|
|
497
|
+
}
|
|
498
|
+
export type AdUIType = AdUIType.None | AdUIType.Image | AdUIType.Video;
|
|
499
|
+
|
|
418
500
|
export namespace AdUnitStatus {
|
|
419
501
|
export interface Inactive extends globalThis.EnumItem {
|
|
420
502
|
Name: "Inactive";
|
|
@@ -2441,9 +2523,17 @@ declare namespace Enum {
|
|
|
2441
2523
|
|
|
2442
2524
|
export const Canceled: Canceled;
|
|
2443
2525
|
|
|
2526
|
+
export interface Offensive extends globalThis.EnumItem {
|
|
2527
|
+
Name: "Offensive";
|
|
2528
|
+
Value: 4;
|
|
2529
|
+
EnumType: typeof globalThis.Enum.AvatarGenerationError;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
export const Offensive: Offensive;
|
|
2533
|
+
|
|
2444
2534
|
export interface Unknown extends globalThis.EnumItem {
|
|
2445
2535
|
Name: "Unknown";
|
|
2446
|
-
Value:
|
|
2536
|
+
Value: 5;
|
|
2447
2537
|
EnumType: typeof globalThis.Enum.AvatarGenerationError;
|
|
2448
2538
|
}
|
|
2449
2539
|
|
|
@@ -2451,7 +2541,7 @@ declare namespace Enum {
|
|
|
2451
2541
|
|
|
2452
2542
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AvatarGenerationError>;
|
|
2453
2543
|
}
|
|
2454
|
-
export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Timeout | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Unknown;
|
|
2544
|
+
export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Timeout | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Offensive | AvatarGenerationError.Unknown;
|
|
2455
2545
|
|
|
2456
2546
|
export namespace AvatarGenerationJobStatus {
|
|
2457
2547
|
export interface NotStarted extends globalThis.EnumItem {
|
|
@@ -13099,6 +13189,35 @@ declare namespace Enum {
|
|
|
13099
13189
|
}
|
|
13100
13190
|
export type MoveState = MoveState.Stopped | MoveState.Coasting | MoveState.Pushing | MoveState.Stopping | MoveState.AirFree;
|
|
13101
13191
|
|
|
13192
|
+
export namespace MoverConstraintRootBehaviorMode {
|
|
13193
|
+
export interface Default extends globalThis.EnumItem {
|
|
13194
|
+
Name: "Default";
|
|
13195
|
+
Value: 0;
|
|
13196
|
+
EnumType: typeof globalThis.Enum.MoverConstraintRootBehaviorMode;
|
|
13197
|
+
}
|
|
13198
|
+
|
|
13199
|
+
export const Default: Default;
|
|
13200
|
+
|
|
13201
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
13202
|
+
Name: "Disabled";
|
|
13203
|
+
Value: 1;
|
|
13204
|
+
EnumType: typeof globalThis.Enum.MoverConstraintRootBehaviorMode;
|
|
13205
|
+
}
|
|
13206
|
+
|
|
13207
|
+
export const Disabled: Disabled;
|
|
13208
|
+
|
|
13209
|
+
export interface Enabled extends globalThis.EnumItem {
|
|
13210
|
+
Name: "Enabled";
|
|
13211
|
+
Value: 2;
|
|
13212
|
+
EnumType: typeof globalThis.Enum.MoverConstraintRootBehaviorMode;
|
|
13213
|
+
}
|
|
13214
|
+
|
|
13215
|
+
export const Enabled: Enabled;
|
|
13216
|
+
|
|
13217
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MoverConstraintRootBehaviorMode>;
|
|
13218
|
+
}
|
|
13219
|
+
export type MoverConstraintRootBehaviorMode = MoverConstraintRootBehaviorMode.Default | MoverConstraintRootBehaviorMode.Disabled | MoverConstraintRootBehaviorMode.Enabled;
|
|
13220
|
+
|
|
13102
13221
|
export namespace MuteState {
|
|
13103
13222
|
export interface Unmuted extends globalThis.EnumItem {
|
|
13104
13223
|
Name: "Unmuted";
|
package/include/roblox.d.ts
CHANGED
|
@@ -2219,6 +2219,12 @@ interface Secret {
|
|
|
2219
2219
|
* @deprecated
|
|
2220
2220
|
*/
|
|
2221
2221
|
readonly _nominal_Secret: unique symbol;
|
|
2222
|
+
|
|
2223
|
+
/** Prepends a string to the secret content. */
|
|
2224
|
+
AddPrefix(this: Secret, prefix: string): Secret;
|
|
2225
|
+
|
|
2226
|
+
/** Appends a string to the secret content. */
|
|
2227
|
+
AddSuffix(this: Secret, suffix: string): Secret;
|
|
2222
2228
|
}
|
|
2223
2229
|
|
|
2224
2230
|
declare const SharedTableNominal: unique symbol;
|