lemmy-js-client 0.20.0-instance-blocks.4 → 0.20.0-instance-blocks.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -135,7 +135,6 @@ export { HidePost } from "./types/HidePost";
135
135
  export { ImageDetails } from "./types/ImageDetails";
136
136
  export { Instance } from "./types/Instance";
137
137
  export { InstanceId } from "./types/InstanceId";
138
- export { InstanceIdOrDomain } from "./types/InstanceIdOrDomain";
139
138
  export { InstanceWithFederationState } from "./types/InstanceWithFederationState";
140
139
  export { Language } from "./types/Language";
141
140
  export { LanguageId } from "./types/LanguageId";
@@ -1,6 +1,5 @@
1
- import type { InstanceIdOrDomain } from "./InstanceIdOrDomain";
2
1
  export type AdminAllowInstanceParams = {
3
- instance: InstanceIdOrDomain;
2
+ instance: string;
4
3
  allow: boolean;
5
4
  reason?: string;
6
5
  };
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,5 @@
1
- import type { InstanceIdOrDomain } from "./InstanceIdOrDomain";
2
1
  export type AdminBlockInstanceParams = {
3
- instance: InstanceIdOrDomain;
2
+ instance: string;
4
3
  block: boolean;
5
4
  reason?: string;
6
5
  expires?: string;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.20.0-instance-blocks.4",
4
+ "version": "0.20.0-instance-blocks.5",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -1,6 +0,0 @@
1
- import type { InstanceId } from "./InstanceId";
2
- export type InstanceIdOrDomain = {
3
- InstanceId: InstanceId;
4
- } | {
5
- Domain: string;
6
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });