weave / ObjectRef 저장된 Weave 객체에 대한 참조를 나타냅니다. 일반적으로 최종 사용자가 이 클래스를 직접 사용할 일은 없습니다. ObjectRef에는 Weave 스토리지 시스템에서 저장된 객체를 고유하게 식별하는 프로젝트 ID, 객체 ID, 다이제스트가 포함됩니다.Documentation Index
Fetch the complete documentation index at: https://translations.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
예제
목차
생성자
프로퍼티
메서드
생성자
생성자
projectId, objectId, digest): ObjectRef
매개변수
| 이름 | 유형 |
|---|---|
projectId | string |
objectId | string |
digest | string |
반환값
ObjectRef
정의된 위치
속성
digest
string
정의된 위치
objectId
string
정의 위치
weaveObject.ts:28projectId
string
정의 위치
weaveObject.ts:27메서드
get
Promise<any>
반환
Promise<any>
정의된 위치
ui_url
▸ ui_url():string
반환값
string
정의된 위치
uri
string
반환값
string
정의된 위치
fromUri
uri): ObjectRef
Weave URI 문자열로부터 ObjectRef를 생성합니다.
매개변수
| Name | Type | Description |
|---|---|---|
uri | string | 다음 형식의 Weave URI: weave:///entity/project/object/name:digest |
반환값
ObjectRef
새로운 ObjectRef 인스턴스
Throws
URI 형식이 잘못되었거나 객체 참조가 아닌 경우 Error를 발생시킵니다.
예제