@akashic/playlog
Advanced tools
Comparing version 1.3.1 to 1.3.2
# CHANGELOG | ||
## 1.3.2 | ||
* strict化対応 | ||
## 1.3.1 | ||
* 初期リリース |
@@ -10,3 +10,3 @@ import * as storage from "./StorageData"; | ||
PointUp = 35, | ||
Operation = 64, | ||
Operation = 64 | ||
} | ||
@@ -17,3 +17,3 @@ export interface Event extends Array<any> { | ||
1: number; | ||
2: string; | ||
2: string | null; | ||
} | ||
@@ -23,3 +23,3 @@ export declare const enum EventIndex { | ||
Priority = 1, | ||
PlayerId = 2, | ||
PlayerId = 2 | ||
} | ||
@@ -35,3 +35,3 @@ export interface JoinEvent extends Event { | ||
PlayerName = 3, | ||
StorageData = 4, | ||
StorageData = 4 | ||
} | ||
@@ -43,3 +43,3 @@ export interface LeaveEvent extends Event { | ||
Priority = 1, | ||
PlayerId = 2, | ||
PlayerId = 2 | ||
} | ||
@@ -53,3 +53,3 @@ export interface TimestampEvent extends Event { | ||
PlayerId = 2, | ||
Timestamp = 3, | ||
Timestamp = 3 | ||
} | ||
@@ -63,3 +63,3 @@ export interface MessageEvent extends Event { | ||
PlayerId = 2, | ||
Data = 3, | ||
Data = 3 | ||
} | ||
@@ -79,3 +79,3 @@ export interface PointDownEvent extends Event { | ||
Y = 5, | ||
EntityId = 6, | ||
EntityId = 6 | ||
} | ||
@@ -103,3 +103,3 @@ export interface PointMoveEvent extends Event { | ||
PrevDeltaY = 9, | ||
EntityId = 10, | ||
EntityId = 10 | ||
} | ||
@@ -127,3 +127,3 @@ export interface PointUpEvent extends Event { | ||
PrevDeltaY = 9, | ||
EntityId = 10, | ||
EntityId = 10 | ||
} | ||
@@ -139,3 +139,3 @@ export interface OperationEvent extends Event { | ||
OperationCode = 3, | ||
Data = 4, | ||
Data = 4 | ||
} |
@@ -0,6 +1,7 @@ | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./Tick")); | ||
__export(require("./Event")); | ||
__export(require("./StorageData")); |
@@ -6,3 +6,3 @@ import * as Event from "./Event"; | ||
0: number; | ||
1?: Event.Event[]; | ||
1?: Event.Event[] | null; | ||
2?: StorageData[]; | ||
@@ -13,3 +13,3 @@ } | ||
Events = 1, | ||
StorageData = 2, | ||
StorageData = 2 | ||
} | ||
@@ -25,3 +25,3 @@ export interface TickList extends Array<any> { | ||
To = 1, | ||
Ticks = 2, | ||
Ticks = 2 | ||
} |
{ | ||
"name": "@akashic/playlog", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "The interface definition of Playlog, the serialization format of Akashic game execution", | ||
@@ -11,7 +11,10 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"prepublish": "gulp clean && npm run build", | ||
"build": "gulp compile", | ||
"test": "gulp test && npm run lint", | ||
"lint": "gulp lint && npm run lint:md", | ||
"lint:md": "remark ./*.md --frail --no-stdout --quiet --rc-path ./.remarkrc" | ||
"prepublish": "npm run clean && npm run build", | ||
"clean": "rimraf ./lib && rimraf ./test/build", | ||
"build": "tsc -p ./", | ||
"test": "cd ./test && tsc -p ./", | ||
"lint": "npm run lint:ts && npm run lint:md && npm run textlint", | ||
"lint:ts": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts*' 'test/*.ts'", | ||
"lint:md": "remark ./*.md --frail --no-stdout --quiet --rc-path .remarkrc", | ||
"textlint": "textlint -f pretty-error ./README.md" | ||
}, | ||
@@ -25,14 +28,11 @@ "repository": { | ||
"devDependencies": { | ||
"del": "^2.2.0", | ||
"gulp": "^3.9.0", | ||
"gulp-shell": "^0.5.1", | ||
"gulp-tslint": "^4.3.1", | ||
"remark-cli": "~2.0.0", | ||
"remark-lint": "~5.0.1", | ||
"textlint": "^5.2.0", | ||
"rimraf": "^2.6.3", | ||
"textlint": "^11.2.6", | ||
"textlint-rule-max-ten": "^2.0.1", | ||
"textlint-rule-no-mix-dearu-desumasu": "^1.4.0", | ||
"textlint-rule-prh": "^2.2.1", | ||
"tslint": "^3.2.2", | ||
"typescript": "1.7.5" | ||
"textlint-rule-no-mix-dearu-desumasu": "^4.0.0", | ||
"textlint-rule-prh": "^5.2.1", | ||
"remark-cli": "~6.0.1", | ||
"remark-lint": "~6.0.5", | ||
"tslint": "~5.18.0", | ||
"typescript": "~3.5.2" | ||
}, | ||
@@ -39,0 +39,0 @@ "typings": "lib/index.d.ts", |
14491
9
191