weave / ObjectRef 저장된 Weave 오브젝트에 대한 참조를 나타냅니다. 일반적으로 최종 사용자는 이 클래스와 직접 상호작용할 필요가 없습니다. ObjectRef에는 Weave의 스토리지 시스템에서 저장된 오브젝트를 고유하게 식별하는 프로젝트 ID, 오브젝트 ID 및 digest가 포함되어 있습니다.Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-update-training-api-26.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Example
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ObjectRef(projectId, objectId, digest): ObjectRef
Parameters
| Name | Type |
|---|---|
projectId | string |
objectId | string |
digest | string |
Returns
ObjectRef
Defined in
weaveObject.ts:26Properties
digest
• digest:string
Defined in
weaveObject.ts:29objectId
• objectId:string
Defined in
weaveObject.ts:28projectId
• projectId:string
Defined in
weaveObject.ts:27Methods
get
▸ get():Promise<any>
Returns
Promise<any>
Defined in
weaveObject.ts:66ui_url
▸ ui_url():string
Returns
string
Defined in
weaveObject.ts:61uri
▸ uri():string
Returns
string
Defined in
weaveObject.ts:57fromUri
▸ fromUri(uri): ObjectRef
Weave URI 문자열로부터 ObjectRef를 생성합니다.
Parameters
| Name | Type | Description |
|---|---|---|
uri | string | 다음과 같은 형식의 Weave URI: weave:///entity/project/object/name:digest |
Returns
ObjectRef
새로운 ObjectRef 인스턴스
Throws
URI 형식이 유효하지 않거나 오브젝트 참조가 아닌 경우 Error를 발생시킵니다.
Example