Class: StructureManager<T>
Type parameters
Name | Type |
---|---|
T | extends Base |
Hierarchy
Base
↳
StructureManager
Constructors
constructor
• new StructureManager<T
>(app
, object
, _fetch
)
Type parameters
Name | Type |
---|---|
T | extends Base <T > |
Parameters
Name | Type |
---|---|
app | App |
object | NonRuntimeClass <T > |
_fetch | (id : string ) => Promise <unknown > |
Overrides
Base.constructor
Defined in
packages/disploy/src/structs/managers/StructureManager.ts:6
Properties
_fetch
• Private
_fetch: (id
: string
) => Promise
<unknown
>
Type declaration
▸ (id
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<unknown
>
Defined in
packages/disploy/src/structs/managers/StructureManager.ts:6
app
• app: App
Inherited from
Base.app
Defined in
packages/disploy/src/structs/Base.ts:4
object
• Private
object: NonRuntimeClass
<T
>
Defined in
packages/disploy/src/structs/managers/StructureManager.ts:6
Methods
fetch
▸ fetch(id
): Promise
<T
>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<T
>
Defined in
packages/disploy/src/structs/managers/StructureManager.ts:10