@rbxts/types 1.0.803 → 1.0.805
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 +27 -67
- package/include/generated/enums.d.ts +51 -38
- package/package.json +1 -1
|
@@ -481,10 +481,6 @@ interface Instances extends Services, CreatableInstances {
|
|
|
481
481
|
AssetPatchSettings: AssetPatchSettings;
|
|
482
482
|
AssetSoundEffect: AssetSoundEffect;
|
|
483
483
|
AudioPages: AudioPages;
|
|
484
|
-
Avatar2DGenerationJob: Avatar2DGenerationJob;
|
|
485
|
-
Avatar3DGenerationJob: Avatar3DGenerationJob;
|
|
486
|
-
AvatarGenerationJob: AvatarGenerationJob;
|
|
487
|
-
AvatarGenerationSession: AvatarGenerationSession;
|
|
488
484
|
BackpackItem: BackpackItem;
|
|
489
485
|
BanHistoryPages: BanHistoryPages;
|
|
490
486
|
BaseImportData: BaseImportData;
|
|
@@ -1040,6 +1036,7 @@ interface Instance {
|
|
|
1040
1036
|
this: T,
|
|
1041
1037
|
propertyName: InstancePropertyNames<T>,
|
|
1042
1038
|
): RBXScriptSignal<() => void>;
|
|
1039
|
+
GetStyled(this: Instance, name: string): unknown;
|
|
1043
1040
|
GetTags(this: Instance): Array<string>;
|
|
1044
1041
|
HasTag(this: Instance, tag: string): boolean;
|
|
1045
1042
|
/**
|
|
@@ -3072,7 +3069,15 @@ interface AudioListener extends Instance {
|
|
|
3072
3069
|
readonly _nominal_AudioListener: unique symbol;
|
|
3073
3070
|
AudioInteractionGroup: string;
|
|
3074
3071
|
GetConnectedWires(this: AudioListener, pin: string): Array<Instance>;
|
|
3072
|
+
/**
|
|
3073
|
+
* Tags: CustomLuaState
|
|
3074
|
+
*/
|
|
3075
|
+
GetDistanceAttenuation(this: AudioListener): object;
|
|
3075
3076
|
GetInteractingEmitters(this: AudioListener): Array<Instance>;
|
|
3077
|
+
/**
|
|
3078
|
+
* Tags: CustomLuaState
|
|
3079
|
+
*/
|
|
3080
|
+
SetDistanceAttenuation(this: AudioListener, curve: object): void;
|
|
3076
3081
|
}
|
|
3077
3082
|
|
|
3078
3083
|
interface AudioPitchShifter extends Instance {
|
|
@@ -3199,7 +3204,7 @@ interface AvatarCreationService extends Instance {
|
|
|
3199
3204
|
/**
|
|
3200
3205
|
* Tags: Yields
|
|
3201
3206
|
*/
|
|
3202
|
-
|
|
3207
|
+
GenerateAvatarAsync(this: AvatarCreationService, sessionId: string, previewId: string): string;
|
|
3203
3208
|
/**
|
|
3204
3209
|
* Tags: Yields
|
|
3205
3210
|
*/
|
|
@@ -3208,10 +3213,18 @@ interface AvatarCreationService extends Instance {
|
|
|
3208
3213
|
* Tags: Yields
|
|
3209
3214
|
*/
|
|
3210
3215
|
GenerateAvatarPreviewAsync(this: AvatarCreationService, player: Player, textPrompt: string, options: object, progressCallback: Callback): string;
|
|
3216
|
+
/**
|
|
3217
|
+
* Tags: Yields
|
|
3218
|
+
*/
|
|
3219
|
+
GenerateAvatarPreviewAsync2(this: AvatarCreationService, sessionId: string, fileId: string, textPrompt: string): string;
|
|
3211
3220
|
/**
|
|
3212
3221
|
* Tags: Yields
|
|
3213
3222
|
*/
|
|
3214
3223
|
GetAvatarGenerationConfig(this: AvatarCreationService): object;
|
|
3224
|
+
/**
|
|
3225
|
+
* Tags: Yields
|
|
3226
|
+
*/
|
|
3227
|
+
LoadAvatarHumanoidDescriptionAsync(this: AvatarCreationService, id: string): HumanoidDescription;
|
|
3215
3228
|
/**
|
|
3216
3229
|
* Tags: Yields
|
|
3217
3230
|
*/
|
|
@@ -3224,6 +3237,10 @@ interface AvatarCreationService extends Instance {
|
|
|
3224
3237
|
* Tags: Yields
|
|
3225
3238
|
*/
|
|
3226
3239
|
PromptCreateAvatarAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
3240
|
+
/**
|
|
3241
|
+
* Tags: Yields
|
|
3242
|
+
*/
|
|
3243
|
+
RequestAvatarGenerationSessionAsync(this: AvatarCreationService, player: Player, callback: Callback): unknown;
|
|
3227
3244
|
/**
|
|
3228
3245
|
* Tags: Yields
|
|
3229
3246
|
*/
|
|
@@ -3667,67 +3684,6 @@ interface AvatarEditorService extends Instance {
|
|
|
3667
3684
|
readonly PromptUpdateOutfitCompleted: RBXScriptSignal<(result: Enum.AvatarPromptResult) => void>;
|
|
3668
3685
|
}
|
|
3669
3686
|
|
|
3670
|
-
interface AvatarGenerationJob extends Instance {
|
|
3671
|
-
/**
|
|
3672
|
-
* **DO NOT USE!**
|
|
3673
|
-
*
|
|
3674
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3675
|
-
* @hidden
|
|
3676
|
-
* @deprecated
|
|
3677
|
-
*/
|
|
3678
|
-
readonly _nominal_AvatarGenerationJob: unique symbol;
|
|
3679
|
-
Error: Enum.AvatarGenerationError;
|
|
3680
|
-
ErrorMessage: string;
|
|
3681
|
-
Progress: number;
|
|
3682
|
-
Status: Enum.AvatarGenerationJobStatus;
|
|
3683
|
-
GetOutput(this: AvatarGenerationJob): object;
|
|
3684
|
-
/**
|
|
3685
|
-
* Tags: Yields
|
|
3686
|
-
*/
|
|
3687
|
-
Cancel(this: AvatarGenerationJob): void;
|
|
3688
|
-
/**
|
|
3689
|
-
* Tags: Yields
|
|
3690
|
-
*/
|
|
3691
|
-
Wait(this: AvatarGenerationJob): void;
|
|
3692
|
-
}
|
|
3693
|
-
|
|
3694
|
-
interface Avatar2DGenerationJob extends AvatarGenerationJob {
|
|
3695
|
-
/**
|
|
3696
|
-
* **DO NOT USE!**
|
|
3697
|
-
*
|
|
3698
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3699
|
-
* @hidden
|
|
3700
|
-
* @deprecated
|
|
3701
|
-
*/
|
|
3702
|
-
readonly _nominal_Avatar2DGenerationJob: unique symbol;
|
|
3703
|
-
Result: string;
|
|
3704
|
-
}
|
|
3705
|
-
|
|
3706
|
-
interface Avatar3DGenerationJob extends AvatarGenerationJob {
|
|
3707
|
-
/**
|
|
3708
|
-
* **DO NOT USE!**
|
|
3709
|
-
*
|
|
3710
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3711
|
-
* @hidden
|
|
3712
|
-
* @deprecated
|
|
3713
|
-
*/
|
|
3714
|
-
readonly _nominal_Avatar3DGenerationJob: unique symbol;
|
|
3715
|
-
Result: string;
|
|
3716
|
-
}
|
|
3717
|
-
|
|
3718
|
-
interface AvatarGenerationSession extends Instance {
|
|
3719
|
-
/**
|
|
3720
|
-
* **DO NOT USE!**
|
|
3721
|
-
*
|
|
3722
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3723
|
-
* @hidden
|
|
3724
|
-
* @deprecated
|
|
3725
|
-
*/
|
|
3726
|
-
readonly _nominal_AvatarGenerationSession: unique symbol;
|
|
3727
|
-
GenerateAvatarModel(this: AvatarGenerationSession, previewJob: Avatar2DGenerationJob, options: object): Avatar3DGenerationJob;
|
|
3728
|
-
GenerateAvatarPreview(this: AvatarGenerationSession, textPrompt: string, options: object): Avatar2DGenerationJob;
|
|
3729
|
-
}
|
|
3730
|
-
|
|
3731
3687
|
interface AvatarImportService extends Instance {
|
|
3732
3688
|
/**
|
|
3733
3689
|
* **DO NOT USE!**
|
|
@@ -10432,7 +10388,7 @@ interface DataStoreKeyInfo extends Instance {
|
|
|
10432
10388
|
*
|
|
10433
10389
|
* * [Data Stores](https://developer.roblox.com/en-us/articles/data-store), an in-depth guide on data structure, management, error handling, etc.
|
|
10434
10390
|
*/
|
|
10435
|
-
GetUserIds(this: DataStoreKeyInfo):
|
|
10391
|
+
GetUserIds(this: DataStoreKeyInfo): Array<number>;
|
|
10436
10392
|
}
|
|
10437
10393
|
|
|
10438
10394
|
/** An instance describing version information for a key, including the version string, created time, and whether it has been marked as deleted.
|
|
@@ -15900,6 +15856,7 @@ interface GuiService extends Instance {
|
|
|
15900
15856
|
* * [GuiService:InspectPlayerFromUserId](https://developer.roblox.com/en-us/api-reference/function/GuiService/InspectPlayerFromUserId), allows the Inspect Menu to appear showing the user that has the given [UserId](https://developer.roblox.com/en-us/api-reference/property/Player/UserId). This is especially useful when you want to inspect players who aren't in the current game
|
|
15901
15857
|
*/
|
|
15902
15858
|
CloseInspectMenu(this: GuiService): void;
|
|
15859
|
+
DismissNotification(this: GuiService, notificationId: string): boolean;
|
|
15903
15860
|
/**
|
|
15904
15861
|
* Returns a boolean indicating whether or not the player Emotes menu is open.
|
|
15905
15862
|
*
|
|
@@ -15975,6 +15932,7 @@ interface GuiService extends Instance {
|
|
|
15975
15932
|
*/
|
|
15976
15933
|
RemoveSelectionGroup(this: GuiService, selectionName: string): void;
|
|
15977
15934
|
Select(this: GuiService, selectionParent: Instance): void;
|
|
15935
|
+
SendNotification(this: GuiService, notificationInfo: object): string;
|
|
15978
15936
|
/**
|
|
15979
15937
|
* Opens or closes the player Emotes menu.
|
|
15980
15938
|
*/
|
|
@@ -19901,6 +19859,7 @@ interface InsertService extends Instance {
|
|
|
19901
19859
|
* Returns the most recently uploaded models in the specified category.
|
|
19902
19860
|
*
|
|
19903
19861
|
* Tags: Yields
|
|
19862
|
+
* @deprecated
|
|
19904
19863
|
*/
|
|
19905
19864
|
GetCollection(this: InsertService, categoryId: number): Array<CollectionInfo>;
|
|
19906
19865
|
/**
|
|
@@ -20026,6 +19985,7 @@ interface InsertService extends Instance {
|
|
|
20026
19985
|
* The type of set that this set is.
|
|
20027
19986
|
*
|
|
20028
19987
|
* Tags: Yields
|
|
19988
|
+
* @deprecated
|
|
20029
19989
|
*/
|
|
20030
19990
|
GetUserSets(this: InsertService, userId: number): Array<SetInfo>;
|
|
20031
19991
|
/**
|
|
@@ -2689,43 +2689,6 @@ declare namespace Enum {
|
|
|
2689
2689
|
}
|
|
2690
2690
|
export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Unknown | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Offensive | AvatarGenerationError.Timeout | AvatarGenerationError.JobNotFound;
|
|
2691
2691
|
|
|
2692
|
-
export namespace AvatarGenerationJobStatus {
|
|
2693
|
-
export interface NotStarted extends globalThis.EnumItem {
|
|
2694
|
-
Name: "NotStarted";
|
|
2695
|
-
Value: 0;
|
|
2696
|
-
EnumType: typeof globalThis.Enum.AvatarGenerationJobStatus;
|
|
2697
|
-
}
|
|
2698
|
-
|
|
2699
|
-
export const NotStarted: NotStarted;
|
|
2700
|
-
|
|
2701
|
-
export interface InProgress extends globalThis.EnumItem {
|
|
2702
|
-
Name: "InProgress";
|
|
2703
|
-
Value: 1;
|
|
2704
|
-
EnumType: typeof globalThis.Enum.AvatarGenerationJobStatus;
|
|
2705
|
-
}
|
|
2706
|
-
|
|
2707
|
-
export const InProgress: InProgress;
|
|
2708
|
-
|
|
2709
|
-
export interface Completed extends globalThis.EnumItem {
|
|
2710
|
-
Name: "Completed";
|
|
2711
|
-
Value: 2;
|
|
2712
|
-
EnumType: typeof globalThis.Enum.AvatarGenerationJobStatus;
|
|
2713
|
-
}
|
|
2714
|
-
|
|
2715
|
-
export const Completed: Completed;
|
|
2716
|
-
|
|
2717
|
-
export interface Failed extends globalThis.EnumItem {
|
|
2718
|
-
Name: "Failed";
|
|
2719
|
-
Value: 3;
|
|
2720
|
-
EnumType: typeof globalThis.Enum.AvatarGenerationJobStatus;
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
export const Failed: Failed;
|
|
2724
|
-
|
|
2725
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AvatarGenerationJobStatus>;
|
|
2726
|
-
}
|
|
2727
|
-
export type AvatarGenerationJobStatus = AvatarGenerationJobStatus.NotStarted | AvatarGenerationJobStatus.InProgress | AvatarGenerationJobStatus.Completed | AvatarGenerationJobStatus.Failed;
|
|
2728
|
-
|
|
2729
2692
|
export namespace AvatarItemType {
|
|
2730
2693
|
export interface Asset extends globalThis.EnumItem {
|
|
2731
2694
|
Name: "Asset";
|
|
@@ -9763,6 +9726,27 @@ declare namespace Enum {
|
|
|
9763
9726
|
}
|
|
9764
9727
|
export type InputType = InputType.NoInput | InputType.Constant | InputType.Sin;
|
|
9765
9728
|
|
|
9729
|
+
export namespace Intent {
|
|
9730
|
+
export interface Realistic extends globalThis.EnumItem {
|
|
9731
|
+
Name: "Realistic";
|
|
9732
|
+
Value: 0;
|
|
9733
|
+
EnumType: typeof globalThis.Enum.Intent;
|
|
9734
|
+
}
|
|
9735
|
+
|
|
9736
|
+
export const Realistic: Realistic;
|
|
9737
|
+
|
|
9738
|
+
export interface Flat extends globalThis.EnumItem {
|
|
9739
|
+
Name: "Flat";
|
|
9740
|
+
Value: 1;
|
|
9741
|
+
EnumType: typeof globalThis.Enum.Intent;
|
|
9742
|
+
}
|
|
9743
|
+
|
|
9744
|
+
export const Flat: Flat;
|
|
9745
|
+
|
|
9746
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Intent>;
|
|
9747
|
+
}
|
|
9748
|
+
export type Intent = Intent.Realistic | Intent.Flat;
|
|
9749
|
+
|
|
9766
9750
|
export namespace InterpolationThrottlingMode {
|
|
9767
9751
|
export interface Default extends globalThis.EnumItem {
|
|
9768
9752
|
Name: "Default";
|
|
@@ -15429,6 +15413,27 @@ declare namespace Enum {
|
|
|
15429
15413
|
}
|
|
15430
15414
|
export type ProximityPromptStyle = ProximityPromptStyle.Default | ProximityPromptStyle.Custom;
|
|
15431
15415
|
|
|
15416
|
+
export namespace Quality {
|
|
15417
|
+
export interface Performance extends globalThis.EnumItem {
|
|
15418
|
+
Name: "Performance";
|
|
15419
|
+
Value: 0;
|
|
15420
|
+
EnumType: typeof globalThis.Enum.Quality;
|
|
15421
|
+
}
|
|
15422
|
+
|
|
15423
|
+
export const Performance: Performance;
|
|
15424
|
+
|
|
15425
|
+
export interface Quality extends globalThis.EnumItem {
|
|
15426
|
+
Name: "Quality";
|
|
15427
|
+
Value: 1;
|
|
15428
|
+
EnumType: typeof globalThis.Enum.Quality;
|
|
15429
|
+
}
|
|
15430
|
+
|
|
15431
|
+
export const Quality: Quality;
|
|
15432
|
+
|
|
15433
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Quality>;
|
|
15434
|
+
}
|
|
15435
|
+
export type Quality = Quality.Performance | Quality.Quality;
|
|
15436
|
+
|
|
15432
15437
|
export namespace QualityLevel {
|
|
15433
15438
|
export interface Automatic extends globalThis.EnumItem {
|
|
15434
15439
|
Name: "Automatic";
|
|
@@ -19818,9 +19823,17 @@ declare namespace Enum {
|
|
|
19818
19823
|
|
|
19819
19824
|
export const Legacy: Legacy;
|
|
19820
19825
|
|
|
19826
|
+
export interface Unified extends globalThis.EnumItem {
|
|
19827
|
+
Name: "Unified";
|
|
19828
|
+
Value: 5;
|
|
19829
|
+
EnumType: typeof globalThis.Enum.Technology;
|
|
19830
|
+
}
|
|
19831
|
+
|
|
19832
|
+
export const Unified: Unified;
|
|
19833
|
+
|
|
19821
19834
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Technology>;
|
|
19822
19835
|
}
|
|
19823
|
-
export type Technology = Technology.Voxel | Technology.Compatibility | Technology.ShadowMap | Technology.Future | Technology.Legacy;
|
|
19836
|
+
export type Technology = Technology.Voxel | Technology.Compatibility | Technology.ShadowMap | Technology.Future | Technology.Legacy | Technology.Unified;
|
|
19824
19837
|
|
|
19825
19838
|
export namespace TeleportMethod {
|
|
19826
19839
|
export interface TeleportToSpawnByName extends globalThis.EnumItem {
|