Example
目次
コンストラクタ
プロパティ
メソッド
コンストラクタ
constructor
• new ObjectRef(projectId, objectId, digest): ObjectRef
パラメータ
| 名前 | 型 |
|---|---|
projectId | string |
objectId | string |
digest | string |
返り値
ObjectRef
定義
weaveObject.ts:26プロパティ
digest
• digest:string
定義
weaveObject.ts:29objectId
• objectId:string
定義
weaveObject.ts:28projectId
• projectId:string
定義
weaveObject.ts:27メソッド
get
▸ get():Promise<any>
返り値
Promise<any>
定義
weaveObject.ts:66ui_url
▸ ui_url():string
返り値
string
定義
weaveObject.ts:61uri
▸ uri():string
返り値
string
定義
weaveObject.ts:57fromUri
▸ fromUri(uri): ObjectRef
Weave URI 文字列から ObjectRef を作成します。
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
uri | string | Weave URI(形式: weave:///entity/project/object/name:digest) |
返り値
ObjectRef
新しい ObjectRef インスタンス
Throws
URI の形式が無効な場合、またはオブジェクト参照でない場合にエラーを投げます。
Example