@casual-simulation/aux-common 3.1.35 → 3.2.0
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/bots/Bot.d.ts +426 -43
- package/bots/Bot.js.map +1 -1
- package/bots/BotEvents.d.ts +238 -31
- package/bots/BotEvents.js +15 -0
- package/bots/BotEvents.js.map +1 -1
- package/bots/StoredAux.d.ts +2 -0
- package/bots/StoredAux.js.map +1 -1
- package/math/Quaternion.d.ts +7 -0
- package/math/Quaternion.js +7 -0
- package/math/Quaternion.js.map +1 -1
- package/math/Rotation.d.ts +54 -2
- package/math/Rotation.js +9 -2
- package/math/Rotation.js.map +1 -1
- package/math/Vector2.d.ts +6 -0
- package/math/Vector2.js +6 -0
- package/math/Vector2.js.map +1 -1
- package/math/Vector3.d.ts +6 -0
- package/math/Vector3.js +6 -0
- package/math/Vector3.js.map +1 -1
- package/package.json +5 -5
- package/runtime/AuxDevice.d.ts +3 -0
- package/runtime/AuxLibrary.d.ts +1275 -49
- package/runtime/AuxLibrary.js +5165 -828
- package/runtime/AuxLibrary.js.map +1 -1
- package/runtime/AuxLibraryDefinitions.def +58 -4
- package/runtime/AuxVersion.d.ts +2 -0
|
@@ -3329,7 +3329,7 @@ export interface RecordActionOptions {
|
|
|
3329
3329
|
endpoint?: string;
|
|
3330
3330
|
}
|
|
3331
3331
|
|
|
3332
|
-
export type
|
|
3332
|
+
export type GrantMarkerPermissionResult =
|
|
3333
3333
|
| GrantMarkerPermissionSuccess
|
|
3334
3334
|
| GrantMarkerPermissionFailure;
|
|
3335
3335
|
|
|
@@ -7453,7 +7453,7 @@ export interface PauseTrigger extends PauseTriggerOptions {
|
|
|
7453
7453
|
/**
|
|
7454
7454
|
* Defines an interface for a possible pause trigger location.
|
|
7455
7455
|
*/
|
|
7456
|
-
export interface
|
|
7456
|
+
export interface PossiblePauseTriggerLocation {
|
|
7457
7457
|
/**
|
|
7458
7458
|
* The line number that the trigger would pause the debugger at.
|
|
7459
7459
|
*/
|
|
@@ -8671,7 +8671,7 @@ interface DebuggerBase {
|
|
|
8671
8671
|
* @param botOrId The bot or bot ID.
|
|
8672
8672
|
* @param tag The name of the tag that the trigger locations should be listed for.
|
|
8673
8673
|
*/
|
|
8674
|
-
listCommonPauseTriggers(botOrId: Bot | string, tag: string):
|
|
8674
|
+
listCommonPauseTriggers(botOrId: Bot | string, tag: string): PossiblePauseTriggerLocation[];
|
|
8675
8675
|
|
|
8676
8676
|
/**
|
|
8677
8677
|
* Resumes the debugger execution from the given pause.
|
|
@@ -10664,7 +10664,7 @@ interface Os {
|
|
|
10664
10664
|
marker: string,
|
|
10665
10665
|
permission: object,
|
|
10666
10666
|
options?: RecordActionOptions
|
|
10667
|
-
): Promise<
|
|
10667
|
+
): Promise<GrantMarkerPermissionResult>;
|
|
10668
10668
|
|
|
10669
10669
|
/**
|
|
10670
10670
|
* Revokes the given permission from the given marker in the given record.
|
|
@@ -10869,6 +10869,60 @@ interface Os {
|
|
|
10869
10869
|
*/
|
|
10870
10870
|
getFile(urlOrRecordFileResult: string | RecordFileSuccess): Promise<any>;
|
|
10871
10871
|
|
|
10872
|
+
/**
|
|
10873
|
+
* Gets the data stored in the given public file.
|
|
10874
|
+
* Only works for files that have the `publicRead` marker.
|
|
10875
|
+
* If the file is not public, then this operation will fail.
|
|
10876
|
+
* @param result The successful result of a os.recordFile() call.
|
|
10877
|
+
* @param endpoint The endpoint that should be queried. Optional.
|
|
10878
|
+
*/
|
|
10879
|
+
getPublicFile(result: RecordFileSuccess): Promise<any>;
|
|
10880
|
+
|
|
10881
|
+
/**
|
|
10882
|
+
* Gets the data stored in the given public file.
|
|
10883
|
+
* Only works for files that have the `publicRead` marker.
|
|
10884
|
+
* If the file is not public, then this operation will fail.
|
|
10885
|
+
* @param url The URL that the public file is stored at.
|
|
10886
|
+
*/
|
|
10887
|
+
getPublicFile(url: string): Promise<any>;
|
|
10888
|
+
|
|
10889
|
+
/**
|
|
10890
|
+
* Gets the data stored in the given public file.
|
|
10891
|
+
* Only works for files that have the `publicRead` marker.
|
|
10892
|
+
* If the file is not public, then this operation will fail.
|
|
10893
|
+
* @param urlOrRecordFileResult The URL or the successful result of the record file operation.
|
|
10894
|
+
*/
|
|
10895
|
+
getPublicFile(
|
|
10896
|
+
urlOrRecordFileResult: string | RecordFileSuccess
|
|
10897
|
+
): Promise<string>;
|
|
10898
|
+
|
|
10899
|
+
/**
|
|
10900
|
+
* Gets the data stored in the given private file.
|
|
10901
|
+
* @param result The successful result of a os.recordFile() call.
|
|
10902
|
+
* @param endpoint The endpoint that should be queried. Optional.
|
|
10903
|
+
*/
|
|
10904
|
+
getPrivateFile(
|
|
10905
|
+
result: RecordFileSuccess,
|
|
10906
|
+
endpoint?: string
|
|
10907
|
+
): Promise<any>;
|
|
10908
|
+
|
|
10909
|
+
/**
|
|
10910
|
+
* Gets the data stored in the given private file.
|
|
10911
|
+
* @param url The URL that the public file is stored at.
|
|
10912
|
+
* @param endpoint The endpoint that should be queried. Optional.
|
|
10913
|
+
*/
|
|
10914
|
+
getPrivateFile(url: string, endpoint?: string): Promise<any>;
|
|
10915
|
+
|
|
10916
|
+
/**
|
|
10917
|
+
* Gets the data stored in the given private file.
|
|
10918
|
+
* @param urlOrRecordFileResult The URL or the successful result of the record file operation.
|
|
10919
|
+
* @param endpoint The endpoint that should be queried. Optional.
|
|
10920
|
+
*/
|
|
10921
|
+
getPrivateFile(
|
|
10922
|
+
urlOrRecordFileResult: string | RecordFileSuccess,
|
|
10923
|
+
endpoint?: string
|
|
10924
|
+
): Promise<string>;
|
|
10925
|
+
|
|
10872
10926
|
/**
|
|
10873
10927
|
* Deletes the specified file using the given record key.
|
|
10874
10928
|
* @param recordKey The key that should be used to delete the file.
|