Preparing search index...
The search index is not available
@refinio/one.models
@refinio/one.models
fileSystems/cachedDirectories/DateDirectories
DateDirectories
Class DateDirectories<T>
This directory generates three levels of directories:
/
/
Type Parameters
T
=
unknown
Implements
IDirectory
Index
Constructors
constructor
Methods
create
Directory
Content
set
Sub
Directory
set
Sub
Directory
As
Function
Constructors
constructor
new
Date
Directories
<
T
>
(
iterator
)
:
DateDirectories
<
T
>
Type Parameters
T
=
unknown
Parameters
iterator
:
ChannelIterator
<
T
>
Returns
DateDirectories
<
T
>
Methods
create
Directory
Content
create
Directory
Content
(
)
:
Promise
<
EasyDirectoryContent
>
Returns
Promise
<
EasyDirectoryContent
>
set
Sub
Directory
set
Sub
Directory
<
DirT
>
(
subDirectoryFactory
)
:
default
<
ExtractSubDirectoryParamsT
<
DirT
>
>
Type Parameters
DirT
extends
IDirectory
Parameters
subDirectoryFactory
:
(
(
subDirectoryParams
:
{
day
:
number
;
month
:
number
;
year
:
number
;
}
)
=>
DirT
)
(
subDirectoryParams
)
:
DirT
Parameters
subDirectoryParams
:
{
day
:
number
;
month
:
number
;
year
:
number
;
}
day
:
number
month
:
number
year
:
number
Returns
DirT
Returns
default
<
ExtractSubDirectoryParamsT
<
DirT
>
>
set
Sub
Directory
As
Function
set
Sub
Directory
As
Function
(
subDirectoryFactory
)
:
void
Parameters
subDirectoryFactory
:
(
(
subDirectoryParams
:
{
day
:
number
;
month
:
number
;
year
:
number
;
}
)
=>
EasyDirectoryContent
|
Promise
<
EasyDirectoryContent
>
)
(
subDirectoryParams
)
:
EasyDirectoryContent
|
Promise
<
EasyDirectoryContent
>
Parameters
subDirectoryParams
:
{
day
:
number
;
month
:
number
;
year
:
number
;
}
day
:
number
month
:
number
year
:
number
Returns
EasyDirectoryContent
|
Promise
<
EasyDirectoryContent
>
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Directory
Content
set
Sub
Directory
set
Sub
Directory
As
Function
@refinio/one.models
Loading...
This directory generates three levels of directories://