Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Regenerate bindings for release DTOs
Daniel Norman committed 7 days ago
commit 3b77ce18f5160340e99c25969ca9e856e1f19285
parent 61e569d44c05a34b80b5f4ea3c2f696c50bbd27f
5 files changed +41 -0
added crates/radicle-types/bindings/cob/release/Artifact.ts
@@ -0,0 +1,21 @@
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
+
import type { Author } from "../Author";
+
import type { ArtifactKind } from "./ArtifactKind";
+
import type { Location } from "./Location";
+
import type { Redaction } from "./Redaction";
+

+
export type Artifact = {
+
  cid: string;
+
  name: string;
+
  kind: ArtifactKind;
+
  author: Author;
+
  locations: Array<Location>;
+
  attestations: Array<Author>;
+
  redactions: Array<Redaction>;
+
  /**
+
   * True when at least one of the location URLs we (the local DID) wrote
+
   * to this artifact uses the `iroh://` scheme — i.e. we are advertising
+
   * ourselves as an iroh provider for it.
+
   */
+
  sharedByUs: boolean;
+
};
added crates/radicle-types/bindings/cob/release/ArtifactKind.ts
@@ -0,0 +1,3 @@
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
+

+
export type ArtifactKind = "blob" | "collection" | "unknown";
added crates/radicle-types/bindings/cob/release/Location.ts
@@ -0,0 +1,4 @@
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
+
import type { Author } from "../Author";
+

+
export type Location = { peer: Author; urls: Array<string> };
added crates/radicle-types/bindings/cob/release/Redaction.ts
@@ -0,0 +1,4 @@
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
+
import type { Author } from "../Author";
+

+
export type Redaction = { peer: Author; reason: string };
added crates/radicle-types/bindings/cob/release/Release.ts
@@ -0,0 +1,9 @@
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
+
import type { Artifact } from "./Artifact";
+

+
export type Release = {
+
  id: string;
+
  oid: string;
+
  timestamp: number;
+
  artifacts: Array<Artifact>;
+
};