forked from goplus/builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: modify files according to the specification (goplus#68)
* fix: remove ts-ignore and resolve some type check * chore: modify files according to the specification * chore: remove project manage demo
- Loading branch information
Showing
13 changed files
with
63 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ | |
* @Date: 2024-01-22 10:28:03 | ||
* @LastEditors: TuGitee [email protected] | ||
* @LastEditTime: 2024-01-25 15:03:08 | ||
* @FilePath: \builder\spx-gui\src\class\AssetBase.ts | ||
* @FilePath: \builder\spx-gui\src\class\asset-base.ts | ||
* @Description: The abstract class of an asset. | ||
*/ | ||
import type file from "@/interface/file"; | ||
import type { AssetBaseInterface } from "@/interface/file"; | ||
import { getStorage } from "@/util/class"; | ||
import FileWithUrl from "@/class/FileWithUrl"; | ||
import { isObjectEmpty } from "@/util/global"; | ||
|
@@ -19,7 +19,7 @@ import type { Config } from '@/interface/file'; | |
* @author tgb | ||
* @createDate 2024-01-18 | ||
*/ | ||
export default abstract class AssetBase implements file { | ||
export abstract class AssetBase implements AssetBaseInterface { | ||
protected _files: FileWithUrl[]; | ||
public name: string; | ||
public abstract config: Config; | ||
|
6 changes: 3 additions & 3 deletions
6
spx-gui/src/class/AssetList.ts → spx-gui/src/class/asset-list.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.