FileRef and EntryRef typedefs
This commit is contained in:
@@ -3,5 +3,5 @@ package nat;
|
|||||||
typedef Entry = {
|
typedef Entry = {
|
||||||
id:String,
|
id:String,
|
||||||
components:Map<String, String>,
|
components:Map<String, String>,
|
||||||
files:Array<String>
|
files:Array<FileRef>
|
||||||
};
|
};
|
||||||
|
|||||||
3
projects/nat-archive-tool/src/nat/EntryRef.hx
Normal file
3
projects/nat-archive-tool/src/nat/EntryRef.hx
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
package nat;
|
||||||
|
|
||||||
|
typedef EntryRef = String;
|
||||||
3
projects/nat-archive-tool/src/nat/FileRef.hx
Normal file
3
projects/nat-archive-tool/src/nat/FileRef.hx
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
package nat;
|
||||||
|
|
||||||
|
typedef FileRef = String;
|
||||||
@@ -7,7 +7,7 @@ import haxe.Json;
|
|||||||
|
|
||||||
using haxe.io.Path;
|
using haxe.io.Path;
|
||||||
|
|
||||||
typedef AttachmentProcessor = (Archive, Entry, Array<String>) -> Dynamic;
|
typedef AttachmentProcessor = (Archive, Entry, Array<FileRef>) -> Dynamic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base System that processes Entries based on whether they have file attachments
|
* Base System that processes Entries based on whether they have file attachments
|
||||||
|
|||||||
Reference in New Issue
Block a user