@mtkruto/node 0.72.1 → 0.73.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/esm/client/0_abortable_loop.d.ts.map +1 -1
- package/esm/client/0_abortable_loop.js +17 -10
- package/esm/client/0_abortable_loop_test.d.ts.map +1 -0
- package/esm/client/0_params.d.ts +36 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +4 -4
- package/esm/client/4_chat_manager.d.ts +2 -1
- package/esm/client/4_chat_manager.d.ts.map +1 -1
- package/esm/client/4_chat_manager.js +14 -1
- package/esm/client/5_client.d.ts +11 -1
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +14 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/equals.js +4 -4
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
- package/{script/deps/jsr.io/@std/internal/1.0.10 → esm/deps/jsr.io/@std/internal/1.0.12}/build_message.d.ts +3 -5
- package/esm/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/build_message.js +13 -7
- package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/os.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/types.d.ts +25 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/extname.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/join.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.js +1 -1
- package/esm/types/0_chat_administrator_rights.d.ts +9 -9
- package/esm/types/0_chat_administrator_rights.d.ts.map +1 -1
- package/esm/types/0_chat_administrator_rights.js +6 -15
- package/esm/types/1_sticker.js +1 -1
- package/esm/types/2_story_interactive_area.d.ts.map +1 -1
- package/esm/types/2_story_interactive_area.js +4 -3
- package/esm/types/3_chat_member.d.ts.map +1 -1
- package/esm/types/3_chat_member.js +4 -0
- package/esm/types/3_chosen_inline_result.d.ts.map +1 -1
- package/esm/types/3_chosen_inline_result.js +4 -4
- package/esm/types/4_gift.d.ts +3 -4
- package/esm/types/4_gift.d.ts.map +1 -1
- package/esm/types/4_gift.js +3 -4
- package/package.json +1 -1
- package/script/client/0_abortable_loop.d.ts.map +1 -1
- package/script/client/0_abortable_loop.js +17 -10
- package/script/client/0_abortable_loop_test.d.ts.map +1 -0
- package/script/client/0_params.d.ts +36 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/2_account_manager.js +4 -4
- package/script/client/4_chat_manager.d.ts +2 -1
- package/script/client/4_chat_manager.d.ts.map +1 -1
- package/script/client/4_chat_manager.js +13 -0
- package/script/client/5_client.d.ts +11 -1
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +14 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/equals.js +4 -4
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
- package/{esm/deps/jsr.io/@std/internal/1.0.10 → script/deps/jsr.io/@std/internal/1.0.12}/build_message.d.ts +3 -5
- package/script/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/build_message.js +13 -7
- package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/os.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/types.d.ts +25 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/basename.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.2/extname.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.2/join.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.js +1 -1
- package/script/types/0_chat_administrator_rights.d.ts +9 -9
- package/script/types/0_chat_administrator_rights.d.ts.map +1 -1
- package/script/types/0_chat_administrator_rights.js +6 -15
- package/script/types/1_sticker.js +1 -1
- package/script/types/2_story_interactive_area.d.ts.map +1 -1
- package/script/types/2_story_interactive_area.js +4 -3
- package/script/types/3_chat_member.d.ts.map +1 -1
- package/script/types/3_chat_member.js +4 -0
- package/script/types/3_chosen_inline_result.d.ts.map +1 -1
- package/script/types/3_chosen_inline_result.js +3 -3
- package/script/types/4_gift.d.ts +3 -4
- package/script/types/4_gift.d.ts.map +1 -1
- package/script/types/4_gift.js +3 -4
- package/esm/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.10/build_message.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.10/diff_str.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.10/types.d.ts +0 -16
- package/esm/deps/jsr.io/@std/internal/1.0.10/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.10/build_message.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.10/diff_str.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.10/types.d.ts +0 -16
- package/script/deps/jsr.io/@std/internal/1.0.10/types.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/_os.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/os.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/types.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/_os.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/diff_str.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/format.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/os.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/styles.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.10 → 1.0.12}/types.js +0 -0
|
@@ -26,13 +26,13 @@ const _2_tl_js_1 = require("../2_tl.js");
|
|
|
26
26
|
const _0_location_js_1 = require("./0_location.js");
|
|
27
27
|
const _2_user_js_1 = require("./2_user.js");
|
|
28
28
|
function constructChosenInlineResult(ubis, getPeer) {
|
|
29
|
-
const
|
|
30
|
-
if (!
|
|
29
|
+
const peer = getPeer({ ...ubis, _: "peerUser" });
|
|
30
|
+
if (!peer || peer[0].type !== "private") {
|
|
31
31
|
(0, _0_deps_js_1.unreachable)();
|
|
32
32
|
}
|
|
33
33
|
return (0, _1_utilities_js_1.cleanObject)({
|
|
34
34
|
resultId: ubis.id,
|
|
35
|
-
from: (0, _2_user_js_1.
|
|
35
|
+
from: (0, _2_user_js_1.constructUser2)(peer[0]),
|
|
36
36
|
location: _2_tl_js_1.Api.is("geoPoint", ubis.geo) ? (0, _0_location_js_1.constructLocation)(ubis.geo) : undefined,
|
|
37
37
|
inlineMessageId: ubis.msg_id === undefined ? undefined : (0, _1_utilities_js_1.base64EncodeUrlSafe)(_2_tl_js_1.Api.serializeObject(ubis.msg_id)),
|
|
38
38
|
query: ubis.query,
|
package/script/types/4_gift.d.ts
CHANGED
|
@@ -18,9 +18,8 @@
|
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
20
|
import { Api } from "../2_tl.js";
|
|
21
|
-
import type { PeerGetter } from "./1_chat_p.js";
|
|
21
|
+
import type { ChatP, PeerGetter } from "./1_chat_p.js";
|
|
22
22
|
import { type Sticker } from "./1_sticker.js";
|
|
23
|
-
import { type User } from "./2_user.js";
|
|
24
23
|
import { type GiftUpgradedComponent } from "./3_gift_upgraded_component.js";
|
|
25
24
|
import type { GiftValue } from "./0_gift_value.js";
|
|
26
25
|
/**
|
|
@@ -74,8 +73,8 @@ export interface GiftUpgraded {
|
|
|
74
73
|
ownerName?: string;
|
|
75
74
|
/** The address of the TON wallet that owns the gift. */
|
|
76
75
|
ownerAddress?: string;
|
|
77
|
-
/** The user that owns the gift. */
|
|
78
|
-
owner?:
|
|
76
|
+
/** The user or chat that owns the gift. */
|
|
77
|
+
owner?: ChatP;
|
|
79
78
|
/** The count of the amount of upgraded gifts of the same type. */
|
|
80
79
|
currentUpgrades: number;
|
|
81
80
|
/** The maximum count of gifts of the same type that can be upgraded. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4_gift.d.ts","sourceRoot":"","sources":["../../src/types/4_gift.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"4_gift.d.ts","sourceRoot":"","sources":["../../src/types/4_gift.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAkC,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,qBAAqB;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,kCAAkC;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,QAAQ,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,eAAe,EAAE,MAAM,CAAC;IACxB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,qBAAqB;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,kCAAkC;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,kEAAkE;IAClE,eAAe,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,cAAc;AACd,MAAM,MAAM,IAAI,GAAG,eAAe,GAAG,YAAY,CAAC;AAElD,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,GAAG,IAAI,CAM3E;AACD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,cAAc,EAAE,OAAO,EAAE,UAAU,GAAG,YAAY,CA0CjG;AACD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,CAAC,QAAQ,GAAG,IAAI,CAqCjE"}
|
package/script/types/4_gift.js
CHANGED
|
@@ -27,7 +27,6 @@ const _1_utilities_js_1 = require("../1_utilities.js");
|
|
|
27
27
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
28
28
|
const _file_id_js_1 = require("./_file_id.js");
|
|
29
29
|
const _1_sticker_js_1 = require("./1_sticker.js");
|
|
30
|
-
const _2_user_js_1 = require("./2_user.js");
|
|
31
30
|
const _3_gift_upgraded_component_js_1 = require("./3_gift_upgraded_component.js");
|
|
32
31
|
function constructGift(gift, getPeer) {
|
|
33
32
|
if (_2_tl_js_1.Api.is("starGiftUnique", gift)) {
|
|
@@ -43,9 +42,9 @@ function constructGiftUpgraded(gift, getPeer) {
|
|
|
43
42
|
const index = gift.num;
|
|
44
43
|
let owner;
|
|
45
44
|
if (gift.owner_id) {
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
48
|
-
owner =
|
|
45
|
+
const peer = getPeer(gift.owner_id);
|
|
46
|
+
if (peer) {
|
|
47
|
+
owner = peer[0];
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
50
|
const starsAmount_ = gift.resell_amount?.find((v) => v._ === "starsAmount");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_os.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/_os.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,IAAI,OAAO,CAUtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build_message.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/build_message.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,QAAQ;AAClB;;;GAGG;AACH,UAAU,UAAQ,GACjB,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CASvB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CASrD;AAED,4CAA4C;AAC5C,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAC7C,OAAO,GAAE,mBAAwB,GAChC,MAAM,EAAE,CAsBV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"diff_str.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/diff_str.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAY/C;AAKD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,UAAQ,GAAG,MAAM,EAAE,CAiBnE;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,EACxB,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,GAC3B,UAAU,CAAC,MAAM,CAAC,EAAE,CAetB;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,EAAE,CAkDlE"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** Ways that lines in a diff can be different. */
|
|
2
|
-
export type DiffType = "removed" | "common" | "added";
|
|
3
|
-
/**
|
|
4
|
-
* Represents the result of a diff operation.
|
|
5
|
-
*
|
|
6
|
-
* @typeParam T The type of the value in the diff result.
|
|
7
|
-
*/
|
|
8
|
-
export interface DiffResult<T> {
|
|
9
|
-
/** The type of the diff. */
|
|
10
|
-
type: DiffType;
|
|
11
|
-
/** The value of the diff. */
|
|
12
|
-
value: T;
|
|
13
|
-
/** The details of the diff. */
|
|
14
|
-
details?: DiffResult<T>[];
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/types.ts"],"names":[],"mappings":"AAGA,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,4BAA4B;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,6BAA6B;IAC7B,KAAK,EAAE,CAAC,CAAC;IACT,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_os.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/_os.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,IAAI,OAAO,CAUtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build_message.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/build_message.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,QAAQ;AAClB;;;GAGG;AACH,UAAU,UAAQ,GACjB,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CASvB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CASrD;AAED,4CAA4C;AAC5C,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAC7C,OAAO,GAAE,mBAAwB,GAChC,MAAM,EAAE,CAsBV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"diff_str.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/diff_str.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAY/C;AAKD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,UAAQ,GAAG,MAAM,EAAE,CAiBnE;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,EACxB,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,GAC3B,UAAU,CAAC,MAAM,CAAC,EAAE,CAetB;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,EAAE,CAkDlE"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** Ways that lines in a diff can be different. */
|
|
2
|
-
export type DiffType = "removed" | "common" | "added";
|
|
3
|
-
/**
|
|
4
|
-
* Represents the result of a diff operation.
|
|
5
|
-
*
|
|
6
|
-
* @typeParam T The type of the value in the diff result.
|
|
7
|
-
*/
|
|
8
|
-
export interface DiffResult<T> {
|
|
9
|
-
/** The type of the diff. */
|
|
10
|
-
type: DiffType;
|
|
11
|
-
/** The value of the diff. */
|
|
12
|
-
value: T;
|
|
13
|
-
/** The details of the diff. */
|
|
14
|
-
details?: DiffResult<T>[];
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.10/types.ts"],"names":[],"mappings":"AAGA,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,4BAA4B;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,6BAA6B;IAC7B,KAAK,EAAE,CAAC,CAAC;IACT,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|