@rbxts/types 1.0.788 → 1.0.789
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.
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
interface Services {
|
|
8
8
|
AccountService: AccountService;
|
|
9
|
+
AchievementService: AchievementService;
|
|
9
10
|
ActivityHistoryService: ActivityHistoryService;
|
|
10
11
|
AnalyticsService: AnalyticsService;
|
|
11
12
|
AnimationClipProvider: AnimationClipProvider;
|
|
@@ -218,6 +219,7 @@ interface CreatableInstances {
|
|
|
218
219
|
AudioEmitter: AudioEmitter;
|
|
219
220
|
AudioEqualizer: AudioEqualizer;
|
|
220
221
|
AudioFader: AudioFader;
|
|
222
|
+
AudioFilter: AudioFilter;
|
|
221
223
|
AudioFlanger: AudioFlanger;
|
|
222
224
|
AudioListener: AudioListener;
|
|
223
225
|
AudioPitchShifter: AudioPitchShifter;
|
|
@@ -1377,6 +1379,17 @@ interface Hat extends Accoutrement {
|
|
|
1377
1379
|
readonly _nominal_Hat: unique symbol;
|
|
1378
1380
|
}
|
|
1379
1381
|
|
|
1382
|
+
interface AchievementService extends Instance {
|
|
1383
|
+
/**
|
|
1384
|
+
* **DO NOT USE!**
|
|
1385
|
+
*
|
|
1386
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1387
|
+
* @hidden
|
|
1388
|
+
* @deprecated
|
|
1389
|
+
*/
|
|
1390
|
+
readonly _nominal_AchievementService: unique symbol;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1380
1393
|
interface ActivityHistoryService extends Instance {
|
|
1381
1394
|
/**
|
|
1382
1395
|
* **DO NOT USE!**
|
|
@@ -2983,6 +2996,24 @@ interface AudioFader extends Instance {
|
|
|
2983
2996
|
GetConnectedWires(this: AudioFader, pin: string): unknown;
|
|
2984
2997
|
}
|
|
2985
2998
|
|
|
2999
|
+
interface AudioFilter extends Instance {
|
|
3000
|
+
/**
|
|
3001
|
+
* **DO NOT USE!**
|
|
3002
|
+
*
|
|
3003
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3004
|
+
* @hidden
|
|
3005
|
+
* @deprecated
|
|
3006
|
+
*/
|
|
3007
|
+
readonly _nominal_AudioFilter: unique symbol;
|
|
3008
|
+
Bypass: boolean;
|
|
3009
|
+
FilterType: Enum.AudioFilterType;
|
|
3010
|
+
Frequency: number;
|
|
3011
|
+
Gain: number;
|
|
3012
|
+
Q: number;
|
|
3013
|
+
GetConnectedWires(this: AudioFilter, pin: string): unknown;
|
|
3014
|
+
GetGainAt(this: AudioFilter, frequency: number): number;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
2986
3017
|
interface AudioFlanger extends Instance {
|
|
2987
3018
|
/**
|
|
2988
3019
|
* **DO NOT USE!**
|
|
@@ -1917,6 +1917,99 @@ declare namespace Enum {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
export type AudioApiRollout = AudioApiRollout.Disabled | AudioApiRollout.Automatic | AudioApiRollout.Enabled;
|
|
1919
1919
|
|
|
1920
|
+
export namespace AudioFilterType {
|
|
1921
|
+
export interface Peak extends globalThis.EnumItem {
|
|
1922
|
+
Name: "Peak";
|
|
1923
|
+
Value: 0;
|
|
1924
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
export const Peak: Peak;
|
|
1928
|
+
|
|
1929
|
+
export interface LowShelf extends globalThis.EnumItem {
|
|
1930
|
+
Name: "LowShelf";
|
|
1931
|
+
Value: 1;
|
|
1932
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
export const LowShelf: LowShelf;
|
|
1936
|
+
|
|
1937
|
+
export interface HighShelf extends globalThis.EnumItem {
|
|
1938
|
+
Name: "HighShelf";
|
|
1939
|
+
Value: 2;
|
|
1940
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
export const HighShelf: HighShelf;
|
|
1944
|
+
|
|
1945
|
+
export interface Lowpass12dB extends globalThis.EnumItem {
|
|
1946
|
+
Name: "Lowpass12dB";
|
|
1947
|
+
Value: 3;
|
|
1948
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
export const Lowpass12dB: Lowpass12dB;
|
|
1952
|
+
|
|
1953
|
+
export interface Lowpass24dB extends globalThis.EnumItem {
|
|
1954
|
+
Name: "Lowpass24dB";
|
|
1955
|
+
Value: 4;
|
|
1956
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
export const Lowpass24dB: Lowpass24dB;
|
|
1960
|
+
|
|
1961
|
+
export interface Lowpass48dB extends globalThis.EnumItem {
|
|
1962
|
+
Name: "Lowpass48dB";
|
|
1963
|
+
Value: 5;
|
|
1964
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
export const Lowpass48dB: Lowpass48dB;
|
|
1968
|
+
|
|
1969
|
+
export interface Highpass12dB extends globalThis.EnumItem {
|
|
1970
|
+
Name: "Highpass12dB";
|
|
1971
|
+
Value: 6;
|
|
1972
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
export const Highpass12dB: Highpass12dB;
|
|
1976
|
+
|
|
1977
|
+
export interface Highpass24dB extends globalThis.EnumItem {
|
|
1978
|
+
Name: "Highpass24dB";
|
|
1979
|
+
Value: 7;
|
|
1980
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
export const Highpass24dB: Highpass24dB;
|
|
1984
|
+
|
|
1985
|
+
export interface Highpass48dB extends globalThis.EnumItem {
|
|
1986
|
+
Name: "Highpass48dB";
|
|
1987
|
+
Value: 8;
|
|
1988
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
export const Highpass48dB: Highpass48dB;
|
|
1992
|
+
|
|
1993
|
+
export interface Bandpass extends globalThis.EnumItem {
|
|
1994
|
+
Name: "Bandpass";
|
|
1995
|
+
Value: 9;
|
|
1996
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
export const Bandpass: Bandpass;
|
|
2000
|
+
|
|
2001
|
+
export interface Notch extends globalThis.EnumItem {
|
|
2002
|
+
Name: "Notch";
|
|
2003
|
+
Value: 10;
|
|
2004
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
export const Notch: Notch;
|
|
2008
|
+
|
|
2009
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AudioFilterType>;
|
|
2010
|
+
}
|
|
2011
|
+
export type AudioFilterType = AudioFilterType.Peak | AudioFilterType.LowShelf | AudioFilterType.HighShelf | AudioFilterType.Lowpass12dB | AudioFilterType.Lowpass24dB | AudioFilterType.Lowpass48dB | AudioFilterType.Highpass12dB | AudioFilterType.Highpass24dB | AudioFilterType.Highpass48dB | AudioFilterType.Bandpass | AudioFilterType.Notch;
|
|
2012
|
+
|
|
1920
2013
|
export namespace AudioSubType {
|
|
1921
2014
|
export interface Music extends globalThis.EnumItem {
|
|
1922
2015
|
Name: "Music";
|
|
@@ -14474,7 +14567,7 @@ declare namespace Enum {
|
|
|
14474
14567
|
export namespace PreferredTextSize {
|
|
14475
14568
|
export interface Medium extends globalThis.EnumItem {
|
|
14476
14569
|
Name: "Medium";
|
|
14477
|
-
Value:
|
|
14570
|
+
Value: 1;
|
|
14478
14571
|
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14479
14572
|
}
|
|
14480
14573
|
|
|
@@ -14482,7 +14575,7 @@ declare namespace Enum {
|
|
|
14482
14575
|
|
|
14483
14576
|
export interface Large extends globalThis.EnumItem {
|
|
14484
14577
|
Name: "Large";
|
|
14485
|
-
Value:
|
|
14578
|
+
Value: 2;
|
|
14486
14579
|
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14487
14580
|
}
|
|
14488
14581
|
|
|
@@ -14490,7 +14583,7 @@ declare namespace Enum {
|
|
|
14490
14583
|
|
|
14491
14584
|
export interface Larger extends globalThis.EnumItem {
|
|
14492
14585
|
Name: "Larger";
|
|
14493
|
-
Value:
|
|
14586
|
+
Value: 3;
|
|
14494
14587
|
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14495
14588
|
}
|
|
14496
14589
|
|
|
@@ -14498,7 +14591,7 @@ declare namespace Enum {
|
|
|
14498
14591
|
|
|
14499
14592
|
export interface Largest extends globalThis.EnumItem {
|
|
14500
14593
|
Name: "Largest";
|
|
14501
|
-
Value:
|
|
14594
|
+
Value: 4;
|
|
14502
14595
|
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14503
14596
|
}
|
|
14504
14597
|
|