@@ -15,7 +15,7 @@ export interface Repository {
1515 /** Main classification of the repository */
1616 class : RepositoryClass ;
1717 /** Sub-classification providing more specific categorization */
18- subClass : RepositorySubClass ;
18+ subClass ? : RepositorySubClass ;
1919 /** Human-readable name for the repository */
2020 displayName : string ;
2121 /** The URI or endpoint URL for accessing the repository data */
@@ -105,8 +105,10 @@ export type RepositorySubClass =
105105 * Repository classes that support creating new repositories.
106106 * @beta
107107 */
108- export type CreatableRepositoryClass = Extract < RepositoryClass , "GeographicInformationSystem" | "Construction" | "Subsurface" > ;
109-
108+ export type CreatableRepositoryClass = Extract <
109+ RepositoryClass ,
110+ "GeographicInformationSystem" | "Construction" | "Subsurface"
111+ > ;
110112
111113/**
112114 * Response interface for single repository operations (create, get, update)
@@ -167,14 +169,16 @@ export interface GetRepositoryResourceMinimalResponse {
167169
168170/**
169171 * Response interface for getting a repository resource in representation mode.
170- * Extends the minimal response with additional detailed properties.
171172 * @beta
172173 */
173- export interface GetRepositoryResourceRepresentationResponse extends GetRepositoryResourceMinimalResponse {
174- /** Additional properties providing detailed information about the resource */
175- properties ?: {
176- /** Dynamic properties specific to the resource type */
177- [ key : string ] : unknown ;
174+ export interface GetRepositoryResourceRepresentationResponse {
175+ /** The repository resource with detailed information including properties */
176+ resource : GetRepositoryResourceMinimalResponse [ "resource" ] & {
177+ /** Additional properties providing detailed information about the resource */
178+ properties ?: {
179+ /** Dynamic properties specific to the resource type */
180+ [ key : string ] : unknown ;
181+ } ;
178182 } ;
179183}
180184
0 commit comments