Adding upstream version 0.0~git20250307.c2e6a77.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
be99035e76
commit
b6e042e2af
64 changed files with 10976 additions and 0 deletions
19
.gitignore
vendored
Normal file
19
.gitignore
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/.vscode/
|
||||
.idea
|
||||
|
||||
.DS_Store
|
||||
|
||||
# tests coverage
|
||||
coverage.out
|
||||
|
||||
# test data artifacts
|
||||
test/node_modules/
|
||||
test/output.json
|
||||
|
||||
# plaintask todo files
|
||||
*.todo
|
||||
|
||||
# generated markdown previews
|
||||
README.html
|
||||
CHANGELOG.html
|
||||
LICENSE.html
|
22
LICENSE
Normal file
22
LICENSE
Normal file
|
@ -0,0 +1,22 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2022 Guido Zuidhof
|
||||
Copyright (c) 2023-present Gani Georgiev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
79
README.md
Normal file
79
README.md
Normal file
|
@ -0,0 +1,79 @@
|
|||
(EXP) tygoja
|
||||
[](https://pkg.go.dev/github.com/pocketbase/tygoja)
|
||||
======================================================================
|
||||
|
||||
**tygoja** is a small helper library for generating TypeScript declarations from Go code.
|
||||
|
||||
The generated typings are intended to be used as import helpers to provide [ambient TypeScript declarations](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html) (aka. `.d.ts`) for [goja](https://github.com/dop251/goja) bindings.
|
||||
|
||||
> **⚠️ Don't use it directly in production! It is not tagged and may change without notice.**
|
||||
>
|
||||
> **It was created to semi-automate the documentation of the goja integration for PocketBase.**
|
||||
>
|
||||
> **Use it only as a reference or as a non-critical step in your dev pipeline.**
|
||||
|
||||
**tygoja** is a heavily modified fork of [tygo](https://github.com/gzuidhof/tygo) and extends its scope with:
|
||||
|
||||
- custom field and method names formatters
|
||||
- types for interfaces (exported and unexported)
|
||||
- types for exported interface methods
|
||||
- types for exported struct methods
|
||||
- types for exported package level functions (_must enable `PackageConfig.WithPackageFunctions`_)
|
||||
- inheritance declarations for embeded structs (_embedded pointers are treated as values_)
|
||||
- autoloading all unmapped argument and return types (_when possible_)
|
||||
- applying the same [goja's rules](https://pkg.go.dev/github.com/dop251/goja#hdr-Nil) when resolving the return types of exported function and methods
|
||||
- combining multiple packages typings in a single output
|
||||
- generating all declarations in namespaces with the packages name (both unmapped and mapped)
|
||||
- preserving comment block new lines
|
||||
- converting Go comment code blocks to Markdown code blocks
|
||||
- and others...
|
||||
|
||||
Note that by default the generated typings are not generated with `export` since the intended usage is to map them to your custom goja bindings.
|
||||
This mapping could be defined in the `Config.Heading` field usually with the `declare` keyword (eg. `declare let someGojaProp: app.Cache`).
|
||||
|
||||
## Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/pocketbase/tygoja"
|
||||
)
|
||||
|
||||
func main() {
|
||||
gen := tygoja.New(tygoja.Config{
|
||||
Packages: map[string][]string{
|
||||
"github.com/pocketbase/tygoja/test/a": {"*"},
|
||||
"github.com/pocketbase/tygoja/test/b": {"*"},
|
||||
"github.com/pocketbase/tygoja/test/c": {"Example2", "Handler"},
|
||||
},
|
||||
Heading: `declare var $app: c.Handler; // bind other fields `,
|
||||
WithPackageFunctions: true,
|
||||
})
|
||||
|
||||
result, err := gen.Generate()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if err := os.WriteFile("./types.d.ts", []byte(result), 0644); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
You can also combine it with [typedoc](https://typedoc.org/) to create HTML/JSON docs from the generated declaration(s).
|
||||
|
||||
See the package `/test` directory for example output.
|
||||
|
||||
For a more detailed example you can also explore the [PocketBase's jsvm plugin](https://github.com/pocketbase/pocketbase/tree/develop/plugins/jsvm/internal/docs).
|
||||
|
||||
|
||||
## Known issues and limitations
|
||||
|
||||
- Multiple versions of the same package may have unexpected declaration since all versions will be under the same namespace.
|
||||
- For easier generation, it relies on TypeScript declarations merging, meaning that the generated types may not be very compact.
|
||||
- Package level functions and constants, that are reserved JS identifier, are prefixed with underscore (eg. `_in()`).
|
82
config.go
Normal file
82
config.go
Normal file
|
@ -0,0 +1,82 @@
|
|||
package tygoja
|
||||
|
||||
const (
|
||||
defaultIndent = " "
|
||||
|
||||
// custom base types that every package has access to
|
||||
BaseTypeDict = "_TygojaDict" // Record type alternative as a more generic map-like type
|
||||
BaseTypeAny = "_TygojaAny" // any type alias to allow easier extends generation
|
||||
)
|
||||
|
||||
// FieldNameFormatterFunc defines a function for formatting a field name.
|
||||
type FieldNameFormatterFunc func(string) string
|
||||
|
||||
// MethodNameFormatterFunc defines a function for formatting a method name.
|
||||
type MethodNameFormatterFunc func(string) string
|
||||
|
||||
type Config struct {
|
||||
// Packages is a list of package paths just like you would import them in Go.
|
||||
// Use "*" to generate all package types.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// Packages: map[string][]string{
|
||||
// "time": {"Time"},
|
||||
// "github.com/pocketbase/pocketbase/core": {"*"},
|
||||
// }
|
||||
Packages map[string][]string
|
||||
|
||||
// Heading specifies a content that will be put at the top of the output declaration file.
|
||||
//
|
||||
// You would generally use this to import custom types or some custom TS declarations.
|
||||
Heading string
|
||||
|
||||
// TypeMappings specifies custom type translations.
|
||||
//
|
||||
// Useful for for mapping 3rd party package types, eg "unsafe.Pointer" => "CustomType".
|
||||
//
|
||||
// Be default unrecognized types will be recursively generated by
|
||||
// traversing their import package (when possible).
|
||||
TypeMappings map[string]string
|
||||
|
||||
// WithConstants indicates whether to generate types for constants
|
||||
// ("false" by default).
|
||||
WithConstants bool
|
||||
|
||||
// WithPackageFunctions indicates whether to generate types
|
||||
// for package level functions ("false" by default).
|
||||
WithPackageFunctions bool
|
||||
|
||||
// FieldNameFormatter allows specifying a custom struct field name formatter.
|
||||
FieldNameFormatter FieldNameFormatterFunc
|
||||
|
||||
// MethodNameFormatter allows specifying a custom method name formatter.
|
||||
MethodNameFormatter MethodNameFormatterFunc
|
||||
|
||||
// StartModifier usually should be "export" or declare but as of now prevents
|
||||
// the LSP autocompletion so we keep it empty.
|
||||
//
|
||||
// See also:
|
||||
// https://github.com/microsoft/TypeScript/issues/54330
|
||||
// https://github.com/microsoft/TypeScript/pull/49644
|
||||
StartModifier string
|
||||
|
||||
// Indent allow customizing the default indentation (use \t if you want tabs).
|
||||
Indent string
|
||||
}
|
||||
|
||||
// Initializes the defaults (if not already) of the current config.
|
||||
func (c *Config) InitDefaults() {
|
||||
if c.Indent == "" {
|
||||
c.Indent = defaultIndent
|
||||
}
|
||||
|
||||
if c.TypeMappings == nil {
|
||||
c.TypeMappings = make(map[string]string)
|
||||
}
|
||||
|
||||
// special case for the unsafe package because it doesn't return its types in pkg.Syntax
|
||||
if _, ok := c.TypeMappings["unsafe.Pointer"]; !ok {
|
||||
c.TypeMappings["unsafe.Pointer"] = "number"
|
||||
}
|
||||
}
|
10
go.mod
Normal file
10
go.mod
Normal file
|
@ -0,0 +1,10 @@
|
|||
module github.com/pocketbase/tygoja
|
||||
|
||||
go 1.22.0
|
||||
|
||||
require golang.org/x/tools v0.26.0
|
||||
|
||||
require (
|
||||
golang.org/x/mod v0.21.0 // indirect
|
||||
golang.org/x/sync v0.8.0 // indirect
|
||||
)
|
6
go.sum
Normal file
6
go.sum
Normal file
|
@ -0,0 +1,6 @@
|
|||
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
|
||||
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
|
||||
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
|
||||
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
||||
golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ=
|
||||
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
|
38
iota.go
Normal file
38
iota.go
Normal file
|
@ -0,0 +1,38 @@
|
|||
package tygoja
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func isProbablyIotaType(groupType string) bool {
|
||||
groupType = strings.Trim(groupType, "()")
|
||||
return groupType == "iota" || strings.HasPrefix(groupType, "iota +") || strings.HasSuffix(groupType, "+ iota")
|
||||
}
|
||||
|
||||
func basicIotaOffsetValueParse(groupType string) (int, error) {
|
||||
if !isProbablyIotaType(groupType) {
|
||||
panic("can't parse non-iota type")
|
||||
}
|
||||
|
||||
groupType = strings.Trim(groupType, "()")
|
||||
if groupType == "iota" {
|
||||
return 0, nil
|
||||
}
|
||||
parts := strings.Split(groupType, " + ")
|
||||
|
||||
var numPart string
|
||||
if parts[0] == "iota" {
|
||||
numPart = parts[1]
|
||||
} else {
|
||||
numPart = parts[0]
|
||||
}
|
||||
|
||||
addValue, err := strconv.ParseInt(numPart, 10, 64)
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("Failed to guesstimate initial iota value for \"%s\": %w", groupType, err)
|
||||
}
|
||||
|
||||
return int(addValue), nil
|
||||
}
|
104
package_generator.go
Normal file
104
package_generator.go
Normal file
|
@ -0,0 +1,104 @@
|
|||
package tygoja
|
||||
|
||||
import (
|
||||
"go/ast"
|
||||
"go/token"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/tools/go/packages"
|
||||
)
|
||||
|
||||
// PackageGenerator is responsible for generating the code for a single input package.
|
||||
type PackageGenerator struct {
|
||||
conf *Config
|
||||
pkg *packages.Package
|
||||
types []string
|
||||
withPkgDoc bool
|
||||
|
||||
generatedTypes map[string]struct{}
|
||||
unknownTypes map[string]struct{}
|
||||
imports map[string][]string // path -> []names/aliases
|
||||
}
|
||||
|
||||
// Generate generates the typings for a single package.
|
||||
func (g *PackageGenerator) Generate() (string, error) {
|
||||
s := new(strings.Builder)
|
||||
|
||||
namespace := packageNameFromPath(g.pkg.ID)
|
||||
|
||||
s.WriteString("\n")
|
||||
|
||||
if g.withPkgDoc {
|
||||
for _, f := range g.pkg.Syntax {
|
||||
if f.Doc == nil || len(f.Doc.List) == 0 {
|
||||
continue
|
||||
}
|
||||
g.writeCommentGroup(s, f.Doc, 0)
|
||||
}
|
||||
}
|
||||
|
||||
g.writeStartModifier(s, 0)
|
||||
s.WriteString("namespace ")
|
||||
s.WriteString(namespace)
|
||||
s.WriteString(" {\n")
|
||||
|
||||
// register the aliased imports within the package namespace
|
||||
// (see https://www.typescriptlang.org/docs/handbook/namespaces.html#aliases)
|
||||
loadedAliases := map[string]struct{}{}
|
||||
for _, file := range g.pkg.Syntax {
|
||||
for _, imp := range file.Imports {
|
||||
path := strings.Trim(imp.Path.Value, `"' `)
|
||||
|
||||
pgkName := packageNameFromPath(path)
|
||||
alias := pgkName
|
||||
|
||||
if imp.Name != nil && imp.Name.Name != "" && imp.Name.Name != "_" {
|
||||
alias = imp.Name.Name
|
||||
|
||||
if _, ok := loadedAliases[alias]; ok {
|
||||
continue // already registered
|
||||
}
|
||||
|
||||
loadedAliases[alias] = struct{}{}
|
||||
|
||||
g.writeIndent(s, 1)
|
||||
s.WriteString("// @ts-ignore\n")
|
||||
g.writeIndent(s, 1)
|
||||
s.WriteString("import ")
|
||||
s.WriteString(alias)
|
||||
s.WriteString(" = ")
|
||||
s.WriteString(pgkName)
|
||||
s.WriteString("\n")
|
||||
}
|
||||
|
||||
// register the import to export its package later
|
||||
if !exists(g.imports[path], alias) {
|
||||
if g.imports[path] == nil {
|
||||
g.imports[path] = []string{}
|
||||
}
|
||||
g.imports[path] = append(g.imports[path], alias)
|
||||
}
|
||||
}
|
||||
|
||||
ast.Inspect(file, func(n ast.Node) bool {
|
||||
switch x := n.(type) {
|
||||
case *ast.FuncDecl: // FuncDecl can be package level function or struct method
|
||||
g.writeFuncDecl(s, x, 1)
|
||||
return false
|
||||
case *ast.GenDecl: // GenDecl can be an import, type, var, or const expression
|
||||
if x.Tok == token.VAR || x.Tok == token.IMPORT {
|
||||
return false // ignore variables and import statements for now
|
||||
}
|
||||
|
||||
g.writeGroupDecl(s, x, 1)
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
})
|
||||
}
|
||||
|
||||
s.WriteString("}\n")
|
||||
|
||||
return s.String(), nil
|
||||
}
|
31
random.go
Normal file
31
random.go
Normal file
|
@ -0,0 +1,31 @@
|
|||
package tygoja
|
||||
|
||||
import (
|
||||
mathRand "math/rand"
|
||||
"time"
|
||||
)
|
||||
|
||||
const defaultRandomAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||
|
||||
func init() {
|
||||
mathRand.Seed(time.Now().UnixNano())
|
||||
}
|
||||
|
||||
// PseudorandomString generates a pseudorandom string from the default
|
||||
// alphabet with the specified length.
|
||||
func PseudorandomString(length int) string {
|
||||
return PseudorandomStringWithAlphabet(length, defaultRandomAlphabet)
|
||||
}
|
||||
|
||||
// PseudorandomStringWithAlphabet generates a pseudorandom string
|
||||
// with the specified length and characters set.
|
||||
func PseudorandomStringWithAlphabet(length int, alphabet string) string {
|
||||
b := make([]byte, length)
|
||||
max := len(alphabet)
|
||||
|
||||
for i := range b {
|
||||
b[i] = alphabet[mathRand.Intn(max)]
|
||||
}
|
||||
|
||||
return string(b)
|
||||
}
|
36
test/a/interfaces.go
Normal file
36
test/a/interfaces.go
Normal file
|
@ -0,0 +1,36 @@
|
|||
package a
|
||||
|
||||
import "time"
|
||||
|
||||
type Empty interface{}
|
||||
|
||||
// unexported interface
|
||||
type interfaceA[T any] interface {
|
||||
// some comment
|
||||
unexportedFunc()
|
||||
|
||||
// some comment above the function
|
||||
Method0()
|
||||
|
||||
Method1() string // inline comment
|
||||
|
||||
// multi
|
||||
// line
|
||||
// comment
|
||||
Method2(argA, argB string) (T, int)
|
||||
|
||||
Method3(argA int, argB ...string) (T, []string, error)
|
||||
}
|
||||
|
||||
// multi
|
||||
// line
|
||||
// comment
|
||||
type InterfaceB interface {
|
||||
Empty
|
||||
interfaceA[int]
|
||||
|
||||
// "replace" Method0 from interfaceA
|
||||
Method0()
|
||||
|
||||
CustomMethod() time.Time
|
||||
}
|
49
test/a/structs.go
Normal file
49
test/a/structs.go
Normal file
|
@ -0,0 +1,49 @@
|
|||
package a
|
||||
|
||||
type unexported struct {
|
||||
field0 string
|
||||
Field1 string
|
||||
}
|
||||
|
||||
// structA comment
|
||||
type structA struct {
|
||||
Field1 string // after
|
||||
|
||||
// multi
|
||||
// line
|
||||
// comment
|
||||
// with union type
|
||||
Field2 []byte
|
||||
}
|
||||
|
||||
func (s structA) method0() {}
|
||||
|
||||
// method comment
|
||||
func (s structA) Method1(arg1 int) {}
|
||||
|
||||
func (s *structA) Method2(arg1 int, arg2 ...string) {} // after
|
||||
|
||||
// structB comment
|
||||
type StructB[T any] struct {
|
||||
*unexported
|
||||
structA
|
||||
|
||||
Field3 T
|
||||
}
|
||||
|
||||
// StructB.Method3 comment
|
||||
func (s *StructB[T]) Method3(arg1 int) (a int, b string, c error) {
|
||||
return
|
||||
}
|
||||
|
||||
// structC with multiple mixed generic types
|
||||
type StructC[A string, B, C any] struct {
|
||||
Field4 A
|
||||
Field5 B
|
||||
Field6 C
|
||||
}
|
||||
|
||||
// StructC.Method4 comment
|
||||
func (s *StructC[A, B, C]) Method4(arg1 A) (a B, b C, c error) {
|
||||
return
|
||||
}
|
76
test/a/vars.go
Normal file
76
test/a/vars.go
Normal file
|
@ -0,0 +1,76 @@
|
|||
// package a docs
|
||||
// lorem ipsum dolor...
|
||||
package a
|
||||
|
||||
import "time"
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
// variables (note: currently are ignored)
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
var unexportedVar int = 123
|
||||
|
||||
// comment
|
||||
var VarA = 123 // after
|
||||
|
||||
var VarB any = "test"
|
||||
|
||||
// external package type
|
||||
var VarC time.Time = time.Now()
|
||||
|
||||
// chan
|
||||
var VarD = make(chan int)
|
||||
|
||||
// composite
|
||||
var VarE = map[string]func(){"test": func() {}}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
// constants
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
const unexportedConst = "123"
|
||||
|
||||
// comment
|
||||
const ConstA string = "test" // after
|
||||
|
||||
// multi
|
||||
// line
|
||||
// comment
|
||||
const ConstB = 123
|
||||
|
||||
// some generic group comment
|
||||
const (
|
||||
ConstC0 = iota
|
||||
ConstC1 // after
|
||||
ConstC2
|
||||
)
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
// type alias with methods
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// type comment
|
||||
type SliceAlias[T any] []T // after
|
||||
|
||||
// func comment
|
||||
func (s SliceAlias[T]) funcA() {
|
||||
}
|
||||
|
||||
// multi
|
||||
// line
|
||||
// comment
|
||||
func (s SliceAlias[T]) funcB(argA, argB int) {
|
||||
}
|
||||
|
||||
func (s SliceAlias[T]) funcC(argA int, argB ...string) (a T, b int, c error) {
|
||||
return
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
// function type
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// multi
|
||||
// line
|
||||
// comment
|
||||
type Handler[T comparable] func() (T, int) // after
|
51
test/b/functions.go
Normal file
51
test/b/functions.go
Normal file
|
@ -0,0 +1,51 @@
|
|||
// package b
|
||||
package b
|
||||
|
||||
func func0() {}
|
||||
|
||||
// single comment
|
||||
func Func1() {}
|
||||
|
||||
// multi
|
||||
// line
|
||||
// comment
|
||||
func Func2[T any](arg1 int) (a T, b error) {
|
||||
return
|
||||
}
|
||||
|
||||
// function with multiple generic types
|
||||
func Func3[A string, B, C any](arg1 A, arg2 B, arg3 int) (a A, b C) {
|
||||
return
|
||||
}
|
||||
|
||||
// function that returns a function
|
||||
func Func4(arg1 int) (a func() int) {
|
||||
return a
|
||||
}
|
||||
|
||||
// function with ommited argument types
|
||||
func Func5(arg0 string, arg1, arg2 int) {
|
||||
}
|
||||
|
||||
// function with reserved argument name and variadic type
|
||||
func Func6(catch string, optional ...string) {
|
||||
}
|
||||
|
||||
// function with ommited argument names
|
||||
func Func7(string, int, ...bool) {
|
||||
}
|
||||
|
||||
// function with named return values
|
||||
func Func8() (b int, c string) {
|
||||
return
|
||||
}
|
||||
|
||||
// function with shortened return values
|
||||
func Func9() (b, c string) {
|
||||
return
|
||||
}
|
||||
|
||||
// function with named and shortened return values
|
||||
func Func10() (a int, b, c string) {
|
||||
return
|
||||
}
|
59
test/c/c.go
Normal file
59
test/c/c.go
Normal file
|
@ -0,0 +1,59 @@
|
|||
package c
|
||||
|
||||
import "time"
|
||||
|
||||
// func type comment
|
||||
type Handler func() string // after
|
||||
|
||||
type Raw []byte
|
||||
|
||||
type Example1 struct {
|
||||
Name string
|
||||
}
|
||||
|
||||
// Example:
|
||||
//
|
||||
// Some
|
||||
// code
|
||||
// sample
|
||||
type Example2 struct {
|
||||
Title string
|
||||
Json Raw
|
||||
Bytes []byte // should be union
|
||||
}
|
||||
|
||||
func (e *Example1) DemoEx1() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (e *Example2) DemoEx2() time.Time {
|
||||
return time.Time{}
|
||||
}
|
||||
|
||||
// Pointer as argument vs return type
|
||||
func (e *Example2) DemoEx3(arg *Example1) (*Example1, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// ommited types
|
||||
func (e *Example2) DemoEx4(n1, n2, n3 string) {
|
||||
}
|
||||
|
||||
// ommited names
|
||||
func (e *Example2) DemoEx5(string, int) {
|
||||
}
|
||||
|
||||
// named return values
|
||||
func (e *Example2) DemoEx6() (b int, c string) {
|
||||
return
|
||||
}
|
||||
|
||||
// shortened return values
|
||||
func (e *Example2) DemoEx7() (b, c string) {
|
||||
return
|
||||
}
|
||||
|
||||
// named and shortened return values
|
||||
func (e *Example2) DemoEx8() (a int, b, c string) {
|
||||
return
|
||||
}
|
1
test/htmldocs/.nojekyll
Normal file
1
test/htmldocs/.nojekyll
Normal file
|
@ -0,0 +1 @@
|
|||
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
85
test/htmldocs/assets/highlight.css
Normal file
85
test/htmldocs/assets/highlight.css
Normal file
|
@ -0,0 +1,85 @@
|
|||
:root {
|
||||
--light-hl-0: #0000FF;
|
||||
--dark-hl-0: #569CD6;
|
||||
--light-hl-1: #000000;
|
||||
--dark-hl-1: #D4D4D4;
|
||||
--light-hl-2: #A31515;
|
||||
--dark-hl-2: #CE9178;
|
||||
--light-hl-3: #795E26;
|
||||
--dark-hl-3: #DCDCAA;
|
||||
--light-hl-4: #001080;
|
||||
--dark-hl-4: #9CDCFE;
|
||||
--light-hl-5: #267F99;
|
||||
--dark-hl-5: #4EC9B0;
|
||||
--light-hl-6: #AF00DB;
|
||||
--dark-hl-6: #C586C0;
|
||||
--light-hl-7: #098658;
|
||||
--dark-hl-7: #B5CEA8;
|
||||
--light-hl-8: #000000;
|
||||
--dark-hl-8: #C8C8C8;
|
||||
--light-code-background: #FFFFFF;
|
||||
--dark-code-background: #1E1E1E;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) { :root {
|
||||
--hl-0: var(--light-hl-0);
|
||||
--hl-1: var(--light-hl-1);
|
||||
--hl-2: var(--light-hl-2);
|
||||
--hl-3: var(--light-hl-3);
|
||||
--hl-4: var(--light-hl-4);
|
||||
--hl-5: var(--light-hl-5);
|
||||
--hl-6: var(--light-hl-6);
|
||||
--hl-7: var(--light-hl-7);
|
||||
--hl-8: var(--light-hl-8);
|
||||
--code-background: var(--light-code-background);
|
||||
} }
|
||||
|
||||
@media (prefers-color-scheme: dark) { :root {
|
||||
--hl-0: var(--dark-hl-0);
|
||||
--hl-1: var(--dark-hl-1);
|
||||
--hl-2: var(--dark-hl-2);
|
||||
--hl-3: var(--dark-hl-3);
|
||||
--hl-4: var(--dark-hl-4);
|
||||
--hl-5: var(--dark-hl-5);
|
||||
--hl-6: var(--dark-hl-6);
|
||||
--hl-7: var(--dark-hl-7);
|
||||
--hl-8: var(--dark-hl-8);
|
||||
--code-background: var(--dark-code-background);
|
||||
} }
|
||||
|
||||
:root[data-theme='light'] {
|
||||
--hl-0: var(--light-hl-0);
|
||||
--hl-1: var(--light-hl-1);
|
||||
--hl-2: var(--light-hl-2);
|
||||
--hl-3: var(--light-hl-3);
|
||||
--hl-4: var(--light-hl-4);
|
||||
--hl-5: var(--light-hl-5);
|
||||
--hl-6: var(--light-hl-6);
|
||||
--hl-7: var(--light-hl-7);
|
||||
--hl-8: var(--light-hl-8);
|
||||
--code-background: var(--light-code-background);
|
||||
}
|
||||
|
||||
:root[data-theme='dark'] {
|
||||
--hl-0: var(--dark-hl-0);
|
||||
--hl-1: var(--dark-hl-1);
|
||||
--hl-2: var(--dark-hl-2);
|
||||
--hl-3: var(--dark-hl-3);
|
||||
--hl-4: var(--dark-hl-4);
|
||||
--hl-5: var(--dark-hl-5);
|
||||
--hl-6: var(--dark-hl-6);
|
||||
--hl-7: var(--dark-hl-7);
|
||||
--hl-8: var(--dark-hl-8);
|
||||
--code-background: var(--dark-code-background);
|
||||
}
|
||||
|
||||
.hl-0 { color: var(--hl-0); }
|
||||
.hl-1 { color: var(--hl-1); }
|
||||
.hl-2 { color: var(--hl-2); }
|
||||
.hl-3 { color: var(--hl-3); }
|
||||
.hl-4 { color: var(--hl-4); }
|
||||
.hl-5 { color: var(--hl-5); }
|
||||
.hl-6 { color: var(--hl-6); }
|
||||
.hl-7 { color: var(--hl-7); }
|
||||
.hl-8 { color: var(--hl-8); }
|
||||
pre, code { background: var(--code-background); }
|
58
test/htmldocs/assets/main.js
Normal file
58
test/htmldocs/assets/main.js
Normal file
File diff suppressed because one or more lines are too long
1
test/htmldocs/assets/search.js
Normal file
1
test/htmldocs/assets/search.js
Normal file
File diff suppressed because one or more lines are too long
1367
test/htmldocs/assets/style.css
Normal file
1367
test/htmldocs/assets/style.css
Normal file
File diff suppressed because it is too large
Load diff
52
test/htmldocs/functions/_app.html
Normal file
52
test/htmldocs/functions/_app.html
Normal file
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>$app | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="_app.html">$app</a></li></ul>
|
||||
<h1>Function $app</h1></div>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="_app"><span class="tsd-kind-call-signature">$app</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#_app" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L160">types.d.ts:160</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="_app.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
91
test/htmldocs/index.html
Normal file
91
test/htmldocs/index.html
Normal file
|
@ -0,0 +1,91 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base=".">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<h2>Documentation</h2></div>
|
||||
<div class="tsd-panel tsd-typography"><a id="md:exp-tygoja-" class="tsd-anchor"></a><h1><a href="#md:exp-tygoja-">(EXP) tygoja
|
||||
<a href="https://pkg.go.dev/github.com/pocketbase/tygoja"><img src="https://godoc.org/github.com/pocketbase/tygoja?status.svg" alt="GoDoc"></a></a></h1><p><strong>tygoja</strong> is a small helper library for generating TypeScript declarations from Go code.</p>
|
||||
<p>The generated typings are intended to be used as import helpers to provide <a href="https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html">ambient TypeScript declarations</a> (aka. <code>.d.ts</code>) for <a href="https://github.com/dop251/goja">goja</a> bindings.</p>
|
||||
<blockquote>
|
||||
<p><strong>⚠️ Don't use it directly in production! It is not tagged and may change without notice.</strong></p>
|
||||
<p><strong>It was created to semi-automate the documentation of the goja integration for PocketBase.</strong></p>
|
||||
<p><strong>Use it only as a reference or as a non-critical step in your dev pipeline.</strong></p>
|
||||
</blockquote>
|
||||
<p><strong>tygoja</strong> is a heavily modified fork of <a href="https://github.com/gzuidhof/tygo">tygo</a> and extends its scope with:</p>
|
||||
<ul>
|
||||
<li>custom field and method names formatters</li>
|
||||
<li>types for interfaces (exported and unexported)</li>
|
||||
<li>types for exported interface methods</li>
|
||||
<li>types for exported struct methods</li>
|
||||
<li>types for exported package level functions (<em>must enable <code>PackageConfig.WithPackageFunctions</code></em>)</li>
|
||||
<li>inheritance declarations for embeded structs (<em>embedded pointers are treated as values</em>)</li>
|
||||
<li>autoloading all unmapped argument and return types (<em>when possible</em>)</li>
|
||||
<li>applying the same <a href="https://pkg.go.dev/github.com/dop251/goja#hdr-Nil">goja's rules</a> when resolving the return types of exported function and methods</li>
|
||||
<li>combining multiple packages typings in a single output</li>
|
||||
<li>generating all declarations in namespaces with the packages name (both unmapped and mapped)</li>
|
||||
<li>preserving comment block new lines</li>
|
||||
<li>converting Go comment code blocks to Markdown code blocks</li>
|
||||
<li>and others...</li>
|
||||
</ul>
|
||||
<p>Note that by default the generated typings are not generated with <code>export</code> since the intended usage is to map them to your custom goja bindings.
|
||||
This mapping could be defined in the <code>Config.Heading</code> field usually with the <code>declare</code> keyword (eg. <code>declare let someGojaProp: app.Cache</code>).</p>
|
||||
<a id="md:example" class="tsd-anchor"></a><h2><a href="#md:example">Example</a></h2><pre><code class="language-go"><span class="hl-0">package</span><span class="hl-1"> main</span><br/><br/><span class="hl-0">import</span><span class="hl-1"> (</span><br/><span class="hl-1"> </span><span class="hl-2">"log"</span><br/><span class="hl-1"> </span><span class="hl-2">"os"</span><br/><br/><span class="hl-1"> </span><span class="hl-2">"github.com/pocketbase/tygoja"</span><br/><span class="hl-1">)</span><br/><br/><span class="hl-0">func</span><span class="hl-1"> </span><span class="hl-3">main</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-4">gen</span><span class="hl-1"> := tygoja.</span><span class="hl-3">New</span><span class="hl-1">(tygoja.Config{</span><br/><span class="hl-1"> Packages: </span><span class="hl-0">map</span><span class="hl-1">[</span><span class="hl-5">string</span><span class="hl-1">][]</span><span class="hl-5">string</span><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-2">"github.com/pocketbase/tygoja/test/a"</span><span class="hl-1">: {</span><span class="hl-2">"*"</span><span class="hl-1">},</span><br/><span class="hl-1"> </span><span class="hl-2">"github.com/pocketbase/tygoja/test/b"</span><span class="hl-1">: {</span><span class="hl-2">"*"</span><span class="hl-1">},</span><br/><span class="hl-1"> </span><span class="hl-2">"github.com/pocketbase/tygoja/test/c"</span><span class="hl-1">: {</span><span class="hl-2">"Example2"</span><span class="hl-1">, </span><span class="hl-2">"Handler"</span><span class="hl-1">},</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> Heading: </span><span class="hl-2">`declare var $app: c.Handler; // bind other fields `</span><span class="hl-1">,</span><br/><span class="hl-1"> WithPackageFunctions: </span><span class="hl-0">true</span><span class="hl-1">,</span><br/><span class="hl-1"> })</span><br/><br/><span class="hl-1"> </span><span class="hl-4">result</span><span class="hl-1">, </span><span class="hl-4">err</span><span class="hl-1"> := gen.</span><span class="hl-3">Generate</span><span class="hl-1">()</span><br/><span class="hl-1"> </span><span class="hl-6">if</span><span class="hl-1"> err != </span><span class="hl-0">nil</span><span class="hl-1"> {</span><br/><span class="hl-1"> log.</span><span class="hl-3">Fatal</span><span class="hl-1">(err)</span><br/><span class="hl-1"> }</span><br/><br/><span class="hl-1"> </span><span class="hl-6">if</span><span class="hl-1"> </span><span class="hl-4">err</span><span class="hl-1"> := os.</span><span class="hl-3">WriteFile</span><span class="hl-1">(</span><span class="hl-2">"./types.d.ts"</span><span class="hl-1">, []</span><span class="hl-3">byte</span><span class="hl-1">(result), </span><span class="hl-7">0644</span><span class="hl-1">); err != </span><span class="hl-0">nil</span><span class="hl-1"> {</span><br/><span class="hl-1"> log.</span><span class="hl-3">Fatal</span><span class="hl-1">(err)</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
|
||||
</code><button>Copy</button></pre>
|
||||
<p>You can also combine it with <a href="https://typedoc.org/">typedoc</a> to create HTML/JSON docs from the generated declaration(s).</p>
|
||||
<p>See the package <code>/test</code> directory for example output.</p>
|
||||
<p>For a more detailed example you can also explore the <a href="https://github.com/pocketbase/pocketbase/tree/develop/plugins/jsvm/internal/docs">PocketBase's jsvm plugin</a>.</p>
|
||||
<a id="md:known-issues-and-limitations" class="tsd-anchor"></a><h2><a href="#md:known-issues-and-limitations">Known issues and limitations</a></h2><ul>
|
||||
<li>Multiple versions of the same package may have unexpected declaration since all versions will be under the same namespace.</li>
|
||||
<li>For easier generation, it relies on TypeScript declarations merging, meaning that the generated types may not be very compact.</li>
|
||||
<li>Package level functions and constants, that are reserved JS identifier, are prefixed with underscore (eg. <code>_in()</code>).</li>
|
||||
</ul>
|
||||
</div></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#md:exp-tygoja-"><span>(EXP) tygoja
|
||||
</span></a></li>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#md:example"><span>Example</span></a></li>
|
||||
<li><a href="#md:known-issues-and-limitations"><span>Known issues and limitations</span></a></li></ul></li></ul></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
67
test/htmldocs/interfaces/a.Empty.html
Normal file
67
test/htmldocs/interfaces/a.Empty.html
Normal file
|
@ -0,0 +1,67 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Empty | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a.Empty.html">Empty</a></li></ul>
|
||||
<h1>Interface Empty</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Empty</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4 class="tsd-before-signature">Indexable</h4>
|
||||
<div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></div></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L10">types.d.ts:10</a></li></ul></aside></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="a.Empty.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
80
test/htmldocs/interfaces/a.Handler.html
Normal file
80
test/htmldocs/interfaces/a.Handler.html
Normal file
|
@ -0,0 +1,80 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Handler | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a.Handler.html">Handler</a></li></ul>
|
||||
<h1>Interface Handler<T></h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>multi
|
||||
line
|
||||
comment</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Handler</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Handler"><span class="tsd-kind-call-signature">Handler</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Handler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L91">types.d.ts:91</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="a.Handler.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
110
test/htmldocs/interfaces/a.InterfaceB.html
Normal file
110
test/htmldocs/interfaces/a.InterfaceB.html
Normal file
|
@ -0,0 +1,110 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InterfaceB | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a.InterfaceB.html">InterfaceB</a></li></ul>
|
||||
<h1>Interface InterfaceB</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>multi
|
||||
line
|
||||
comment</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">InterfaceB</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4 class="tsd-before-signature">Indexable</h4>
|
||||
<div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></div></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L39">types.d.ts:39</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="a.InterfaceB.html#CustomMethod" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Custom<wbr/>Method</span></a>
|
||||
<a href="a.InterfaceB.html#Method0" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method0</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="CustomMethod" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Custom<wbr/>Method</span><a href="#CustomMethod" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="CustomMethod.CustomMethod-1"><span class="tsd-kind-call-signature">Custom<wbr/>Method</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#CustomMethod.CustomMethod-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L45">types.d.ts:45</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Method0" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method0</span><a href="#Method0" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method0.Method0-1"><span class="tsd-kind-call-signature">Method0</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Method0.Method0-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>"replace" Method0 from interfaceA</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L44">types.d.ts:44</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#CustomMethod" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Custom<wbr/>Method</span></a></li>
|
||||
<li><a href="#Method0" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method0</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="a.InterfaceB.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
1000
test/htmldocs/interfaces/a.SliceAlias.html
Normal file
1000
test/htmldocs/interfaces/a.SliceAlias.html
Normal file
File diff suppressed because it is too large
Load diff
177
test/htmldocs/interfaces/a.StructB.html
Normal file
177
test/htmldocs/interfaces/a.StructB.html
Normal file
|
@ -0,0 +1,177 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>StructB | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a.StructB.html">StructB</a></li></ul>
|
||||
<h1>Interface StructB<T></h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>structB comment</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../types/a._subOLPog.html" class="tsd-signature-type tsd-kind-type-alias">_subOLPog</a>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">StructB</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L76">types.d.ts:76</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L79">types.d.ts:79</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="a.StructB.html#Field1" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>Field1</span></a>
|
||||
<a href="a.StructB.html#Field2" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field2</span></a>
|
||||
<a href="a.StructB.html#Field3" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field3</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="a.StructB.html#Method1" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Method1</span></a>
|
||||
<a href="a.StructB.html#Method2" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method2</span></a>
|
||||
<a href="a.StructB.html#Method3" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method3</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="Field1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Field1</span><a href="#Field1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Field1</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<p>Inherited from _subOLPog.Field1</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L48">types.d.ts:48</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L54">types.d.ts:54</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="Field2" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Field2</span><a href="#Field2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Field2</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>multi
|
||||
line
|
||||
comment
|
||||
with union type</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from _subOLPog.Field2</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L61">types.d.ts:61</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Field3" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Field3</span><a href="#Field3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Field3</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L77">types.d.ts:77</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="Method1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method1</span><a href="#Method1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method1.Method1-1"><span class="tsd-kind-call-signature">Method1</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg1</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Method1.Method1-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>method comment</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from _subOLPog.Method1</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L67">types.d.ts:67</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="Method2" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method2</span><a href="#Method2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method2.Method2-1"><span class="tsd-kind-call-signature">Method2</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg1</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">arg2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Method2.Method2-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">arg2</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from _subOLPog.Method2</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L70">types.d.ts:70</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Method3" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method3</span><a href="#Method3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method3.Method3-1"><span class="tsd-kind-call-signature">Method3</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg1</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><a href="#Method3.Method3-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L80">types.d.ts:80</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Field1" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field1</span></a></li>
|
||||
<li><a href="#Field2" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field2</span></a></li>
|
||||
<li><a href="#Field3" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field3</span></a></li>
|
||||
<li><a href="#Method1" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method1</span></a></li>
|
||||
<li><a href="#Method2" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method2</span></a></li>
|
||||
<li><a href="#Method3" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method3</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="a.StructB.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
152
test/htmldocs/interfaces/a.interfaceA.html
Normal file
152
test/htmldocs/interfaces/a.interfaceA.html
Normal file
|
@ -0,0 +1,152 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>interfaceA | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a.interfaceA.html">interfaceA</a></li></ul>
|
||||
<h1>Interface interfaceA<T></h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>unexported interface</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">interfaceA</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4 class="tsd-before-signature">Indexable</h4>
|
||||
<div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></div></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L16">types.d.ts:16</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="a.interfaceA.html#Method0" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Method0</span></a>
|
||||
<a href="a.interfaceA.html#Method1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method1</span></a>
|
||||
<a href="a.interfaceA.html#Method2" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method2</span></a>
|
||||
<a href="a.interfaceA.html#Method3" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method3</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Method0" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method0</span><a href="#Method0" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method0.Method0-1"><span class="tsd-kind-call-signature">Method0</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Method0.Method0-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>some comment above the function</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L24">types.d.ts:24</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Method1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method1</span><a href="#Method1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method1.Method1-1"><span class="tsd-kind-call-signature">Method1</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#Method1.Method1-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L25">types.d.ts:25</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Method2" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method2</span><a href="#Method2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method2.Method2-1"><span class="tsd-kind-call-signature">Method2</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">argA</span>, <span class="tsd-kind-parameter">argB</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Method2.Method2-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>multi
|
||||
line
|
||||
comment</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">argA</span>: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">argB</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L31">types.d.ts:31</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Method3" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method3</span><a href="#Method3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method3.Method3-1"><span class="tsd-kind-call-signature">Method3</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">argA</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">argB</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">]</span><a href="#Method3.Method3-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">argA</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">argB</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L32">types.d.ts:32</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Method0" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method0</span></a></li>
|
||||
<li><a href="#Method1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method1</span></a></li>
|
||||
<li><a href="#Method2" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method2</span></a></li>
|
||||
<li><a href="#Method3" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method3</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="a.interfaceA.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
144
test/htmldocs/interfaces/a.structA.html
Normal file
144
test/htmldocs/interfaces/a.structA.html
Normal file
|
@ -0,0 +1,144 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>structA | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a.structA.html">structA</a></li></ul>
|
||||
<h1>Interface structA</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>structA comment</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">structA</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L53">types.d.ts:53</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L63">types.d.ts:63</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L69">types.d.ts:69</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="a.structA.html#Field1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>Field1</span></a>
|
||||
<a href="a.structA.html#Field2" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field2</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="a.structA.html#Method1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Method1</span></a>
|
||||
<a href="a.structA.html#Method2" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method2</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Field1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Field1</span><a href="#Field1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Field1</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L54">types.d.ts:54</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Field2" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Field2</span><a href="#Field2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Field2</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>multi
|
||||
line
|
||||
comment
|
||||
with union type</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L61">types.d.ts:61</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Method1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method1</span><a href="#Method1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method1.Method1-1"><span class="tsd-kind-call-signature">Method1</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg1</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Method1.Method1-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>method comment</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L67">types.d.ts:67</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Method2" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Method2</span><a href="#Method2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Method2.Method2-1"><span class="tsd-kind-call-signature">Method2</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg1</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">arg2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Method2.Method2-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">arg2</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L70">types.d.ts:70</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Field1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field1</span></a></li>
|
||||
<li><a href="#Field2" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field2</span></a></li>
|
||||
<li><a href="#Method1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method1</span></a></li>
|
||||
<li><a href="#Method2" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Method2</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="a.structA.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
85
test/htmldocs/interfaces/a.unexported.html
Normal file
85
test/htmldocs/interfaces/a.unexported.html
Normal file
|
@ -0,0 +1,85 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>unexported | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a.unexported.html">unexported</a></li></ul>
|
||||
<h1>Interface unexported</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">unexported</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L47">types.d.ts:47</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="a.unexported.html#Field1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>Field1</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Field1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Field1</span><a href="#Field1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Field1</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L48">types.d.ts:48</a></li></ul></aside></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Field1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Field1</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="a.unexported.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
72
test/htmldocs/interfaces/b.Func1.html
Normal file
72
test/htmldocs/interfaces/b.Func1.html
Normal file
|
@ -0,0 +1,72 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func1 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func1.html">Func1</a></li></ul>
|
||||
<h1>Interface Func1</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func1</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func1"><span class="tsd-kind-call-signature">Func1</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Func1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>single comment</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L102">types.d.ts:102</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
84
test/htmldocs/interfaces/b.Func2.html
Normal file
84
test/htmldocs/interfaces/b.Func2.html
Normal file
|
@ -0,0 +1,84 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func2 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func2.html">Func2</a></li></ul>
|
||||
<h1>Interface Func2<T></h1></div>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func2</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func2"><span class="tsd-kind-call-signature">Func2</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg1</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#Func2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>multi
|
||||
line
|
||||
comment</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L110">types.d.ts:110</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
86
test/htmldocs/interfaces/b.Func3.html
Normal file
86
test/htmldocs/interfaces/b.Func3.html
Normal file
|
@ -0,0 +1,86 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func3 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func3.html">Func3</a></li></ul>
|
||||
<h1>Interface Func3</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func3</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func3"><span class="tsd-kind-call-signature">Func3</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg1</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><a href="#Func3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function that returns a function</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature" id="Func3.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function that returns a function</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></li></ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L116">types.d.ts:116</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
81
test/htmldocs/interfaces/b.Func4.html
Normal file
81
test/htmldocs/interfaces/b.Func4.html
Normal file
|
@ -0,0 +1,81 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func4 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func4.html">Func4</a></li></ul>
|
||||
<h1>Interface Func4</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func4</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func4"><span class="tsd-kind-call-signature">Func4</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span>, <span class="tsd-kind-parameter">arg1</span>, <span class="tsd-kind-parameter">arg2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Func4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function with ommited argument types</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg0</span>: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg2</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L122">types.d.ts:122</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
79
test/htmldocs/interfaces/b.Func5.html
Normal file
79
test/htmldocs/interfaces/b.Func5.html
Normal file
|
@ -0,0 +1,79 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func5 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func5.html">Func5</a></li></ul>
|
||||
<h1>Interface Func5</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func5</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func5"><span class="tsd-kind-call-signature">Func5</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_arg00</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">optional</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Func5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function with reserved argument name and variadic type</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">_arg00</span>: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">optional</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L128">types.d.ts:128</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
81
test/htmldocs/interfaces/b.Func6.html
Normal file
81
test/htmldocs/interfaces/b.Func6.html
Normal file
|
@ -0,0 +1,81 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func6 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func6.html">Func6</a></li></ul>
|
||||
<h1>Interface Func6</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func6</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func6"><span class="tsd-kind-call-signature">Func6</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_arg0</span>, <span class="tsd-kind-parameter">_arg1</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">_arg2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#Func6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function with ommited argument names</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">_arg0</span>: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">_arg1</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">_arg2</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L134">types.d.ts:134</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
72
test/htmldocs/interfaces/b.Func7.html
Normal file
72
test/htmldocs/interfaces/b.Func7.html
Normal file
|
@ -0,0 +1,72 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func7 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func7.html">Func7</a></li></ul>
|
||||
<h1>Interface Func7</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func7</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func7"><span class="tsd-kind-call-signature">Func7</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><a href="#Func7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function with named return values</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L140">types.d.ts:140</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
72
test/htmldocs/interfaces/b.Func8.html
Normal file
72
test/htmldocs/interfaces/b.Func8.html
Normal file
|
@ -0,0 +1,72 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func8 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func8.html">Func8</a></li></ul>
|
||||
<h1>Interface Func8</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func8</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func8"><span class="tsd-kind-call-signature">Func8</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><a href="#Func8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function with shortened return values</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L146">types.d.ts:146</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
72
test/htmldocs/interfaces/b.Func9.html
Normal file
72
test/htmldocs/interfaces/b.Func9.html
Normal file
|
@ -0,0 +1,72 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Func9 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/b.html">b</a></li>
|
||||
<li><a href="b.Func9.html">Func9</a></li></ul>
|
||||
<h1>Interface Func9</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Func9</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Func9"><span class="tsd-kind-call-signature">Func9</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><a href="#Func9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>function with named and shortened return values</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L152">types.d.ts:152</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a></li>
|
||||
<li><a href="b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="b.Func9.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
96
test/htmldocs/interfaces/c.Example1.html
Normal file
96
test/htmldocs/interfaces/c.Example1.html
Normal file
|
@ -0,0 +1,96 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Example1 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/c.html">c</a></li>
|
||||
<li><a href="c.Example1.html">Example1</a></li></ul>
|
||||
<h1>Interface Example1</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Example1</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L723">types.d.ts:723</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L726">types.d.ts:726</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="c.Example1.html#Name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>Name</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="c.Example1.html#DemoEx1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Demo<wbr/>Ex1</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Name" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Name</span><a href="#Name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L724">types.d.ts:724</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx1" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex1</span><a href="#DemoEx1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx1.DemoEx1-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex1</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#DemoEx1.DemoEx1-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L727">types.d.ts:727</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Name" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Name</span></a></li>
|
||||
<li><a href="#DemoEx1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex1</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="c"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="c.Example1.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Example1</span></a></li>
|
||||
<li><a href="c.Example2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Example2</span></a></li>
|
||||
<li><a href="c.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="c.Raw.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Raw</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
221
test/htmldocs/interfaces/c.Example2.html
Normal file
221
test/htmldocs/interfaces/c.Example2.html
Normal file
|
@ -0,0 +1,221 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Example2 | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/c.html">c</a></li>
|
||||
<li><a href="c.Example2.html">Example2</a></li></ul>
|
||||
<h1>Interface Example2</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>Example:</p>
|
||||
<pre><code><span class="hl-1"> </span><span class="hl-4">Some</span><br/><span class="hl-1"> </span><span class="hl-4">code</span><br/><span class="hl-1"> </span><span class="hl-4">sample</span>
|
||||
</code><button>Copy</button></pre>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Example2</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L170">types.d.ts:170</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L175">types.d.ts:175</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L178">types.d.ts:178</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L184">types.d.ts:184</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L190">types.d.ts:190</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L196">types.d.ts:196</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L202">types.d.ts:202</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L208">types.d.ts:208</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="c.Example2.html#Bytes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>Bytes</span></a>
|
||||
<a href="c.Example2.html#Json" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Json</span></a>
|
||||
<a href="c.Example2.html#Title" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Title</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="c.Example2.html#DemoEx2" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Demo<wbr/>Ex2</span></a>
|
||||
<a href="c.Example2.html#DemoEx3" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex3</span></a>
|
||||
<a href="c.Example2.html#DemoEx4" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex4</span></a>
|
||||
<a href="c.Example2.html#DemoEx5" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex5</span></a>
|
||||
<a href="c.Example2.html#DemoEx6" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex6</span></a>
|
||||
<a href="c.Example2.html#DemoEx7" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex7</span></a>
|
||||
<a href="c.Example2.html#DemoEx8" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex8</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Bytes" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Bytes</span><a href="#Bytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Bytes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L173">types.d.ts:173</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Json" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Json</span><a href="#Json" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Json</span><span class="tsd-signature-symbol">:</span> <a href="c.Raw.html" class="tsd-signature-type tsd-kind-interface">Raw</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L172">types.d.ts:172</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Title" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Title</span><a href="#Title" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">Title</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L171">types.d.ts:171</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx2" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex2</span><a href="#DemoEx2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx2.DemoEx2-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex2</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#DemoEx2.DemoEx2-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L176">types.d.ts:176</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx3" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex3</span><a href="#DemoEx3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx3.DemoEx3-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex3</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="c.Example1.html" class="tsd-signature-type tsd-kind-interface">Example1</a><a href="#DemoEx3.DemoEx3-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Pointer as argument vs return type</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">arg</span>: <a href="c.Example1.html" class="tsd-signature-type tsd-kind-interface">Example1</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="c.Example1.html" class="tsd-signature-type tsd-kind-interface">Example1</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L182">types.d.ts:182</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx4" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex4</span><a href="#DemoEx4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx4.DemoEx4-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex4</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n1</span>, <span class="tsd-kind-parameter">n2</span>, <span class="tsd-kind-parameter">n3</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#DemoEx4.DemoEx4-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>ommited types</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">n1</span>: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">n2</span>: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">n3</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L188">types.d.ts:188</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx5" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex5</span><a href="#DemoEx5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx5.DemoEx5-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex5</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_arg0</span>, <span class="tsd-kind-parameter">_arg1</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#DemoEx5.DemoEx5-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>ommited names</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">_arg0</span>: <span class="tsd-signature-type">string</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">_arg1</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L194">types.d.ts:194</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx6" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex6</span><a href="#DemoEx6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx6.DemoEx6-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex6</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><a href="#DemoEx6.DemoEx6-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>named return values</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L200">types.d.ts:200</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx7" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex7</span><a href="#DemoEx7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx7.DemoEx7-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex7</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><a href="#DemoEx7.DemoEx7-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>shortened return values</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L206">types.d.ts:206</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="DemoEx8" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Demo<wbr/>Ex8</span><a href="#DemoEx8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="DemoEx8.DemoEx8-1"><span class="tsd-kind-call-signature">Demo<wbr/>Ex8</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><a href="#DemoEx8.DemoEx8-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>named and shortened return values</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L212">types.d.ts:212</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Bytes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Bytes</span></a></li>
|
||||
<li><a href="#Json" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Json</span></a></li>
|
||||
<li><a href="#Title" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>Title</span></a></li>
|
||||
<li><a href="#DemoEx2" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex2</span></a></li>
|
||||
<li><a href="#DemoEx3" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex3</span></a></li>
|
||||
<li><a href="#DemoEx4" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex4</span></a></li>
|
||||
<li><a href="#DemoEx5" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex5</span></a></li>
|
||||
<li><a href="#DemoEx6" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex6</span></a></li>
|
||||
<li><a href="#DemoEx7" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex7</span></a></li>
|
||||
<li><a href="#DemoEx8" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Demo<wbr/>Ex8</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="c"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="c.Example1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Example1</span></a></li>
|
||||
<li><a href="c.Example2.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Example2</span></a></li>
|
||||
<li><a href="c.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="c.Raw.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Raw</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
68
test/htmldocs/interfaces/c.Handler.html
Normal file
68
test/htmldocs/interfaces/c.Handler.html
Normal file
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Handler | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/c.html">c</a></li>
|
||||
<li><a href="c.Handler.html">Handler</a></li></ul>
|
||||
<h1>Interface Handler</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>func type comment</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Handler</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Handler"><span class="tsd-kind-call-signature">Handler</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#Handler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L160">types.d.ts:160</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="c"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="c.Example1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Example1</span></a></li>
|
||||
<li><a href="c.Example2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Example2</span></a></li>
|
||||
<li><a href="c.Handler.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="c.Raw.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Raw</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
986
test/htmldocs/interfaces/c.Raw.html
Normal file
986
test/htmldocs/interfaces/c.Raw.html
Normal file
|
@ -0,0 +1,986 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Raw | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/c.html">c</a></li>
|
||||
<li><a href="c.Raw.html">Raw</a></li></ul>
|
||||
<h1>Interface Raw</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type ">Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Raw</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L722">types.d.ts:722</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="c.Raw.html#length" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>length</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="c.Raw.html#concat" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>concat</span></a>
|
||||
<a href="c.Raw.html#every" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>every</span></a>
|
||||
<a href="c.Raw.html#filter" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>filter</span></a>
|
||||
<a href="c.Raw.html#forEach" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>for<wbr/>Each</span></a>
|
||||
<a href="c.Raw.html#indexOf" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>index<wbr/>Of</span></a>
|
||||
<a href="c.Raw.html#join" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>join</span></a>
|
||||
<a href="c.Raw.html#lastIndexOf" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>last<wbr/>Index<wbr/>Of</span></a>
|
||||
<a href="c.Raw.html#map" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>map</span></a>
|
||||
<a href="c.Raw.html#pop" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pop</span></a>
|
||||
<a href="c.Raw.html#push" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>push</span></a>
|
||||
<a href="c.Raw.html#reduce" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reduce</span></a>
|
||||
<a href="c.Raw.html#reduceRight" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reduce<wbr/>Right</span></a>
|
||||
<a href="c.Raw.html#reverse" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reverse</span></a>
|
||||
<a href="c.Raw.html#shift" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>shift</span></a>
|
||||
<a href="c.Raw.html#slice" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>slice</span></a>
|
||||
<a href="c.Raw.html#some" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>some</span></a>
|
||||
<a href="c.Raw.html#sort" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>sort</span></a>
|
||||
<a href="c.Raw.html#splice" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>splice</span></a>
|
||||
<a href="c.Raw.html#toLocaleString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a>
|
||||
<a href="c.Raw.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a>
|
||||
<a href="c.Raw.html#unshift" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>unshift</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="length" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>length</span><a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<div class="tsd-signature"><span class="tsd-kind-property">length</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<div class="tsd-comment tsd-typography"><p>Gets or sets the length of the array. This is a number one higher than the highest index in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.length</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1318</li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="concat" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>concat</span><a href="#concat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="concat.concat-1"><span class="tsd-kind-call-signature">concat</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#concat.concat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Combines two or more arrays.
|
||||
This method returns a new array without modifying any existing arrays.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span>: <span class="tsd-signature-type ">ConcatArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Additional arrays and/or items to add to the end of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.concat</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1342</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="concat.concat-2"><span class="tsd-kind-call-signature">concat</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#concat.concat-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Combines two or more arrays.
|
||||
This method returns a new array without modifying any existing arrays.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">ConcatArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Additional arrays and/or items to add to the end of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.concat</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1348</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="every" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>every</span><a href="#every" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="every.every-1"><span class="tsd-kind-call-signature">every</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">predicate</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">this</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">[]</span><a href="#every.every-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Determines whether all the members of an array satisfy the specified test.</p>
|
||||
</div>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">number</span></h4></li></ul></section>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">predicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The every method calls
|
||||
the predicate function for each element in the array until the predicate returns a value
|
||||
which is coercible to the Boolean value false, or until the end of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type">any</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function.
|
||||
If thisArg is omitted, undefined is used as the this value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">this</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.every</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1425</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="every.every-2"><span class="tsd-kind-call-signature">every</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">predicate</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#every.every-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Determines whether all the members of an array satisfy the specified test.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">predicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The every method calls
|
||||
the predicate function for each element in the array until the predicate returns a value
|
||||
which is coercible to the Boolean value false, or until the end of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type">any</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function.
|
||||
If thisArg is omitted, undefined is used as the this value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.every</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1434</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="filter" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="filter.filter-1"><span class="tsd-kind-call-signature">filter</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">predicate</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">[]</span><a href="#filter.filter-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the elements of an array that meet the condition specified in a callback function.</p>
|
||||
</div>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">number</span></h4></li></ul></section>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">predicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type tsd-kind-type-parameter">S</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type">any</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">S</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.filter</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1461</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="filter.filter-2"><span class="tsd-kind-call-signature">filter</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">predicate</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#filter.filter-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the elements of an array that meet the condition specified in a callback function.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">predicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type">any</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.filter</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1467</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="forEach" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>for<wbr/>Each</span><a href="#forEach" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="forEach.forEach-1"><span class="tsd-kind-call-signature">for<wbr/>Each</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#forEach.forEach-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Performs the specified action for each element in an array.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type">any</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.forEach</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1449</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="indexOf" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>index<wbr/>Of</span><a href="#indexOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="indexOf.indexOf-1"><span class="tsd-kind-call-signature">index<wbr/>Of</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">searchElement</span>, <span class="tsd-kind-parameter">fromIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#indexOf.indexOf-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the index of the first occurrence of a value in an array, or -1 if it is not present.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">searchElement</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The value to locate in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fromIndex</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.indexOf</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1410</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="join" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>join</span><a href="#join" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="join.join-1"><span class="tsd-kind-call-signature">join</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">separator</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#join.join-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Adds all the elements of an array into a string, separated by the specified separator string.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">separator</span>: <span class="tsd-signature-type">string</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.join</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1353</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="lastIndexOf" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>last<wbr/>Index<wbr/>Of</span><a href="#lastIndexOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="lastIndexOf.lastIndexOf-1"><span class="tsd-kind-call-signature">last<wbr/>Index<wbr/>Of</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">searchElement</span>, <span class="tsd-kind-parameter">fromIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#lastIndexOf.lastIndexOf-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">searchElement</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The value to locate in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fromIndex</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.lastIndexOf</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1416</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="map" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>map</span><a href="#map" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="map.map-1"><span class="tsd-kind-call-signature">map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><a href="#map.map-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Calls a defined callback function on each element of an array, and returns an array that contains the results.</p>
|
||||
</div>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">U</span></h4></li></ul></section>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type">any</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.map</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1455</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="pop" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>pop</span><a href="#pop" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="pop.pop-1"><span class="tsd-kind-call-signature">pop</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#pop.pop-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Removes the last element from an array and returns it.
|
||||
If the array is empty, undefined is returned and the array is not modified.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.pop</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1331</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="push" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>push</span><a href="#push" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="push.push-1"><span class="tsd-kind-call-signature">push</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#push.push-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Appends new elements to the end of an array, and returns the new length of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>New elements to add to the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.push</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1336</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reduce" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>reduce</span><a href="#reduce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="reduce.reduce-1"><span class="tsd-kind-call-signature">reduce</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#reduce.reduce-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">previousValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentIndex</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.reduce</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1473</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="reduce.reduce-2"><span class="tsd-kind-call-signature">reduce</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span>, <span class="tsd-kind-parameter">initialValue</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#reduce.reduce-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">previousValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentIndex</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">initialValue</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from Array.reduce</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1474</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="reduce.reduce-3"><span class="tsd-kind-call-signature">reduce</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span>, <span class="tsd-kind-parameter">initialValue</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><a href="#reduce.reduce-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.</p>
|
||||
</div>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">U</span></h4></li></ul></section>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">previousValue</span>: <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentIndex</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">initialValue</span>: <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.reduce</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1480</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reduceRight" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>reduce<wbr/>Right</span><a href="#reduceRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="reduceRight.reduceRight-1"><span class="tsd-kind-call-signature">reduce<wbr/>Right</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#reduceRight.reduceRight-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">previousValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentIndex</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.reduceRight</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1486</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="reduceRight.reduceRight-2"><span class="tsd-kind-call-signature">reduce<wbr/>Right</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span>, <span class="tsd-kind-parameter">initialValue</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#reduceRight.reduceRight-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">previousValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentIndex</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">initialValue</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||||
<p>Inherited from Array.reduceRight</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1487</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="reduceRight.reduceRight-3"><span class="tsd-kind-call-signature">reduce<wbr/>Right</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callbackfn</span>, <span class="tsd-kind-parameter">initialValue</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><a href="#reduceRight.reduceRight-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.</p>
|
||||
</div>
|
||||
<section class="tsd-panel">
|
||||
<h4>Type Parameters</h4>
|
||||
<ul class="tsd-type-parameter-list">
|
||||
<li>
|
||||
<h4><span class="tsd-kind-type-parameter">U</span></h4></li></ul></section>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">callbackfn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previousValue</span>, <span class="tsd-kind-parameter">currentValue</span>, <span class="tsd-kind-parameter">currentIndex</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">U</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">previousValue</span>: <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentValue</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">currentIndex</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">initialValue</span>: <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">U</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.reduceRight</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1493</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reverse" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>reverse</span><a href="#reverse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="reverse.reverse-1"><span class="tsd-kind-call-signature">reverse</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#reverse.reverse-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Reverses the elements in an array in place.
|
||||
This method mutates the array and returns a reference to the same array.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.reverse</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1358</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="shift" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>shift</span><a href="#shift" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="shift.shift-1"><span class="tsd-kind-call-signature">shift</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#shift.shift-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Removes the first element from an array and returns it.
|
||||
If the array is empty, undefined is returned and the array is not modified.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.shift</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1363</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="slice" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>slice</span><a href="#slice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="slice.slice-1"><span class="tsd-kind-call-signature">slice</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">start</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">end</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#slice.slice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a copy of a section of an array.
|
||||
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
||||
For example, -2 refers to the second to last element of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">start</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The beginning index of the specified portion of the array.
|
||||
If start is undefined, then the slice begins at index 0.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">end</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||
If end is undefined, then the slice extends to the end of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.slice</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1373</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="some" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>some</span><a href="#some" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="some.some-1"><span class="tsd-kind-call-signature">some</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">predicate</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#some.some-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Determines whether the specified callback function returns true for any element of an array.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">predicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The some method calls
|
||||
the predicate function for each element in the array until the predicate returns a value
|
||||
which is coercible to the Boolean value true, or until the end of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">array</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type">any</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function.
|
||||
If thisArg is omitted, undefined is used as the this value.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.some</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1443</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="sort" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="sort.sort-1"><span class="tsd-kind-call-signature">sort</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">compareFn</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="c.Raw.html" class="tsd-signature-type tsd-kind-interface">Raw</a><a href="#sort.sort-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Sorts an array in place.
|
||||
This method mutates the array and returns a reference to the same array.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">compareFn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span>, <span class="tsd-kind-parameter">b</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Function used to determine the order of the elements. It is expected to return
|
||||
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.</p>
|
||||
<pre><code class="language-ts"><span class="hl-1">[</span><span class="hl-7">11</span><span class="hl-1">,</span><span class="hl-7">2</span><span class="hl-1">,</span><span class="hl-7">22</span><span class="hl-1">,</span><span class="hl-7">1</span><span class="hl-1">].</span><span class="hl-3">sort</span><span class="hl-1">((</span><span class="hl-4">a</span><span class="hl-1">, </span><span class="hl-4">b</span><span class="hl-1">) </span><span class="hl-0">=></span><span class="hl-1"> </span><span class="hl-4">a</span><span class="hl-1"> - </span><span class="hl-4">b</span><span class="hl-1">)</span>
|
||||
</code><button>Copy</button></pre>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-is-external">
|
||||
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span>, <span class="tsd-kind-parameter">b</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">a</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">b</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="c.Raw.html" class="tsd-signature-type tsd-kind-interface">Raw</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.sort</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1384</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="splice" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>splice</span><a href="#splice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="splice.splice-1"><span class="tsd-kind-call-signature">splice</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">start</span>, <span class="tsd-kind-parameter">deleteCount</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#splice.splice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">start</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The zero-based location in the array from which to start removing elements.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">deleteCount</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The number of elements to remove.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>An array containing the elements that were deleted.</p>
|
||||
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.splice</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1391</li></ul></aside></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="splice.splice-2"><span class="tsd-kind-call-signature">splice</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">start</span>, <span class="tsd-kind-parameter">deleteCount</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#splice.splice-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">start</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The zero-based location in the array from which to start removing elements.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">deleteCount</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>The number of elements to remove.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Elements to insert into the array in place of the deleted elements.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>An array containing the elements that were deleted.</p>
|
||||
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.splice</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1399</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toLocaleString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Locale<wbr/>String</span><a href="#toLocaleString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toLocaleString.toLocaleString-1"><span class="tsd-kind-call-signature">to<wbr/>Locale<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toLocaleString.toLocaleString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.toLocaleString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1326</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1"><span class="tsd-kind-call-signature">to<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representation of an array.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.toString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1322</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="unshift" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>unshift</span><a href="#unshift" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="unshift.unshift-1"><span class="tsd-kind-call-signature">unshift</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#unshift.unshift-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Inserts new elements at the start of an array, and returns the new length of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">items</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Elements to insert at the start of the array.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Array.unshift</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1404</li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#length" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>length</span></a></li>
|
||||
<li><a href="#concat" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>concat</span></a></li>
|
||||
<li><a href="#every" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>every</span></a></li>
|
||||
<li><a href="#filter" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>filter</span></a></li>
|
||||
<li><a href="#forEach" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>for<wbr/>Each</span></a></li>
|
||||
<li><a href="#indexOf" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>index<wbr/>Of</span></a></li>
|
||||
<li><a href="#join" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>join</span></a></li>
|
||||
<li><a href="#lastIndexOf" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>last<wbr/>Index<wbr/>Of</span></a></li>
|
||||
<li><a href="#map" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>map</span></a></li>
|
||||
<li><a href="#pop" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pop</span></a></li>
|
||||
<li><a href="#push" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>push</span></a></li>
|
||||
<li><a href="#reduce" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reduce</span></a></li>
|
||||
<li><a href="#reduceRight" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reduce<wbr/>Right</span></a></li>
|
||||
<li><a href="#reverse" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reverse</span></a></li>
|
||||
<li><a href="#shift" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>shift</span></a></li>
|
||||
<li><a href="#slice" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>slice</span></a></li>
|
||||
<li><a href="#some" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>some</span></a></li>
|
||||
<li><a href="#sort" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>sort</span></a></li>
|
||||
<li><a href="#splice" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>splice</span></a></li>
|
||||
<li><a href="#toLocaleString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a></li>
|
||||
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a></li>
|
||||
<li><a href="#unshift" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>unshift</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="c"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="c.Example1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Example1</span></a></li>
|
||||
<li><a href="c.Example2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Example2</span></a></li>
|
||||
<li><a href="c.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="c.Raw.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Raw</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
371
test/htmldocs/interfaces/time.Duration.html
Normal file
371
test/htmldocs/interfaces/time.Duration.html
Normal file
|
@ -0,0 +1,371 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Duration | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/time.html">time</a></li>
|
||||
<li><a href="time.Duration.html">Duration</a></li></ul>
|
||||
<h1>Interface Duration</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>A Duration represents the elapsed time between two instants
|
||||
as an int64 nanosecond count. The representation limits the
|
||||
largest representable duration to approximately 290 years.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type ">Number</span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Duration</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L847">types.d.ts:847</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L848">types.d.ts:848</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L857">types.d.ts:857</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L863">types.d.ts:863</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L869">types.d.ts:869</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L875">types.d.ts:875</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L881">types.d.ts:881</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L887">types.d.ts:887</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L893">types.d.ts:893</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L900">types.d.ts:900</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L911">types.d.ts:911</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="time.Duration.html#Abs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Abs</span></a>
|
||||
<a href="time.Duration.html#Hours" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Hours</span></a>
|
||||
<a href="time.Duration.html#Microseconds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Microseconds</span></a>
|
||||
<a href="time.Duration.html#Milliseconds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Milliseconds</span></a>
|
||||
<a href="time.Duration.html#Minutes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Minutes</span></a>
|
||||
<a href="time.Duration.html#Nanoseconds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Nanoseconds</span></a>
|
||||
<a href="time.Duration.html#Round" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Round</span></a>
|
||||
<a href="time.Duration.html#Seconds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Seconds</span></a>
|
||||
<a href="time.Duration.html#String" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a>
|
||||
<a href="time.Duration.html#Truncate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Truncate</span></a>
|
||||
<a href="time.Duration.html#toExponential" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Exponential</span></a>
|
||||
<a href="time.Duration.html#toFixed" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Fixed</span></a>
|
||||
<a href="time.Duration.html#toLocaleString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a>
|
||||
<a href="time.Duration.html#toPrecision" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Precision</span></a>
|
||||
<a href="time.Duration.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a>
|
||||
<a href="time.Duration.html#valueOf" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>value<wbr/>Of</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Abs" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Abs</span><a href="#Abs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Abs.Abs-1"><span class="tsd-kind-call-signature">Abs</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a><a href="#Abs.Abs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Abs returns the absolute value of d.
|
||||
As a special case, [math.MinInt64] is converted to [math.MaxInt64].</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L916">types.d.ts:916</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Hours" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Hours</span><a href="#Hours" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Hours.Hours-1"><span class="tsd-kind-call-signature">Hours</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Hours.Hours-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Hours returns the duration as a floating point number of hours.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L891">types.d.ts:891</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Microseconds" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Microseconds</span><a href="#Microseconds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Microseconds.Microseconds-1"><span class="tsd-kind-call-signature">Microseconds</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Microseconds.Microseconds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Microseconds returns the duration as an integer microsecond count.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L867">types.d.ts:867</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Milliseconds" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Milliseconds</span><a href="#Milliseconds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Milliseconds.Milliseconds-1"><span class="tsd-kind-call-signature">Milliseconds</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Milliseconds.Milliseconds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Milliseconds returns the duration as an integer millisecond count.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L873">types.d.ts:873</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Minutes" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Minutes</span><a href="#Minutes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Minutes.Minutes-1"><span class="tsd-kind-call-signature">Minutes</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Minutes.Minutes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Minutes returns the duration as a floating point number of minutes.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L885">types.d.ts:885</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Nanoseconds" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Nanoseconds</span><a href="#Nanoseconds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Nanoseconds.Nanoseconds-1"><span class="tsd-kind-call-signature">Nanoseconds</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Nanoseconds.Nanoseconds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Nanoseconds returns the duration as an integer nanosecond count.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L861">types.d.ts:861</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Round" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Round</span><a href="#Round" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Round.Round-1"><span class="tsd-kind-call-signature">Round</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a><a href="#Round.Round-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Round returns the result of rounding d to the nearest multiple of m.
|
||||
The rounding behavior for halfway values is to round away from zero.
|
||||
If the result exceeds the maximum (or minimum)
|
||||
value that can be stored in a [Duration],
|
||||
Round returns the maximum (or minimum) duration.
|
||||
If m <= 0, Round returns d unchanged.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">m</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L909">types.d.ts:909</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Seconds" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Seconds</span><a href="#Seconds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Seconds.Seconds-1"><span class="tsd-kind-call-signature">Seconds</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Seconds.Seconds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Seconds returns the duration as a floating point number of seconds.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L879">types.d.ts:879</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="String" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>String</span><a href="#String" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="String.String-1"><span class="tsd-kind-call-signature">String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#String.String-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>String returns a string representing the duration in the form "72h3m0.5s".
|
||||
Leading zero units are omitted. As a special case, durations less than one
|
||||
second format use a smaller unit (milli-, micro-, or nanoseconds) to ensure
|
||||
that the leading digit is non-zero. The zero duration formats as 0s.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L855">types.d.ts:855</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Truncate" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Truncate</span><a href="#Truncate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Truncate.Truncate-1"><span class="tsd-kind-call-signature">Truncate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a><a href="#Truncate.Truncate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Truncate returns the result of rounding d toward zero to a multiple of m.
|
||||
If m <= 0, Truncate returns d unchanged.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">m</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L898">types.d.ts:898</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toExponential" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Exponential</span><a href="#toExponential" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toExponential.toExponential-1"><span class="tsd-kind-call-signature">to<wbr/>Exponential</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fractionDigits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toExponential.toExponential-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string containing a number represented in exponential notation.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fractionDigits</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toExponential</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:576</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toFixed" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Fixed</span><a href="#toFixed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toFixed.toFixed-1"><span class="tsd-kind-call-signature">to<wbr/>Fixed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fractionDigits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toFixed.toFixed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representing a number in fixed-point notation.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fractionDigits</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toFixed</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:570</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toLocaleString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Locale<wbr/>String</span><a href="#toLocaleString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toLocaleString.toLocaleString-1"><span class="tsd-kind-call-signature">to<wbr/>Locale<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">locales</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toLocaleString.toLocaleString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Converts a number to a string by using the current or specified locale.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">locales</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">NumberFormatOptions</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object that contains one or more properties that specify comparison options.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toLocaleString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:4522</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toPrecision" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Precision</span><a href="#toPrecision" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toPrecision.toPrecision-1"><span class="tsd-kind-call-signature">to<wbr/>Precision</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">precision</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toPrecision.toPrecision-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">precision</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of significant digits. Must be in the range 1 - 21, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toPrecision</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:582</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1"><span class="tsd-kind-call-signature">to<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">radix</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representation of an object.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">radix</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Specifies a radix for converting numeric values to strings. This value is only used for numbers.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:564</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="valueOf" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>value<wbr/>Of</span><a href="#valueOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="valueOf.valueOf-1"><span class="tsd-kind-call-signature">value<wbr/>Of</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#valueOf.valueOf-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the primitive value of the specified object.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.valueOf</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:585</li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Abs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Abs</span></a></li>
|
||||
<li><a href="#Hours" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Hours</span></a></li>
|
||||
<li><a href="#Microseconds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Microseconds</span></a></li>
|
||||
<li><a href="#Milliseconds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Milliseconds</span></a></li>
|
||||
<li><a href="#Minutes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Minutes</span></a></li>
|
||||
<li><a href="#Nanoseconds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Nanoseconds</span></a></li>
|
||||
<li><a href="#Round" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Round</span></a></li>
|
||||
<li><a href="#Seconds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Seconds</span></a></li>
|
||||
<li><a href="#String" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a></li>
|
||||
<li><a href="#Truncate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Truncate</span></a></li>
|
||||
<li><a href="#toExponential" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Exponential</span></a></li>
|
||||
<li><a href="#toFixed" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Fixed</span></a></li>
|
||||
<li><a href="#toLocaleString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a></li>
|
||||
<li><a href="#toPrecision" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Precision</span></a></li>
|
||||
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a></li>
|
||||
<li><a href="#valueOf" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>value<wbr/>Of</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="time"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="time.Duration.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Duration</span></a></li>
|
||||
<li><a href="time.Location.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a></li>
|
||||
<li><a href="time.Month.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a></li>
|
||||
<li><a href="time.Time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a></li>
|
||||
<li><a href="time.Weekday.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a></li></ul></div></details></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
99
test/htmldocs/interfaces/time.Location.html
Normal file
99
test/htmldocs/interfaces/time.Location.html
Normal file
|
@ -0,0 +1,99 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Location | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/time.html">time</a></li>
|
||||
<li><a href="time.Location.html">Location</a></li></ul>
|
||||
<h1>Interface Location</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>A Location maps time instants to the zone in use at that time.
|
||||
Typically, the Location represents the collection of time offsets
|
||||
in use in a geographical area. For many Locations the time offset varies
|
||||
depending on whether daylight savings time is in use at the time instant.</p>
|
||||
<p>Location is used to provide a time zone in a printed Time value and for
|
||||
calculations involving intervals that may cross daylight savings time
|
||||
boundaries.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Location</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L928">types.d.ts:928</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L930">types.d.ts:930</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="time.Location.html#String" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>String</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="String" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>String</span><a href="#String" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="String.String-1"><span class="tsd-kind-call-signature">String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#String.String-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>String returns a descriptive name for the time zone information,
|
||||
corresponding to the name argument to [LoadLocation] or [FixedZone].</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L935">types.d.ts:935</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#String" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="time"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="time.Duration.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Duration</span></a></li>
|
||||
<li><a href="time.Location.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a></li>
|
||||
<li><a href="time.Month.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a></li>
|
||||
<li><a href="time.Time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a></li>
|
||||
<li><a href="time.Weekday.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a></li></ul></div></details></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
223
test/htmldocs/interfaces/time.Month.html
Normal file
223
test/htmldocs/interfaces/time.Month.html
Normal file
|
@ -0,0 +1,223 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Month | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/time.html">time</a></li>
|
||||
<li><a href="time.Month.html">Month</a></li></ul>
|
||||
<h1>Interface Month</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>A Month specifies a month of the year (January = 1, ...).</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type ">Number</span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Month</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L825">types.d.ts:825</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L826">types.d.ts:826</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="time.Month.html#String" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>String</span></a>
|
||||
<a href="time.Month.html#toExponential" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Exponential</span></a>
|
||||
<a href="time.Month.html#toFixed" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Fixed</span></a>
|
||||
<a href="time.Month.html#toLocaleString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a>
|
||||
<a href="time.Month.html#toPrecision" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Precision</span></a>
|
||||
<a href="time.Month.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a>
|
||||
<a href="time.Month.html#valueOf" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>value<wbr/>Of</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="String" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>String</span><a href="#String" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="String.String-1"><span class="tsd-kind-call-signature">String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#String.String-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>String returns the English name of the month ("January", "February", ...).</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L830">types.d.ts:830</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toExponential" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Exponential</span><a href="#toExponential" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toExponential.toExponential-1"><span class="tsd-kind-call-signature">to<wbr/>Exponential</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fractionDigits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toExponential.toExponential-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string containing a number represented in exponential notation.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fractionDigits</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toExponential</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:576</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toFixed" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Fixed</span><a href="#toFixed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toFixed.toFixed-1"><span class="tsd-kind-call-signature">to<wbr/>Fixed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fractionDigits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toFixed.toFixed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representing a number in fixed-point notation.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fractionDigits</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toFixed</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:570</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toLocaleString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Locale<wbr/>String</span><a href="#toLocaleString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toLocaleString.toLocaleString-1"><span class="tsd-kind-call-signature">to<wbr/>Locale<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">locales</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toLocaleString.toLocaleString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Converts a number to a string by using the current or specified locale.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">locales</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">NumberFormatOptions</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object that contains one or more properties that specify comparison options.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toLocaleString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:4522</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toPrecision" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Precision</span><a href="#toPrecision" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toPrecision.toPrecision-1"><span class="tsd-kind-call-signature">to<wbr/>Precision</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">precision</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toPrecision.toPrecision-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">precision</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of significant digits. Must be in the range 1 - 21, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toPrecision</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:582</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1"><span class="tsd-kind-call-signature">to<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">radix</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representation of an object.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">radix</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Specifies a radix for converting numeric values to strings. This value is only used for numbers.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:564</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="valueOf" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>value<wbr/>Of</span><a href="#valueOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="valueOf.valueOf-1"><span class="tsd-kind-call-signature">value<wbr/>Of</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#valueOf.valueOf-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the primitive value of the specified object.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.valueOf</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:585</li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#String" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a></li>
|
||||
<li><a href="#toExponential" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Exponential</span></a></li>
|
||||
<li><a href="#toFixed" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Fixed</span></a></li>
|
||||
<li><a href="#toLocaleString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a></li>
|
||||
<li><a href="#toPrecision" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Precision</span></a></li>
|
||||
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a></li>
|
||||
<li><a href="#valueOf" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>value<wbr/>Of</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="time"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="time.Duration.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Duration</span></a></li>
|
||||
<li><a href="time.Location.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a></li>
|
||||
<li><a href="time.Month.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a></li>
|
||||
<li><a href="time.Time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a></li>
|
||||
<li><a href="time.Weekday.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a></li></ul></div></details></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
913
test/htmldocs/interfaces/time.Time.html
Normal file
913
test/htmldocs/interfaces/time.Time.html
Normal file
|
@ -0,0 +1,913 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Time | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/time.html">time</a></li>
|
||||
<li><a href="time.Time.html">Time</a></li></ul>
|
||||
<h1>Interface Time</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>A Time represents an instant in time with nanosecond precision.</p>
|
||||
<p>Programs using times should typically store and pass them as values,
|
||||
not pointers. That is, time variables and struct fields should be of
|
||||
type [time.Time], not *time.Time.</p>
|
||||
<p>A Time value can be used by multiple goroutines simultaneously except
|
||||
that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and
|
||||
[Time.UnmarshalText] are not concurrency-safe.</p>
|
||||
<p>Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods.
|
||||
The [Time.Sub] method subtracts two instants, producing a [Duration].
|
||||
The [Time.Add] method adds a Time and a Duration, producing a Time.</p>
|
||||
<p>The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
|
||||
As this time is unlikely to come up in practice, the [Time.IsZero] method gives
|
||||
a simple way of detecting a time that has not been initialized explicitly.</p>
|
||||
<p>Each time has an associated [Location]. The methods [Time.Local], [Time.UTC], and Time.In return a
|
||||
Time with a specific Location. Changing the Location of a Time value with
|
||||
these methods does not change the actual instant it represents, only the time
|
||||
zone in which to interpret it.</p>
|
||||
<p>Representations of a Time value saved by the [Time.GobEncode], [Time.MarshalBinary],
|
||||
[Time.MarshalJSON], and [Time.MarshalText] methods store the [Time.Location]'s offset, but not
|
||||
the location name. They therefore lose information about Daylight Saving Time.</p>
|
||||
<p>In addition to the required “wall clock” reading, a Time may contain an optional
|
||||
reading of the current process's monotonic clock, to provide additional precision
|
||||
for comparison or subtraction.
|
||||
See the “Monotonic Clocks” section in the package documentation for details.</p>
|
||||
<p>Note that the Go == operator compares not just the time instant but also the
|
||||
Location and the monotonic clock reading. Therefore, Time values should not
|
||||
be used as map or database keys without first guaranteeing that the
|
||||
identical Location has been set for all values, which can be achieved
|
||||
through use of the UTC or Local method, and that the monotonic clock reading
|
||||
has been stripped by setting t = t.Round(0). In general, prefer t.Equal(u)
|
||||
to t == u, since t.Equal uses the most accurate comparison available and
|
||||
correctly handles the case when only one of its arguments has a monotonic
|
||||
clock reading.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Time</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L307">types.d.ts:307</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L325">types.d.ts:325</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L332">types.d.ts:332</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L343">types.d.ts:343</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L393">types.d.ts:393</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L395">types.d.ts:395</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L401">types.d.ts:401</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L407">types.d.ts:407</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L414">types.d.ts:414</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L424">types.d.ts:424</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L431">types.d.ts:431</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L437">types.d.ts:437</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L443">types.d.ts:443</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L449">types.d.ts:449</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L455">types.d.ts:455</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L461">types.d.ts:461</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L470">types.d.ts:470</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L476">types.d.ts:476</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L482">types.d.ts:482</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L488">types.d.ts:488</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L494">types.d.ts:494</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L501">types.d.ts:501</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L508">types.d.ts:508</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L514">types.d.ts:514</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L523">types.d.ts:523</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L545">types.d.ts:545</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L551">types.d.ts:551</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L557">types.d.ts:557</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L567">types.d.ts:567</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L573">types.d.ts:573</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L580">types.d.ts:580</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L590">types.d.ts:590</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L601">types.d.ts:601</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L611">types.d.ts:611</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L621">types.d.ts:621</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L632">types.d.ts:632</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L638">types.d.ts:638</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L644">types.d.ts:644</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L650">types.d.ts:650</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L656">types.d.ts:656</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L665">types.d.ts:665</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L672">types.d.ts:672</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L681">types.d.ts:681</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L688">types.d.ts:688</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L694">types.d.ts:694</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L706">types.d.ts:706</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="time.Time.html#Add" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Add</span></a>
|
||||
<a href="time.Time.html#AddDate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Add<wbr/>Date</span></a>
|
||||
<a href="time.Time.html#After" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>After</span></a>
|
||||
<a href="time.Time.html#AppendFormat" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Append<wbr/>Format</span></a>
|
||||
<a href="time.Time.html#Before" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Before</span></a>
|
||||
<a href="time.Time.html#Clock" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Clock</span></a>
|
||||
<a href="time.Time.html#Compare" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Compare</span></a>
|
||||
<a href="time.Time.html#Date" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Date</span></a>
|
||||
<a href="time.Time.html#Day" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Day</span></a>
|
||||
<a href="time.Time.html#Equal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Equal</span></a>
|
||||
<a href="time.Time.html#Format" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Format</span></a>
|
||||
<a href="time.Time.html#GoString" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Go<wbr/>String</span></a>
|
||||
<a href="time.Time.html#GobDecode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Decode</span></a>
|
||||
<a href="time.Time.html#GobEncode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Encode</span></a>
|
||||
<a href="time.Time.html#Hour" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Hour</span></a>
|
||||
<a href="time.Time.html#ISOWeek" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>ISOWeek</span></a>
|
||||
<a href="time.Time.html#In" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>In</span></a>
|
||||
<a href="time.Time.html#IsDST" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>IsDST</span></a>
|
||||
<a href="time.Time.html#IsZero" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Is<wbr/>Zero</span></a>
|
||||
<a href="time.Time.html#Local" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Local</span></a>
|
||||
<a href="time.Time.html#Location" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Location</span></a>
|
||||
<a href="time.Time.html#MarshalBinary" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Binary</span></a>
|
||||
<a href="time.Time.html#MarshalJSON" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>MarshalJSON</span></a>
|
||||
<a href="time.Time.html#MarshalText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Text</span></a>
|
||||
<a href="time.Time.html#Minute" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Minute</span></a>
|
||||
<a href="time.Time.html#Month" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Month</span></a>
|
||||
<a href="time.Time.html#Nanosecond" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Nanosecond</span></a>
|
||||
<a href="time.Time.html#Round" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Round</span></a>
|
||||
<a href="time.Time.html#Second" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Second</span></a>
|
||||
<a href="time.Time.html#String" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a>
|
||||
<a href="time.Time.html#Sub" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Sub</span></a>
|
||||
<a href="time.Time.html#Truncate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Truncate</span></a>
|
||||
<a href="time.Time.html#UTC" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UTC</span></a>
|
||||
<a href="time.Time.html#Unix" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix</span></a>
|
||||
<a href="time.Time.html#UnixMicro" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Micro</span></a>
|
||||
<a href="time.Time.html#UnixMilli" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Milli</span></a>
|
||||
<a href="time.Time.html#UnixNano" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Nano</span></a>
|
||||
<a href="time.Time.html#UnmarshalBinary" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Binary</span></a>
|
||||
<a href="time.Time.html#UnmarshalJSON" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UnmarshalJSON</span></a>
|
||||
<a href="time.Time.html#UnmarshalText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Text</span></a>
|
||||
<a href="time.Time.html#Weekday" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Weekday</span></a>
|
||||
<a href="time.Time.html#Year" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year</span></a>
|
||||
<a href="time.Time.html#YearDay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year<wbr/>Day</span></a>
|
||||
<a href="time.Time.html#Zone" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone</span></a>
|
||||
<a href="time.Time.html#ZoneBounds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone<wbr/>Bounds</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="Add" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Add</span><a href="#Add" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Add.Add-1"><span class="tsd-kind-call-signature">Add</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Add.Add-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Add returns the time t+d.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">d</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L512">types.d.ts:512</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="AddDate" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Add<wbr/>Date</span><a href="#AddDate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="AddDate.AddDate-1"><span class="tsd-kind-call-signature">Add<wbr/>Date</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">years</span>, <span class="tsd-kind-parameter">months</span>, <span class="tsd-kind-parameter">days</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#AddDate.AddDate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>AddDate returns the time corresponding to adding the
|
||||
given number of years, months, and days to t.
|
||||
For example, AddDate(-1, 2, 3) applied to January 1, 2011
|
||||
returns March 4, 2010.</p>
|
||||
<p>Note that dates are fundamentally coupled to timezones, and calendrical
|
||||
periods like days don't have fixed durations. AddDate uses the Location of
|
||||
the Time value to determine these durations. That means that the same
|
||||
AddDate arguments can produce a different shift in absolute time depending on
|
||||
the base Time value and its Location. For example, AddDate(0, 0, 1) applied
|
||||
to 12:00 on March 27 always returns 12:00 on March 28. At some locations and
|
||||
in some years this is a 24 hour shift. In others it's a 23 hour shift due to
|
||||
daylight savings time transitions.</p>
|
||||
<p>AddDate normalizes its result in the same way that Date does,
|
||||
so, for example, adding one month to October 31 yields
|
||||
December 1, the normalized form for November 31.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">years</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">months</span>: <span class="tsd-signature-type">number</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">days</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L543">types.d.ts:543</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="After" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>After</span><a href="#After" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="After.After-1"><span class="tsd-kind-call-signature">After</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#After.After-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>After reports whether the time instant t is after u.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L399">types.d.ts:399</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="AppendFormat" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Append<wbr/>Format</span><a href="#AppendFormat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="AppendFormat.AppendFormat-1"><span class="tsd-kind-call-signature">Append<wbr/>Format</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">b</span>, <span class="tsd-kind-parameter">layout</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#AppendFormat.AppendFormat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>AppendFormat is like [Time.Format] but appends the textual
|
||||
representation to b and returns the extended buffer.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">b</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">layout</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L348">types.d.ts:348</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Before" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Before</span><a href="#Before" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Before.Before-1"><span class="tsd-kind-call-signature">Before</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#Before.Before-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Before reports whether the time instant t is before u.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L405">types.d.ts:405</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Clock" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Clock</span><a href="#Clock" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Clock.Clock-1"><span class="tsd-kind-call-signature">Clock</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Clock.Clock-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Clock returns the hour, minute, and second within the day specified by t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L474">types.d.ts:474</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Compare" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Compare</span><a href="#Compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Compare.Compare-1"><span class="tsd-kind-call-signature">Compare</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Compare.Compare-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Compare compares the time instant t with u. If t is before u, it returns -1;
|
||||
if t is after u, it returns +1; if they're the same, it returns 0.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L412">types.d.ts:412</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Date" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Date</span><a href="#Date" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Date.Date-1"><span class="tsd-kind-call-signature">Date</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Date.Date-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Date returns the year, month, and day in which t occurs.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L435">types.d.ts:435</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Day" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Day</span><a href="#Day" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Day.Day-1"><span class="tsd-kind-call-signature">Day</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Day.Day-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Day returns the day of the month specified by t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L453">types.d.ts:453</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Equal" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Equal</span><a href="#Equal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Equal.Equal-1"><span class="tsd-kind-call-signature">Equal</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#Equal.Equal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Equal reports whether t and u represent the same time instant.
|
||||
Two times can be equal even if they are in different locations.
|
||||
For example, 6:00 +0200 and 4:00 UTC are Equal.
|
||||
See the documentation on the Time type for the pitfalls of using == with
|
||||
Time values; most code should use Equal instead.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L422">types.d.ts:422</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Format" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Format</span><a href="#Format" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Format.Format-1"><span class="tsd-kind-call-signature">Format</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">layout</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#Format.Format-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Format returns a textual representation of the time value formatted according
|
||||
to the layout defined by the argument. See the documentation for the
|
||||
constant called [Layout] to see how to represent the layout format.</p>
|
||||
<p>The executable example for [Time.Format] demonstrates the working
|
||||
of the layout string in detail and is a good reference.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">layout</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L341">types.d.ts:341</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="GoString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Go<wbr/>String</span><a href="#GoString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="GoString.GoString-1"><span class="tsd-kind-call-signature">Go<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#GoString.GoString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>GoString implements [fmt.GoStringer] and formats t to be printed in Go source
|
||||
code.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L330">types.d.ts:330</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="GobDecode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Gob<wbr/>Decode</span><a href="#GobDecode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="GobDecode.GobDecode-1"><span class="tsd-kind-call-signature">Gob<wbr/>Decode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#GobDecode.GobDecode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>GobDecode implements the gob.GobDecoder interface.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L654">types.d.ts:654</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="GobEncode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Gob<wbr/>Encode</span><a href="#GobEncode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="GobEncode.GobEncode-1"><span class="tsd-kind-call-signature">Gob<wbr/>Encode</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#GobEncode.GobEncode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>GobEncode implements the gob.GobEncoder interface.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L648">types.d.ts:648</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Hour" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Hour</span><a href="#Hour" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Hour.Hour-1"><span class="tsd-kind-call-signature">Hour</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Hour.Hour-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Hour returns the hour within the day specified by t, in the range [0, 23].</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L480">types.d.ts:480</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="ISOWeek" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>ISOWeek</span><a href="#ISOWeek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="ISOWeek.ISOWeek-1"><span class="tsd-kind-call-signature">ISOWeek</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#ISOWeek.ISOWeek-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>ISOWeek returns the ISO 8601 year and week number in which t occurs.
|
||||
Week ranges from 1 to 53. Jan 01 to Jan 03 of year n might belong to
|
||||
week 52 or 53 of year n-1, and Dec 29 to Dec 31 might belong to week 1
|
||||
of year n+1.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L468">types.d.ts:468</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="In" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>In</span><a href="#In" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="In.In-1"><span class="tsd-kind-call-signature">In</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">loc</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#In.In-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>In returns a copy of t representing the same time instant, but
|
||||
with the copy's location information set to loc for display
|
||||
purposes.</p>
|
||||
<p>In panics if loc is nil.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">loc</span>: <a href="time.Location.html" class="tsd-signature-type tsd-kind-interface">Location</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L565">types.d.ts:565</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="IsDST" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>IsDST</span><a href="#IsDST" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="IsDST.IsDST-1"><span class="tsd-kind-call-signature">IsDST</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsDST.IsDST-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>IsDST reports whether the time in the configured location is in Daylight Savings Time.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L692">types.d.ts:692</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="IsZero" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Is<wbr/>Zero</span><a href="#IsZero" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="IsZero.IsZero-1"><span class="tsd-kind-call-signature">Is<wbr/>Zero</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsZero.IsZero-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>IsZero reports whether t represents the zero time instant,
|
||||
January 1, year 1, 00:00:00 UTC.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L429">types.d.ts:429</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Local" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Local</span><a href="#Local" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Local.Local-1"><span class="tsd-kind-call-signature">Local</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Local.Local-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Local returns t with the location set to local time.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L555">types.d.ts:555</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Location" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Location</span><a href="#Location" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Location.Location-1"><span class="tsd-kind-call-signature">Location</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Location.html" class="tsd-signature-type tsd-kind-interface">Location</a><a href="#Location.Location-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Location returns the time zone information associated with t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Location.html" class="tsd-signature-type tsd-kind-interface">Location</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L571">types.d.ts:571</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="MarshalBinary" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Marshal<wbr/>Binary</span><a href="#MarshalBinary" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="MarshalBinary.MarshalBinary-1"><span class="tsd-kind-call-signature">Marshal<wbr/>Binary</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#MarshalBinary.MarshalBinary-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>MarshalBinary implements the encoding.BinaryMarshaler interface.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L636">types.d.ts:636</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="MarshalJSON" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>MarshalJSON</span><a href="#MarshalJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="MarshalJSON.MarshalJSON-1"><span class="tsd-kind-call-signature">MarshalJSON</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#MarshalJSON.MarshalJSON-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>MarshalJSON implements the [json.Marshaler] interface.
|
||||
The time is a quoted string in the RFC 3339 format with sub-second precision.
|
||||
If the timestamp cannot be represented as valid RFC 3339
|
||||
(e.g., the year is out of range), then an error is reported.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L663">types.d.ts:663</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="MarshalText" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Marshal<wbr/>Text</span><a href="#MarshalText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="MarshalText.MarshalText-1"><span class="tsd-kind-call-signature">Marshal<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#MarshalText.MarshalText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>MarshalText implements the [encoding.TextMarshaler] interface.
|
||||
The time is formatted in RFC 3339 format with sub-second precision.
|
||||
If the timestamp cannot be represented as valid RFC 3339
|
||||
(e.g., the year is out of range), then an error is reported.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L679">types.d.ts:679</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Minute" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Minute</span><a href="#Minute" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Minute.Minute-1"><span class="tsd-kind-call-signature">Minute</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Minute.Minute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Minute returns the minute offset within the hour specified by t, in the range [0, 59].</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L486">types.d.ts:486</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Month" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Month</span><a href="#Month" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Month.Month-1"><span class="tsd-kind-call-signature">Month</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a><a href="#Month.Month-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Month returns the month of the year specified by t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L447">types.d.ts:447</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Nanosecond" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Nanosecond</span><a href="#Nanosecond" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Nanosecond.Nanosecond-1"><span class="tsd-kind-call-signature">Nanosecond</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Nanosecond.Nanosecond-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Nanosecond returns the nanosecond offset within the second specified by t,
|
||||
in the range [0, 999999999].</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L499">types.d.ts:499</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Round" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Round</span><a href="#Round" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Round.Round-1"><span class="tsd-kind-call-signature">Round</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Round.Round-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Round returns the result of rounding t to the nearest multiple of d (since the zero time).
|
||||
The rounding behavior for halfway values is to round up.
|
||||
If d <= 0, Round returns t stripped of any monotonic clock reading but otherwise unchanged.</p>
|
||||
<p>Round operates on the time as an absolute duration since the
|
||||
zero time; it does not operate on the presentation form of the
|
||||
time. Thus, Round(Hour) may return a time with a non-zero
|
||||
minute, depending on the time's Location.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">d</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L717">types.d.ts:717</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Second" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Second</span><a href="#Second" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Second.Second-1"><span class="tsd-kind-call-signature">Second</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Second.Second-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Second returns the second offset within the minute specified by t, in the range [0, 59].</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L492">types.d.ts:492</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="String" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>String</span><a href="#String" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="String.String-1"><span class="tsd-kind-call-signature">String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#String.String-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>String returns the time formatted using the format string</p>
|
||||
<pre><code><span class="hl-1"> </span><span class="hl-2">"2006-01-02 15:04:05.999999999 -0700 MST"</span>
|
||||
</code><button>Copy</button></pre>
|
||||
<p>If the time has a monotonic clock reading, the returned string
|
||||
includes a final field "m=±<value>", where value is the monotonic
|
||||
clock reading formatted as a decimal number of seconds.</p>
|
||||
<p>The returned string is meant for debugging; for a stable serialized
|
||||
representation, use t.MarshalText, t.MarshalBinary, or t.Format
|
||||
with an explicit format string.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L323">types.d.ts:323</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Sub" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Sub</span><a href="#Sub" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Sub.Sub-1"><span class="tsd-kind-call-signature">Sub</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a><a href="#Sub.Sub-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Sub returns the duration t-u. If the result exceeds the maximum (or minimum)
|
||||
value that can be stored in a [Duration], the maximum (or minimum) duration
|
||||
will be returned.
|
||||
To compute t-d for a duration d, use t.Add(-d).</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L521">types.d.ts:521</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Truncate" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Truncate</span><a href="#Truncate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Truncate.Truncate-1"><span class="tsd-kind-call-signature">Truncate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Truncate.Truncate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Truncate returns the result of rounding t down to a multiple of d (since the zero time).
|
||||
If d <= 0, Truncate returns t stripped of any monotonic clock reading but otherwise unchanged.</p>
|
||||
<p>Truncate operates on the time as an absolute duration since the
|
||||
zero time; it does not operate on the presentation form of the
|
||||
time. Thus, Truncate(Hour) may return a time with a non-zero
|
||||
minute, depending on the time's Location.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">d</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L704">types.d.ts:704</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="UTC" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>UTC</span><a href="#UTC" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="UTC.UTC-1"><span class="tsd-kind-call-signature">UTC</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#UTC.UTC-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>UTC returns t with the location set to UTC.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L549">types.d.ts:549</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Unix" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Unix</span><a href="#Unix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Unix.Unix-1"><span class="tsd-kind-call-signature">Unix</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Unix.Unix-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Unix returns t as a Unix time, the number of seconds elapsed
|
||||
since January 1, 1970 UTC. The result does not depend on the
|
||||
location associated with t.
|
||||
Unix-like operating systems often record time as a 32-bit
|
||||
count of seconds, but since the method here returns a 64-bit
|
||||
value it is valid for billions of years into the past or future.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L599">types.d.ts:599</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="UnixMicro" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Unix<wbr/>Micro</span><a href="#UnixMicro" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="UnixMicro.UnixMicro-1"><span class="tsd-kind-call-signature">Unix<wbr/>Micro</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#UnixMicro.UnixMicro-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>UnixMicro returns t as a Unix time, the number of microseconds elapsed since
|
||||
January 1, 1970 UTC. The result is undefined if the Unix time in
|
||||
microseconds cannot be represented by an int64 (a date before year -290307 or
|
||||
after year 294246). The result does not depend on the location associated
|
||||
with t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L619">types.d.ts:619</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="UnixMilli" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Unix<wbr/>Milli</span><a href="#UnixMilli" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="UnixMilli.UnixMilli-1"><span class="tsd-kind-call-signature">Unix<wbr/>Milli</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#UnixMilli.UnixMilli-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>UnixMilli returns t as a Unix time, the number of milliseconds elapsed since
|
||||
January 1, 1970 UTC. The result is undefined if the Unix time in
|
||||
milliseconds cannot be represented by an int64 (a date more than 292 million
|
||||
years before or after 1970). The result does not depend on the
|
||||
location associated with t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L609">types.d.ts:609</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="UnixNano" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Unix<wbr/>Nano</span><a href="#UnixNano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="UnixNano.UnixNano-1"><span class="tsd-kind-call-signature">Unix<wbr/>Nano</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#UnixNano.UnixNano-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>UnixNano returns t as a Unix time, the number of nanoseconds elapsed
|
||||
since January 1, 1970 UTC. The result is undefined if the Unix time
|
||||
in nanoseconds cannot be represented by an int64 (a date before the year
|
||||
1678 or after 2262). Note that this means the result of calling UnixNano
|
||||
on the zero Time is undefined. The result does not depend on the
|
||||
location associated with t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L630">types.d.ts:630</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="UnmarshalBinary" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Unmarshal<wbr/>Binary</span><a href="#UnmarshalBinary" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="UnmarshalBinary.UnmarshalBinary-1"><span class="tsd-kind-call-signature">Unmarshal<wbr/>Binary</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#UnmarshalBinary.UnmarshalBinary-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>UnmarshalBinary implements the encoding.BinaryUnmarshaler interface.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L642">types.d.ts:642</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="UnmarshalJSON" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>UnmarshalJSON</span><a href="#UnmarshalJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="UnmarshalJSON.UnmarshalJSON-1"><span class="tsd-kind-call-signature">UnmarshalJSON</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#UnmarshalJSON.UnmarshalJSON-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>UnmarshalJSON implements the [json.Unmarshaler] interface.
|
||||
The time must be a quoted string in the RFC 3339 format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L670">types.d.ts:670</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="UnmarshalText" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Unmarshal<wbr/>Text</span><a href="#UnmarshalText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="UnmarshalText.UnmarshalText-1"><span class="tsd-kind-call-signature">Unmarshal<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#UnmarshalText.UnmarshalText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>UnmarshalText implements the [encoding.TextUnmarshaler] interface.
|
||||
The time must be in the RFC 3339 format.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L686">types.d.ts:686</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Weekday" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Weekday</span><a href="#Weekday" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Weekday.Weekday-1"><span class="tsd-kind-call-signature">Weekday</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Weekday.html" class="tsd-signature-type tsd-kind-interface">Weekday</a><a href="#Weekday.Weekday-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Weekday returns the day of the week specified by t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="time.Weekday.html" class="tsd-signature-type tsd-kind-interface">Weekday</a></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L459">types.d.ts:459</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Year" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Year</span><a href="#Year" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Year.Year-1"><span class="tsd-kind-call-signature">Year</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Year.Year-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Year returns the year in which t occurs.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L441">types.d.ts:441</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="YearDay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Year<wbr/>Day</span><a href="#YearDay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="YearDay.YearDay-1"><span class="tsd-kind-call-signature">Year<wbr/>Day</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#YearDay.YearDay-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>YearDay returns the day of the year specified by t, in the range [1,365] for non-leap years,
|
||||
and [1,366] in leap years.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L506">types.d.ts:506</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="Zone" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Zone</span><a href="#Zone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="Zone.Zone-1"><span class="tsd-kind-call-signature">Zone</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Zone.Zone-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Zone computes the time zone in effect at time t, returning the abbreviated
|
||||
name of the zone (such as "CET") and its offset in seconds east of UTC.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L578">types.d.ts:578</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member"><a id="ZoneBounds" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Zone<wbr/>Bounds</span><a href="#ZoneBounds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="ZoneBounds.ZoneBounds-1"><span class="tsd-kind-call-signature">Zone<wbr/>Bounds</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">, </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">]</span><a href="#ZoneBounds.ZoneBounds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>ZoneBounds returns the bounds of the time zone in effect at time t.
|
||||
The zone begins at start and the next zone begins at end.
|
||||
If the zone begins at the beginning of time, start will be returned as a zero Time.
|
||||
If the zone goes on forever, end will be returned as a zero Time.
|
||||
The Location of the returned times will be the same as t.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">, </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">]</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L588">types.d.ts:588</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#Add" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Add</span></a></li>
|
||||
<li><a href="#AddDate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Add<wbr/>Date</span></a></li>
|
||||
<li><a href="#After" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>After</span></a></li>
|
||||
<li><a href="#AppendFormat" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Append<wbr/>Format</span></a></li>
|
||||
<li><a href="#Before" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Before</span></a></li>
|
||||
<li><a href="#Clock" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Clock</span></a></li>
|
||||
<li><a href="#Compare" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Compare</span></a></li>
|
||||
<li><a href="#Date" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Date</span></a></li>
|
||||
<li><a href="#Day" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Day</span></a></li>
|
||||
<li><a href="#Equal" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Equal</span></a></li>
|
||||
<li><a href="#Format" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Format</span></a></li>
|
||||
<li><a href="#GoString" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Go<wbr/>String</span></a></li>
|
||||
<li><a href="#GobDecode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Decode</span></a></li>
|
||||
<li><a href="#GobEncode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Encode</span></a></li>
|
||||
<li><a href="#Hour" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Hour</span></a></li>
|
||||
<li><a href="#ISOWeek" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>ISOWeek</span></a></li>
|
||||
<li><a href="#In" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>In</span></a></li>
|
||||
<li><a href="#IsDST" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>IsDST</span></a></li>
|
||||
<li><a href="#IsZero" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Is<wbr/>Zero</span></a></li>
|
||||
<li><a href="#Local" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Local</span></a></li>
|
||||
<li><a href="#Location" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Location</span></a></li>
|
||||
<li><a href="#MarshalBinary" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Binary</span></a></li>
|
||||
<li><a href="#MarshalJSON" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>MarshalJSON</span></a></li>
|
||||
<li><a href="#MarshalText" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Text</span></a></li>
|
||||
<li><a href="#Minute" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Minute</span></a></li>
|
||||
<li><a href="#Month" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Month</span></a></li>
|
||||
<li><a href="#Nanosecond" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Nanosecond</span></a></li>
|
||||
<li><a href="#Round" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Round</span></a></li>
|
||||
<li><a href="#Second" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Second</span></a></li>
|
||||
<li><a href="#String" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a></li>
|
||||
<li><a href="#Sub" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Sub</span></a></li>
|
||||
<li><a href="#Truncate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Truncate</span></a></li>
|
||||
<li><a href="#UTC" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UTC</span></a></li>
|
||||
<li><a href="#Unix" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix</span></a></li>
|
||||
<li><a href="#UnixMicro" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Micro</span></a></li>
|
||||
<li><a href="#UnixMilli" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Milli</span></a></li>
|
||||
<li><a href="#UnixNano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Nano</span></a></li>
|
||||
<li><a href="#UnmarshalBinary" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Binary</span></a></li>
|
||||
<li><a href="#UnmarshalJSON" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UnmarshalJSON</span></a></li>
|
||||
<li><a href="#UnmarshalText" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Text</span></a></li>
|
||||
<li><a href="#Weekday" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Weekday</span></a></li>
|
||||
<li><a href="#Year" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year</span></a></li>
|
||||
<li><a href="#YearDay" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year<wbr/>Day</span></a></li>
|
||||
<li><a href="#Zone" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone</span></a></li>
|
||||
<li><a href="#ZoneBounds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone<wbr/>Bounds</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="time"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="time.Duration.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Duration</span></a></li>
|
||||
<li><a href="time.Location.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a></li>
|
||||
<li><a href="time.Month.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a></li>
|
||||
<li><a href="time.Time.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a></li>
|
||||
<li><a href="time.Weekday.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a></li></ul></div></details></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
223
test/htmldocs/interfaces/time.Weekday.html
Normal file
223
test/htmldocs/interfaces/time.Weekday.html
Normal file
|
@ -0,0 +1,223 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Weekday | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/time.html">time</a></li>
|
||||
<li><a href="time.Weekday.html">Weekday</a></li></ul>
|
||||
<h1>Interface Weekday</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>A Weekday specifies a day of the week (Sunday = 0, ...).</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="tsd-signature-type ">Number</span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Weekday</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L835">types.d.ts:835</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L836">types.d.ts:836</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="time.Weekday.html#String" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>String</span></a>
|
||||
<a href="time.Weekday.html#toExponential" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Exponential</span></a>
|
||||
<a href="time.Weekday.html#toFixed" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Fixed</span></a>
|
||||
<a href="time.Weekday.html#toLocaleString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a>
|
||||
<a href="time.Weekday.html#toPrecision" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Precision</span></a>
|
||||
<a href="time.Weekday.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a>
|
||||
<a href="time.Weekday.html#valueOf" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>value<wbr/>Of</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member"><a id="String" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>String</span><a href="#String" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||||
<ul class="tsd-signatures">
|
||||
<li class="tsd-signature tsd-anchor-link" id="String.String-1"><span class="tsd-kind-call-signature">String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#String.String-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>String returns the English name of the day ("Sunday", "Monday", ...).</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L840">types.d.ts:840</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toExponential" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Exponential</span><a href="#toExponential" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toExponential.toExponential-1"><span class="tsd-kind-call-signature">to<wbr/>Exponential</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fractionDigits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toExponential.toExponential-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string containing a number represented in exponential notation.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fractionDigits</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toExponential</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:576</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toFixed" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Fixed</span><a href="#toFixed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toFixed.toFixed-1"><span class="tsd-kind-call-signature">to<wbr/>Fixed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fractionDigits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toFixed.toFixed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representing a number in fixed-point notation.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">fractionDigits</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toFixed</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:570</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toLocaleString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Locale<wbr/>String</span><a href="#toLocaleString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toLocaleString.toLocaleString-1"><span class="tsd-kind-call-signature">to<wbr/>Locale<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">locales</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toLocaleString.toLocaleString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Converts a number to a string by using the current or specified locale.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">locales</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li>
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">NumberFormatOptions</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>An object that contains one or more properties that specify comparison options.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toLocaleString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:4522</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toPrecision" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>Precision</span><a href="#toPrecision" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toPrecision.toPrecision-1"><span class="tsd-kind-call-signature">to<wbr/>Precision</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">precision</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toPrecision.toPrecision-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">precision</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Number of significant digits. Must be in the range 1 - 21, inclusive.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toPrecision</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:582</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1"><span class="tsd-kind-call-signature">to<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">radix</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns a string representation of an object.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">radix</span>: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography"><p>Specifies a radix for converting numeric values to strings. This value is only used for numbers.</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.toString</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:564</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="valueOf" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>value<wbr/>Of</span><a href="#valueOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||
<li class="tsd-signature tsd-anchor-link" id="valueOf.valueOf-1"><span class="tsd-kind-call-signature">value<wbr/>Of</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#valueOf.valueOf-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Returns the primitive value of the specified object.</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<p>Inherited from Number.valueOf</p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/typescript/lib/lib.es5.d.ts:585</li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li><a href="#String" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a></li>
|
||||
<li><a href="#toExponential" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Exponential</span></a></li>
|
||||
<li><a href="#toFixed" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Fixed</span></a></li>
|
||||
<li><a href="#toLocaleString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a></li>
|
||||
<li><a href="#toPrecision" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>Precision</span></a></li>
|
||||
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a></li>
|
||||
<li><a href="#valueOf" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>value<wbr/>Of</span></a></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="time"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="time.Duration.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Duration</span></a></li>
|
||||
<li><a href="time.Location.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a></li>
|
||||
<li><a href="time.Month.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a></li>
|
||||
<li><a href="time.Time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a></li>
|
||||
<li><a href="time.Weekday.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a></li></ul></div></details></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
61
test/htmldocs/modules.html
Normal file
61
test/htmldocs/modules.html
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base=".">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<h2>Documentation</h2></div>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Namespaces</h3>
|
||||
<div class="tsd-index-list"><a href="modules/a.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>a</span></a>
|
||||
<a href="modules/b.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a>
|
||||
<a href="modules/c.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a>
|
||||
<a href="modules/time.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Type Aliases</h3>
|
||||
<div class="tsd-index-list"><a href="types/_TygojaAny.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a>
|
||||
<a href="types/_TygojaDict.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Functions</h3>
|
||||
<div class="tsd-index-list"><a href="functions/_app.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
82
test/htmldocs/modules/a.html
Normal file
82
test/htmldocs/modules/a.html
Normal file
|
@ -0,0 +1,82 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>a | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="a.html">a</a></li></ul>
|
||||
<h1>Namespace a</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>package a docs
|
||||
lorem ipsum dolor...</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L9">types.d.ts:9</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Interfaces</h3>
|
||||
<div class="tsd-index-list"><a href="../interfaces/a.Empty.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a>
|
||||
<a href="../interfaces/a.Handler.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a>
|
||||
<a href="../interfaces/a.InterfaceB.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a>
|
||||
<a href="../interfaces/a.SliceAlias.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a>
|
||||
<a href="../interfaces/a.StructB.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a>
|
||||
<a href="../interfaces/a.interfaceA.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a>
|
||||
<a href="../interfaces/a.structA.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a>
|
||||
<a href="../interfaces/a.unexported.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Type Aliases</h3>
|
||||
<div class="tsd-index-list"><a href="../types/a._subOLPog.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="a.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="../interfaces/a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Empty</span></a></li>
|
||||
<li><a href="../interfaces/a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="../interfaces/a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="../interfaces/a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="../interfaces/a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="../interfaces/a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="../interfaces/a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="../interfaces/a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="../types/a._subOLPog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
78
test/htmldocs/modules/b.html
Normal file
78
test/htmldocs/modules/b.html
Normal file
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>b | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="b.html">b</a></li></ul>
|
||||
<h1>Namespace b</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>package b</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L97">types.d.ts:97</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Interfaces</h3>
|
||||
<div class="tsd-index-list"><a href="../interfaces/b.Func1.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Func1</span></a>
|
||||
<a href="../interfaces/b.Func2.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a>
|
||||
<a href="../interfaces/b.Func3.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a>
|
||||
<a href="../interfaces/b.Func4.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a>
|
||||
<a href="../interfaces/b.Func5.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a>
|
||||
<a href="../interfaces/b.Func6.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a>
|
||||
<a href="../interfaces/b.Func7.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a>
|
||||
<a href="../interfaces/b.Func8.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a>
|
||||
<a href="../interfaces/b.Func9.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="b"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="b.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="../interfaces/b.Func1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func1</span></a></li>
|
||||
<li><a href="../interfaces/b.Func2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func2</span></a></li>
|
||||
<li><a href="../interfaces/b.Func3.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func3</span></a></li>
|
||||
<li><a href="../interfaces/b.Func4.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func4</span></a></li>
|
||||
<li><a href="../interfaces/b.Func5.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func5</span></a></li>
|
||||
<li><a href="../interfaces/b.Func6.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func6</span></a></li>
|
||||
<li><a href="../interfaces/b.Func7.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func7</span></a></li>
|
||||
<li><a href="../interfaces/b.Func8.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func8</span></a></li>
|
||||
<li><a href="../interfaces/b.Func9.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Func9</span></a></li></ul></div></details></li>
|
||||
<li><a href="c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
65
test/htmldocs/modules/c.html
Normal file
65
test/htmldocs/modules/c.html
Normal file
|
@ -0,0 +1,65 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>c | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="c.html">c</a></li></ul>
|
||||
<h1>Namespace c</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L156">types.d.ts:156</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L721">types.d.ts:721</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Interfaces</h3>
|
||||
<div class="tsd-index-list"><a href="../interfaces/c.Example1.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Example1</span></a>
|
||||
<a href="../interfaces/c.Example2.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Example2</span></a>
|
||||
<a href="../interfaces/c.Handler.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a>
|
||||
<a href="../interfaces/c.Raw.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Raw</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="c"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="c.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="../interfaces/c.Example1.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Example1</span></a></li>
|
||||
<li><a href="../interfaces/c.Example2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Example2</span></a></li>
|
||||
<li><a href="../interfaces/c.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="../interfaces/c.Raw.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Raw</span></a></li></ul></div></details></li>
|
||||
<li><a href="time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
144
test/htmldocs/modules/time.html
Normal file
144
test/htmldocs/modules/time.html
Normal file
|
@ -0,0 +1,144 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>time | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="time.html">time</a></li></ul>
|
||||
<h1>Namespace time</h1></div>
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography"><p>Package time provides functionality for measuring and displaying time.</p>
|
||||
<p>The calendrical calculations always assume a Gregorian calendar, with
|
||||
no leap seconds.</p>
|
||||
<a id="md:monotonic-clocks" class="tsd-anchor"></a><h1><a href="#md:monotonic-clocks">Monotonic Clocks</a></h1><p>Operating systems provide both a “wall clock,” which is subject to
|
||||
changes for clock synchronization, and a “monotonic clock,” which is
|
||||
not. The general rule is that the wall clock is for telling time and
|
||||
the monotonic clock is for measuring time. Rather than split the API,
|
||||
in this package the Time returned by [time.Now] contains both a wall
|
||||
clock reading and a monotonic clock reading; later time-telling
|
||||
operations use the wall clock reading, but later time-measuring
|
||||
operations, specifically comparisons and subtractions, use the
|
||||
monotonic clock reading.</p>
|
||||
<p>For example, this code always computes a positive elapsed time of
|
||||
approximately 20 milliseconds, even if the wall clock is changed during
|
||||
the operation being timed:</p>
|
||||
<pre><code><span class="hl-1"> </span><span class="hl-8">start</span><span class="hl-1"> := </span><span class="hl-4">time</span><span class="hl-1">.</span><span class="hl-3">Now</span><span class="hl-1">()</span><br/><span class="hl-1"> ... </span><span class="hl-4">operation</span><span class="hl-1"> </span><span class="hl-4">that</span><span class="hl-1"> </span><span class="hl-4">takes</span><span class="hl-1"> </span><span class="hl-7">20</span><span class="hl-1"> </span><span class="hl-4">milliseconds</span><span class="hl-1"> ...</span><br/><span class="hl-1"> </span><span class="hl-8">t</span><span class="hl-1"> := </span><span class="hl-4">time</span><span class="hl-1">.</span><span class="hl-3">Now</span><span class="hl-1">()</span><br/><span class="hl-1"> </span><span class="hl-8">elapsed</span><span class="hl-1"> := </span><span class="hl-4">t</span><span class="hl-1">.</span><span class="hl-3">Sub</span><span class="hl-1">(</span><span class="hl-4">start</span><span class="hl-1">)</span>
|
||||
</code><button>Copy</button></pre>
|
||||
<p>Other idioms, such as <a href="start">time.Since</a>, <a href="deadline">time.Until</a>, and
|
||||
time.Now().Before(deadline), are similarly robust against wall clock
|
||||
resets.</p>
|
||||
<p>The rest of this section gives the precise details of how operations
|
||||
use monotonic clocks, but understanding those details is not required
|
||||
to use this package.</p>
|
||||
<p>The Time returned by time.Now contains a monotonic clock reading.
|
||||
If Time t has a monotonic clock reading, t.Add adds the same duration to
|
||||
both the wall clock and monotonic clock readings to compute the result.
|
||||
Because t.AddDate(y, m, d), t.Round(d), and t.Truncate(d) are wall time
|
||||
computations, they always strip any monotonic clock reading from their results.
|
||||
Because t.In, t.Local, and t.UTC are used for their effect on the interpretation
|
||||
of the wall time, they also strip any monotonic clock reading from their results.
|
||||
The canonical way to strip a monotonic clock reading is to use t = t.Round(0).</p>
|
||||
<p>If Times t and u both contain monotonic clock readings, the operations
|
||||
t.After(u), t.Before(u), t.Equal(u), t.Compare(u), and t.Sub(u) are carried out
|
||||
using the monotonic clock readings alone, ignoring the wall clock
|
||||
readings. If either t or u contains no monotonic clock reading, these
|
||||
operations fall back to using the wall clock readings.</p>
|
||||
<p>On some systems the monotonic clock will stop if the computer goes to sleep.
|
||||
On such a system, t.Sub(u) may not accurately reflect the actual
|
||||
time that passed between t and u. The same applies to other functions and
|
||||
methods that subtract times, such as [Since], [Until], [Before], [After],
|
||||
[Add], [Sub], [Equal] and [Compare]. In some cases, you may need to strip
|
||||
the monotonic clock to get accurate results.</p>
|
||||
<p>Because the monotonic clock reading has no meaning outside
|
||||
the current process, the serialized forms generated by t.GobEncode,
|
||||
t.MarshalBinary, t.MarshalJSON, and t.MarshalText omit the monotonic
|
||||
clock reading, and t.Format provides no format for it. Similarly, the
|
||||
constructors [time.Date], [time.Parse], [time.ParseInLocation], and [time.Unix],
|
||||
as well as the unmarshalers t.GobDecode, t.UnmarshalBinary.
|
||||
t.UnmarshalJSON, and t.UnmarshalText always create times with
|
||||
no monotonic clock reading.</p>
|
||||
<p>The monotonic clock reading exists only in [Time] values. It is not
|
||||
a part of [Duration] values or the Unix times returned by t.Unix and
|
||||
friends.</p>
|
||||
<p>Note that the Go == operator compares not just the time instant but
|
||||
also the [Location] and the monotonic clock reading. See the
|
||||
documentation for the Time type for a discussion of equality
|
||||
testing for Time values.</p>
|
||||
<p>For debugging, the result of t.String does include the monotonic
|
||||
clock reading if present. If t != u because of different monotonic clock readings,
|
||||
that difference will be visible when printing t.String() and u.String().</p>
|
||||
<a id="md:timer-resolution" class="tsd-anchor"></a><h1><a href="#md:timer-resolution">Timer Resolution</a></h1><p>[Timer] resolution varies depending on the Go runtime, the operating system
|
||||
and the underlying hardware.
|
||||
On Unix, the resolution is ~1ms.
|
||||
On Windows version 1803 and newer, the resolution is ~0.5ms.
|
||||
On older Windows versions, the default resolution is ~16ms, but
|
||||
a higher resolution may be requested using [golang.org/x/sys/windows.TimeBeginPeriod].</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L306">types.d.ts:306</a></li>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L821">types.d.ts:821</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<h3 class="tsd-index-heading uppercase">Index</h3>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Interfaces</h3>
|
||||
<div class="tsd-index-list"><a href="../interfaces/time.Duration.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Duration</span></a>
|
||||
<a href="../interfaces/time.Location.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a>
|
||||
<a href="../interfaces/time.Month.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a>
|
||||
<a href="../interfaces/time.Time.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a>
|
||||
<a href="../interfaces/time.Weekday.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a>
|
||||
</div></section></section></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#md:monotonic-clocks"><span>Monotonic <wbr/>Clocks</span></a></li>
|
||||
<li><a href="#md:timer-resolution"><span>Timer <wbr/>Resolution</span></a></li></ul></li></ul></div></details></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="time"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="time.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="../interfaces/time.Duration.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Duration</span></a></li>
|
||||
<li><a href="../interfaces/time.Location.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a></li>
|
||||
<li><a href="../interfaces/time.Month.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a></li>
|
||||
<li><a href="../interfaces/time.Time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a></li>
|
||||
<li><a href="../interfaces/time.Weekday.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a></li></ul></div></details></li>
|
||||
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
48
test/htmldocs/types/_TygojaAny.html
Normal file
48
test/htmldocs/types/_TygojaAny.html
Normal file
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>_TygojaAny | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="_TygojaAny.html">_TygojaAny</a></li></ul>
|
||||
<h1>Type alias _TygojaAny</h1></div>
|
||||
<div class="tsd-signature"><span class="tsd-kind-type-alias">_<wbr/>Tygoja<wbr/>Any</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L3">types.d.ts:3</a></li></ul></aside></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="_TygojaAny.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
53
test/htmldocs/types/_TygojaDict.html
Normal file
53
test/htmldocs/types/_TygojaDict.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>_TygojaDict | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="_TygojaDict.html">_TygojaDict</a></li></ul>
|
||||
<h1>Type alias _TygojaDict</h1></div>
|
||||
<div class="tsd-signature"><span class="tsd-kind-type-alias">_<wbr/>Tygoja<wbr/>Dict</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-index-signature">
|
||||
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></h5></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L2">types.d.ts:2</a></li></ul></aside></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="_TygojaDict.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
64
test/htmldocs/types/a._subOLPog.html
Normal file
64
test/htmldocs/types/a._subOLPog.html
Normal file
|
@ -0,0 +1,64 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>_subOLPog | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||||
<div class="tsd-toolbar-contents container">
|
||||
<div class="table-cell" id="tsd-search" data-base="..">
|
||||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||||
<div class="field">
|
||||
<div id="tsd-toolbar-links"></div></div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
||||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||||
<div class="container container-main">
|
||||
<div class="col-content">
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">Documentation</a></li>
|
||||
<li><a href="../modules/a.html">a</a></li>
|
||||
<li><a href="a._subOLPog.html">_subOLPog</a></li></ul>
|
||||
<h1>Type alias _subOLPog</h1></div>
|
||||
<div class="tsd-signature"><span class="tsd-kind-type-alias">_subOLPog</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/a.unexported.html" class="tsd-signature-type tsd-kind-interface">unexported</a><span class="tsd-signature-symbol"> & </span><a href="../interfaces/a.structA.html" class="tsd-signature-type tsd-kind-interface">structA</a></div>
|
||||
<div class="tsd-comment tsd-typography"><p>structB comment</p>
|
||||
</div>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L75">types.d.ts:75</a></li></ul></aside></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<div class="tsd-filter-visibility">
|
||||
<h4 class="uppercase">Member Visibility</h4><form>
|
||||
<ul id="tsd-filter-options">
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||||
<div class="tsd-theme-toggle">
|
||||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||||
<div class="site-menu">
|
||||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
||||
<ul class="tsd-small-nested-navigation">
|
||||
<li>
|
||||
<details class="tsd-index-accordion" open data-key="a"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<ul class="tsd-nested-navigation">
|
||||
<li><a href="../interfaces/a.Empty.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Empty</span></a></li>
|
||||
<li><a href="../interfaces/a.Handler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Handler</span></a></li>
|
||||
<li><a href="../interfaces/a.InterfaceB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>InterfaceB</span></a></li>
|
||||
<li><a href="../interfaces/a.SliceAlias.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Slice<wbr/>Alias</span></a></li>
|
||||
<li><a href="../interfaces/a.StructB.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>StructB</span></a></li>
|
||||
<li><a href="../interfaces/a.interfaceA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>interfaceA</span></a></li>
|
||||
<li><a href="../interfaces/a.structA.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>structA</span></a></li>
|
||||
<li><a href="../interfaces/a.unexported.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>unexported</span></a></li>
|
||||
<li><a href="a._subOLPog.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_subOLPog</span></a></li></ul></div></details></li>
|
||||
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
||||
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
||||
<li><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></li>
|
||||
<li><a href="_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
||||
<li><a href="_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
||||
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
||||
<div class="tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div></body></html>
|
33
test/main.go
Normal file
33
test/main.go
Normal file
|
@ -0,0 +1,33 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/pocketbase/tygoja"
|
||||
)
|
||||
|
||||
func main() {
|
||||
gen := tygoja.New(tygoja.Config{
|
||||
Packages: map[string][]string{
|
||||
"github.com/pocketbase/tygoja/test/a": {"*"},
|
||||
"github.com/pocketbase/tygoja/test/b": {"*"},
|
||||
"github.com/pocketbase/tygoja/test/c": {"Example2", "Handler"},
|
||||
},
|
||||
Heading: `declare var $app: c.Handler;`,
|
||||
WithPackageFunctions: true,
|
||||
// enable if you want to be able to import them
|
||||
// StartModifier: "export",
|
||||
})
|
||||
|
||||
result, err := gen.Generate()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if err := os.WriteFile("./types.d.ts", []byte(result), 0644); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
// run `npx typedoc` to generate HTML docs from the above declarations
|
||||
}
|
238
test/package-lock.json
generated
Normal file
238
test/package-lock.json
generated
Normal file
|
@ -0,0 +1,238 @@
|
|||
{
|
||||
"name": "test",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"devDependencies": {
|
||||
"typedoc": "^0.24.8"
|
||||
}
|
||||
},
|
||||
"node_modules/ansi-sequence-parser": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz",
|
||||
"integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/balanced-match": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/jsonc-parser": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz",
|
||||
"integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/lunr": {
|
||||
"version": "2.3.9",
|
||||
"resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz",
|
||||
"integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/marked": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz",
|
||||
"integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"marked": "bin/marked.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12"
|
||||
}
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "9.0.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz",
|
||||
"integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/shiki": {
|
||||
"version": "0.14.2",
|
||||
"resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz",
|
||||
"integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"ansi-sequence-parser": "^1.1.0",
|
||||
"jsonc-parser": "^3.2.0",
|
||||
"vscode-oniguruma": "^1.7.0",
|
||||
"vscode-textmate": "^8.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/typedoc": {
|
||||
"version": "0.24.8",
|
||||
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.24.8.tgz",
|
||||
"integrity": "sha512-ahJ6Cpcvxwaxfu4KtjA8qZNqS43wYt6JL27wYiIgl1vd38WW/KWX11YuAeZhuz9v+ttrutSsgK+XO1CjL1kA3w==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"lunr": "^2.3.9",
|
||||
"marked": "^4.3.0",
|
||||
"minimatch": "^9.0.0",
|
||||
"shiki": "^0.14.1"
|
||||
},
|
||||
"bin": {
|
||||
"typedoc": "bin/typedoc"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.14"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x"
|
||||
}
|
||||
},
|
||||
"node_modules/typedoc-twilio-theme": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/typedoc-twilio-theme/-/typedoc-twilio-theme-1.0.1.tgz",
|
||||
"integrity": "sha512-9cT7fli3+1x0CcQvavenemzjpEh9jOG93Dr9j8vqmI6BBjBA22cUsAVoYYSwu0E/nOJOKWxYqtfM4t2qHi8QMA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 4"
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.1.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz",
|
||||
"integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/vscode-oniguruma": {
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz",
|
||||
"integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/vscode-textmate": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz",
|
||||
"integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==",
|
||||
"dev": true
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-sequence-parser": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz",
|
||||
"integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==",
|
||||
"dev": true
|
||||
},
|
||||
"balanced-match": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
||||
"dev": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"jsonc-parser": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz",
|
||||
"integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==",
|
||||
"dev": true
|
||||
},
|
||||
"lunr": {
|
||||
"version": "2.3.9",
|
||||
"resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz",
|
||||
"integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==",
|
||||
"dev": true
|
||||
},
|
||||
"marked": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz",
|
||||
"integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==",
|
||||
"dev": true
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "9.0.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz",
|
||||
"integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"shiki": {
|
||||
"version": "0.14.2",
|
||||
"resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz",
|
||||
"integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-sequence-parser": "^1.1.0",
|
||||
"jsonc-parser": "^3.2.0",
|
||||
"vscode-oniguruma": "^1.7.0",
|
||||
"vscode-textmate": "^8.0.0"
|
||||
}
|
||||
},
|
||||
"typedoc": {
|
||||
"version": "0.24.8",
|
||||
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.24.8.tgz",
|
||||
"integrity": "sha512-ahJ6Cpcvxwaxfu4KtjA8qZNqS43wYt6JL27wYiIgl1vd38WW/KWX11YuAeZhuz9v+ttrutSsgK+XO1CjL1kA3w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"lunr": "^2.3.9",
|
||||
"marked": "^4.3.0",
|
||||
"minimatch": "^9.0.0",
|
||||
"shiki": "^0.14.1"
|
||||
}
|
||||
},
|
||||
"typedoc-twilio-theme": {
|
||||
"version": "https://registry.npmjs.org/typedoc-twilio-theme/-/typedoc-twilio-theme-1.0.1.tgz",
|
||||
"integrity": "sha512-9cT7fli3+1x0CcQvavenemzjpEh9jOG93Dr9j8vqmI6BBjBA22cUsAVoYYSwu0E/nOJOKWxYqtfM4t2qHi8QMA==",
|
||||
"dev": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "5.1.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz",
|
||||
"integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==",
|
||||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
"vscode-oniguruma": {
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz",
|
||||
"integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==",
|
||||
"dev": true
|
||||
},
|
||||
"vscode-textmate": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz",
|
||||
"integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
}
|
8
test/package.json
Normal file
8
test/package.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"scripts": {
|
||||
"generate": "npx typedoc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typedoc": "^0.24.8"
|
||||
}
|
||||
}
|
7
test/tsconfig.json
Normal file
7
test/tsconfig.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"typedocOptions": {
|
||||
"entryPoints": ["types.d.ts"],
|
||||
"skipErrorChecking": true,
|
||||
"out": "htmldocs"
|
||||
}
|
||||
}
|
864
test/types.d.ts
vendored
Normal file
864
test/types.d.ts
vendored
Normal file
|
@ -0,0 +1,864 @@
|
|||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
declare var $app: c.Handler;type _TygojaDict = { [key:string | number | symbol]: any; }
|
||||
type _TygojaAny = any
|
||||
|
||||
/**
|
||||
* package a docs
|
||||
* lorem ipsum dolor...
|
||||
*/
|
||||
namespace a {
|
||||
interface Empty {
|
||||
[key:string]: any;
|
||||
}
|
||||
/**
|
||||
* unexported interface
|
||||
*/
|
||||
interface interfaceA<T> {
|
||||
[key:string]: any;
|
||||
/**
|
||||
* some comment
|
||||
*/
|
||||
/**
|
||||
* some comment above the function
|
||||
*/
|
||||
Method0(): void
|
||||
Method1(): string // inline comment
|
||||
/**
|
||||
* multi
|
||||
* line
|
||||
* comment
|
||||
*/
|
||||
Method2(argA: string, argB: string): [T, number]
|
||||
Method3(argA: number, ...argB: string[]): [T, Array<string>]
|
||||
}
|
||||
/**
|
||||
* multi
|
||||
* line
|
||||
* comment
|
||||
*/
|
||||
interface InterfaceB {
|
||||
[key:string]: any;
|
||||
/**
|
||||
* "replace" Method0 from interfaceA
|
||||
*/
|
||||
Method0(): void
|
||||
CustomMethod(): time.Time
|
||||
}
|
||||
interface unexported {
|
||||
Field1: string
|
||||
}
|
||||
/**
|
||||
* structA comment
|
||||
*/
|
||||
interface structA {
|
||||
Field1: string // after
|
||||
/**
|
||||
* multi
|
||||
* line
|
||||
* comment
|
||||
* with union type
|
||||
*/
|
||||
Field2: string|Array<number>
|
||||
}
|
||||
interface structA {
|
||||
/**
|
||||
* method comment
|
||||
*/
|
||||
Method1(arg1: number): void
|
||||
}
|
||||
interface structA {
|
||||
Method2(arg1: number, ...arg2: string[]): void
|
||||
}
|
||||
/**
|
||||
* structB comment
|
||||
*/
|
||||
type _sqJYikd = unexported&structA
|
||||
interface StructB<T> extends _sqJYikd {
|
||||
Field3: T
|
||||
}
|
||||
/**
|
||||
* structC with multiple mixed generic types
|
||||
*/
|
||||
interface StructC<A,B,C> {
|
||||
Field4: A
|
||||
Field5: B
|
||||
Field6: C
|
||||
}
|
||||
interface StructC<A, B, C> {
|
||||
/**
|
||||
* StructC.Method4 comment
|
||||
*/
|
||||
Method4(arg1: A): [B, C]
|
||||
}
|
||||
/**
|
||||
* type comment
|
||||
*/
|
||||
interface SliceAlias<T> extends Array<T>{} // after
|
||||
/**
|
||||
* multi
|
||||
* line
|
||||
* comment
|
||||
*/
|
||||
interface Handler<T> {(): [T, number] } // after
|
||||
}
|
||||
|
||||
/**
|
||||
* package b
|
||||
*/
|
||||
namespace b {
|
||||
interface Func1 {
|
||||
/**
|
||||
* single comment
|
||||
*/
|
||||
(): void
|
||||
}
|
||||
interface Func2<T> {
|
||||
/**
|
||||
* multi
|
||||
* line
|
||||
* comment
|
||||
*/
|
||||
(arg1: number): T
|
||||
}
|
||||
interface Func3<A,B,C> {
|
||||
/**
|
||||
* function with multiple generic types
|
||||
*/
|
||||
(arg1: A, arg2: B, arg3: number): [A, C]
|
||||
}
|
||||
interface Func4 {
|
||||
/**
|
||||
* function that returns a function
|
||||
*/
|
||||
(arg1: number): () => number
|
||||
}
|
||||
interface Func5 {
|
||||
/**
|
||||
* function with ommited argument types
|
||||
*/
|
||||
(arg0: string, arg1: number, arg2: number): void
|
||||
}
|
||||
interface Func6 {
|
||||
/**
|
||||
* function with reserved argument name and variadic type
|
||||
*/
|
||||
(_arg00: string, ...optional: string[]): void
|
||||
}
|
||||
interface Func7 {
|
||||
/**
|
||||
* function with ommited argument names
|
||||
*/
|
||||
(_arg0: string, _arg1: number, ..._arg2: boolean[]): void
|
||||
}
|
||||
interface Func8 {
|
||||
/**
|
||||
* function with named return values
|
||||
*/
|
||||
(): [number, string]
|
||||
}
|
||||
interface Func9 {
|
||||
/**
|
||||
* function with shortened return values
|
||||
*/
|
||||
(): [string, string]
|
||||
}
|
||||
interface Func10 {
|
||||
/**
|
||||
* function with named and shortened return values
|
||||
*/
|
||||
(): [number, string, string]
|
||||
}
|
||||
}
|
||||
|
||||
namespace c {
|
||||
/**
|
||||
* func type comment
|
||||
*/
|
||||
interface Handler {(): string } // after
|
||||
/**
|
||||
* Example:
|
||||
*
|
||||
* ```
|
||||
* Some
|
||||
* code
|
||||
* sample
|
||||
* ```
|
||||
*/
|
||||
interface Example2 {
|
||||
Title: string
|
||||
Json: Raw
|
||||
Bytes: string|Array<number> // should be union
|
||||
}
|
||||
interface Example2 {
|
||||
DemoEx2(): time.Time
|
||||
}
|
||||
interface Example2 {
|
||||
/**
|
||||
* Pointer as argument vs return type
|
||||
*/
|
||||
DemoEx3(arg: Example1): (Example1)
|
||||
}
|
||||
interface Example2 {
|
||||
/**
|
||||
* ommited types
|
||||
*/
|
||||
DemoEx4(n1: string, n2: string, n3: string): void
|
||||
}
|
||||
interface Example2 {
|
||||
/**
|
||||
* ommited names
|
||||
*/
|
||||
DemoEx5(_arg0: string, _arg1: number): void
|
||||
}
|
||||
interface Example2 {
|
||||
/**
|
||||
* named return values
|
||||
*/
|
||||
DemoEx6(): [number, string]
|
||||
}
|
||||
interface Example2 {
|
||||
/**
|
||||
* shortened return values
|
||||
*/
|
||||
DemoEx7(): [string, string]
|
||||
}
|
||||
interface Example2 {
|
||||
/**
|
||||
* named and shortened return values
|
||||
*/
|
||||
DemoEx8(): [number, string, string]
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Package time provides functionality for measuring and displaying time.
|
||||
*
|
||||
* The calendrical calculations always assume a Gregorian calendar, with
|
||||
* no leap seconds.
|
||||
*
|
||||
* # Monotonic Clocks
|
||||
*
|
||||
* Operating systems provide both a “wall clock,” which is subject to
|
||||
* changes for clock synchronization, and a “monotonic clock,” which is
|
||||
* not. The general rule is that the wall clock is for telling time and
|
||||
* the monotonic clock is for measuring time. Rather than split the API,
|
||||
* in this package the Time returned by [time.Now] contains both a wall
|
||||
* clock reading and a monotonic clock reading; later time-telling
|
||||
* operations use the wall clock reading, but later time-measuring
|
||||
* operations, specifically comparisons and subtractions, use the
|
||||
* monotonic clock reading.
|
||||
*
|
||||
* For example, this code always computes a positive elapsed time of
|
||||
* approximately 20 milliseconds, even if the wall clock is changed during
|
||||
* the operation being timed:
|
||||
*
|
||||
* ```
|
||||
* start := time.Now()
|
||||
* ... operation that takes 20 milliseconds ...
|
||||
* t := time.Now()
|
||||
* elapsed := t.Sub(start)
|
||||
* ```
|
||||
*
|
||||
* Other idioms, such as [time.Since](start), [time.Until](deadline), and
|
||||
* time.Now().Before(deadline), are similarly robust against wall clock
|
||||
* resets.
|
||||
*
|
||||
* The rest of this section gives the precise details of how operations
|
||||
* use monotonic clocks, but understanding those details is not required
|
||||
* to use this package.
|
||||
*
|
||||
* The Time returned by time.Now contains a monotonic clock reading.
|
||||
* If Time t has a monotonic clock reading, t.Add adds the same duration to
|
||||
* both the wall clock and monotonic clock readings to compute the result.
|
||||
* Because t.AddDate(y, m, d), t.Round(d), and t.Truncate(d) are wall time
|
||||
* computations, they always strip any monotonic clock reading from their results.
|
||||
* Because t.In, t.Local, and t.UTC are used for their effect on the interpretation
|
||||
* of the wall time, they also strip any monotonic clock reading from their results.
|
||||
* The canonical way to strip a monotonic clock reading is to use t = t.Round(0).
|
||||
*
|
||||
* If Times t and u both contain monotonic clock readings, the operations
|
||||
* t.After(u), t.Before(u), t.Equal(u), t.Compare(u), and t.Sub(u) are carried out
|
||||
* using the monotonic clock readings alone, ignoring the wall clock
|
||||
* readings. If either t or u contains no monotonic clock reading, these
|
||||
* operations fall back to using the wall clock readings.
|
||||
*
|
||||
* On some systems the monotonic clock will stop if the computer goes to sleep.
|
||||
* On such a system, t.Sub(u) may not accurately reflect the actual
|
||||
* time that passed between t and u. The same applies to other functions and
|
||||
* methods that subtract times, such as [Since], [Until], [Before], [After],
|
||||
* [Add], [Sub], [Equal] and [Compare]. In some cases, you may need to strip
|
||||
* the monotonic clock to get accurate results.
|
||||
*
|
||||
* Because the monotonic clock reading has no meaning outside
|
||||
* the current process, the serialized forms generated by t.GobEncode,
|
||||
* t.MarshalBinary, t.MarshalJSON, and t.MarshalText omit the monotonic
|
||||
* clock reading, and t.Format provides no format for it. Similarly, the
|
||||
* constructors [time.Date], [time.Parse], [time.ParseInLocation], and [time.Unix],
|
||||
* as well as the unmarshalers t.GobDecode, t.UnmarshalBinary.
|
||||
* t.UnmarshalJSON, and t.UnmarshalText always create times with
|
||||
* no monotonic clock reading.
|
||||
*
|
||||
* The monotonic clock reading exists only in [Time] values. It is not
|
||||
* a part of [Duration] values or the Unix times returned by t.Unix and
|
||||
* friends.
|
||||
*
|
||||
* Note that the Go == operator compares not just the time instant but
|
||||
* also the [Location] and the monotonic clock reading. See the
|
||||
* documentation for the Time type for a discussion of equality
|
||||
* testing for Time values.
|
||||
*
|
||||
* For debugging, the result of t.String does include the monotonic
|
||||
* clock reading if present. If t != u because of different monotonic clock readings,
|
||||
* that difference will be visible when printing t.String() and u.String().
|
||||
*
|
||||
* # Timer Resolution
|
||||
*
|
||||
* [Timer] resolution varies depending on the Go runtime, the operating system
|
||||
* and the underlying hardware.
|
||||
* On Unix, the resolution is ~1ms.
|
||||
* On Windows version 1803 and newer, the resolution is ~0.5ms.
|
||||
* On older Windows versions, the default resolution is ~16ms, but
|
||||
* a higher resolution may be requested using [golang.org/x/sys/windows.TimeBeginPeriod].
|
||||
*/
|
||||
namespace time {
|
||||
interface Time {
|
||||
/**
|
||||
* String returns the time formatted using the format string
|
||||
*
|
||||
* ```
|
||||
* "2006-01-02 15:04:05.999999999 -0700 MST"
|
||||
* ```
|
||||
*
|
||||
* If the time has a monotonic clock reading, the returned string
|
||||
* includes a final field "m=±<value>", where value is the monotonic
|
||||
* clock reading formatted as a decimal number of seconds.
|
||||
*
|
||||
* The returned string is meant for debugging; for a stable serialized
|
||||
* representation, use t.MarshalText, t.MarshalBinary, or t.Format
|
||||
* with an explicit format string.
|
||||
*/
|
||||
String(): string
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* GoString implements [fmt.GoStringer] and formats t to be printed in Go source
|
||||
* code.
|
||||
*/
|
||||
GoString(): string
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Format returns a textual representation of the time value formatted according
|
||||
* to the layout defined by the argument. See the documentation for the
|
||||
* constant called [Layout] to see how to represent the layout format.
|
||||
*
|
||||
* The executable example for [Time.Format] demonstrates the working
|
||||
* of the layout string in detail and is a good reference.
|
||||
*/
|
||||
Format(layout: string): string
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* AppendFormat is like [Time.Format] but appends the textual
|
||||
* representation to b and returns the extended buffer.
|
||||
*/
|
||||
AppendFormat(b: string|Array<number>, layout: string): string|Array<number>
|
||||
}
|
||||
/**
|
||||
* A Time represents an instant in time with nanosecond precision.
|
||||
*
|
||||
* Programs using times should typically store and pass them as values,
|
||||
* not pointers. That is, time variables and struct fields should be of
|
||||
* type [time.Time], not *time.Time.
|
||||
*
|
||||
* A Time value can be used by multiple goroutines simultaneously except
|
||||
* that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and
|
||||
* [Time.UnmarshalText] are not concurrency-safe.
|
||||
*
|
||||
* Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods.
|
||||
* The [Time.Sub] method subtracts two instants, producing a [Duration].
|
||||
* The [Time.Add] method adds a Time and a Duration, producing a Time.
|
||||
*
|
||||
* The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
|
||||
* As this time is unlikely to come up in practice, the [Time.IsZero] method gives
|
||||
* a simple way of detecting a time that has not been initialized explicitly.
|
||||
*
|
||||
* Each time has an associated [Location]. The methods [Time.Local], [Time.UTC], and Time.In return a
|
||||
* Time with a specific Location. Changing the Location of a Time value with
|
||||
* these methods does not change the actual instant it represents, only the time
|
||||
* zone in which to interpret it.
|
||||
*
|
||||
* Representations of a Time value saved by the [Time.GobEncode], [Time.MarshalBinary],
|
||||
* [Time.MarshalJSON], and [Time.MarshalText] methods store the [Time.Location]'s offset, but not
|
||||
* the location name. They therefore lose information about Daylight Saving Time.
|
||||
*
|
||||
* In addition to the required “wall clock” reading, a Time may contain an optional
|
||||
* reading of the current process's monotonic clock, to provide additional precision
|
||||
* for comparison or subtraction.
|
||||
* See the “Monotonic Clocks” section in the package documentation for details.
|
||||
*
|
||||
* Note that the Go == operator compares not just the time instant but also the
|
||||
* Location and the monotonic clock reading. Therefore, Time values should not
|
||||
* be used as map or database keys without first guaranteeing that the
|
||||
* identical Location has been set for all values, which can be achieved
|
||||
* through use of the UTC or Local method, and that the monotonic clock reading
|
||||
* has been stripped by setting t = t.Round(0). In general, prefer t.Equal(u)
|
||||
* to t == u, since t.Equal uses the most accurate comparison available and
|
||||
* correctly handles the case when only one of its arguments has a monotonic
|
||||
* clock reading.
|
||||
*/
|
||||
interface Time {
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* After reports whether the time instant t is after u.
|
||||
*/
|
||||
After(u: Time): boolean
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Before reports whether the time instant t is before u.
|
||||
*/
|
||||
Before(u: Time): boolean
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Compare compares the time instant t with u. If t is before u, it returns -1;
|
||||
* if t is after u, it returns +1; if they're the same, it returns 0.
|
||||
*/
|
||||
Compare(u: Time): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Equal reports whether t and u represent the same time instant.
|
||||
* Two times can be equal even if they are in different locations.
|
||||
* For example, 6:00 +0200 and 4:00 UTC are Equal.
|
||||
* See the documentation on the Time type for the pitfalls of using == with
|
||||
* Time values; most code should use Equal instead.
|
||||
*/
|
||||
Equal(u: Time): boolean
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* IsZero reports whether t represents the zero time instant,
|
||||
* January 1, year 1, 00:00:00 UTC.
|
||||
*/
|
||||
IsZero(): boolean
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Date returns the year, month, and day in which t occurs.
|
||||
*/
|
||||
Date(): [number, Month, number]
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Year returns the year in which t occurs.
|
||||
*/
|
||||
Year(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Month returns the month of the year specified by t.
|
||||
*/
|
||||
Month(): Month
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Day returns the day of the month specified by t.
|
||||
*/
|
||||
Day(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Weekday returns the day of the week specified by t.
|
||||
*/
|
||||
Weekday(): Weekday
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* ISOWeek returns the ISO 8601 year and week number in which t occurs.
|
||||
* Week ranges from 1 to 53. Jan 01 to Jan 03 of year n might belong to
|
||||
* week 52 or 53 of year n-1, and Dec 29 to Dec 31 might belong to week 1
|
||||
* of year n+1.
|
||||
*/
|
||||
ISOWeek(): [number, number]
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Clock returns the hour, minute, and second within the day specified by t.
|
||||
*/
|
||||
Clock(): [number, number, number]
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Hour returns the hour within the day specified by t, in the range [0, 23].
|
||||
*/
|
||||
Hour(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Minute returns the minute offset within the hour specified by t, in the range [0, 59].
|
||||
*/
|
||||
Minute(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Second returns the second offset within the minute specified by t, in the range [0, 59].
|
||||
*/
|
||||
Second(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Nanosecond returns the nanosecond offset within the second specified by t,
|
||||
* in the range [0, 999999999].
|
||||
*/
|
||||
Nanosecond(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* YearDay returns the day of the year specified by t, in the range [1,365] for non-leap years,
|
||||
* and [1,366] in leap years.
|
||||
*/
|
||||
YearDay(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Add returns the time t+d.
|
||||
*/
|
||||
Add(d: Duration): Time
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Sub returns the duration t-u. If the result exceeds the maximum (or minimum)
|
||||
* value that can be stored in a [Duration], the maximum (or minimum) duration
|
||||
* will be returned.
|
||||
* To compute t-d for a duration d, use t.Add(-d).
|
||||
*/
|
||||
Sub(u: Time): Duration
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* AddDate returns the time corresponding to adding the
|
||||
* given number of years, months, and days to t.
|
||||
* For example, AddDate(-1, 2, 3) applied to January 1, 2011
|
||||
* returns March 4, 2010.
|
||||
*
|
||||
* Note that dates are fundamentally coupled to timezones, and calendrical
|
||||
* periods like days don't have fixed durations. AddDate uses the Location of
|
||||
* the Time value to determine these durations. That means that the same
|
||||
* AddDate arguments can produce a different shift in absolute time depending on
|
||||
* the base Time value and its Location. For example, AddDate(0, 0, 1) applied
|
||||
* to 12:00 on March 27 always returns 12:00 on March 28. At some locations and
|
||||
* in some years this is a 24 hour shift. In others it's a 23 hour shift due to
|
||||
* daylight savings time transitions.
|
||||
*
|
||||
* AddDate normalizes its result in the same way that Date does,
|
||||
* so, for example, adding one month to October 31 yields
|
||||
* December 1, the normalized form for November 31.
|
||||
*/
|
||||
AddDate(years: number, months: number, days: number): Time
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* UTC returns t with the location set to UTC.
|
||||
*/
|
||||
UTC(): Time
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Local returns t with the location set to local time.
|
||||
*/
|
||||
Local(): Time
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* In returns a copy of t representing the same time instant, but
|
||||
* with the copy's location information set to loc for display
|
||||
* purposes.
|
||||
*
|
||||
* In panics if loc is nil.
|
||||
*/
|
||||
In(loc: Location): Time
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Location returns the time zone information associated with t.
|
||||
*/
|
||||
Location(): (Location)
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Zone computes the time zone in effect at time t, returning the abbreviated
|
||||
* name of the zone (such as "CET") and its offset in seconds east of UTC.
|
||||
*/
|
||||
Zone(): [string, number]
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* ZoneBounds returns the bounds of the time zone in effect at time t.
|
||||
* The zone begins at start and the next zone begins at end.
|
||||
* If the zone begins at the beginning of time, start will be returned as a zero Time.
|
||||
* If the zone goes on forever, end will be returned as a zero Time.
|
||||
* The Location of the returned times will be the same as t.
|
||||
*/
|
||||
ZoneBounds(): [Time, Time]
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Unix returns t as a Unix time, the number of seconds elapsed
|
||||
* since January 1, 1970 UTC. The result does not depend on the
|
||||
* location associated with t.
|
||||
* Unix-like operating systems often record time as a 32-bit
|
||||
* count of seconds, but since the method here returns a 64-bit
|
||||
* value it is valid for billions of years into the past or future.
|
||||
*/
|
||||
Unix(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* UnixMilli returns t as a Unix time, the number of milliseconds elapsed since
|
||||
* January 1, 1970 UTC. The result is undefined if the Unix time in
|
||||
* milliseconds cannot be represented by an int64 (a date more than 292 million
|
||||
* years before or after 1970). The result does not depend on the
|
||||
* location associated with t.
|
||||
*/
|
||||
UnixMilli(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* UnixMicro returns t as a Unix time, the number of microseconds elapsed since
|
||||
* January 1, 1970 UTC. The result is undefined if the Unix time in
|
||||
* microseconds cannot be represented by an int64 (a date before year -290307 or
|
||||
* after year 294246). The result does not depend on the location associated
|
||||
* with t.
|
||||
*/
|
||||
UnixMicro(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* UnixNano returns t as a Unix time, the number of nanoseconds elapsed
|
||||
* since January 1, 1970 UTC. The result is undefined if the Unix time
|
||||
* in nanoseconds cannot be represented by an int64 (a date before the year
|
||||
* 1678 or after 2262). Note that this means the result of calling UnixNano
|
||||
* on the zero Time is undefined. The result does not depend on the
|
||||
* location associated with t.
|
||||
*/
|
||||
UnixNano(): number
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* MarshalBinary implements the encoding.BinaryMarshaler interface.
|
||||
*/
|
||||
MarshalBinary(): string|Array<number>
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* UnmarshalBinary implements the encoding.BinaryUnmarshaler interface.
|
||||
*/
|
||||
UnmarshalBinary(data: string|Array<number>): void
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* GobEncode implements the gob.GobEncoder interface.
|
||||
*/
|
||||
GobEncode(): string|Array<number>
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* GobDecode implements the gob.GobDecoder interface.
|
||||
*/
|
||||
GobDecode(data: string|Array<number>): void
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* MarshalJSON implements the [json.Marshaler] interface.
|
||||
* The time is a quoted string in the RFC 3339 format with sub-second precision.
|
||||
* If the timestamp cannot be represented as valid RFC 3339
|
||||
* (e.g., the year is out of range), then an error is reported.
|
||||
*/
|
||||
MarshalJSON(): string|Array<number>
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* UnmarshalJSON implements the [json.Unmarshaler] interface.
|
||||
* The time must be a quoted string in the RFC 3339 format.
|
||||
*/
|
||||
UnmarshalJSON(data: string|Array<number>): void
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* MarshalText implements the [encoding.TextMarshaler] interface.
|
||||
* The time is formatted in RFC 3339 format with sub-second precision.
|
||||
* If the timestamp cannot be represented as valid RFC 3339
|
||||
* (e.g., the year is out of range), then an error is reported.
|
||||
*/
|
||||
MarshalText(): string|Array<number>
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* UnmarshalText implements the [encoding.TextUnmarshaler] interface.
|
||||
* The time must be in the RFC 3339 format.
|
||||
*/
|
||||
UnmarshalText(data: string|Array<number>): void
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* IsDST reports whether the time in the configured location is in Daylight Savings Time.
|
||||
*/
|
||||
IsDST(): boolean
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Truncate returns the result of rounding t down to a multiple of d (since the zero time).
|
||||
* If d <= 0, Truncate returns t stripped of any monotonic clock reading but otherwise unchanged.
|
||||
*
|
||||
* Truncate operates on the time as an absolute duration since the
|
||||
* zero time; it does not operate on the presentation form of the
|
||||
* time. Thus, Truncate(Hour) may return a time with a non-zero
|
||||
* minute, depending on the time's Location.
|
||||
*/
|
||||
Truncate(d: Duration): Time
|
||||
}
|
||||
interface Time {
|
||||
/**
|
||||
* Round returns the result of rounding t to the nearest multiple of d (since the zero time).
|
||||
* The rounding behavior for halfway values is to round up.
|
||||
* If d <= 0, Round returns t stripped of any monotonic clock reading but otherwise unchanged.
|
||||
*
|
||||
* Round operates on the time as an absolute duration since the
|
||||
* zero time; it does not operate on the presentation form of the
|
||||
* time. Thus, Round(Hour) may return a time with a non-zero
|
||||
* minute, depending on the time's Location.
|
||||
*/
|
||||
Round(d: Duration): Time
|
||||
}
|
||||
}
|
||||
|
||||
namespace c {
|
||||
interface Raw extends Array<number>{}
|
||||
interface Example1 {
|
||||
Name: string
|
||||
}
|
||||
interface Example1 {
|
||||
DemoEx1(): string
|
||||
}
|
||||
}
|
||||
|
||||
namespace time {
|
||||
/**
|
||||
* A Month specifies a month of the year (January = 1, ...).
|
||||
*/
|
||||
interface Month extends Number{}
|
||||
interface Month {
|
||||
/**
|
||||
* String returns the English name of the month ("January", "February", ...).
|
||||
*/
|
||||
String(): string
|
||||
}
|
||||
/**
|
||||
* A Weekday specifies a day of the week (Sunday = 0, ...).
|
||||
*/
|
||||
interface Weekday extends Number{}
|
||||
interface Weekday {
|
||||
/**
|
||||
* String returns the English name of the day ("Sunday", "Monday", ...).
|
||||
*/
|
||||
String(): string
|
||||
}
|
||||
/**
|
||||
* A Duration represents the elapsed time between two instants
|
||||
* as an int64 nanosecond count. The representation limits the
|
||||
* largest representable duration to approximately 290 years.
|
||||
*/
|
||||
interface Duration extends Number{}
|
||||
interface Duration {
|
||||
/**
|
||||
* String returns a string representing the duration in the form "72h3m0.5s".
|
||||
* Leading zero units are omitted. As a special case, durations less than one
|
||||
* second format use a smaller unit (milli-, micro-, or nanoseconds) to ensure
|
||||
* that the leading digit is non-zero. The zero duration formats as 0s.
|
||||
*/
|
||||
String(): string
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Nanoseconds returns the duration as an integer nanosecond count.
|
||||
*/
|
||||
Nanoseconds(): number
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Microseconds returns the duration as an integer microsecond count.
|
||||
*/
|
||||
Microseconds(): number
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Milliseconds returns the duration as an integer millisecond count.
|
||||
*/
|
||||
Milliseconds(): number
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Seconds returns the duration as a floating point number of seconds.
|
||||
*/
|
||||
Seconds(): number
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Minutes returns the duration as a floating point number of minutes.
|
||||
*/
|
||||
Minutes(): number
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Hours returns the duration as a floating point number of hours.
|
||||
*/
|
||||
Hours(): number
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Truncate returns the result of rounding d toward zero to a multiple of m.
|
||||
* If m <= 0, Truncate returns d unchanged.
|
||||
*/
|
||||
Truncate(m: Duration): Duration
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Round returns the result of rounding d to the nearest multiple of m.
|
||||
* The rounding behavior for halfway values is to round away from zero.
|
||||
* If the result exceeds the maximum (or minimum)
|
||||
* value that can be stored in a [Duration],
|
||||
* Round returns the maximum (or minimum) duration.
|
||||
* If m <= 0, Round returns d unchanged.
|
||||
*/
|
||||
Round(m: Duration): Duration
|
||||
}
|
||||
interface Duration {
|
||||
/**
|
||||
* Abs returns the absolute value of d.
|
||||
* As a special case, [math.MinInt64] is converted to [math.MaxInt64].
|
||||
*/
|
||||
Abs(): Duration
|
||||
}
|
||||
/**
|
||||
* A Location maps time instants to the zone in use at that time.
|
||||
* Typically, the Location represents the collection of time offsets
|
||||
* in use in a geographical area. For many Locations the time offset varies
|
||||
* depending on whether daylight savings time is in use at the time instant.
|
||||
*
|
||||
* Location is used to provide a time zone in a printed Time value and for
|
||||
* calculations involving intervals that may cross daylight savings time
|
||||
* boundaries.
|
||||
*/
|
||||
interface Location {
|
||||
}
|
||||
interface Location {
|
||||
/**
|
||||
* String returns a descriptive name for the time zone information,
|
||||
* corresponding to the name argument to [LoadLocation] or [FixedZone].
|
||||
*/
|
||||
String(): string
|
||||
}
|
||||
}
|
264
tygoja.go
Normal file
264
tygoja.go
Normal file
|
@ -0,0 +1,264 @@
|
|||
package tygoja
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/tools/go/packages"
|
||||
)
|
||||
|
||||
// Tygoja is a generator for one or more input packages,
|
||||
// responsible for linking them together if necessary.
|
||||
type Tygoja struct {
|
||||
conf *Config
|
||||
|
||||
parent *Tygoja
|
||||
implicitPackages map[string][]string
|
||||
generatedTypes map[string][]string
|
||||
generatedPackageDocs map[string]struct{}
|
||||
}
|
||||
|
||||
// New initializes a new Tygoja generator from the specified config.
|
||||
func New(config Config) *Tygoja {
|
||||
config.InitDefaults()
|
||||
|
||||
return &Tygoja{
|
||||
conf: &config,
|
||||
implicitPackages: map[string][]string{},
|
||||
generatedTypes: map[string][]string{},
|
||||
generatedPackageDocs: map[string]struct{}{},
|
||||
}
|
||||
}
|
||||
|
||||
// Generate executes the generator and produces the related TS files.
|
||||
func (g *Tygoja) Generate() (string, error) {
|
||||
// extract config packages
|
||||
configPackages := make([]string, 0, len(g.conf.Packages))
|
||||
for p, types := range g.conf.Packages {
|
||||
if len(types) == 0 {
|
||||
continue // no typings
|
||||
}
|
||||
configPackages = append(configPackages, p)
|
||||
}
|
||||
|
||||
// load packages info
|
||||
pkgs, err := packages.Load(&packages.Config{
|
||||
Mode: packages.NeedSyntax | packages.NeedFiles | packages.NeedDeps | packages.NeedImports | packages.NeedTypes,
|
||||
}, configPackages...)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
var s strings.Builder
|
||||
|
||||
// Heading
|
||||
if g.parent == nil {
|
||||
s.WriteString("// GENERATED CODE - DO NOT MODIFY BY HAND\n")
|
||||
|
||||
if g.conf.Heading != "" {
|
||||
s.WriteString(g.conf.Heading)
|
||||
}
|
||||
|
||||
// write base types
|
||||
// ---
|
||||
s.WriteString("type ")
|
||||
s.WriteString(BaseTypeDict)
|
||||
s.WriteString(" = { [key:string | number | symbol]: any; }\n")
|
||||
|
||||
s.WriteString("type ")
|
||||
s.WriteString(BaseTypeAny)
|
||||
s.WriteString(" = any\n")
|
||||
// ---
|
||||
}
|
||||
|
||||
for i, pkg := range pkgs {
|
||||
if len(pkg.Errors) > 0 {
|
||||
return "", fmt.Errorf("%+v", pkg.Errors)
|
||||
}
|
||||
|
||||
if len(pkg.GoFiles) == 0 {
|
||||
return "", fmt.Errorf("no input go files for package index %d", i)
|
||||
}
|
||||
|
||||
if len(g.conf.Packages[pkg.ID]) == 0 {
|
||||
// ignore the package as it has no typings
|
||||
continue
|
||||
}
|
||||
|
||||
pkgGen := &PackageGenerator{
|
||||
conf: g.conf,
|
||||
pkg: pkg,
|
||||
types: g.conf.Packages[pkg.ID],
|
||||
withPkgDoc: !g.isPackageDocGenerated(pkg.ID),
|
||||
generatedTypes: map[string]struct{}{},
|
||||
unknownTypes: map[string]struct{}{},
|
||||
imports: map[string][]string{},
|
||||
}
|
||||
|
||||
code, err := pkgGen.Generate()
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
g.generatedPackageDocs[pkg.ID] = struct{}{}
|
||||
|
||||
for t := range pkgGen.generatedTypes {
|
||||
g.generatedTypes[pkg.ID] = append(g.generatedTypes[pkg.ID], t)
|
||||
}
|
||||
|
||||
for t := range pkgGen.unknownTypes {
|
||||
parts := strings.Split(t, ".")
|
||||
var tPkg string
|
||||
var tName string
|
||||
|
||||
if len(parts) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
if len(parts) == 2 {
|
||||
// type from external package
|
||||
tPkg = parts[0]
|
||||
tName = parts[1]
|
||||
} else {
|
||||
// unexported type from the current package
|
||||
tName = parts[0]
|
||||
|
||||
// already mapped for export
|
||||
if pkgGen.isTypeAllowed(tName) {
|
||||
continue
|
||||
}
|
||||
|
||||
tPkg = packageNameFromPath(pkg.ID)
|
||||
|
||||
// add to self import later
|
||||
pkgGen.imports[pkg.ID] = []string{tPkg}
|
||||
}
|
||||
|
||||
for p, aliases := range pkgGen.imports {
|
||||
for _, alias := range aliases {
|
||||
if tName != "" && alias == tPkg && !g.isTypeGenerated(p, tName) && !exists(g.implicitPackages[p], tName) {
|
||||
if g.implicitPackages[p] == nil {
|
||||
g.implicitPackages[p] = []string{}
|
||||
}
|
||||
g.implicitPackages[p] = append(g.implicitPackages[p], tName)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
s.WriteString(code)
|
||||
}
|
||||
|
||||
// recursively try to generate the found unknown types
|
||||
if len(g.implicitPackages) > 0 {
|
||||
subConfig := *g.conf
|
||||
subConfig.Heading = ""
|
||||
if (subConfig.TypeMappings) == nil {
|
||||
subConfig.TypeMappings = map[string]string{}
|
||||
}
|
||||
|
||||
// extract the nonempty package definitions
|
||||
subConfig.Packages = make(map[string][]string, len(g.implicitPackages))
|
||||
for p, types := range g.implicitPackages {
|
||||
if len(types) == 0 {
|
||||
continue
|
||||
}
|
||||
subConfig.Packages[p] = types
|
||||
}
|
||||
|
||||
subGenerator := New(subConfig)
|
||||
subGenerator.parent = g
|
||||
subResult, err := subGenerator.Generate()
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
s.WriteString(subResult)
|
||||
}
|
||||
|
||||
return s.String(), nil
|
||||
}
|
||||
|
||||
func (g *Tygoja) isPackageDocGenerated(pkgId string) bool {
|
||||
_, ok := g.generatedPackageDocs[pkgId]
|
||||
if ok {
|
||||
return true
|
||||
}
|
||||
|
||||
if g.parent != nil {
|
||||
return g.parent.isPackageDocGenerated(pkgId)
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func (g *Tygoja) isTypeGenerated(pkg string, name string) bool {
|
||||
if g.parent != nil && g.parent.isTypeGenerated(pkg, name) {
|
||||
return true
|
||||
}
|
||||
|
||||
if len(g.generatedTypes[pkg]) == 0 {
|
||||
return false
|
||||
}
|
||||
|
||||
for _, t := range g.generatedTypes[pkg] {
|
||||
if t == name {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// isTypeAllowed checks whether the provided type name is allowed by the generator "types".
|
||||
func (g *PackageGenerator) isTypeAllowed(name string) bool {
|
||||
name = strings.TrimSpace(name)
|
||||
|
||||
if name == "" {
|
||||
return false
|
||||
}
|
||||
|
||||
for _, t := range g.types {
|
||||
if t == name || t == "*" {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) markTypeAsGenerated(t string) {
|
||||
g.generatedTypes[t] = struct{}{}
|
||||
}
|
||||
|
||||
var versionRegex = regexp.MustCompile(`^v\d+$`)
|
||||
|
||||
// packageNameFromPath extracts and normalizes the imported package identifier.
|
||||
//
|
||||
// For example:
|
||||
//
|
||||
// "github.com/labstack/echo/v5" -> "echo"
|
||||
// "github.com/go-ozzo/ozzo-validation/v4" -> "ozzo_validation"
|
||||
func packageNameFromPath(path string) string {
|
||||
name := filepath.Base(strings.Trim(path, `"' `))
|
||||
|
||||
if versionRegex.MatchString(name) {
|
||||
name = filepath.Base(filepath.Dir(path))
|
||||
}
|
||||
|
||||
return strings.ReplaceAll(name, "-", "_")
|
||||
}
|
||||
|
||||
// exists checks if search exists in list.
|
||||
func exists[T comparable](list []T, search T) bool {
|
||||
for _, v := range list {
|
||||
if v == search {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
66
write_comment.go
Normal file
66
write_comment.go
Normal file
|
@ -0,0 +1,66 @@
|
|||
package tygoja
|
||||
|
||||
import (
|
||||
"go/ast"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func (g *PackageGenerator) writeCommentGroup(s *strings.Builder, f *ast.CommentGroup, depth int) {
|
||||
if f == nil {
|
||||
return
|
||||
}
|
||||
|
||||
docLines := strings.Split(f.Text(), "\n")
|
||||
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString("/**\n")
|
||||
|
||||
lastLineIdx := len(docLines) - 1
|
||||
|
||||
var isCodeBlock bool
|
||||
|
||||
emptySB := new(strings.Builder)
|
||||
|
||||
for i, c := range docLines {
|
||||
isEndLine := i == lastLineIdx
|
||||
isEmpty := len(strings.TrimSpace(c)) == 0
|
||||
isIndented := strings.HasPrefix(c, "\t") || strings.HasPrefix(c, " ")
|
||||
|
||||
// end code block
|
||||
if isCodeBlock && (isEndLine || (!isIndented && !isEmpty)) {
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString(" * ```\n")
|
||||
isCodeBlock = false
|
||||
}
|
||||
|
||||
// accumulate empty comment lines
|
||||
// (this is done to properly enclose code blocks with new lines)
|
||||
if isEmpty {
|
||||
g.writeIndent(emptySB, depth)
|
||||
emptySB.WriteString(" * \n")
|
||||
} else {
|
||||
// write all empty lines
|
||||
s.WriteString(emptySB.String())
|
||||
emptySB.Reset()
|
||||
}
|
||||
|
||||
// start code block
|
||||
if isIndented && !isCodeBlock && !isEndLine {
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString(" * ```\n")
|
||||
isCodeBlock = true
|
||||
}
|
||||
|
||||
// write comment line
|
||||
if !isEmpty {
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString(" * ")
|
||||
c = strings.ReplaceAll(c, "*/", "*\\/") // An edge case: a // comment can contain */
|
||||
s.WriteString(c)
|
||||
s.WriteByte('\n')
|
||||
}
|
||||
}
|
||||
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString(" */\n")
|
||||
}
|
409
write_toplevel.go
Normal file
409
write_toplevel.go
Normal file
|
@ -0,0 +1,409 @@
|
|||
package tygoja
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"go/ast"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type groupContext struct {
|
||||
isGroupedDeclaration bool
|
||||
doc *ast.CommentGroup
|
||||
groupValue string
|
||||
groupType string
|
||||
iotaValue int
|
||||
iotaOffset int
|
||||
}
|
||||
|
||||
// Writing of function declarations, which are expressions like
|
||||
// "func Count() int"
|
||||
// or
|
||||
// "func (s *Counter) total() int"
|
||||
func (g *PackageGenerator) writeFuncDecl(s *strings.Builder, decl *ast.FuncDecl, depth int) {
|
||||
if decl.Name == nil || len(decl.Name.Name) == 0 || decl.Name.Name[0] < 'A' || decl.Name.Name[0] > 'Z' {
|
||||
return // unexported function/method
|
||||
}
|
||||
|
||||
originalMethodName := decl.Name.Name
|
||||
methodName := originalMethodName
|
||||
if g.conf.MethodNameFormatter != nil {
|
||||
methodName = g.conf.MethodNameFormatter(methodName)
|
||||
}
|
||||
|
||||
if decl.Recv == nil {
|
||||
if !g.conf.WithPackageFunctions {
|
||||
return // skip package level functions
|
||||
}
|
||||
|
||||
if !g.isTypeAllowed(originalMethodName) {
|
||||
return
|
||||
} else {
|
||||
g.markTypeAsGenerated(originalMethodName)
|
||||
}
|
||||
|
||||
g.writeStartModifier(s, depth)
|
||||
s.WriteString("interface ")
|
||||
|
||||
if isReservedIdentifier(methodName) {
|
||||
s.WriteString("_" + methodName)
|
||||
} else {
|
||||
s.WriteString(methodName)
|
||||
}
|
||||
|
||||
if decl.Type.TypeParams != nil {
|
||||
g.writeTypeParamsFields(s, decl.Type.TypeParams.List)
|
||||
}
|
||||
|
||||
s.WriteString(" {\n")
|
||||
if decl.Doc != nil {
|
||||
g.writeCommentGroup(s, decl.Doc, depth+1)
|
||||
}
|
||||
g.writeIndent(s, depth+1)
|
||||
g.writeType(s, decl.Type, depth+1)
|
||||
s.WriteString("\n")
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString("}\n")
|
||||
} else if len(decl.Recv.List) == 1 {
|
||||
// write struct method as new interface method
|
||||
// (note that TS will "merge" the definitions of multiple interfaces with the same name)
|
||||
|
||||
// treat pointer and value receivers the same
|
||||
recvType := decl.Recv.List[0].Type
|
||||
if p, isPointer := recvType.(*ast.StarExpr); isPointer {
|
||||
recvType = p.X
|
||||
}
|
||||
|
||||
var recvName string
|
||||
switch recv := recvType.(type) {
|
||||
case *ast.Ident:
|
||||
recvName = recv.Name
|
||||
case *ast.IndexExpr:
|
||||
case *ast.IndexListExpr:
|
||||
if v, ok := recv.X.(*ast.Ident); ok {
|
||||
recvName = v.Name
|
||||
}
|
||||
}
|
||||
|
||||
if !g.isTypeAllowed(recvName) {
|
||||
return
|
||||
} else {
|
||||
g.markTypeAsGenerated(recvName)
|
||||
}
|
||||
|
||||
g.writeStartModifier(s, depth)
|
||||
s.WriteString("interface ")
|
||||
|
||||
g.writeType(s, recvType, depth)
|
||||
|
||||
s.WriteString(" {\n")
|
||||
if decl.Doc != nil {
|
||||
g.writeCommentGroup(s, decl.Doc, depth+1)
|
||||
}
|
||||
g.writeIndent(s, depth+1)
|
||||
s.WriteString(methodName)
|
||||
g.writeType(s, decl.Type, depth+1)
|
||||
s.WriteString("\n")
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString("}\n")
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeGroupDecl(s *strings.Builder, decl *ast.GenDecl, depth int) {
|
||||
// We need a bit of state to handle syntax like
|
||||
// const (
|
||||
// X SomeType = iota
|
||||
// _
|
||||
// Y
|
||||
// Foo string = "Foo"
|
||||
// _
|
||||
// AlsoFoo
|
||||
// )
|
||||
group := &groupContext{
|
||||
isGroupedDeclaration: len(decl.Specs) > 1,
|
||||
doc: decl.Doc,
|
||||
groupType: "",
|
||||
groupValue: "",
|
||||
iotaValue: -1,
|
||||
}
|
||||
|
||||
for _, spec := range decl.Specs {
|
||||
g.writeSpec(s, spec, group, depth)
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeSpec(s *strings.Builder, spec ast.Spec, group *groupContext, depth int) {
|
||||
// e.g. "type Foo struct {}" or "type Bar = string"
|
||||
ts, ok := spec.(*ast.TypeSpec)
|
||||
if ok {
|
||||
g.writeTypeSpec(s, ts, group, depth)
|
||||
}
|
||||
|
||||
// e.g. "const Foo = 123"
|
||||
vs, ok := spec.(*ast.ValueSpec)
|
||||
if ok && g.conf.WithConstants {
|
||||
g.writeValueSpec(s, vs, group, depth)
|
||||
}
|
||||
}
|
||||
|
||||
// Writing of type specs, which are expressions like
|
||||
// "type X struct { ... }"
|
||||
// or
|
||||
// "type Bar = string"
|
||||
func (g *PackageGenerator) writeTypeSpec(s *strings.Builder, ts *ast.TypeSpec, group *groupContext, depth int) {
|
||||
var typeName string
|
||||
if ts.Name != nil {
|
||||
typeName = ts.Name.Name
|
||||
}
|
||||
|
||||
if !g.isTypeAllowed(typeName) {
|
||||
return
|
||||
} else {
|
||||
g.markTypeAsGenerated(typeName)
|
||||
}
|
||||
|
||||
if ts.Doc != nil {
|
||||
// the spec has its own comment, which overrules the grouped comment
|
||||
g.writeCommentGroup(s, ts.Doc, depth)
|
||||
} else {
|
||||
g.writeCommentGroup(s, group.doc, depth)
|
||||
}
|
||||
|
||||
switch v := ts.Type.(type) {
|
||||
case *ast.StructType:
|
||||
// eg. "type X struct { ... }"
|
||||
|
||||
var extendTypeName string
|
||||
|
||||
// convert embeded structs to "extends SUB_TYPE" declaration
|
||||
//
|
||||
// note: we don't use "extends A, B, C" form but intersecion subtype
|
||||
// with all embeded structs to avoid methods merge conflicts
|
||||
// eg. bufio.ReadWriter has different Writer.Read() and Reader.Read()
|
||||
if v.Fields != nil {
|
||||
var embeds []*ast.Field
|
||||
for _, f := range v.Fields.List {
|
||||
if len(f.Names) == 0 || f.Names[0].Name == "" {
|
||||
embeds = append(embeds, f)
|
||||
}
|
||||
}
|
||||
|
||||
if len(embeds) > 0 {
|
||||
extendTypeName = "_s" + PseudorandomString(6)
|
||||
|
||||
genericArgs := map[string]struct{}{}
|
||||
identSB := new(strings.Builder)
|
||||
embedsSB := new(strings.Builder)
|
||||
for i, f := range embeds {
|
||||
if i > 0 {
|
||||
embedsSB.WriteString("&")
|
||||
}
|
||||
|
||||
typ := f.Type
|
||||
if p, isPointer := typ.(*ast.StarExpr); isPointer {
|
||||
typ = p.X
|
||||
}
|
||||
|
||||
identSB.Reset()
|
||||
g.writeType(identSB, typ, depth, optionParenthesis, optionExtends)
|
||||
ident := identSB.String()
|
||||
|
||||
if idx := strings.Index(ident, "<"); idx > 1 { // has at least 2 characters for <>
|
||||
genericArgs[ident[idx+1:len(ident)-1]] = struct{}{}
|
||||
}
|
||||
|
||||
embedsSB.WriteString(ident)
|
||||
}
|
||||
|
||||
if len(genericArgs) > 0 {
|
||||
args := make([]string, 0, len(genericArgs))
|
||||
for g := range genericArgs {
|
||||
args = append(args, g)
|
||||
}
|
||||
extendTypeName = extendTypeName + "<" + strings.Join(args, ",") + ">"
|
||||
}
|
||||
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString("type ")
|
||||
s.WriteString(extendTypeName)
|
||||
s.WriteString(" = ")
|
||||
s.WriteString(embedsSB.String())
|
||||
s.WriteString("\n")
|
||||
}
|
||||
}
|
||||
|
||||
g.writeStartModifier(s, depth)
|
||||
s.WriteString("interface ")
|
||||
s.WriteString(typeName)
|
||||
|
||||
if ts.TypeParams != nil {
|
||||
g.writeTypeParamsFields(s, ts.TypeParams.List)
|
||||
}
|
||||
|
||||
if extendTypeName != "" {
|
||||
s.WriteString(" extends ")
|
||||
s.WriteString(extendTypeName)
|
||||
}
|
||||
|
||||
s.WriteString(" {\n")
|
||||
g.writeStructFields(s, v.Fields.List, depth)
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString("}")
|
||||
case *ast.InterfaceType:
|
||||
// eg. "type X interface { ... }"
|
||||
|
||||
g.writeStartModifier(s, depth)
|
||||
s.WriteString("interface ")
|
||||
s.WriteString(typeName)
|
||||
|
||||
if ts.TypeParams != nil {
|
||||
g.writeTypeParamsFields(s, ts.TypeParams.List)
|
||||
}
|
||||
|
||||
s.WriteString(" {\n")
|
||||
|
||||
// fallback so that it doesn't report an error when attempting
|
||||
// to access a field or method from a struct that implements the interface
|
||||
g.writeIndent(s, depth+1)
|
||||
s.WriteString("[key:string]: any;\n")
|
||||
|
||||
g.writeInterfaceFields(s, v.Methods.List, depth)
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString("}")
|
||||
case *ast.FuncType:
|
||||
// eg. "type Handler func() any"
|
||||
|
||||
g.writeStartModifier(s, depth)
|
||||
s.WriteString("interface ")
|
||||
s.WriteString(typeName)
|
||||
|
||||
if ts.TypeParams != nil {
|
||||
g.writeTypeParamsFields(s, ts.TypeParams.List)
|
||||
}
|
||||
|
||||
s.WriteString(" {")
|
||||
g.writeFuncType(s, v, depth, false)
|
||||
g.writeIndent(s, depth)
|
||||
s.WriteString("}")
|
||||
default:
|
||||
// other Go type declarations like "type JsonArray []any"
|
||||
// (note: we don't use "type X = Y", but "interface X extends Y" syntax to allow later defining methods to the X type)
|
||||
|
||||
var baseType string
|
||||
subSB := new(strings.Builder)
|
||||
g.writeType(subSB, ts.Type, depth, optionParenthesis, optionExtends)
|
||||
switch baseType = subSB.String(); baseType {
|
||||
// primitives can't be extended so we use their Object equivivalents
|
||||
case "number", "string", "boolean":
|
||||
baseType = strings.ToUpper(string(baseType[0])) + baseType[1:]
|
||||
case "any":
|
||||
baseType = BaseTypeAny
|
||||
}
|
||||
|
||||
g.writeStartModifier(s, depth)
|
||||
s.WriteString("interface ")
|
||||
s.WriteString(typeName)
|
||||
|
||||
if ts.TypeParams != nil {
|
||||
g.writeTypeParamsFields(s, ts.TypeParams.List)
|
||||
}
|
||||
|
||||
s.WriteString(" extends ")
|
||||
|
||||
s.WriteString(baseType)
|
||||
|
||||
s.WriteString("{}")
|
||||
}
|
||||
|
||||
if ts.Comment != nil {
|
||||
s.WriteString(" // " + ts.Comment.Text())
|
||||
} else {
|
||||
s.WriteString("\n")
|
||||
}
|
||||
}
|
||||
|
||||
// Writing of value specs, which are exported const expressions like
|
||||
// const SomeValue = 3
|
||||
func (g *PackageGenerator) writeValueSpec(s *strings.Builder, vs *ast.ValueSpec, group *groupContext, depth int) {
|
||||
for i, name := range vs.Names {
|
||||
group.iotaValue = group.iotaValue + 1
|
||||
if name.Name == "_" {
|
||||
continue
|
||||
}
|
||||
|
||||
if !g.isTypeAllowed(name.Name) {
|
||||
continue
|
||||
} else {
|
||||
g.markTypeAsGenerated(name.Name)
|
||||
}
|
||||
|
||||
constName := name.Name
|
||||
if isReservedIdentifier(constName) {
|
||||
constName = "_" + constName
|
||||
}
|
||||
|
||||
if vs.Doc != nil { // The spec has its own comment, which overrules the grouped comment.
|
||||
g.writeCommentGroup(s, vs.Doc, depth)
|
||||
} else if group.isGroupedDeclaration {
|
||||
g.writeCommentGroup(s, group.doc, depth)
|
||||
}
|
||||
|
||||
hasExplicitValue := len(vs.Values) > i
|
||||
if hasExplicitValue {
|
||||
group.groupType = ""
|
||||
}
|
||||
|
||||
g.writeStartModifier(s, depth)
|
||||
s.WriteString("const ")
|
||||
s.WriteString(constName)
|
||||
|
||||
if vs.Type != nil {
|
||||
s.WriteString(": ")
|
||||
|
||||
tempSB := &strings.Builder{}
|
||||
g.writeType(tempSB, vs.Type, depth, optionParenthesis)
|
||||
typeString := tempSB.String()
|
||||
|
||||
s.WriteString(typeString)
|
||||
group.groupType = typeString
|
||||
} else if group.groupType != "" && !hasExplicitValue {
|
||||
s.WriteString(": ")
|
||||
s.WriteString(group.groupType)
|
||||
}
|
||||
|
||||
s.WriteString(" = ")
|
||||
|
||||
if hasExplicitValue {
|
||||
val := vs.Values[i]
|
||||
tempSB := &strings.Builder{}
|
||||
g.writeType(tempSB, val, depth, optionParenthesis)
|
||||
|
||||
valueString := tempSB.String()
|
||||
if isProbablyIotaType(valueString) {
|
||||
iotaV, err := basicIotaOffsetValueParse(valueString)
|
||||
if err != nil {
|
||||
// fallback
|
||||
group.groupValue = valueString
|
||||
} else {
|
||||
group.iotaOffset = iotaV
|
||||
group.groupValue = "iota"
|
||||
valueString = fmt.Sprint(group.iotaValue + group.iotaOffset)
|
||||
}
|
||||
} else {
|
||||
group.groupValue = valueString
|
||||
}
|
||||
s.WriteString(valueString)
|
||||
} else { // We must use the previous value or +1 in case of iota
|
||||
valueString := group.groupValue
|
||||
if group.groupValue == "iota" {
|
||||
valueString = fmt.Sprint(group.iotaValue + group.iotaOffset)
|
||||
}
|
||||
s.WriteString(valueString)
|
||||
}
|
||||
|
||||
if vs.Comment != nil {
|
||||
s.WriteString(" // " + vs.Comment.Text())
|
||||
} else {
|
||||
s.WriteByte('\n')
|
||||
}
|
||||
}
|
||||
}
|
461
write_types.go
Normal file
461
write_types.go
Normal file
|
@ -0,0 +1,461 @@
|
|||
package tygoja
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"go/ast"
|
||||
"go/token"
|
||||
)
|
||||
|
||||
// Options for the writeType() method that can be used for extra context
|
||||
// to determine the format of the return type.
|
||||
const (
|
||||
optionExtends = "extends"
|
||||
optionParenthesis = "parenthesis"
|
||||
optionFunctionReturn = "func_return"
|
||||
)
|
||||
|
||||
func (g *PackageGenerator) writeIndent(s *strings.Builder, depth int) {
|
||||
for i := 0; i < depth; i++ {
|
||||
s.WriteString(g.conf.Indent)
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeStartModifier(s *strings.Builder, depth int) {
|
||||
g.writeIndent(s, depth)
|
||||
|
||||
if g.conf.StartModifier != "" {
|
||||
s.WriteString(g.conf.StartModifier)
|
||||
s.WriteString(" ")
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeType(s *strings.Builder, t ast.Expr, depth int, options ...string) {
|
||||
switch t := t.(type) {
|
||||
case *ast.StarExpr:
|
||||
if hasOption(optionParenthesis, options) {
|
||||
s.WriteByte('(')
|
||||
}
|
||||
|
||||
g.writeType(s, t.X, depth)
|
||||
|
||||
// allow undefined union only when not used in an "extends" expression or as return type
|
||||
if !hasOption(optionExtends, options) && !hasOption(optionFunctionReturn, options) {
|
||||
s.WriteString(" | undefined")
|
||||
}
|
||||
|
||||
if hasOption(optionParenthesis, options) {
|
||||
s.WriteByte(')')
|
||||
}
|
||||
case *ast.Ellipsis:
|
||||
if v, ok := t.Elt.(*ast.Ident); ok && v.String() == "byte" {
|
||||
s.WriteString("string")
|
||||
break
|
||||
}
|
||||
|
||||
// wrap variadic args with parenthesis to support function declarations
|
||||
// (eg. "...callbacks: (() => number)[]")
|
||||
_, isFunc := t.Elt.(*ast.FuncType)
|
||||
if isFunc {
|
||||
s.WriteString("(")
|
||||
}
|
||||
|
||||
g.writeType(s, t.Elt, depth, optionParenthesis)
|
||||
|
||||
if isFunc {
|
||||
s.WriteString(")")
|
||||
}
|
||||
|
||||
s.WriteString("[]")
|
||||
case *ast.ArrayType:
|
||||
if v, ok := t.Elt.(*ast.Ident); ok && v.String() == "byte" && !hasOption(optionExtends, options) {
|
||||
// union type with string since depending where it is used
|
||||
// goja auto converts string to []byte if the field expect that
|
||||
s.WriteString("string|")
|
||||
}
|
||||
|
||||
s.WriteString("Array<")
|
||||
g.writeType(s, t.Elt, depth, optionParenthesis)
|
||||
s.WriteString(">")
|
||||
case *ast.StructType:
|
||||
s.WriteString("{\n")
|
||||
g.writeStructFields(s, t.Fields.List, depth+1)
|
||||
g.writeIndent(s, depth+1)
|
||||
s.WriteByte('}')
|
||||
case *ast.Ident:
|
||||
v := t.String()
|
||||
|
||||
mappedType, ok := g.conf.TypeMappings[v]
|
||||
if ok {
|
||||
// use the mapped type
|
||||
v = mappedType
|
||||
} else {
|
||||
// try to find a matching js equivalent
|
||||
switch v {
|
||||
case "string":
|
||||
v = "string"
|
||||
case "bool":
|
||||
v = "boolean"
|
||||
case "int", "int8", "int16", "int32", "int64",
|
||||
"uint", "uint8", "uint16", "uint32", "uint64",
|
||||
"float32", "float64",
|
||||
"complex64", "complex128",
|
||||
"uintptr", "byte", "rune":
|
||||
v = "number"
|
||||
case "error":
|
||||
v = "Error"
|
||||
default:
|
||||
g.unknownTypes[v] = struct{}{}
|
||||
}
|
||||
}
|
||||
|
||||
s.WriteString(v)
|
||||
case *ast.SelectorExpr:
|
||||
// e.g. `unsafe.Pointer` or `unsafe.*`
|
||||
fullType := fmt.Sprintf("%s.%s", t.X, t.Sel)
|
||||
fullTypeWildcard := fmt.Sprintf("%s.*", t.X)
|
||||
|
||||
if v, ok := g.conf.TypeMappings[fullType]; ok {
|
||||
s.WriteString(v)
|
||||
} else if v, ok := g.conf.TypeMappings[fullTypeWildcard]; ok {
|
||||
s.WriteString(v)
|
||||
} else {
|
||||
g.unknownTypes[fullType] = struct{}{}
|
||||
s.WriteString(fullType)
|
||||
}
|
||||
case *ast.MapType:
|
||||
s.WriteString("_TygojaDict")
|
||||
case *ast.BasicLit:
|
||||
s.WriteString(t.Value)
|
||||
case *ast.ParenExpr:
|
||||
s.WriteByte('(')
|
||||
g.writeType(s, t.X, depth)
|
||||
s.WriteByte(')')
|
||||
case *ast.BinaryExpr:
|
||||
g.writeType(s, t.X, depth)
|
||||
s.WriteByte(' ')
|
||||
s.WriteString(t.Op.String())
|
||||
s.WriteByte(' ')
|
||||
g.writeType(s, t.Y, depth)
|
||||
case *ast.InterfaceType:
|
||||
s.WriteString("{\n")
|
||||
g.writeInterfaceFields(s, t.Methods.List, depth)
|
||||
g.writeIndent(s, depth+1)
|
||||
s.WriteByte('}')
|
||||
case *ast.FuncType:
|
||||
g.writeFuncType(s, t, depth, hasOption(optionParenthesis, options))
|
||||
case *ast.UnaryExpr:
|
||||
if t.Op == token.TILDE {
|
||||
// we just ignore the tilde token, in Typescript extended types are
|
||||
// put into the generic typing itself, which we can't support yet.
|
||||
g.writeType(s, t.X, depth)
|
||||
} else {
|
||||
// only log for now
|
||||
log.Printf("unhandled unary expr: %v\n %T\n", t, t)
|
||||
}
|
||||
case *ast.IndexListExpr:
|
||||
g.writeType(s, t.X, depth)
|
||||
s.WriteByte('<')
|
||||
for i, index := range t.Indices {
|
||||
g.writeType(s, index, depth)
|
||||
if i != len(t.Indices)-1 {
|
||||
s.WriteString(", ")
|
||||
}
|
||||
}
|
||||
s.WriteByte('>')
|
||||
case *ast.IndexExpr:
|
||||
g.writeType(s, t.X, depth)
|
||||
s.WriteByte('<')
|
||||
g.writeType(s, t.Index, depth)
|
||||
s.WriteByte('>')
|
||||
case *ast.CallExpr, *ast.ChanType, *ast.CompositeLit:
|
||||
s.WriteString("undefined")
|
||||
default:
|
||||
s.WriteString("any")
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeTypeParamsFields(s *strings.Builder, fields []*ast.Field) {
|
||||
// extract params
|
||||
names := []string{}
|
||||
for _, f := range fields {
|
||||
for _, ident := range f.Names {
|
||||
names = append(names, ident.Name)
|
||||
|
||||
// disable extends for now as it complicates the interfaces merge
|
||||
//
|
||||
// s.WriteString(" extends ")
|
||||
// g.writeType(s, f.Type, 0, true)
|
||||
// if i != len(fields)-1 || j != len(f.Names)-1 {
|
||||
// s.WriteString(", ")
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
if len(names) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
s.WriteByte('<')
|
||||
|
||||
for i, name := range names {
|
||||
if i > 0 {
|
||||
s.WriteString(",")
|
||||
}
|
||||
s.WriteString(name)
|
||||
}
|
||||
|
||||
s.WriteByte('>')
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeInterfaceFields(s *strings.Builder, fields []*ast.Field, depth int) {
|
||||
for _, f := range fields {
|
||||
g.writeCommentGroup(s, f.Doc, depth+1)
|
||||
|
||||
var methodName string
|
||||
if len(f.Names) != 0 && f.Names[0] != nil && len(f.Names[0].Name) != 0 {
|
||||
methodName = f.Names[0].Name
|
||||
}
|
||||
if len(methodName) == 0 || 'A' > methodName[0] || methodName[0] > 'Z' {
|
||||
continue
|
||||
}
|
||||
|
||||
if g.conf.MethodNameFormatter != nil {
|
||||
methodName = g.conf.MethodNameFormatter(methodName)
|
||||
}
|
||||
|
||||
g.writeIndent(s, depth+1)
|
||||
s.WriteString(methodName)
|
||||
g.writeType(s, f.Type, depth)
|
||||
|
||||
if f.Comment != nil {
|
||||
s.WriteString(" // ")
|
||||
s.WriteString(f.Comment.Text())
|
||||
} else {
|
||||
s.WriteByte('\n')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeStructFields(s *strings.Builder, fields []*ast.Field, depth int) {
|
||||
for _, f := range fields {
|
||||
var fieldName string
|
||||
if len(f.Names) != 0 && f.Names[0] != nil && len(f.Names[0].Name) != 0 {
|
||||
fieldName = f.Names[0].Name
|
||||
}
|
||||
if len(fieldName) == 0 || 'A' > fieldName[0] || fieldName[0] > 'Z' {
|
||||
continue
|
||||
}
|
||||
|
||||
if g.conf.FieldNameFormatter != nil {
|
||||
fieldName = g.conf.FieldNameFormatter(fieldName)
|
||||
}
|
||||
|
||||
g.writeCommentGroup(s, f.Doc, depth+1)
|
||||
|
||||
g.writeIndent(s, depth+1)
|
||||
quoted := !isValidJSName(fieldName)
|
||||
if quoted {
|
||||
s.WriteByte('\'')
|
||||
}
|
||||
s.WriteString(fieldName)
|
||||
if quoted {
|
||||
s.WriteByte('\'')
|
||||
}
|
||||
|
||||
// check if it is nil-able, aka. optional
|
||||
switch t := f.Type.(type) {
|
||||
case *ast.StarExpr:
|
||||
f.Type = t.X
|
||||
s.WriteByte('?')
|
||||
}
|
||||
|
||||
s.WriteString(": ")
|
||||
g.writeType(s, f.Type, depth, optionParenthesis)
|
||||
|
||||
if f.Comment != nil {
|
||||
// Line comment is present, that means a comment after the field.
|
||||
s.WriteString(" // ")
|
||||
s.WriteString(f.Comment.Text())
|
||||
} else {
|
||||
s.WriteByte('\n')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeFuncType(s *strings.Builder, t *ast.FuncType, depth int, returnAsProp bool) {
|
||||
s.WriteString("(")
|
||||
|
||||
if t.Params != nil {
|
||||
g.writeFuncParams(s, t.Params.List, depth)
|
||||
}
|
||||
|
||||
if returnAsProp {
|
||||
s.WriteString(") => ")
|
||||
} else {
|
||||
s.WriteString("): ")
|
||||
}
|
||||
|
||||
// (from https://pkg.go.dev/github.com/dop251/goja)
|
||||
// Functions with multiple return values return an Array.
|
||||
// If the last return value is an `error` it is not returned but converted into a JS exception.
|
||||
// If the error is *Exception, it is thrown as is, otherwise it's wrapped in a GoEerror.
|
||||
// Note that if there are exactly two return values and the last is an `error`,
|
||||
// the function returns the first value as is, not an Array.
|
||||
if t.Results == nil || len(t.Results.List) == 0 {
|
||||
s.WriteString("void")
|
||||
} else {
|
||||
// remove the last return error type
|
||||
lastReturn, ok := t.Results.List[len(t.Results.List)-1].Type.(*ast.Ident)
|
||||
if ok && lastReturn.Name == "error" {
|
||||
t.Results.List = t.Results.List[:len(t.Results.List)-1]
|
||||
}
|
||||
|
||||
if len(t.Results.List) == 0 {
|
||||
s.WriteString("void")
|
||||
} else {
|
||||
// multiple and shortened return type values must be wrapped in []
|
||||
// (combined/shortened return values from the same type are part of a single ast.Field but with different names)
|
||||
hasMultipleReturnValues := len(t.Results.List) > 1 || len(t.Results.List[0].Names) > 1
|
||||
if hasMultipleReturnValues {
|
||||
s.WriteRune('[')
|
||||
}
|
||||
|
||||
for i, f := range t.Results.List {
|
||||
totalNames := max(len(f.Names), 1)
|
||||
for j := range totalNames {
|
||||
if i > 0 || j > 0 {
|
||||
s.WriteString(", ")
|
||||
}
|
||||
|
||||
g.writeType(s, f.Type, 0, optionParenthesis, optionFunctionReturn)
|
||||
}
|
||||
}
|
||||
|
||||
if hasMultipleReturnValues {
|
||||
s.WriteRune(']')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (g *PackageGenerator) writeFuncParams(s *strings.Builder, params []*ast.Field, depth int) {
|
||||
for i, f := range params {
|
||||
// normalize params iteration
|
||||
// (params with omitted types will be part of a single ast.Field but with different names)
|
||||
names := make([]string, 0, len(f.Names))
|
||||
for j, ident := range f.Names {
|
||||
name := ident.Name
|
||||
if name == "" || isReservedIdentifier(name) {
|
||||
name = fmt.Sprintf("_arg%d%d", i, j)
|
||||
}
|
||||
names = append(names, name)
|
||||
}
|
||||
if len(names) == 0 {
|
||||
// ommitted param name (eg. func(string))
|
||||
names = append(names, fmt.Sprintf("_arg%d", i))
|
||||
}
|
||||
|
||||
for j, fieldName := range names {
|
||||
if i > 0 || j > 0 {
|
||||
s.WriteString(", ")
|
||||
}
|
||||
|
||||
var isVariadic bool
|
||||
|
||||
switch t := f.Type.(type) {
|
||||
case *ast.StarExpr:
|
||||
f.Type = t.X
|
||||
case *ast.Ellipsis:
|
||||
isVariadic = true
|
||||
}
|
||||
|
||||
g.writeCommentGroup(s, f.Doc, depth+2)
|
||||
if isVariadic {
|
||||
s.WriteString("...")
|
||||
}
|
||||
s.WriteString(fieldName)
|
||||
|
||||
s.WriteString(": ")
|
||||
|
||||
g.writeType(s, f.Type, depth, optionParenthesis)
|
||||
|
||||
if f.Comment != nil {
|
||||
// Line comment is present, that means a comment after the field.
|
||||
s.WriteString(" /* ")
|
||||
s.WriteString(f.Comment.Text())
|
||||
s.WriteString(" */ ")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// see https://es5.github.io/#x7.6.1.1
|
||||
var reservedIdentifiers = map[string]struct{}{
|
||||
"break": {},
|
||||
"do": {},
|
||||
"instanceof": {},
|
||||
"typeof": {},
|
||||
"case": {},
|
||||
"else": {},
|
||||
"new": {},
|
||||
"var": {},
|
||||
"catch": {},
|
||||
"finally": {},
|
||||
"return": {},
|
||||
"void": {},
|
||||
"continue": {},
|
||||
"for": {},
|
||||
"switch": {},
|
||||
"while": {},
|
||||
"debugger": {},
|
||||
"function": {},
|
||||
"this": {},
|
||||
"with": {},
|
||||
"default": {},
|
||||
"if": {},
|
||||
"throw": {},
|
||||
"delete": {},
|
||||
"in": {},
|
||||
"try": {},
|
||||
"class": {},
|
||||
"enum": {},
|
||||
"extends": {},
|
||||
"super": {},
|
||||
"const": {},
|
||||
"export": {},
|
||||
"import": {},
|
||||
"implements": {},
|
||||
"let": {},
|
||||
"private": {},
|
||||
"public": {},
|
||||
"yield": {},
|
||||
"interface": {},
|
||||
"package": {},
|
||||
"protected": {},
|
||||
"static": {},
|
||||
}
|
||||
|
||||
func isReservedIdentifier(name string) bool {
|
||||
_, ok := reservedIdentifiers[name]
|
||||
return ok
|
||||
}
|
||||
|
||||
var isValidJSNameRegexp = regexp.MustCompile(`(?m)^[\pL_][\pL\pN_]*$`)
|
||||
|
||||
func isValidJSName(name string) bool {
|
||||
return isReservedIdentifier(name) || isValidJSNameRegexp.MatchString(name)
|
||||
}
|
||||
|
||||
func hasOption(opt string, options []string) bool {
|
||||
for _, o := range options {
|
||||
if o == opt {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue