refactor: ♻️ firefish-js build
This commit is contained in:
parent
291cd65417
commit
027b4db37b
@ -1,7 +0,0 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
indent_style = tab
|
|
||||||
indent_size = 2
|
|
||||||
charset = utf-8
|
|
||||||
insert_final_newline = true
|
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/swcrc",
|
"$schema": "https://json.schemastore.org/swcrc",
|
||||||
|
"sourceMaps": true,
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
|
@ -6,4 +6,3 @@ https://www.npmjs.com/package/firefish-js
|
|||||||
|
|
||||||
To fully build, run `pnpm i && pnpm run render`.
|
To fully build, run `pnpm i && pnpm run render`.
|
||||||
|
|
||||||
![Parody of the Javascript logo with "CK" instead of "JS"](https://codeberg.org/repo-avatars/80771-4d86135f67b9a460cdd1be9e91648e5f)
|
|
||||||
|
@ -1,364 +0,0 @@
|
|||||||
/**
|
|
||||||
* Config file for API Extractor. For more info, please visit: https://api-extractor.com
|
|
||||||
*/
|
|
||||||
{
|
|
||||||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Optionally specifies another JSON config file that this file extends from. This provides a way for
|
|
||||||
* standard settings to be shared across multiple projects.
|
|
||||||
*
|
|
||||||
* If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains
|
|
||||||
* the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be
|
|
||||||
* resolved using NodeJS require().
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: none
|
|
||||||
* DEFAULT VALUE: ""
|
|
||||||
*/
|
|
||||||
// "extends": "./shared/api-extractor-base.json"
|
|
||||||
// "extends": "my-package/include/api-extractor-base.json"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Determines the "<projectFolder>" token that can be used with other config file settings. The project folder
|
|
||||||
* typically contains the tsconfig.json and package.json config files, but the path is user-defined.
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting.
|
|
||||||
*
|
|
||||||
* The default value for "projectFolder" is the token "<lookup>", which means the folder is determined by traversing
|
|
||||||
* parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder
|
|
||||||
* that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error
|
|
||||||
* will be reported.
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <lookup>
|
|
||||||
* DEFAULT VALUE: "<lookup>"
|
|
||||||
*/
|
|
||||||
// "projectFolder": "..",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor
|
|
||||||
* analyzes the symbols exported by this module.
|
|
||||||
*
|
|
||||||
* The file extension must be ".d.ts" and not ".ts".
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
*/
|
|
||||||
"mainEntryPointFilePath": "<projectFolder>/built/index.d.ts",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A list of NPM package names whose exports should be treated as part of this package.
|
|
||||||
*
|
|
||||||
* For example, suppose that Webpack is used to generate a distributed bundle for the project "library1",
|
|
||||||
* and another NPM package "library2" is embedded in this bundle. Some types from library2 may become part
|
|
||||||
* of the exported API for library1, but by default API Extractor would generate a .d.ts rollup that explicitly
|
|
||||||
* imports library2. To avoid this, we can specify:
|
|
||||||
*
|
|
||||||
* "bundledPackages": [ "library2" ],
|
|
||||||
*
|
|
||||||
* This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been
|
|
||||||
* local files for library1.
|
|
||||||
*/
|
|
||||||
"bundledPackages": [],
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Determines how the TypeScript compiler engine will be invoked by API Extractor.
|
|
||||||
*/
|
|
||||||
"compiler": {
|
|
||||||
/**
|
|
||||||
* Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project.
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* Note: This setting will be ignored if "overrideTsconfig" is used.
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: "<projectFolder>/tsconfig.json"
|
|
||||||
*/
|
|
||||||
// "tsconfigFilePath": "<projectFolder>/tsconfig.json",
|
|
||||||
/**
|
|
||||||
* Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk.
|
|
||||||
* The object must conform to the TypeScript tsconfig schema:
|
|
||||||
*
|
|
||||||
* http://json.schemastore.org/tsconfig
|
|
||||||
*
|
|
||||||
* If omitted, then the tsconfig.json file will be read from the "projectFolder".
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: no overrideTsconfig section
|
|
||||||
*/
|
|
||||||
// "overrideTsconfig": {
|
|
||||||
// . . .
|
|
||||||
// }
|
|
||||||
/**
|
|
||||||
* This option causes the compiler to be invoked with the --skipLibCheck option. This option is not recommended
|
|
||||||
* and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when
|
|
||||||
* dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses
|
|
||||||
* for its analysis. Where possible, the underlying issue should be fixed rather than relying on skipLibCheck.
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: false
|
|
||||||
*/
|
|
||||||
// "skipLibCheck": true,
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures how the API report file (*.api.md) will be generated.
|
|
||||||
*/
|
|
||||||
"apiReport": {
|
|
||||||
/**
|
|
||||||
* (REQUIRED) Whether to generate an API report.
|
|
||||||
*/
|
|
||||||
"enabled": true
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The filename for the API report files. It will be combined with "reportFolder" or "reportTempFolder" to produce
|
|
||||||
* a full file path.
|
|
||||||
*
|
|
||||||
* The file extension should be ".api.md", and the string should not contain a path separator such as "\" or "/".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: "<unscopedPackageName>.api.md"
|
|
||||||
*/
|
|
||||||
// "reportFileName": "<unscopedPackageName>.api.md",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specifies the folder where the API report file is written. The file name portion is determined by
|
|
||||||
* the "reportFileName" setting.
|
|
||||||
*
|
|
||||||
* The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy,
|
|
||||||
* e.g. for an API review.
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: "<projectFolder>/etc/"
|
|
||||||
*/
|
|
||||||
// "reportFolder": "<projectFolder>/etc/",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specifies the folder where the temporary report file is written. The file name portion is determined by
|
|
||||||
* the "reportFileName" setting.
|
|
||||||
*
|
|
||||||
* After the temporary file is written to disk, it is compared with the file in the "reportFolder".
|
|
||||||
* If they are different, a production build will fail.
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: "<projectFolder>/temp/"
|
|
||||||
*/
|
|
||||||
// "reportTempFolder": "<projectFolder>/temp/"
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures how the doc model file (*.api.json) will be generated.
|
|
||||||
*/
|
|
||||||
"docModel": {
|
|
||||||
/**
|
|
||||||
* (REQUIRED) Whether to generate a doc model file.
|
|
||||||
*/
|
|
||||||
"enabled": true
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The output path for the doc model file. The file extension should be ".api.json".
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: "<projectFolder>/temp/<unscopedPackageName>.api.json"
|
|
||||||
*/
|
|
||||||
// "apiJsonFilePath": "<projectFolder>/temp/<unscopedPackageName>.api.json"
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures how the .d.ts rollup file will be generated.
|
|
||||||
*/
|
|
||||||
"dtsRollup": {
|
|
||||||
/**
|
|
||||||
* (REQUIRED) Whether to generate the .d.ts rollup file.
|
|
||||||
*/
|
|
||||||
"enabled": false
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specifies the output path for a .d.ts rollup file to be generated without any trimming.
|
|
||||||
* This file will include all declarations that are exported by the main entry point.
|
|
||||||
*
|
|
||||||
* If the path is an empty string, then this file will not be written.
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: "<projectFolder>/dist/<unscopedPackageName>.d.ts"
|
|
||||||
*/
|
|
||||||
// "untrimmedFilePath": "<projectFolder>/dist/<unscopedPackageName>.d.ts",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release.
|
|
||||||
* This file will include only declarations that are marked as "@public" or "@beta".
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: ""
|
|
||||||
*/
|
|
||||||
// "betaTrimmedFilePath": "<projectFolder>/dist/<unscopedPackageName>-beta.d.ts",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release.
|
|
||||||
* This file will include only declarations that are marked as "@public".
|
|
||||||
*
|
|
||||||
* If the path is an empty string, then this file will not be written.
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: ""
|
|
||||||
*/
|
|
||||||
// "publicTrimmedFilePath": "<projectFolder>/dist/<unscopedPackageName>-public.d.ts",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* When a declaration is trimmed, by default it will be replaced by a code comment such as
|
|
||||||
* "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the
|
|
||||||
* declaration completely.
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: false
|
|
||||||
*/
|
|
||||||
// "omitTrimmingComments": true
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures how the tsdoc-metadata.json file will be generated.
|
|
||||||
*/
|
|
||||||
"tsdocMetadata": {
|
|
||||||
/**
|
|
||||||
* Whether to generate the tsdoc-metadata.json file.
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: true
|
|
||||||
*/
|
|
||||||
// "enabled": true,
|
|
||||||
/**
|
|
||||||
* Specifies where the TSDoc metadata file should be written.
|
|
||||||
*
|
|
||||||
* The path is resolved relative to the folder of the config file that contains the setting; to change this,
|
|
||||||
* prepend a folder token such as "<projectFolder>".
|
|
||||||
*
|
|
||||||
* The default value is "<lookup>", which causes the path to be automatically inferred from the "tsdocMetadata",
|
|
||||||
* "typings" or "main" fields of the project's package.json. If none of these fields are set, the lookup
|
|
||||||
* falls back to "tsdoc-metadata.json" in the package folder.
|
|
||||||
*
|
|
||||||
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
|
|
||||||
* DEFAULT VALUE: "<lookup>"
|
|
||||||
*/
|
|
||||||
// "tsdocMetadataFilePath": "<projectFolder>/dist/tsdoc-metadata.json"
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Specifies what type of newlines API Extractor should use when writing output files. By default, the output files
|
|
||||||
* will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead.
|
|
||||||
* To use the OS's default newline kind, specify "os".
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: "crlf"
|
|
||||||
*/
|
|
||||||
// "newlineKind": "crlf",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures how API Extractor reports error and warning messages produced during analysis.
|
|
||||||
*
|
|
||||||
* There are three sources of messages: compiler messages, API Extractor messages, and TSDoc messages.
|
|
||||||
*/
|
|
||||||
"messages": {
|
|
||||||
/**
|
|
||||||
* Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing
|
|
||||||
* the input .d.ts files.
|
|
||||||
*
|
|
||||||
* TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551"
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: A single "default" entry with logLevel=warning.
|
|
||||||
*/
|
|
||||||
"compilerMessageReporting": {
|
|
||||||
/**
|
|
||||||
* Configures the default routing for messages that don't match an explicit rule in this table.
|
|
||||||
*/
|
|
||||||
"default": {
|
|
||||||
/**
|
|
||||||
* Specifies whether the message should be written to the the tool's output log. Note that
|
|
||||||
* the "addToApiReportFile" property may supersede this option.
|
|
||||||
*
|
|
||||||
* Possible values: "error", "warning", "none"
|
|
||||||
*
|
|
||||||
* Errors cause the build to fail and return a nonzero exit code. Warnings cause a production build fail
|
|
||||||
* and return a nonzero exit code. For a non-production build (e.g. when "api-extractor run" includes
|
|
||||||
* the "--local" option), the warning is displayed but the build will not fail.
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: "warning"
|
|
||||||
*/
|
|
||||||
"logLevel": "warning"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* When addToApiReportFile is true: If API Extractor is configured to write an API report file (.api.md),
|
|
||||||
* then the message will be written inside that file; otherwise, the message is instead logged according to
|
|
||||||
* the "logLevel" option.
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: false
|
|
||||||
*/
|
|
||||||
// "addToApiReportFile": false
|
|
||||||
}
|
|
||||||
|
|
||||||
// "TS2551": {
|
|
||||||
// "logLevel": "warning",
|
|
||||||
// "addToApiReportFile": true
|
|
||||||
// },
|
|
||||||
//
|
|
||||||
// . . .
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures handling of messages reported by API Extractor during its analysis.
|
|
||||||
*
|
|
||||||
* API Extractor message identifiers start with "ae-". For example: "ae-extra-release-tag"
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: See api-extractor-defaults.json for the complete table of extractorMessageReporting mappings
|
|
||||||
*/
|
|
||||||
"extractorMessageReporting": {
|
|
||||||
"default": {
|
|
||||||
"logLevel": "none"
|
|
||||||
// "addToApiReportFile": false
|
|
||||||
}
|
|
||||||
|
|
||||||
// "ae-extra-release-tag": {
|
|
||||||
// "logLevel": "warning",
|
|
||||||
// "addToApiReportFile": true
|
|
||||||
// },
|
|
||||||
//
|
|
||||||
// . . .
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures handling of messages reported by the TSDoc parser when analyzing code comments.
|
|
||||||
*
|
|
||||||
* TSDoc message identifiers start with "tsdoc-". For example: "tsdoc-link-tag-unescaped-text"
|
|
||||||
*
|
|
||||||
* DEFAULT VALUE: A single "default" entry with logLevel=warning.
|
|
||||||
*/
|
|
||||||
"tsdocMessageReporting": {
|
|
||||||
"default": {
|
|
||||||
"logLevel": "warning"
|
|
||||||
// "addToApiReportFile": false
|
|
||||||
}
|
|
||||||
|
|
||||||
// "tsdoc-link-tag-unescaped-text": {
|
|
||||||
// "logLevel": "warning",
|
|
||||||
// "addToApiReportFile": true
|
|
||||||
// },
|
|
||||||
//
|
|
||||||
// . . .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
codecov:
|
|
||||||
token: d55e1270-f20a-4727-aa05-2bd57793315a
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,14 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Acct](./firefish-js.acct.md)
|
|
||||||
|
|
||||||
## Acct type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Acct = {
|
|
||||||
username: string;
|
|
||||||
host: string | null;
|
|
||||||
};
|
|
||||||
```
|
|
@ -1,24 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIClient](./firefish-js.api.apiclient.md) > [(constructor)](./firefish-js.api.apiclient._constructor_.md)
|
|
||||||
|
|
||||||
## api.APIClient.(constructor)
|
|
||||||
|
|
||||||
Constructs a new instance of the `APIClient` class
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
constructor(opts: {
|
|
||||||
origin: APIClient["origin"];
|
|
||||||
credential?: APIClient["credential"];
|
|
||||||
fetch?: APIClient["fetch"] | null | undefined;
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| opts | { origin: [APIClient](./firefish-js.api.apiclient.md)<!-- -->\["origin"\]; credential?: [APIClient](./firefish-js.api.apiclient.md)<!-- -->\["credential"\]; fetch?: [APIClient](./firefish-js.api.apiclient.md)<!-- -->\["fetch"\] \| null \| undefined; } | |
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIClient](./firefish-js.api.apiclient.md) > [credential](./firefish-js.api.apiclient.credential.md)
|
|
||||||
|
|
||||||
## api.APIClient.credential property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
credential: string | null | undefined;
|
|
||||||
```
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIClient](./firefish-js.api.apiclient.md) > [fetch](./firefish-js.api.apiclient.fetch.md)
|
|
||||||
|
|
||||||
## api.APIClient.fetch property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
fetch: FetchLike;
|
|
||||||
```
|
|
@ -1,32 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIClient](./firefish-js.api.apiclient.md)
|
|
||||||
|
|
||||||
## api.APIClient class
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare class APIClient
|
|
||||||
```
|
|
||||||
|
|
||||||
## Constructors
|
|
||||||
|
|
||||||
| Constructor | Modifiers | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [(constructor)(opts)](./firefish-js.api.apiclient._constructor_.md) | | Constructs a new instance of the <code>APIClient</code> class |
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
| Property | Modifiers | Type | Description |
|
|
||||||
| --- | --- | --- | --- |
|
|
||||||
| [credential](./firefish-js.api.apiclient.credential.md) | | string \| null \| undefined | |
|
|
||||||
| [fetch](./firefish-js.api.apiclient.fetch.md) | | [FetchLike](./firefish-js.api.fetchlike.md) | |
|
|
||||||
| [origin](./firefish-js.api.apiclient.origin.md) | | string | |
|
|
||||||
|
|
||||||
## Methods
|
|
||||||
|
|
||||||
| Method | Modifiers | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [request(endpoint, params, credential)](./firefish-js.api.apiclient.request.md) | | |
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIClient](./firefish-js.api.apiclient.md) > [origin](./firefish-js.api.apiclient.origin.md)
|
|
||||||
|
|
||||||
## api.APIClient.origin property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
origin: string;
|
|
||||||
```
|
|
@ -1,57 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIClient](./firefish-js.api.apiclient.md) > [request](./firefish-js.api.apiclient.request.md)
|
|
||||||
|
|
||||||
## api.APIClient.request() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
request<E extends keyof Endpoints, P extends Endpoints[E]["req"]>(
|
|
||||||
endpoint: E,
|
|
||||||
params?: P,
|
|
||||||
credential?: string | null | undefined,
|
|
||||||
): Promise<
|
|
||||||
Endpoints[E]["res"] extends {
|
|
||||||
$switch: {
|
|
||||||
$cases: [any, any][];
|
|
||||||
$default: any;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
? IsCaseMatched<E, P, 0> extends true
|
|
||||||
? GetCaseResult<E, P, 0>
|
|
||||||
: IsCaseMatched<E, P, 1> extends true
|
|
||||||
? GetCaseResult<E, P, 1>
|
|
||||||
: IsCaseMatched<E, P, 2> extends true
|
|
||||||
? GetCaseResult<E, P, 2>
|
|
||||||
: IsCaseMatched<E, P, 3> extends true
|
|
||||||
? GetCaseResult<E, P, 3>
|
|
||||||
: IsCaseMatched<E, P, 4> extends true
|
|
||||||
? GetCaseResult<E, P, 4>
|
|
||||||
: IsCaseMatched<E, P, 5> extends true
|
|
||||||
? GetCaseResult<E, P, 5>
|
|
||||||
: IsCaseMatched<E, P, 6> extends true
|
|
||||||
? GetCaseResult<E, P, 6>
|
|
||||||
: IsCaseMatched<E, P, 7> extends true
|
|
||||||
? GetCaseResult<E, P, 7>
|
|
||||||
: IsCaseMatched<E, P, 8> extends true
|
|
||||||
? GetCaseResult<E, P, 8>
|
|
||||||
: IsCaseMatched<E, P, 9> extends true
|
|
||||||
? GetCaseResult<E, P, 9>
|
|
||||||
: Endpoints[E]["res"]["$switch"]["$default"]
|
|
||||||
: Endpoints[E]["res"]
|
|
||||||
>;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| endpoint | E | |
|
|
||||||
| params | P | _(Optional)_ |
|
|
||||||
| credential | string \| null \| undefined | _(Optional)_ |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
Promise< [Endpoints](./firefish-js.endpoints.md)<!-- -->\[E\]\["res"\] extends { $switch: { $cases: \[any, any\]\[\]; $default: any; }; } ? IsCaseMatched<E, P, 0> extends true ? GetCaseResult<E, P, 0> : IsCaseMatched<E, P, 1> extends true ? GetCaseResult<E, P, 1> : IsCaseMatched<E, P, 2> extends true ? GetCaseResult<E, P, 2> : IsCaseMatched<E, P, 3> extends true ? GetCaseResult<E, P, 3> : IsCaseMatched<E, P, 4> extends true ? GetCaseResult<E, P, 4> : IsCaseMatched<E, P, 5> extends true ? GetCaseResult<E, P, 5> : IsCaseMatched<E, P, 6> extends true ? GetCaseResult<E, P, 6> : IsCaseMatched<E, P, 7> extends true ? GetCaseResult<E, P, 7> : IsCaseMatched<E, P, 8> extends true ? GetCaseResult<E, P, 8> : IsCaseMatched<E, P, 9> extends true ? GetCaseResult<E, P, 9> : [Endpoints](./firefish-js.endpoints.md)<!-- -->\[E\]\["res"\]\["$switch"\]\["$default"\] : [Endpoints](./firefish-js.endpoints.md)<!-- -->\[E\]\["res"\] >
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [APIError](./firefish-js.api.apierror.md)
|
|
||||||
|
|
||||||
## api.APIError type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type APIError = {
|
|
||||||
id: string;
|
|
||||||
code: string;
|
|
||||||
message: string;
|
|
||||||
kind: "client" | "server";
|
|
||||||
info: Record<string, any>;
|
|
||||||
};
|
|
||||||
```
|
|
@ -1,22 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [FetchLike](./firefish-js.api.fetchlike.md)
|
|
||||||
|
|
||||||
## api.FetchLike type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type FetchLike = (
|
|
||||||
input: string,
|
|
||||||
init?: {
|
|
||||||
method?: string;
|
|
||||||
body?: string;
|
|
||||||
credentials?: RequestCredentials;
|
|
||||||
cache?: RequestCache;
|
|
||||||
},
|
|
||||||
) => Promise<{
|
|
||||||
status: number;
|
|
||||||
json(): Promise<any>;
|
|
||||||
}>;
|
|
||||||
```
|
|
@ -1,22 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [isAPIError](./firefish-js.api.isapierror.md)
|
|
||||||
|
|
||||||
## api.isAPIError() function
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare function isAPIError(reason: any): reason is APIError;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| reason | any | |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
reason is [APIError](./firefish-js.api.apierror.md)
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md)
|
|
||||||
|
|
||||||
## api namespace
|
|
||||||
|
|
||||||
## Classes
|
|
||||||
|
|
||||||
| Class | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [APIClient](./firefish-js.api.apiclient.md) | |
|
|
||||||
|
|
||||||
## Functions
|
|
||||||
|
|
||||||
| Function | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [isAPIError(reason)](./firefish-js.api.isapierror.md) | |
|
|
||||||
|
|
||||||
## Type Aliases
|
|
||||||
|
|
||||||
| Type Alias | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [APIError](./firefish-js.api.apierror.md) | |
|
|
||||||
| [FetchLike](./firefish-js.api.fetchlike.md) | |
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [(constructor)](./firefish-js.channelconnection._constructor_.md)
|
|
||||||
|
|
||||||
## ChannelConnection.(constructor)
|
|
||||||
|
|
||||||
Constructs a new instance of the `Connection` class
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
constructor(stream: Stream, channel: string, name?: string);
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| stream | [Stream](./firefish-js.stream.md) | |
|
|
||||||
| channel | string | |
|
|
||||||
| name | string | _(Optional)_ |
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [channel](./firefish-js.channelconnection.channel.md)
|
|
||||||
|
|
||||||
## ChannelConnection.channel property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
channel: string;
|
|
||||||
```
|
|
@ -1,15 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [dispose](./firefish-js.channelconnection.dispose.md)
|
|
||||||
|
|
||||||
## ChannelConnection.dispose() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
abstract dispose(): void;
|
|
||||||
```
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [id](./firefish-js.channelconnection.id.md)
|
|
||||||
|
|
||||||
## ChannelConnection.id property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
abstract id: string;
|
|
||||||
```
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [inCount](./firefish-js.channelconnection.incount.md)
|
|
||||||
|
|
||||||
## ChannelConnection.inCount property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
inCount: number;
|
|
||||||
```
|
|
@ -1,39 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md)
|
|
||||||
|
|
||||||
## ChannelConnection class
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare abstract class Connection<
|
|
||||||
Channel extends AnyOf<Channels> = any,
|
|
||||||
> extends EventEmitter<Channel["events"]>
|
|
||||||
```
|
|
||||||
**Extends:** EventEmitter<Channel\["events"\]>
|
|
||||||
|
|
||||||
## Constructors
|
|
||||||
|
|
||||||
| Constructor | Modifiers | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [(constructor)(stream, channel, name)](./firefish-js.channelconnection._constructor_.md) | | Constructs a new instance of the <code>Connection</code> class |
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
| Property | Modifiers | Type | Description |
|
|
||||||
| --- | --- | --- | --- |
|
|
||||||
| [channel](./firefish-js.channelconnection.channel.md) | | string | |
|
|
||||||
| [id](./firefish-js.channelconnection.id.md) | <code>abstract</code> | string | |
|
|
||||||
| [inCount](./firefish-js.channelconnection.incount.md) | | number | |
|
|
||||||
| [name?](./firefish-js.channelconnection.name.md) | | string | _(Optional)_ |
|
|
||||||
| [outCount](./firefish-js.channelconnection.outcount.md) | | number | |
|
|
||||||
| [stream](./firefish-js.channelconnection.stream.md) | <code>protected</code> | [Stream](./firefish-js.stream.md) | |
|
|
||||||
|
|
||||||
## Methods
|
|
||||||
|
|
||||||
| Method | Modifiers | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [dispose()](./firefish-js.channelconnection.dispose.md) | <code>abstract</code> | |
|
|
||||||
| [send(type, body)](./firefish-js.channelconnection.send.md) | | |
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [name](./firefish-js.channelconnection.name.md)
|
|
||||||
|
|
||||||
## ChannelConnection.name property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
name?: string;
|
|
||||||
```
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [outCount](./firefish-js.channelconnection.outcount.md)
|
|
||||||
|
|
||||||
## ChannelConnection.outCount property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
outCount: number;
|
|
||||||
```
|
|
@ -1,26 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [send](./firefish-js.channelconnection.send.md)
|
|
||||||
|
|
||||||
## ChannelConnection.send() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
send<T extends keyof Channel["receives"]>(
|
|
||||||
type: T,
|
|
||||||
body: Channel["receives"][T],
|
|
||||||
): void;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| type | T | |
|
|
||||||
| body | Channel\["receives"\]\[T\] | |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [stream](./firefish-js.channelconnection.stream.md)
|
|
||||||
|
|
||||||
## ChannelConnection.stream property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
protected stream: Stream;
|
|
||||||
```
|
|
@ -1,143 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Channels](./firefish-js.channels.md)
|
|
||||||
|
|
||||||
## Channels type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Channels = {
|
|
||||||
main: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
notification: (payload: Notification) => void;
|
|
||||||
mention: (payload: Note) => void;
|
|
||||||
reply: (payload: Note) => void;
|
|
||||||
renote: (payload: Note) => void;
|
|
||||||
follow: (payload: User) => void;
|
|
||||||
followed: (payload: User) => void;
|
|
||||||
unfollow: (payload: User) => void;
|
|
||||||
meUpdated: (payload: MeDetailed) => void;
|
|
||||||
pageEvent: (payload: PageEvent) => void;
|
|
||||||
urlUploadFinished: (payload: {
|
|
||||||
marker: string;
|
|
||||||
file: DriveFile;
|
|
||||||
}) => void;
|
|
||||||
readAllNotifications: () => void;
|
|
||||||
unreadNotification: (payload: Notification) => void;
|
|
||||||
unreadMention: (payload: Note["id"]) => void;
|
|
||||||
readAllUnreadMentions: () => void;
|
|
||||||
unreadSpecifiedNote: (payload: Note["id"]) => void;
|
|
||||||
readAllUnreadSpecifiedNotes: () => void;
|
|
||||||
readAllMessagingMessages: () => void;
|
|
||||||
messagingMessage: (payload: MessagingMessage) => void;
|
|
||||||
unreadMessagingMessage: (payload: MessagingMessage) => void;
|
|
||||||
readAllAntennas: () => void;
|
|
||||||
unreadAntenna: (payload: Antenna) => void;
|
|
||||||
readAllAnnouncements: () => void;
|
|
||||||
readAllChannels: () => void;
|
|
||||||
unreadChannel: (payload: Note["id"]) => void;
|
|
||||||
myTokenRegenerated: () => void;
|
|
||||||
reversiNoInvites: () => void;
|
|
||||||
reversiInvited: (payload: FIXME) => void;
|
|
||||||
signin: (payload: FIXME) => void;
|
|
||||||
registryUpdated: (payload: {
|
|
||||||
scope?: string[];
|
|
||||||
key: string;
|
|
||||||
value: any | null;
|
|
||||||
}) => void;
|
|
||||||
driveFileCreated: (payload: DriveFile) => void;
|
|
||||||
readAntenna: (payload: Antenna) => void;
|
|
||||||
};
|
|
||||||
receives: null;
|
|
||||||
};
|
|
||||||
homeTimeline: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
note: (payload: Note) => void;
|
|
||||||
};
|
|
||||||
receives: null;
|
|
||||||
};
|
|
||||||
localTimeline: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
note: (payload: Note) => void;
|
|
||||||
};
|
|
||||||
receives: null;
|
|
||||||
};
|
|
||||||
hybridTimeline: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
note: (payload: Note) => void;
|
|
||||||
};
|
|
||||||
receives: null;
|
|
||||||
};
|
|
||||||
recommendedTimeline: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
note: (payload: Note) => void;
|
|
||||||
};
|
|
||||||
receives: null;
|
|
||||||
};
|
|
||||||
globalTimeline: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
note: (payload: Note) => void;
|
|
||||||
};
|
|
||||||
receives: null;
|
|
||||||
};
|
|
||||||
antenna: {
|
|
||||||
params: {
|
|
||||||
antennaId: Antenna["id"];
|
|
||||||
};
|
|
||||||
events: {
|
|
||||||
note: (payload: Note) => void;
|
|
||||||
};
|
|
||||||
receives: null;
|
|
||||||
};
|
|
||||||
messaging: {
|
|
||||||
params: {
|
|
||||||
otherparty?: User["id"] | null;
|
|
||||||
group?: UserGroup["id"] | null;
|
|
||||||
};
|
|
||||||
events: {
|
|
||||||
message: (payload: MessagingMessage) => void;
|
|
||||||
deleted: (payload: MessagingMessage["id"]) => void;
|
|
||||||
read: (payload: MessagingMessage["id"][]) => void;
|
|
||||||
typers: (payload: User[]) => void;
|
|
||||||
};
|
|
||||||
receives: {
|
|
||||||
read: {
|
|
||||||
id: MessagingMessage["id"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
serverStats: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
stats: (payload: FIXME) => void;
|
|
||||||
};
|
|
||||||
receives: {
|
|
||||||
requestLog: {
|
|
||||||
id: string | number;
|
|
||||||
length: number;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
queueStats: {
|
|
||||||
params: null;
|
|
||||||
events: {
|
|
||||||
stats: (payload: FIXME) => void;
|
|
||||||
};
|
|
||||||
receives: {
|
|
||||||
requestLog: {
|
|
||||||
id: string | number;
|
|
||||||
length: number;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [Note](./firefish-js.entities.note.md)<!-- -->, [User](./firefish-js.entities.user.md)<!-- -->, [MeDetailed](./firefish-js.entities.medetailed.md)<!-- -->, [PageEvent](./firefish-js.entities.pageevent.md)<!-- -->, [DriveFile](./firefish-js.entities.drivefile.md)<!-- -->, [MessagingMessage](./firefish-js.entities.messagingmessage.md)<!-- -->, [Antenna](./firefish-js.entities.antenna.md)<!-- -->, [UserGroup](./firefish-js.entities.usergroup.md)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Ad](./firefish-js.entities.ad.md)
|
|
||||||
|
|
||||||
## entities.Ad type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Ad = TODO;
|
|
||||||
```
|
|
@ -1,21 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Announcement](./firefish-js.entities.announcement.md)
|
|
||||||
|
|
||||||
## entities.Announcement type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Announcement = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
updatedAt: DateString | null;
|
|
||||||
text: string;
|
|
||||||
title: string;
|
|
||||||
imageUrl: string | null;
|
|
||||||
isRead?: boolean;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Antenna](./firefish-js.entities.antenna.md)
|
|
||||||
|
|
||||||
## entities.Antenna type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Antenna = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
name: string;
|
|
||||||
keywords: string[][];
|
|
||||||
excludeKeywords: string[][];
|
|
||||||
src: "home" | "all" | "users" | "list" | "group" | "instances";
|
|
||||||
userListId: ID | null;
|
|
||||||
userGroupId: ID | null;
|
|
||||||
users: string[];
|
|
||||||
instances: string[];
|
|
||||||
caseSensitive: boolean;
|
|
||||||
notify: boolean;
|
|
||||||
withReplies: boolean;
|
|
||||||
withFile: boolean;
|
|
||||||
hasUnreadNote: boolean;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [App](./firefish-js.entities.app.md)
|
|
||||||
|
|
||||||
## entities.App type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type App = TODO;
|
|
||||||
```
|
|
@ -1,17 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [AuthSession](./firefish-js.entities.authsession.md)
|
|
||||||
|
|
||||||
## entities.AuthSession type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type AuthSession = {
|
|
||||||
id: ID;
|
|
||||||
app: App;
|
|
||||||
token: string;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [App](./firefish-js.entities.app.md)
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Blocking](./firefish-js.entities.blocking.md)
|
|
||||||
|
|
||||||
## entities.Blocking type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Blocking = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
blockeeId: User["id"];
|
|
||||||
blockee: UserDetailed;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [User](./firefish-js.entities.user.md)<!-- -->, [UserDetailed](./firefish-js.entities.userdetailed.md)
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Channel](./firefish-js.entities.channel.md)
|
|
||||||
|
|
||||||
## entities.Channel type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Channel = {
|
|
||||||
id: ID;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Clip](./firefish-js.entities.clip.md)
|
|
||||||
|
|
||||||
## entities.Clip type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Clip = TODO;
|
|
||||||
```
|
|
@ -1,17 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [CustomEmoji](./firefish-js.entities.customemoji.md)
|
|
||||||
|
|
||||||
## entities.CustomEmoji type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type CustomEmoji = {
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
url: string;
|
|
||||||
category: string;
|
|
||||||
aliases: string[];
|
|
||||||
};
|
|
||||||
```
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [DateString](./firefish-js.entities.datestring.md)
|
|
||||||
|
|
||||||
## entities.DateString type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type DateString = string;
|
|
||||||
```
|
|
@ -1,15 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [DetailedInstanceMetadata](./firefish-js.entities.detailedinstancemetadata.md)
|
|
||||||
|
|
||||||
## entities.DetailedInstanceMetadata type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type DetailedInstanceMetadata = LiteInstanceMetadata & {
|
|
||||||
features: Record<string, any>;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [LiteInstanceMetadata](./firefish-js.entities.liteinstancemetadata.md)
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [DriveFile](./firefish-js.entities.drivefile.md)
|
|
||||||
|
|
||||||
## entities.DriveFile type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type DriveFile = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
isSensitive: boolean;
|
|
||||||
name: string;
|
|
||||||
thumbnailUrl: string;
|
|
||||||
url: string;
|
|
||||||
type: string;
|
|
||||||
size: number;
|
|
||||||
md5: string;
|
|
||||||
blurhash: string;
|
|
||||||
comment: string | null;
|
|
||||||
properties: Record<string, any>;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [DriveFolder](./firefish-js.entities.drivefolder.md)
|
|
||||||
|
|
||||||
## entities.DriveFolder type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type DriveFolder = TODO;
|
|
||||||
```
|
|
@ -1,18 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Following](./firefish-js.entities.following.md)
|
|
||||||
|
|
||||||
## entities.Following type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Following = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
followerId: User["id"];
|
|
||||||
followeeId: User["id"];
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [User](./firefish-js.entities.user.md)
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [FollowingFolloweePopulated](./firefish-js.entities.followingfolloweepopulated.md)
|
|
||||||
|
|
||||||
## entities.FollowingFolloweePopulated type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type FollowingFolloweePopulated = Following & {
|
|
||||||
followee: UserDetailed;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [Following](./firefish-js.entities.following.md)<!-- -->, [UserDetailed](./firefish-js.entities.userdetailed.md)
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [FollowingFollowerPopulated](./firefish-js.entities.followingfollowerpopulated.md)
|
|
||||||
|
|
||||||
## entities.FollowingFollowerPopulated type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type FollowingFollowerPopulated = Following & {
|
|
||||||
follower: UserDetailed;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [Following](./firefish-js.entities.following.md)<!-- -->, [UserDetailed](./firefish-js.entities.userdetailed.md)
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [FollowRequest](./firefish-js.entities.followrequest.md)
|
|
||||||
|
|
||||||
## entities.FollowRequest type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type FollowRequest = {
|
|
||||||
id: ID;
|
|
||||||
follower: User;
|
|
||||||
followee: User;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [User](./firefish-js.entities.user.md)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [GalleryPost](./firefish-js.entities.gallerypost.md)
|
|
||||||
|
|
||||||
## entities.GalleryPost type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type GalleryPost = TODO;
|
|
||||||
```
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [ID](./firefish-js.entities.id.md)
|
|
||||||
|
|
||||||
## entities.ID type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type ID = string;
|
|
||||||
```
|
|
@ -1,40 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Instance](./firefish-js.entities.instance.md)
|
|
||||||
|
|
||||||
## entities.Instance type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Instance = {
|
|
||||||
id: ID;
|
|
||||||
caughtAt: DateString;
|
|
||||||
host: string;
|
|
||||||
usersCount: number;
|
|
||||||
notesCount: number;
|
|
||||||
followingCount: number;
|
|
||||||
followersCount: number;
|
|
||||||
driveUsage: number;
|
|
||||||
driveFiles: number;
|
|
||||||
latestRequestSentAt: DateString | null;
|
|
||||||
latestStatus: number | null;
|
|
||||||
latestRequestReceivedAt: DateString | null;
|
|
||||||
lastCommunicatedAt: DateString;
|
|
||||||
isNotResponding: boolean;
|
|
||||||
isSuspended: boolean;
|
|
||||||
softwareName: string | null;
|
|
||||||
softwareVersion: string | null;
|
|
||||||
openRegistrations: boolean | null;
|
|
||||||
name: string | null;
|
|
||||||
description: string | null;
|
|
||||||
maintainerName: string | null;
|
|
||||||
maintainerEmail: string | null;
|
|
||||||
iconUrl: string | null;
|
|
||||||
faviconUrl: string | null;
|
|
||||||
themeColor: string | null;
|
|
||||||
infoUpdatedAt: DateString | null;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [InstanceMetadata](./firefish-js.entities.instancemetadata.md)
|
|
||||||
|
|
||||||
## entities.InstanceMetadata type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type InstanceMetadata =
|
|
||||||
| LiteInstanceMetadata
|
|
||||||
| DetailedInstanceMetadata;
|
|
||||||
```
|
|
||||||
**References:** [LiteInstanceMetadata](./firefish-js.entities.liteinstancemetadata.md)<!-- -->, [DetailedInstanceMetadata](./firefish-js.entities.detailedinstancemetadata.md)
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [LiteInstanceMetadata](./firefish-js.entities.liteinstancemetadata.md)
|
|
||||||
|
|
||||||
## entities.LiteInstanceMetadata type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type LiteInstanceMetadata = {
|
|
||||||
maintainerName: string | null;
|
|
||||||
maintainerEmail: string | null;
|
|
||||||
version: string;
|
|
||||||
name: string | null;
|
|
||||||
uri: string;
|
|
||||||
description: string | null;
|
|
||||||
tosUrl: string | null;
|
|
||||||
disableRegistration: boolean;
|
|
||||||
disableLocalTimeline: boolean;
|
|
||||||
disableRecommendedTimeline: boolean;
|
|
||||||
disableGlobalTimeline: boolean;
|
|
||||||
driveCapacityPerLocalUserMb: number;
|
|
||||||
driveCapacityPerRemoteUserMb: number;
|
|
||||||
enableHcaptcha: boolean;
|
|
||||||
hcaptchaSiteKey: string | null;
|
|
||||||
enableRecaptcha: boolean;
|
|
||||||
recaptchaSiteKey: string | null;
|
|
||||||
swPublickey: string | null;
|
|
||||||
maxNoteTextLength: number;
|
|
||||||
enableEmail: boolean;
|
|
||||||
enableTwitterIntegration: boolean;
|
|
||||||
enableGithubIntegration: boolean;
|
|
||||||
enableDiscordIntegration: boolean;
|
|
||||||
enableServiceWorker: boolean;
|
|
||||||
emojis: CustomEmoji[];
|
|
||||||
ads: {
|
|
||||||
id: ID;
|
|
||||||
ratio: number;
|
|
||||||
place: string;
|
|
||||||
url: string;
|
|
||||||
imageUrl: string;
|
|
||||||
}[];
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [CustomEmoji](./firefish-js.entities.customemoji.md)<!-- -->, [ID](./firefish-js.entities.id.md)
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md)
|
|
||||||
|
|
||||||
## entities namespace
|
|
||||||
|
|
||||||
## Type Aliases
|
|
||||||
|
|
||||||
| Type Alias | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [Ad](./firefish-js.entities.ad.md) | |
|
|
||||||
| [Announcement](./firefish-js.entities.announcement.md) | |
|
|
||||||
| [Antenna](./firefish-js.entities.antenna.md) | |
|
|
||||||
| [App](./firefish-js.entities.app.md) | |
|
|
||||||
| [AuthSession](./firefish-js.entities.authsession.md) | |
|
|
||||||
| [Blocking](./firefish-js.entities.blocking.md) | |
|
|
||||||
| [Channel](./firefish-js.entities.channel.md) | |
|
|
||||||
| [Clip](./firefish-js.entities.clip.md) | |
|
|
||||||
| [CustomEmoji](./firefish-js.entities.customemoji.md) | |
|
|
||||||
| [DateString](./firefish-js.entities.datestring.md) | |
|
|
||||||
| [DetailedInstanceMetadata](./firefish-js.entities.detailedinstancemetadata.md) | |
|
|
||||||
| [DriveFile](./firefish-js.entities.drivefile.md) | |
|
|
||||||
| [DriveFolder](./firefish-js.entities.drivefolder.md) | |
|
|
||||||
| [Following](./firefish-js.entities.following.md) | |
|
|
||||||
| [FollowingFolloweePopulated](./firefish-js.entities.followingfolloweepopulated.md) | |
|
|
||||||
| [FollowingFollowerPopulated](./firefish-js.entities.followingfollowerpopulated.md) | |
|
|
||||||
| [FollowRequest](./firefish-js.entities.followrequest.md) | |
|
|
||||||
| [GalleryPost](./firefish-js.entities.gallerypost.md) | |
|
|
||||||
| [ID](./firefish-js.entities.id.md) | |
|
|
||||||
| [Instance](./firefish-js.entities.instance.md) | |
|
|
||||||
| [InstanceMetadata](./firefish-js.entities.instancemetadata.md) | |
|
|
||||||
| [LiteInstanceMetadata](./firefish-js.entities.liteinstancemetadata.md) | |
|
|
||||||
| [MeDetailed](./firefish-js.entities.medetailed.md) | |
|
|
||||||
| [MessagingMessage](./firefish-js.entities.messagingmessage.md) | |
|
|
||||||
| [Note](./firefish-js.entities.note.md) | |
|
|
||||||
| [NoteFavorite](./firefish-js.entities.notefavorite.md) | |
|
|
||||||
| [NoteReaction](./firefish-js.entities.notereaction.md) | |
|
|
||||||
| [Notification](./firefish-js.entities.notification.md) | |
|
|
||||||
| [OriginType](./firefish-js.entities.origintype.md) | |
|
|
||||||
| [Page](./firefish-js.entities.page.md) | |
|
|
||||||
| [PageEvent](./firefish-js.entities.pageevent.md) | |
|
|
||||||
| [ServerInfo](./firefish-js.entities.serverinfo.md) | |
|
|
||||||
| [Signin](./firefish-js.entities.signin.md) | |
|
|
||||||
| [Stats](./firefish-js.entities.stats.md) | |
|
|
||||||
| [User](./firefish-js.entities.user.md) | |
|
|
||||||
| [UserDetailed](./firefish-js.entities.userdetailed.md) | |
|
|
||||||
| [UserGroup](./firefish-js.entities.usergroup.md) | |
|
|
||||||
| [UserList](./firefish-js.entities.userlist.md) | |
|
|
||||||
| [UserLite](./firefish-js.entities.userlite.md) | |
|
|
||||||
| [UserSorting](./firefish-js.entities.usersorting.md) | |
|
|
||||||
|
|
@ -1,40 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [MeDetailed](./firefish-js.entities.medetailed.md)
|
|
||||||
|
|
||||||
## entities.MeDetailed type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type MeDetailed = UserDetailed & {
|
|
||||||
avatarId: DriveFile["id"];
|
|
||||||
bannerId: DriveFile["id"];
|
|
||||||
autoAcceptFollowed: boolean;
|
|
||||||
alwaysMarkNsfw: boolean;
|
|
||||||
carefulBot: boolean;
|
|
||||||
emailNotificationTypes: string[];
|
|
||||||
hasPendingReceivedFollowRequest: boolean;
|
|
||||||
hasUnreadAnnouncement: boolean;
|
|
||||||
hasUnreadAntenna: boolean;
|
|
||||||
hasUnreadChannel: boolean;
|
|
||||||
hasUnreadMentions: boolean;
|
|
||||||
hasUnreadMessagingMessage: boolean;
|
|
||||||
hasUnreadNotification: boolean;
|
|
||||||
hasUnreadSpecifiedNotes: boolean;
|
|
||||||
hideOnlineStatus: boolean;
|
|
||||||
injectFeaturedNote: boolean;
|
|
||||||
integrations: Record<string, any>;
|
|
||||||
isDeleted: boolean;
|
|
||||||
isExplorable: boolean;
|
|
||||||
mutedWords: string[][];
|
|
||||||
mutingNotificationTypes: string[];
|
|
||||||
noCrawle: boolean;
|
|
||||||
preventAiLearning: boolean;
|
|
||||||
receiveAnnouncementEmail: boolean;
|
|
||||||
usePasswordLessLogin: boolean;
|
|
||||||
[other: string]: any;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [UserDetailed](./firefish-js.entities.userdetailed.md)<!-- -->, [DriveFile](./firefish-js.entities.drivefile.md)
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [MessagingMessage](./firefish-js.entities.messagingmessage.md)
|
|
||||||
|
|
||||||
## entities.MessagingMessage type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type MessagingMessage = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
file: DriveFile | null;
|
|
||||||
fileId: DriveFile["id"] | null;
|
|
||||||
isRead: boolean;
|
|
||||||
reads: User["id"][];
|
|
||||||
text: string | null;
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
recipient?: User | null;
|
|
||||||
recipientId: User["id"] | null;
|
|
||||||
group?: UserGroup | null;
|
|
||||||
groupId: UserGroup["id"] | null;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [DriveFile](./firefish-js.entities.drivefile.md)<!-- -->, [User](./firefish-js.entities.user.md)<!-- -->, [UserGroup](./firefish-js.entities.usergroup.md)
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Note](./firefish-js.entities.note.md)
|
|
||||||
|
|
||||||
## entities.Note type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Note = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
text: string | null;
|
|
||||||
cw: string | null;
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
reply?: Note;
|
|
||||||
replyId: Note["id"];
|
|
||||||
renote?: Note;
|
|
||||||
renoteId: Note["id"];
|
|
||||||
files: DriveFile[];
|
|
||||||
fileIds: DriveFile["id"][];
|
|
||||||
visibility: "public" | "home" | "followers" | "specified";
|
|
||||||
visibleUserIds?: User["id"][];
|
|
||||||
localOnly?: boolean;
|
|
||||||
channel?: Channel["id"];
|
|
||||||
myReaction?: string;
|
|
||||||
reactions: Record<string, number>;
|
|
||||||
renoteCount: number;
|
|
||||||
repliesCount: number;
|
|
||||||
poll?: {
|
|
||||||
expiresAt: DateString | null;
|
|
||||||
multiple: boolean;
|
|
||||||
choices: {
|
|
||||||
isVoted: boolean;
|
|
||||||
text: string;
|
|
||||||
votes: number;
|
|
||||||
}[];
|
|
||||||
};
|
|
||||||
emojis: {
|
|
||||||
name: string;
|
|
||||||
url: string;
|
|
||||||
}[];
|
|
||||||
uri?: string;
|
|
||||||
url?: string;
|
|
||||||
updatedAt?: DateString;
|
|
||||||
isHidden?: boolean;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [User](./firefish-js.entities.user.md)<!-- -->, [Note](./firefish-js.entities.note.md)<!-- -->, [DriveFile](./firefish-js.entities.drivefile.md)<!-- -->, [Channel](./firefish-js.entities.channel.md)
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [NoteFavorite](./firefish-js.entities.notefavorite.md)
|
|
||||||
|
|
||||||
## entities.NoteFavorite type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type NoteFavorite = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
noteId: Note["id"];
|
|
||||||
note: Note;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [Note](./firefish-js.entities.note.md)
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [NoteReaction](./firefish-js.entities.notereaction.md)
|
|
||||||
|
|
||||||
## entities.NoteReaction type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type NoteReaction = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
user: UserLite;
|
|
||||||
type: string;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [UserLite](./firefish-js.entities.userlite.md)
|
|
||||||
|
|
@ -1,82 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Notification](./firefish-js.entities.notification.md)
|
|
||||||
|
|
||||||
## entities.Notification type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Notification = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
isRead: boolean;
|
|
||||||
} & (
|
|
||||||
| {
|
|
||||||
type: "reaction";
|
|
||||||
reaction: string;
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
note: Note;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "reply";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
note: Note;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "renote";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
note: Note;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "quote";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
note: Note;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "mention";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
note: Note;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "pollVote";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
note: Note;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "follow";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "followRequestAccepted";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "receiveFollowRequest";
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "groupInvited";
|
|
||||||
invitation: UserGroup;
|
|
||||||
user: User;
|
|
||||||
userId: User["id"];
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "app";
|
|
||||||
header?: string | null;
|
|
||||||
body: string;
|
|
||||||
icon?: string | null;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [User](./firefish-js.entities.user.md)<!-- -->, [Note](./firefish-js.entities.note.md)<!-- -->, [UserGroup](./firefish-js.entities.usergroup.md)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [OriginType](./firefish-js.entities.origintype.md)
|
|
||||||
|
|
||||||
## entities.OriginType type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type OriginType = "combined" | "local" | "remote";
|
|
||||||
```
|
|
@ -1,33 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Page](./firefish-js.entities.page.md)
|
|
||||||
|
|
||||||
## entities.Page type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Page = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
updatedAt: DateString;
|
|
||||||
userId: User["id"];
|
|
||||||
user: User;
|
|
||||||
content: Record<string, any>[];
|
|
||||||
variables: Record<string, any>[];
|
|
||||||
title: string;
|
|
||||||
name: string;
|
|
||||||
summary: string | null;
|
|
||||||
hideTitleWhenPinned: boolean;
|
|
||||||
alignCenter: boolean;
|
|
||||||
font: string;
|
|
||||||
script: string;
|
|
||||||
eyeCatchingImageId: DriveFile["id"] | null;
|
|
||||||
eyeCatchingImage: DriveFile | null;
|
|
||||||
attachedFiles: any;
|
|
||||||
likedCount: number;
|
|
||||||
isLiked?: boolean;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [User](./firefish-js.entities.user.md)<!-- -->, [DriveFile](./firefish-js.entities.drivefile.md)
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [PageEvent](./firefish-js.entities.pageevent.md)
|
|
||||||
|
|
||||||
## entities.PageEvent type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type PageEvent = {
|
|
||||||
pageId: Page["id"];
|
|
||||||
event: string;
|
|
||||||
var: any;
|
|
||||||
userId: User["id"];
|
|
||||||
user: User;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [Page](./firefish-js.entities.page.md)<!-- -->, [User](./firefish-js.entities.user.md)
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [ServerInfo](./firefish-js.entities.serverinfo.md)
|
|
||||||
|
|
||||||
## entities.ServerInfo type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type ServerInfo = {
|
|
||||||
machine: string;
|
|
||||||
cpu: {
|
|
||||||
model: string;
|
|
||||||
cores: number;
|
|
||||||
};
|
|
||||||
mem: {
|
|
||||||
total: number;
|
|
||||||
};
|
|
||||||
fs: {
|
|
||||||
total: number;
|
|
||||||
used: number;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
```
|
|
@ -1,19 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Signin](./firefish-js.entities.signin.md)
|
|
||||||
|
|
||||||
## entities.Signin type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Signin = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
ip: string;
|
|
||||||
headers: Record<string, any>;
|
|
||||||
success: boolean;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [Stats](./firefish-js.entities.stats.md)
|
|
||||||
|
|
||||||
## entities.Stats type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type Stats = {
|
|
||||||
notesCount: number;
|
|
||||||
originalNotesCount: number;
|
|
||||||
usersCount: number;
|
|
||||||
originalUsersCount: number;
|
|
||||||
instances: number;
|
|
||||||
driveUsageLocal: number;
|
|
||||||
driveUsageRemote: number;
|
|
||||||
};
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [User](./firefish-js.entities.user.md)
|
|
||||||
|
|
||||||
## entities.User type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type User = UserLite | UserDetailed;
|
|
||||||
```
|
|
||||||
**References:** [UserLite](./firefish-js.entities.userlite.md)<!-- -->, [UserDetailed](./firefish-js.entities.userdetailed.md)
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [UserDetailed](./firefish-js.entities.userdetailed.md)
|
|
||||||
|
|
||||||
## entities.UserDetailed type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type UserDetailed = UserLite & {
|
|
||||||
bannerBlurhash: string | null;
|
|
||||||
bannerColor: string | null;
|
|
||||||
bannerUrl: string | null;
|
|
||||||
birthday: string | null;
|
|
||||||
createdAt: DateString;
|
|
||||||
description: string | null;
|
|
||||||
ffVisibility: "public" | "followers" | "private";
|
|
||||||
fields: {
|
|
||||||
name: string;
|
|
||||||
value: string;
|
|
||||||
}[];
|
|
||||||
followersCount: number;
|
|
||||||
followingCount: number;
|
|
||||||
hasPendingFollowRequestFromYou: boolean;
|
|
||||||
hasPendingFollowRequestToYou: boolean;
|
|
||||||
isAdmin: boolean;
|
|
||||||
isBlocked: boolean;
|
|
||||||
isBlocking: boolean;
|
|
||||||
isBot: boolean;
|
|
||||||
isCat: boolean;
|
|
||||||
isFollowed: boolean;
|
|
||||||
isFollowing: boolean;
|
|
||||||
isLocked: boolean;
|
|
||||||
isModerator: boolean;
|
|
||||||
isMuted: boolean;
|
|
||||||
isRenoteMuted: boolean;
|
|
||||||
isSilenced: boolean;
|
|
||||||
isSuspended: boolean;
|
|
||||||
lang: string | null;
|
|
||||||
lastFetchedAt?: DateString;
|
|
||||||
location: string | null;
|
|
||||||
notesCount: number;
|
|
||||||
pinnedNoteIds: ID[];
|
|
||||||
pinnedNotes: Note[];
|
|
||||||
pinnedPage: Page | null;
|
|
||||||
pinnedPageId: string | null;
|
|
||||||
publicReactions: boolean;
|
|
||||||
securityKeys: boolean;
|
|
||||||
twoFactorEnabled: boolean;
|
|
||||||
updatedAt: DateString | null;
|
|
||||||
uri: string | null;
|
|
||||||
url: string | null;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [UserLite](./firefish-js.entities.userlite.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [ID](./firefish-js.entities.id.md)<!-- -->, [Note](./firefish-js.entities.note.md)<!-- -->, [Page](./firefish-js.entities.page.md)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [UserGroup](./firefish-js.entities.usergroup.md)
|
|
||||||
|
|
||||||
## entities.UserGroup type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type UserGroup = TODO;
|
|
||||||
```
|
|
@ -1,18 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [UserList](./firefish-js.entities.userlist.md)
|
|
||||||
|
|
||||||
## entities.UserList type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type UserList = {
|
|
||||||
id: ID;
|
|
||||||
createdAt: DateString;
|
|
||||||
name: string;
|
|
||||||
userIds: User["id"][];
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [DateString](./firefish-js.entities.datestring.md)<!-- -->, [User](./firefish-js.entities.user.md)
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [UserLite](./firefish-js.entities.userlite.md)
|
|
||||||
|
|
||||||
## entities.UserLite type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type UserLite = {
|
|
||||||
id: ID;
|
|
||||||
username: string;
|
|
||||||
host: string | null;
|
|
||||||
name: string;
|
|
||||||
onlineStatus: "online" | "active" | "offline" | "unknown";
|
|
||||||
avatarUrl: string;
|
|
||||||
avatarBlurhash: string;
|
|
||||||
alsoKnownAs: string[];
|
|
||||||
movedToUri: any;
|
|
||||||
emojis: {
|
|
||||||
name: string;
|
|
||||||
url: string;
|
|
||||||
}[];
|
|
||||||
instance?: {
|
|
||||||
name: Instance["name"];
|
|
||||||
softwareName: Instance["softwareName"];
|
|
||||||
softwareVersion: Instance["softwareVersion"];
|
|
||||||
iconUrl: Instance["iconUrl"];
|
|
||||||
faviconUrl: Instance["faviconUrl"];
|
|
||||||
themeColor: Instance["themeColor"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
```
|
|
||||||
**References:** [ID](./firefish-js.entities.id.md)<!-- -->, [Instance](./firefish-js.entities.instance.md)
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [entities](./firefish-js.entities.md) > [UserSorting](./firefish-js.entities.usersorting.md)
|
|
||||||
|
|
||||||
## entities.UserSorting type
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export declare type UserSorting =
|
|
||||||
| "+follower"
|
|
||||||
| "-follower"
|
|
||||||
| "+createdAt"
|
|
||||||
| "-createdAt"
|
|
||||||
| "+updatedAt"
|
|
||||||
| "-updatedAt";
|
|
||||||
```
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ffVisibility](./firefish-js.ffvisibility.md)
|
|
||||||
|
|
||||||
## ffVisibility variable
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
ffVisibility: readonly ["public", "followers", "private"]
|
|
||||||
```
|
|
@ -1,43 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md)
|
|
||||||
|
|
||||||
## firefish-js package
|
|
||||||
|
|
||||||
## Classes
|
|
||||||
|
|
||||||
| Class | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [Stream](./firefish-js.stream.md) | |
|
|
||||||
|
|
||||||
## Abstract Classes
|
|
||||||
|
|
||||||
| Abstract Class | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [ChannelConnection](./firefish-js.channelconnection.md) | |
|
|
||||||
|
|
||||||
## Namespaces
|
|
||||||
|
|
||||||
| Namespace | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [api](./firefish-js.api.md) | |
|
|
||||||
| [entities](./firefish-js.entities.md) | |
|
|
||||||
|
|
||||||
## Variables
|
|
||||||
|
|
||||||
| Variable | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [ffVisibility](./firefish-js.ffvisibility.md) | |
|
|
||||||
| [mutedNoteReasons](./firefish-js.mutednotereasons.md) | |
|
|
||||||
| [noteVisibilities](./firefish-js.notevisibilities.md) | |
|
|
||||||
| [notificationTypes](./firefish-js.notificationtypes.md) | |
|
|
||||||
| [permissions](./firefish-js.permissions.md) | |
|
|
||||||
|
|
||||||
## Type Aliases
|
|
||||||
|
|
||||||
| Type Alias | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [Acct](./firefish-js.acct.md) | |
|
|
||||||
| [Channels](./firefish-js.channels.md) | |
|
|
||||||
| [Endpoints](./firefish-js.endpoints.md) | |
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [mutedNoteReasons](./firefish-js.mutednotereasons.md)
|
|
||||||
|
|
||||||
## mutedNoteReasons variable
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
mutedNoteReasons: readonly [
|
|
||||||
"word",
|
|
||||||
"manual",
|
|
||||||
"spam",
|
|
||||||
"other",
|
|
||||||
]
|
|
||||||
```
|
|
@ -1,16 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [noteVisibilities](./firefish-js.notevisibilities.md)
|
|
||||||
|
|
||||||
## noteVisibilities variable
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
noteVisibilities: readonly [
|
|
||||||
"public",
|
|
||||||
"home",
|
|
||||||
"followers",
|
|
||||||
"specified",
|
|
||||||
]
|
|
||||||
```
|
|
@ -1,24 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [notificationTypes](./firefish-js.notificationtypes.md)
|
|
||||||
|
|
||||||
## notificationTypes variable
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
notificationTypes: readonly [
|
|
||||||
"follow",
|
|
||||||
"mention",
|
|
||||||
"reply",
|
|
||||||
"renote",
|
|
||||||
"quote",
|
|
||||||
"reaction",
|
|
||||||
"pollVote",
|
|
||||||
"pollEnded",
|
|
||||||
"receiveFollowRequest",
|
|
||||||
"followRequestAccepted",
|
|
||||||
"groupInvited",
|
|
||||||
"app",
|
|
||||||
]
|
|
||||||
```
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [permissions](./firefish-js.permissions.md)
|
|
||||||
|
|
||||||
## permissions variable
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
permissions: string[]
|
|
||||||
```
|
|
@ -1,30 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [(constructor)](./firefish-js.stream._constructor_.md)
|
|
||||||
|
|
||||||
## Stream.(constructor)
|
|
||||||
|
|
||||||
Constructs a new instance of the `Stream` class
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
constructor(
|
|
||||||
origin: string,
|
|
||||||
user: {
|
|
||||||
token: string;
|
|
||||||
} | null,
|
|
||||||
options?: {
|
|
||||||
WebSocket?: any;
|
|
||||||
},
|
|
||||||
);
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| origin | string | |
|
|
||||||
| user | { token: string; } \| null | |
|
|
||||||
| options | { WebSocket?: any; } | _(Optional)_ |
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [close](./firefish-js.stream.close.md)
|
|
||||||
|
|
||||||
## Stream.close() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
close(): void;
|
|
||||||
```
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [disconnectToChannel](./firefish-js.stream.disconnecttochannel.md)
|
|
||||||
|
|
||||||
## Stream.disconnectToChannel() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
disconnectToChannel(connection: NonSharedConnection): void;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| connection | NonSharedConnection | |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md)
|
|
||||||
|
|
||||||
## Stream class
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export default class Stream extends EventEmitter<StreamEvents>
|
|
||||||
```
|
|
||||||
**Extends:** EventEmitter<StreamEvents>
|
|
||||||
|
|
||||||
## Constructors
|
|
||||||
|
|
||||||
| Constructor | Modifiers | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [(constructor)(origin, user, options)](./firefish-js.stream._constructor_.md) | | Constructs a new instance of the <code>Stream</code> class |
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
| Property | Modifiers | Type | Description |
|
|
||||||
| --- | --- | --- | --- |
|
|
||||||
| [state](./firefish-js.stream.state.md) | | "initializing" \| "reconnecting" \| "connected" | |
|
|
||||||
|
|
||||||
## Methods
|
|
||||||
|
|
||||||
| Method | Modifiers | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [close()](./firefish-js.stream.close.md) | | |
|
|
||||||
| [disconnectToChannel(connection)](./firefish-js.stream.disconnecttochannel.md) | | |
|
|
||||||
| [removeSharedConnection(connection)](./firefish-js.stream.removesharedconnection.md) | | |
|
|
||||||
| [removeSharedConnectionPool(pool)](./firefish-js.stream.removesharedconnectionpool.md) | | |
|
|
||||||
| [send(typeOrPayload, payload)](./firefish-js.stream.send.md) | | |
|
|
||||||
| [useChannel(channel, params, name)](./firefish-js.stream.usechannel.md) | | |
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [removeSharedConnection](./firefish-js.stream.removesharedconnection.md)
|
|
||||||
|
|
||||||
## Stream.removeSharedConnection() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
removeSharedConnection(connection: SharedConnection): void;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| connection | SharedConnection | |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [removeSharedConnectionPool](./firefish-js.stream.removesharedconnectionpool.md)
|
|
||||||
|
|
||||||
## Stream.removeSharedConnectionPool() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
removeSharedConnectionPool(pool: Pool): void;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| pool | Pool | |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [send](./firefish-js.stream.send.md)
|
|
||||||
|
|
||||||
## Stream.send() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
send(typeOrPayload: any, payload?: any): void;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| typeOrPayload | any | |
|
|
||||||
| payload | any | _(Optional)_ |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [state](./firefish-js.stream.state.md)
|
|
||||||
|
|
||||||
## Stream.state property
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
state: "initializing" | "reconnecting" | "connected";
|
|
||||||
```
|
|
@ -1,28 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [useChannel](./firefish-js.stream.usechannel.md)
|
|
||||||
|
|
||||||
## Stream.useChannel() method
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
useChannel<C extends keyof Channels>(
|
|
||||||
channel: C,
|
|
||||||
params?: Channels[C]["params"],
|
|
||||||
name?: string,
|
|
||||||
): Connection<Channels[C]>;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| channel | C | |
|
|
||||||
| params | [Channels](./firefish-js.channels.md)<!-- -->\[C\]\["params"\] | _(Optional)_ |
|
|
||||||
| name | string | _(Optional)_ |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
[Connection](./firefish-js.channelconnection.md)<!-- --><[Channels](./firefish-js.channels.md)<!-- -->\[C\]>
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md)
|
|
||||||
|
|
||||||
## API Reference
|
|
||||||
|
|
||||||
## Packages
|
|
||||||
|
|
||||||
| Package | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [firefish-js](./firefish-js.md) | |
|
|
||||||
|
|
@ -1,19 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "firefish-js",
|
"name": "firefish-js",
|
||||||
"version": "0.0.24",
|
"version": "0.0.25",
|
||||||
"description": "Firefish SDK for JavaScript",
|
"description": "Firefish SDK for JavaScript",
|
||||||
"main": "./built/index.js",
|
"main": "./built/index.js",
|
||||||
"types": "./built/index.d.ts",
|
"types": "./built/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm swc src -d built -D",
|
"build": "pnpm swc src -d built -D",
|
||||||
"build:debug": "pnpm swc src -d built -s -D",
|
"build:debug": "pnpm swc src -d built -s -D",
|
||||||
"render": "pnpm run build && pnpm run api && pnpm run api-prod && cp temp/firefish-js.api.json etc/ && pnpm run api-doc",
|
"lint": "pnpm biome check --apply src",
|
||||||
"tsd": "tsc && tsd",
|
"format": "pnpm biome format --write src",
|
||||||
"api": "pnpm api-extractor run --local --verbose",
|
|
||||||
"api-prod": "pnpm api-extractor run --verbose",
|
|
||||||
"api-doc": "pnpm api-documenter markdown -i ./etc/",
|
|
||||||
"lint": "pnpm biome check --apply *.ts",
|
|
||||||
"format": "pnpm biome format --write **/*.ts",
|
|
||||||
"jest": "jest --coverage --detectOpenHandles",
|
"jest": "jest --coverage --detectOpenHandles",
|
||||||
"test": "pnpm jest && pnpm tsd"
|
"test": "pnpm jest && pnpm tsd"
|
||||||
},
|
},
|
||||||
@ -22,8 +17,6 @@
|
|||||||
"url": "https://git.joinfirefish.org/firefish/firefish.git"
|
"url": "https://git.joinfirefish.org/firefish/firefish.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/api-extractor": "^7.36.0",
|
|
||||||
"@microsoft/api-documenter": "^7.22.21",
|
|
||||||
"@swc/cli": "^0.1.62",
|
"@swc/cli": "^0.1.62",
|
||||||
"@swc/core": "1.3.78",
|
"@swc/core": "1.3.78",
|
||||||
"@types/jest": "^27.4.0",
|
"@types/jest": "^27.4.0",
|
||||||
@ -37,12 +30,10 @@
|
|||||||
"tsd": "^0.28.1",
|
"tsd": "^0.28.1",
|
||||||
"typescript": "5.1.3"
|
"typescript": "5.1.3"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": ["built"],
|
||||||
"built"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"reconnecting-websocket": "^4.4.0",
|
"reconnecting": "^4.4.1",
|
||||||
"semver": "^7.3.8"
|
"semver": "^7.3.8"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { EventEmitter } from "eventemitter3";
|
import { EventEmitter } from "eventemitter3";
|
||||||
import ReconnectingWebsocket from "reconnecting-websocket";
|
import ReconnectingWebsocket from "reconnecting";
|
||||||
import { BroadcastEvents, Channels } from "./streaming.types";
|
import { BroadcastEvents, Channels } from "./streaming.types";
|
||||||
|
|
||||||
function autobind(instance: any): void {
|
function autobind(instance: any): void {
|
||||||
@ -81,7 +81,6 @@ export default class Stream extends EventEmitter<StreamEvents> {
|
|||||||
`${wsOrigin}/streaming?${query}`,
|
`${wsOrigin}/streaming?${query}`,
|
||||||
"",
|
"",
|
||||||
{
|
{
|
||||||
minReconnectionDelay: 1, // https://github.com/pladaria/reconnecting-websocket/issues/91
|
|
||||||
WebSocket: options.WebSocket,
|
WebSocket: options.WebSocket,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
@ -85,8 +85,8 @@ importers:
|
|||||||
specifier: ^1.0.4
|
specifier: ^1.0.4
|
||||||
version: 1.0.4
|
version: 1.0.4
|
||||||
pnpm:
|
pnpm:
|
||||||
specifier: 8.8.0
|
specifier: 8.9.2
|
||||||
version: 8.8.0
|
version: 8.9.2
|
||||||
start-server-and-test:
|
start-server-and-test:
|
||||||
specifier: 1.15.2
|
specifier: 1.15.2
|
||||||
version: 1.15.2
|
version: 1.15.2
|
||||||
@ -896,9 +896,9 @@ importers:
|
|||||||
eventemitter3:
|
eventemitter3:
|
||||||
specifier: ^4.0.7
|
specifier: ^4.0.7
|
||||||
version: 4.0.7
|
version: 4.0.7
|
||||||
reconnecting-websocket:
|
reconnecting:
|
||||||
specifier: ^4.4.0
|
specifier: ^4.4.1
|
||||||
version: 4.4.0
|
version: 4.4.1
|
||||||
semver:
|
semver:
|
||||||
specifier: ^7.3.8
|
specifier: ^7.3.8
|
||||||
version: 7.5.4
|
version: 7.5.4
|
||||||
@ -6982,6 +6982,7 @@ packages:
|
|||||||
/commander@9.5.0:
|
/commander@9.5.0:
|
||||||
resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
|
resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
|
||||||
engines: {node: ^12.20.0 || >=14}
|
engines: {node: ^12.20.0 || >=14}
|
||||||
|
requiresBuild: true
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/comment-parser@1.4.0:
|
/comment-parser@1.4.0:
|
||||||
@ -15009,8 +15010,8 @@ packages:
|
|||||||
engines: {node: '>=14.19.0'}
|
engines: {node: '>=14.19.0'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/pnpm@8.8.0:
|
/pnpm@8.9.2:
|
||||||
resolution: {integrity: sha512-eY5rMiZpzmPI2oVr1irR97bzb036oKwCWvK91wDQndXcqUPlytPtrF0bO668Syw/uA+7hTf5NnM8Mr4ux4BRRA==}
|
resolution: {integrity: sha512-udNf6RsqWFTa3EMDSj57LmdfpLVuIOjgnvB4+lU8GPiu1EBR57Nui43UNfl+sMRMT/O0T8fG+n0h4frBe75mHg==}
|
||||||
engines: {node: '>=16.14'}
|
engines: {node: '>=16.14'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dev: true
|
dev: true
|
||||||
@ -15869,8 +15870,8 @@ packages:
|
|||||||
resolve: 1.22.4
|
resolve: 1.22.4
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/reconnecting-websocket@4.4.0:
|
/reconnecting@4.4.1:
|
||||||
resolution: {integrity: sha512-D2E33ceRPga0NvTDhJmphEgJ7FUYF0v4lr1ki0csq06OdlxKfugGzN0dSkxM/NfqCxYELK4KcaTOUOjTV6Dcng==}
|
resolution: {integrity: sha512-2GU8WqGpWVB0FcqJNbTDdRVSTw8W2205r+tWx8EVkFa8Oi5N2pbJeNPm9jHQNjDeQcqVILRNZfUX2RRHu6Zdog==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/redent@3.0.0:
|
/redent@3.0.0:
|
||||||
|
Loading…
Reference in New Issue
Block a user