@casual-simulation/aux-runtime 3.2.7 → 3.2.9
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/package.json +4 -4
- package/runtime/AuxDevice.d.ts +4 -1
- package/runtime/AuxLibrary.d.ts +35 -35
- package/runtime/AuxLibrary.js +203 -172
- package/runtime/AuxLibrary.js.map +1 -1
- package/runtime/AuxLibraryDefinitions.def +7 -28
- package/runtime/AuxVersion.d.ts +1 -1
- package/runtime/RecordsEvents.d.ts +6 -6
|
@@ -1998,16 +1998,6 @@ export interface EnableCustomDraggingAction extends Action {
|
|
|
1998
1998
|
type: 'enable_custom_dragging';
|
|
1999
1999
|
}
|
|
2000
2000
|
|
|
2001
|
-
/**
|
|
2002
|
-
* The list of types of output that custom portals support.
|
|
2003
|
-
*/
|
|
2004
|
-
export type CustomAppOutputType = 'html';
|
|
2005
|
-
|
|
2006
|
-
/**
|
|
2007
|
-
* the list of modes that custom portals support.
|
|
2008
|
-
*/
|
|
2009
|
-
export type CustomPortalOutputMode = 'push' | 'pull';
|
|
2010
|
-
|
|
2011
2001
|
/**
|
|
2012
2002
|
* Defines an event that registers a custom portal.
|
|
2013
2003
|
*/
|
|
@@ -2034,23 +2024,12 @@ export interface RegisterCustomAppAction extends AsyncAction {
|
|
|
2034
2024
|
* The options for a register custom portal action.
|
|
2035
2025
|
*/
|
|
2036
2026
|
export interface RegisterCustomAppOptions {
|
|
2037
|
-
/**
|
|
2038
|
-
* The type of the custom portal.
|
|
2039
|
-
* Used by CasualOS to determine how CasualOS should consume the rendered output and display it.
|
|
2040
|
-
*/
|
|
2041
|
-
type: CustomAppOutputType;
|
|
2042
2027
|
|
|
2043
2028
|
/**
|
|
2044
2029
|
* The kind of the custom portal.
|
|
2045
2030
|
* Used to make it easy to register multiple custom portals that rely on the same kind of renderers.
|
|
2046
2031
|
*/
|
|
2047
2032
|
kind?: string;
|
|
2048
|
-
|
|
2049
|
-
/**
|
|
2050
|
-
* The output mode of the custom portal.
|
|
2051
|
-
* Used to make it easy to control how a custom portal recieves updates.
|
|
2052
|
-
*/
|
|
2053
|
-
outputMode?: CustomPortalOutputMode;
|
|
2054
2033
|
}
|
|
2055
2034
|
|
|
2056
2035
|
|
|
@@ -10562,7 +10541,7 @@ interface Os {
|
|
|
10562
10541
|
* cameraType: "front"
|
|
10563
10542
|
* });
|
|
10564
10543
|
*
|
|
10565
|
-
* @dochash actions/camera
|
|
10544
|
+
* @dochash actions/os/camera
|
|
10566
10545
|
* @doctitle Camera Actions
|
|
10567
10546
|
* @docsidebar Camera
|
|
10568
10547
|
* @docdescription Actions for taking photos.
|
|
@@ -10576,7 +10555,7 @@ interface Os {
|
|
|
10576
10555
|
* @example Close the photo camera
|
|
10577
10556
|
* await os.closePhotoCamera();
|
|
10578
10557
|
*
|
|
10579
|
-
* @dochash actions/camera
|
|
10558
|
+
* @dochash actions/os/camera
|
|
10580
10559
|
* @docname os.closePhotoCamera
|
|
10581
10560
|
*/
|
|
10582
10561
|
closePhotoCamera(): Promise<void>;
|
|
@@ -10596,7 +10575,7 @@ interface Os {
|
|
|
10596
10575
|
* cameraType: "front"
|
|
10597
10576
|
* });
|
|
10598
10577
|
*
|
|
10599
|
-
* @dochash actions/camera
|
|
10578
|
+
* @dochash actions/os/camera
|
|
10600
10579
|
* @doctitle Camera Actions
|
|
10601
10580
|
* @docsidebar Camera
|
|
10602
10581
|
* @docdescription Actions for taking photos.
|
|
@@ -11067,7 +11046,7 @@ interface Os {
|
|
|
11067
11046
|
* @example Show the "report inst" dialog.
|
|
11068
11047
|
* await os.reportInst();
|
|
11069
11048
|
*
|
|
11070
|
-
* @dochash actions/os
|
|
11049
|
+
* @dochash actions/os/moderation
|
|
11071
11050
|
* @docname os.reportInst
|
|
11072
11051
|
*/
|
|
11073
11052
|
reportInst(): Promise<void>;
|
|
@@ -11089,7 +11068,7 @@ interface Os {
|
|
|
11089
11068
|
* await os.requestAuthBot();
|
|
11090
11069
|
* os.toast("Logged in!");
|
|
11091
11070
|
*
|
|
11092
|
-
* @dochash actions/records
|
|
11071
|
+
* @dochash actions/os/records
|
|
11093
11072
|
* @doctitle Records Actions
|
|
11094
11073
|
* @docsidebar Records
|
|
11095
11074
|
* @docdescription Records are a way to store permenent data in CasualOS.
|
|
@@ -11121,7 +11100,7 @@ interface Os {
|
|
|
11121
11100
|
* os.toast("Not logged in.");
|
|
11122
11101
|
* }
|
|
11123
11102
|
*
|
|
11124
|
-
* @dochash actions/records
|
|
11103
|
+
* @dochash actions/os/records
|
|
11125
11104
|
* @doctitle Records Actions
|
|
11126
11105
|
* @docsidebar Records
|
|
11127
11106
|
* @docdescription Records are a way to store permenent data in CasualOS.
|
|
@@ -11469,7 +11448,7 @@ interface Os {
|
|
|
11469
11448
|
* os.toast('Failed to get studios ' + result.errorMessage);
|
|
11470
11449
|
* }
|
|
11471
11450
|
*
|
|
11472
|
-
* @dochash actions/records
|
|
11451
|
+
* @dochash actions/os/records
|
|
11473
11452
|
* @docgroup 01-records
|
|
11474
11453
|
* @docname os.listUserStudios
|
|
11475
11454
|
*/
|
package/runtime/AuxVersion.d.ts
CHANGED
|
@@ -595,7 +595,7 @@ export interface SetRoomOptionsAction extends AsyncAction {
|
|
|
595
595
|
/**
|
|
596
596
|
* Defines a set of options that the local user can have for a room.
|
|
597
597
|
*
|
|
598
|
-
* @dochash types/os
|
|
598
|
+
* @dochash types/os/portals
|
|
599
599
|
* @docname RoomOptions
|
|
600
600
|
*/
|
|
601
601
|
export interface RoomOptions {
|
|
@@ -615,7 +615,7 @@ export interface RoomOptions {
|
|
|
615
615
|
/**
|
|
616
616
|
* Defines a set of options that the local usr can specify when joining a room.
|
|
617
617
|
*
|
|
618
|
-
* @dochash types/os
|
|
618
|
+
* @dochash types/os/portals
|
|
619
619
|
* @docname RoomJoinOptions
|
|
620
620
|
*/
|
|
621
621
|
export interface RoomJoinOptions extends RoomOptions {
|
|
@@ -687,7 +687,7 @@ export interface SetRoomTrackOptionsAction extends AsyncAction {
|
|
|
687
687
|
/**
|
|
688
688
|
* Defines an interface that represents the set of options that can be set on a room video/audio track.
|
|
689
689
|
*
|
|
690
|
-
* @dochash types/os
|
|
690
|
+
* @dochash types/os/portals
|
|
691
691
|
* @docname SetRoomTrackOptions
|
|
692
692
|
*/
|
|
693
693
|
export interface SetRoomTrackOptions {
|
|
@@ -704,7 +704,7 @@ export interface SetRoomTrackOptions {
|
|
|
704
704
|
/**
|
|
705
705
|
* Defines an interface that represents the options that a audio/video track has.
|
|
706
706
|
*
|
|
707
|
-
* @dochash types/os
|
|
707
|
+
* @dochash types/os/portals
|
|
708
708
|
* @docname RoomTrackOptions
|
|
709
709
|
*/
|
|
710
710
|
export interface RoomTrackOptions {
|
|
@@ -749,7 +749,7 @@ export type TrackSource = 'camera' | 'microphone' | 'screen_share' | 'screen_sha
|
|
|
749
749
|
/**
|
|
750
750
|
* Defines the possible qualities that a track can stream at.
|
|
751
751
|
*
|
|
752
|
-
* @dochash types/os
|
|
752
|
+
* @dochash types/os/portals
|
|
753
753
|
* @docname TrackVideoQuality
|
|
754
754
|
*/
|
|
755
755
|
export type TrackVideoQuality = 'high' | 'medium' | 'low' | 'off';
|
|
@@ -770,7 +770,7 @@ export interface GetRoomRemoteOptionsAction extends AsyncAction {
|
|
|
770
770
|
/**
|
|
771
771
|
* Defines an interface that contains options for a remote room user.
|
|
772
772
|
*
|
|
773
|
-
* @dochash types/os
|
|
773
|
+
* @dochash types/os/portals
|
|
774
774
|
* @docname RoomRemoteOptions
|
|
775
775
|
*/
|
|
776
776
|
export interface RoomRemoteOptions {
|