@archon-inc/sdk
Version:
Integrate easily to our government platform using this SDK. More info on https://archon.inc/sdk
10 lines • 590 B
TypeScript
import { AddResourceOptions, Resource } from "../types/policy.js";
/**
* This function creates a new Archon-managed resource for some object your software maintains.
* It returns an ARID that you can use to reference the resource in the future. You'll use the ARID to determine
* access to the resource, so make sure you store it on your end.
* @param options The options for the resource you're adding.
* @returns The ARID of the newly created resource.
*/
export default function addResource(options: AddResourceOptions): Promise<Resource>;
//# sourceMappingURL=addResource.d.ts.map