Skip to content

Commit 07054a5

Browse files
committed
0.13.3 - Support older FPFSS versions
1 parent 398ef11 commit 07054a5

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
1111
[dependencies]
1212
napi = { version = "2", features = ["async", "serde-json"] }
1313
napi-derive = "2"
14-
flashpoint-archive = { path = "../../crates/flashpoint-archive", features = ["napi"] }
14+
flashpoint-archive = { version = "0.13.3", features = ["napi"] }
1515

1616
[build-dependencies]
1717
napi-build = "2"

index.d.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export interface FieldFilter {
8484
applicationPath?: Array<string>
8585
launchCommand?: Array<string>
8686
ruffleSupport?: Array<string>
87+
owner?: Array<string>
8788
ext?: Record<string, Record<string, Array<string>>>
8889
}
8990
export interface BoolFilter {
@@ -154,6 +155,7 @@ export interface AdditionalApp {
154155
}
155156
export interface Game {
156157
id: string
158+
owner: string
157159
library: string
158160
title: string
159161
alternateTitles: string
@@ -196,6 +198,7 @@ export interface Game {
196198
}
197199
export interface PartialGame {
198200
id: string
201+
owner?: string
199202
library?: string
200203
title?: string
201204
alternateTitles?: string
@@ -365,8 +368,8 @@ export interface RemoteGame {
365368
library: string
366369
platformName: string
367370
archiveState: number
368-
logoPath: string
369-
screenshotPath: string
371+
logoPath?: string
372+
screenshotPath?: string
370373
ruffleSupport: string
371374
}
372375
export interface RemoteCategory {
@@ -472,7 +475,7 @@ export class FlashpointArchive {
472475
updateApplyCategories(cats: Array<RemoteCategory>): Promise<void>
473476
updateApplyPlatforms(plats: Array<RemotePlatform>): Promise<void>
474477
updateApplyTags(tags: Array<RemoteTag>): Promise<void>
475-
updateApplyGames(games: RemoteGamesRes): Promise<void>
478+
updateApplyGames(games: RemoteGamesRes, owner: string): Promise<void>
476479
updateDeleteGames(games: RemoteDeletedGamesRes): Promise<void>
477480
updateApplyRedirects(redirects: Array<GameRedirect>): Promise<void>
478481
optimizeDatabase(): Promise<void>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fparchive/flashpoint-archive",
3-
"version": "0.13.2",
3+
"version": "0.13.3",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"license": "MIT",

0 commit comments

Comments
 (0)