@arcadia-eternity/interface 0.0.0-stage → 4.3.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/LICENSE +21 -0
- package/dist/index.js +0 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/interface.d.ts +76 -0
- package/dist/src/interface.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +34 -3
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Arcadia Eternity contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.js
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { BattleMessage, BattleState, playerId, PlayerSelection, PlayerTimerState, TimerConfig, Events } from '@arcadia-eternity/const';
|
|
2
|
+
export interface BattleRuntimeSnapshot {
|
|
3
|
+
/** Snapshot format identifier for compatibility checks. */
|
|
4
|
+
format: string;
|
|
5
|
+
/** Monotonic schema version for this format. */
|
|
6
|
+
version: number;
|
|
7
|
+
/** Serialized runtime payload (usually engine world snapshot JSON). */
|
|
8
|
+
payload: string;
|
|
9
|
+
}
|
|
10
|
+
export type BattlePhaseExecutionTransition = 'begin' | 'commit' | 'fail';
|
|
11
|
+
export interface BattlePhaseExecutionEvent {
|
|
12
|
+
transition: BattlePhaseExecutionTransition;
|
|
13
|
+
phaseId: string;
|
|
14
|
+
phaseType: string;
|
|
15
|
+
phaseState: string;
|
|
16
|
+
stackDepth: number;
|
|
17
|
+
timestamp: number;
|
|
18
|
+
error?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IBattleSystem {
|
|
21
|
+
ready(): Promise<void>;
|
|
22
|
+
getState(playerId?: playerId, showHidden?: boolean): Promise<BattleState>;
|
|
23
|
+
getAvailableSelection(playerId: playerId): Promise<PlayerSelection[]>;
|
|
24
|
+
submitAction(selection: PlayerSelection): Promise<void>;
|
|
25
|
+
BattleEvent(callback: (message: BattleMessage) => void): () => void;
|
|
26
|
+
isTimerEnabled(): Promise<boolean>;
|
|
27
|
+
getPlayerTimerState(playerId: playerId): Promise<PlayerTimerState | null>;
|
|
28
|
+
getAllPlayerTimerStates(): Promise<PlayerTimerState[]>;
|
|
29
|
+
getTimerConfig(): Promise<TimerConfig>;
|
|
30
|
+
startAnimation(source: string, expectedDuration: number, ownerId: playerId): Promise<string>;
|
|
31
|
+
endAnimation(animationId: string, actualDuration?: number): Promise<void>;
|
|
32
|
+
startReconnectGraceTimer?(playerId: playerId, durationSec: number): Promise<void>;
|
|
33
|
+
cancelReconnectGraceTimer?(playerId: playerId): Promise<void>;
|
|
34
|
+
onTimerEvent<K extends keyof Events>(eventType: K, handler: (data: Events[K]) => void): () => void;
|
|
35
|
+
offTimerEvent<K extends keyof Events>(eventType: K, handler: (data: Events[K]) => void): void;
|
|
36
|
+
/**
|
|
37
|
+
* Clean up all resources and subscriptions associated with this battle system
|
|
38
|
+
*/
|
|
39
|
+
cleanup(): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Optional runtime snapshot API for host migration/recovery.
|
|
42
|
+
*/
|
|
43
|
+
createRuntimeSnapshot?(): Promise<BattleRuntimeSnapshot>;
|
|
44
|
+
restoreRuntimeSnapshot?(snapshot: BattleRuntimeSnapshot): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Optional phase execution lifecycle feed for deterministic host checkpoints.
|
|
47
|
+
*/
|
|
48
|
+
onPhaseExecutionEvent?(handler: (event: BattlePhaseExecutionEvent) => void | Promise<void>): () => void;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 开发者功能接口 - 仅在开发模式下可用
|
|
52
|
+
*/
|
|
53
|
+
export interface IDeveloperBattleSystem {
|
|
54
|
+
/**
|
|
55
|
+
* 设置宠物血量(开发者功能)
|
|
56
|
+
*/
|
|
57
|
+
setDevPetHp(petId: string, hp: number): void;
|
|
58
|
+
/**
|
|
59
|
+
* 设置玩家怒气(开发者功能)
|
|
60
|
+
*/
|
|
61
|
+
setDevPlayerRage(playerId: string, rage: number): void;
|
|
62
|
+
/**
|
|
63
|
+
* 强制AI选择(开发者功能)
|
|
64
|
+
*/
|
|
65
|
+
forceAISelection(selection: PlayerSelection): void;
|
|
66
|
+
/**
|
|
67
|
+
* 获取指定玩家的可用操作(开发者功能)
|
|
68
|
+
*/
|
|
69
|
+
getAvailableActionsForPlayer(playerId: string): PlayerSelection[];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* 带开发者功能的战斗系统接口
|
|
73
|
+
*/
|
|
74
|
+
export interface IBattleSystemWithDev extends IBattleSystem, IDeveloperBattleSystem {
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../src/interface.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"7.0.0-dev.20260504.1","root":[[119,120]],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../const/dist/src/battlePhase.d.ts","../../const/dist/src/battleStatus.d.ts","../../const/dist/src/category.d.ts","../../const/dist/src/cleanStageStrategy.d.ts","../../const/dist/src/const.d.ts","../../const/dist/src/continuousUseSkillStrategy.d.ts","../../const/dist/src/effectTrigger.d.ts","../../const/dist/src/element.d.ts","../../const/dist/src/timer.d.ts","../../const/dist/src/event.d.ts","../../const/dist/src/gender.d.ts","../../const/dist/src/ingoreStageStrategy.d.ts","../../const/dist/src/mark.d.ts","../../../node_modules/.pnpm/@dmsnell+diff-match-patch@1.1.0/node_modules/@dmsnell/diff-match-patch/index.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/contexts/diff.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/types.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/contexts/context.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/contexts/patch.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/contexts/reverse.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/date-reviver.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/pipe.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/processor.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/diffpatcher.d.ts","../../../node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/index.d.ts","../../const/dist/src/message.d.ts","../../const/dist/src/nature.d.ts","../../const/dist/src/teamSelection.d.ts","../../const/dist/src/selection.d.ts","../../const/dist/src/setStageStrategy.d.ts","../../const/dist/src/index.d.ts","../src/interface.ts","../src/index.ts"],"fileInfos":[{"version":"a1aa1a5e065d48ef5c7bb99e38412f96","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"01ac052ec4a79e87229f90466a9645f8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"edba5df642941aa062a62f6328c6df3d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bb3a710cbcda0533bb127712927cbe37","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7a42de379b489e8f7b647455bebfc576","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"692bcd75364db0f65d428801c7884466","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"8a64c99ba8e36f128fe878589c01c59c","f699507a03d2af2af17ca04f94182ce6","0b9b2201ac4ce6fde5659cc19e22e4db","97d63091fd4a3f4865941d1efac6b547","8233d29d258ffef618e4188078b64e8a","81092b928345f09e5504f1becb637864","3b47f7be5cf177f8da0585bfead6758a","1f41ea7d7e12099fee27c5750817c33f","d11e77aa8bf709f01df39ad2f1e41beb","7db25969a802faa748b78bb86ca00e02","b2c5a24f42a0e5bdee556fd5d2a59d8d","971fb057898efc0c7abdd448c9b072c5","7c3249d416eb33752e088fd6f5f875a1",{"version":"fd9b6ef37f4a647a5cf940d90f4bf3dc","impliedNodeFormat":99},{"version":"6928b7ffb48aef542bd1649359cf1612","impliedNodeFormat":99},{"version":"ac478697a55faeb0be474efd89f1e58a","impliedNodeFormat":99},{"version":"226648777f2bd45481377fa486213efc","impliedNodeFormat":99},{"version":"1d097a297199cbbbdf09fbc8d0de76b3","impliedNodeFormat":99},{"version":"fd2412680d36a1d8e1eb1d23ca130e2e","impliedNodeFormat":99},{"version":"2e5c65547df898b0227c1a08264805d2","impliedNodeFormat":99},{"version":"fe5530421d37ae171a752b43e7b36bcf","impliedNodeFormat":99},{"version":"234a95bc8ea6481145f179e16cdb8dd2","impliedNodeFormat":99},{"version":"bb52f72d4126dd0b93849064d87904c6","impliedNodeFormat":99},{"version":"ececf927c2e11c5dbe3b1f7660a48c39","impliedNodeFormat":99},"2abe80b47e527ce560775552ce67d1bb","9498017ae84ed1886d3c3bf8cc7686ac","9bdfafd345ecba36fe62391bbc3a0895","5615c501b3a84f8eda0d1e64bf145bb1","606cf9520c8272d46bd82e1e3266b8e8","e1240f1c7bc35934db771800dc023737",{"version":"c817bb3b1af739ba292b868f3b65f06e","signature":"1f27659801a74aa09390961b0af25865","impliedNodeFormat":1},{"version":"3bfe892d9ac1e3b6ed28ca6be0eda720","signature":"5c5d6cf661faa44e531dff1df53ea141","impliedNodeFormat":1}],"fileIdsList":[[104],[104,105],[104,110],[103,104,105,106,107,108,111],[104,105,110],[103,104,105,106,107,109],[102,103,105],[93,97],[89,90,91,92,93,94,95,96,97,98,99,100,101,113,114,115,116,117],[89,90,91,93,96,101,112],[93],[93,115],[119],[118]],"options":{"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationMap":true,"module":99,"outDir":"./","strict":true,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[105,1],[103,2],[106,2],[107,2],[111,3],[112,4],[109,5],[110,6],[104,7],[98,8],[118,9],[113,10],[114,11],[116,12],[115,11],[97,11],[120,13],[119,14]],"latestChangedDtsFile":"./src/index.d.ts"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcadia-eternity/interface",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "4.3.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/arcadia-eternity/arcadia-eternity.git",
|
|
9
|
+
"directory": "packages/interface"
|
|
10
|
+
},
|
|
11
|
+
"main": "./dist/index.js",
|
|
12
|
+
"types": "./dist/src/index.d.ts",
|
|
13
|
+
"keywords": [],
|
|
14
|
+
"author": "yuuinih",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@arcadia-eternity/const": "4.3.0"
|
|
18
|
+
},
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"registry": "https://registry.npmjs.org",
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "run-p build:code build:types",
|
|
29
|
+
"clear": "rm -rf dist",
|
|
30
|
+
"build:code": "rolldown -c",
|
|
31
|
+
"watch:code": "rolldown -c --watch",
|
|
32
|
+
"watch:types": "pnpm exec tsgo --emitDeclarationOnly --watch --preserveWatchOutput",
|
|
33
|
+
"watch": "run-p watch:code watch:types",
|
|
34
|
+
"build:types": "pnpm exec tsgo --emitDeclarationOnly",
|
|
35
|
+
"typecheck": "pnpm exec tsgo --noEmit"
|
|
36
|
+
}
|
|
6
37
|
}
|
package/README.md
DELETED