@kinotic-ai/os-api 1.10.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +13 -1
- package/dist/index.d.cts +38 -5
- package/dist/index.d.ts +38 -5
- package/dist/index.js +13 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -56,6 +56,7 @@ __export(exports_src, {
|
|
|
56
56
|
TenantSelectionC3Type: () => TenantSelectionC3Type,
|
|
57
57
|
TenantIdDecorator: () => TenantIdDecorator,
|
|
58
58
|
SingleLoggerLevelsDescriptor: () => SingleLoggerLevelsDescriptor,
|
|
59
|
+
RepositoryConnectionStatus: () => RepositoryConnectionStatus,
|
|
59
60
|
QueryOptionsC3Type: () => QueryOptionsC3Type,
|
|
60
61
|
QueryDecorator: () => QueryDecorator,
|
|
61
62
|
ProjectType: () => ProjectType,
|
|
@@ -312,8 +313,9 @@ class Project {
|
|
|
312
313
|
sourceOfTruth = null;
|
|
313
314
|
repoFullName;
|
|
314
315
|
repoId;
|
|
315
|
-
|
|
316
|
+
repoDefaultBranch;
|
|
316
317
|
repoPrivate = true;
|
|
318
|
+
repoConnectionStatus = null;
|
|
317
319
|
updated = null;
|
|
318
320
|
constructor(id, applicationId, name, description) {
|
|
319
321
|
this.id = id;
|
|
@@ -327,6 +329,13 @@ var ProjectType;
|
|
|
327
329
|
((ProjectType2) => {
|
|
328
330
|
ProjectType2["TYPESCRIPT"] = "TYPESCRIPT";
|
|
329
331
|
})(ProjectType ||= {});
|
|
332
|
+
// packages/os-api/src/api/model/RepositoryConnectionStatus.ts
|
|
333
|
+
var RepositoryConnectionStatus;
|
|
334
|
+
((RepositoryConnectionStatus2) => {
|
|
335
|
+
RepositoryConnectionStatus2["CONNECTED"] = "CONNECTED";
|
|
336
|
+
RepositoryConnectionStatus2["INITIALIZATION_FAILED"] = "INITIALIZATION_FAILED";
|
|
337
|
+
RepositoryConnectionStatus2["DISCONNECTED"] = "DISCONNECTED";
|
|
338
|
+
})(RepositoryConnectionStatus ||= {});
|
|
330
339
|
// packages/os-api/src/api/model/EntityDefinition.ts
|
|
331
340
|
class EntityDefinition {
|
|
332
341
|
id;
|
|
@@ -616,6 +625,9 @@ class ProjectService extends import_core3.CrudServiceProxy {
|
|
|
616
625
|
findAllForApplicationSinglePage(applicationId, pageable) {
|
|
617
626
|
return this.serviceProxy.invoke("findAllForApplication", [applicationId, pageable]);
|
|
618
627
|
}
|
|
628
|
+
retryRepoInitialization(projectId) {
|
|
629
|
+
return this.serviceProxy.invoke("retryRepoInitialization", [projectId]);
|
|
630
|
+
}
|
|
619
631
|
syncIndex() {
|
|
620
632
|
return this.serviceProxy.invoke("syncIndex", []);
|
|
621
633
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -174,6 +174,25 @@ import { Identifiable as Identifiable3 } from "@kinotic-ai/core";
|
|
|
174
174
|
declare enum ProjectType {
|
|
175
175
|
TYPESCRIPT = "TYPESCRIPT"
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Connection state between a project and its backing GitHub repository.
|
|
179
|
+
* Stamped {@link RepositoryConnectionStatus.CONNECTED} when the repo is provisioned and
|
|
180
|
+
* its baseline rendered; left {@link RepositoryConnectionStatus.INITIALIZATION_FAILED}
|
|
181
|
+
* when the repo was created but rendering the baseline did not complete;
|
|
182
|
+
* {@link RepositoryConnectionStatus.DISCONNECTED} when GitHub revokes the platform's
|
|
183
|
+
* access to the repo.
|
|
184
|
+
*/
|
|
185
|
+
declare enum RepositoryConnectionStatus {
|
|
186
|
+
/** Backing repo is reachable through the org's GitHub installation and its baseline is rendered. */
|
|
187
|
+
CONNECTED = "CONNECTED",
|
|
188
|
+
/**
|
|
189
|
+
* Backing repo was created but its rendered baseline was not committed. Initialization
|
|
190
|
+
* can be re-run against the existing repo to reach {@link RepositoryConnectionStatus.CONNECTED}.
|
|
191
|
+
*/
|
|
192
|
+
INITIALIZATION_FAILED = "INITIALIZATION_FAILED",
|
|
193
|
+
/** Installation no longer has access to the repo; operator must re-link. */
|
|
194
|
+
DISCONNECTED = "DISCONNECTED"
|
|
195
|
+
}
|
|
177
196
|
declare class Project implements Identifiable3<string> {
|
|
178
197
|
/**
|
|
179
198
|
* The id of the project.
|
|
@@ -215,13 +234,19 @@ declare class Project implements Identifiable3<string> {
|
|
|
215
234
|
/**
|
|
216
235
|
* Default branch of the backing repository at the time it was provisioned.
|
|
217
236
|
*/
|
|
218
|
-
|
|
237
|
+
repoDefaultBranch: string;
|
|
219
238
|
/**
|
|
220
239
|
* Visibility chosen for the backing repository at create time. The SPA sets
|
|
221
240
|
* this before save; the platform passes it through to GitHub.
|
|
222
241
|
*/
|
|
223
242
|
repoPrivate: boolean;
|
|
224
243
|
/**
|
|
244
|
+
* Connection state of the backing repository. A project left
|
|
245
|
+
* {@link RepositoryConnectionStatus.INITIALIZATION_FAILED} by creation can have its
|
|
246
|
+
* repository initialization retried.
|
|
247
|
+
*/
|
|
248
|
+
repoConnectionStatus: RepositoryConnectionStatus | null;
|
|
249
|
+
/**
|
|
225
250
|
* The date and time the project was updated.
|
|
226
251
|
*/
|
|
227
252
|
updated: number | null;
|
|
@@ -561,7 +586,7 @@ declare class IamUser implements Identifiable8<string> {
|
|
|
561
586
|
updated: number | null;
|
|
562
587
|
}
|
|
563
588
|
/**
|
|
564
|
-
* Sent to {@code POST /api/signup} to start an email/password organization sign-up.
|
|
589
|
+
* Sent to {@code POST /api/auth/org/signup} to start an email/password organization sign-up.
|
|
565
590
|
* Only the user's identity is collected up front; the organization name and password are
|
|
566
591
|
* provided after email verification (see {@link SignUpCompleteRequest}).
|
|
567
592
|
*/
|
|
@@ -570,7 +595,7 @@ interface SignUpRequest {
|
|
|
570
595
|
displayName: string;
|
|
571
596
|
}
|
|
572
597
|
/**
|
|
573
|
-
* Sent to {@code POST /api/signup/complete} after the user clicks the verification link.
|
|
598
|
+
* Sent to {@code POST /api/auth/org/signup/complete} after the user clicks the verification link.
|
|
574
599
|
* The {@link token} comes from that link; {@link orgName} (with optional {@link orgDescription})
|
|
575
600
|
* names the organization to create, and {@link password} is the chosen account password.
|
|
576
601
|
*/
|
|
@@ -581,7 +606,7 @@ interface SignUpCompleteRequest {
|
|
|
581
606
|
password: string;
|
|
582
607
|
}
|
|
583
608
|
/**
|
|
584
|
-
* Sent to {@code POST /api/signup/complete
|
|
609
|
+
* Sent to {@code POST /api/auth/org/signup/social/complete} to finish an OIDC sign-up by naming the
|
|
585
610
|
* organization to create. The verified identity is held server-side, keyed by {@link token}.
|
|
586
611
|
*/
|
|
587
612
|
interface CompleteOrgRequest {
|
|
@@ -923,6 +948,13 @@ interface IProjectService extends ICrudServiceProxy3<Project> {
|
|
|
923
948
|
*/
|
|
924
949
|
findAllForApplication(applicationId: string, pageable: Pageable): Promise<IterablePage<Project>>;
|
|
925
950
|
/**
|
|
951
|
+
* Re-runs repository initialization for a project left
|
|
952
|
+
* {@link RepositoryConnectionStatus.INITIALIZATION_FAILED} by creation.
|
|
953
|
+
* @param projectId the id of the project to retry
|
|
954
|
+
* @return Promise emitting the project, marked {@link RepositoryConnectionStatus.CONNECTED} on success
|
|
955
|
+
*/
|
|
956
|
+
retryRepoInitialization(projectId: string): Promise<Project>;
|
|
957
|
+
/**
|
|
926
958
|
* This operation makes all the recent writes immediately available for search.
|
|
927
959
|
* @return a Promise that resolves when the operation is complete
|
|
928
960
|
*/
|
|
@@ -934,6 +966,7 @@ declare class ProjectService extends CrudServiceProxy3<Project> implements IProj
|
|
|
934
966
|
createProjectIfNotExist(project: Project): Promise<Project>;
|
|
935
967
|
findAllForApplication(applicationId: string, pageable: Pageable): Promise<IterablePage<Project>>;
|
|
936
968
|
findAllForApplicationSinglePage(applicationId: string, pageable: Pageable): Promise<IterablePage<Project>>;
|
|
969
|
+
retryRepoInitialization(projectId: string): Promise<Project>;
|
|
937
970
|
syncIndex(): Promise<void>;
|
|
938
971
|
}
|
|
939
972
|
import { IKinotic as IKinotic4 } from "@kinotic-ai/core";
|
|
@@ -1273,4 +1306,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
|
|
|
1273
1306
|
declare module "@kinotic-ai/core" {
|
|
1274
1307
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
1275
1308
|
}
|
|
1276
|
-
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InviteEmailTemplateService, InviteEmailTemplate, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IInviteEmailTemplateService, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
|
1309
|
+
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, RepositoryConnectionStatus, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InviteEmailTemplateService, InviteEmailTemplate, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IInviteEmailTemplateService, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
package/dist/index.d.ts
CHANGED
|
@@ -174,6 +174,25 @@ import { Identifiable as Identifiable3 } from "@kinotic-ai/core";
|
|
|
174
174
|
declare enum ProjectType {
|
|
175
175
|
TYPESCRIPT = "TYPESCRIPT"
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Connection state between a project and its backing GitHub repository.
|
|
179
|
+
* Stamped {@link RepositoryConnectionStatus.CONNECTED} when the repo is provisioned and
|
|
180
|
+
* its baseline rendered; left {@link RepositoryConnectionStatus.INITIALIZATION_FAILED}
|
|
181
|
+
* when the repo was created but rendering the baseline did not complete;
|
|
182
|
+
* {@link RepositoryConnectionStatus.DISCONNECTED} when GitHub revokes the platform's
|
|
183
|
+
* access to the repo.
|
|
184
|
+
*/
|
|
185
|
+
declare enum RepositoryConnectionStatus {
|
|
186
|
+
/** Backing repo is reachable through the org's GitHub installation and its baseline is rendered. */
|
|
187
|
+
CONNECTED = "CONNECTED",
|
|
188
|
+
/**
|
|
189
|
+
* Backing repo was created but its rendered baseline was not committed. Initialization
|
|
190
|
+
* can be re-run against the existing repo to reach {@link RepositoryConnectionStatus.CONNECTED}.
|
|
191
|
+
*/
|
|
192
|
+
INITIALIZATION_FAILED = "INITIALIZATION_FAILED",
|
|
193
|
+
/** Installation no longer has access to the repo; operator must re-link. */
|
|
194
|
+
DISCONNECTED = "DISCONNECTED"
|
|
195
|
+
}
|
|
177
196
|
declare class Project implements Identifiable3<string> {
|
|
178
197
|
/**
|
|
179
198
|
* The id of the project.
|
|
@@ -215,13 +234,19 @@ declare class Project implements Identifiable3<string> {
|
|
|
215
234
|
/**
|
|
216
235
|
* Default branch of the backing repository at the time it was provisioned.
|
|
217
236
|
*/
|
|
218
|
-
|
|
237
|
+
repoDefaultBranch: string;
|
|
219
238
|
/**
|
|
220
239
|
* Visibility chosen for the backing repository at create time. The SPA sets
|
|
221
240
|
* this before save; the platform passes it through to GitHub.
|
|
222
241
|
*/
|
|
223
242
|
repoPrivate: boolean;
|
|
224
243
|
/**
|
|
244
|
+
* Connection state of the backing repository. A project left
|
|
245
|
+
* {@link RepositoryConnectionStatus.INITIALIZATION_FAILED} by creation can have its
|
|
246
|
+
* repository initialization retried.
|
|
247
|
+
*/
|
|
248
|
+
repoConnectionStatus: RepositoryConnectionStatus | null;
|
|
249
|
+
/**
|
|
225
250
|
* The date and time the project was updated.
|
|
226
251
|
*/
|
|
227
252
|
updated: number | null;
|
|
@@ -561,7 +586,7 @@ declare class IamUser implements Identifiable8<string> {
|
|
|
561
586
|
updated: number | null;
|
|
562
587
|
}
|
|
563
588
|
/**
|
|
564
|
-
* Sent to {@code POST /api/signup} to start an email/password organization sign-up.
|
|
589
|
+
* Sent to {@code POST /api/auth/org/signup} to start an email/password organization sign-up.
|
|
565
590
|
* Only the user's identity is collected up front; the organization name and password are
|
|
566
591
|
* provided after email verification (see {@link SignUpCompleteRequest}).
|
|
567
592
|
*/
|
|
@@ -570,7 +595,7 @@ interface SignUpRequest {
|
|
|
570
595
|
displayName: string;
|
|
571
596
|
}
|
|
572
597
|
/**
|
|
573
|
-
* Sent to {@code POST /api/signup/complete} after the user clicks the verification link.
|
|
598
|
+
* Sent to {@code POST /api/auth/org/signup/complete} after the user clicks the verification link.
|
|
574
599
|
* The {@link token} comes from that link; {@link orgName} (with optional {@link orgDescription})
|
|
575
600
|
* names the organization to create, and {@link password} is the chosen account password.
|
|
576
601
|
*/
|
|
@@ -581,7 +606,7 @@ interface SignUpCompleteRequest {
|
|
|
581
606
|
password: string;
|
|
582
607
|
}
|
|
583
608
|
/**
|
|
584
|
-
* Sent to {@code POST /api/signup/complete
|
|
609
|
+
* Sent to {@code POST /api/auth/org/signup/social/complete} to finish an OIDC sign-up by naming the
|
|
585
610
|
* organization to create. The verified identity is held server-side, keyed by {@link token}.
|
|
586
611
|
*/
|
|
587
612
|
interface CompleteOrgRequest {
|
|
@@ -923,6 +948,13 @@ interface IProjectService extends ICrudServiceProxy3<Project> {
|
|
|
923
948
|
*/
|
|
924
949
|
findAllForApplication(applicationId: string, pageable: Pageable): Promise<IterablePage<Project>>;
|
|
925
950
|
/**
|
|
951
|
+
* Re-runs repository initialization for a project left
|
|
952
|
+
* {@link RepositoryConnectionStatus.INITIALIZATION_FAILED} by creation.
|
|
953
|
+
* @param projectId the id of the project to retry
|
|
954
|
+
* @return Promise emitting the project, marked {@link RepositoryConnectionStatus.CONNECTED} on success
|
|
955
|
+
*/
|
|
956
|
+
retryRepoInitialization(projectId: string): Promise<Project>;
|
|
957
|
+
/**
|
|
926
958
|
* This operation makes all the recent writes immediately available for search.
|
|
927
959
|
* @return a Promise that resolves when the operation is complete
|
|
928
960
|
*/
|
|
@@ -934,6 +966,7 @@ declare class ProjectService extends CrudServiceProxy3<Project> implements IProj
|
|
|
934
966
|
createProjectIfNotExist(project: Project): Promise<Project>;
|
|
935
967
|
findAllForApplication(applicationId: string, pageable: Pageable): Promise<IterablePage<Project>>;
|
|
936
968
|
findAllForApplicationSinglePage(applicationId: string, pageable: Pageable): Promise<IterablePage<Project>>;
|
|
969
|
+
retryRepoInitialization(projectId: string): Promise<Project>;
|
|
937
970
|
syncIndex(): Promise<void>;
|
|
938
971
|
}
|
|
939
972
|
import { IKinotic as IKinotic4 } from "@kinotic-ai/core";
|
|
@@ -1273,4 +1306,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
|
|
|
1273
1306
|
declare module "@kinotic-ai/core" {
|
|
1274
1307
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
1275
1308
|
}
|
|
1276
|
-
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InviteEmailTemplateService, InviteEmailTemplate, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IInviteEmailTemplateService, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
|
1309
|
+
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, RepositoryConnectionStatus, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InviteEmailTemplateService, InviteEmailTemplate, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IInviteEmailTemplateService, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
package/dist/index.js
CHANGED
|
@@ -205,8 +205,9 @@ class Project {
|
|
|
205
205
|
sourceOfTruth = null;
|
|
206
206
|
repoFullName;
|
|
207
207
|
repoId;
|
|
208
|
-
|
|
208
|
+
repoDefaultBranch;
|
|
209
209
|
repoPrivate = true;
|
|
210
|
+
repoConnectionStatus = null;
|
|
210
211
|
updated = null;
|
|
211
212
|
constructor(id, applicationId, name, description) {
|
|
212
213
|
this.id = id;
|
|
@@ -220,6 +221,13 @@ var ProjectType;
|
|
|
220
221
|
((ProjectType2) => {
|
|
221
222
|
ProjectType2["TYPESCRIPT"] = "TYPESCRIPT";
|
|
222
223
|
})(ProjectType ||= {});
|
|
224
|
+
// packages/os-api/src/api/model/RepositoryConnectionStatus.ts
|
|
225
|
+
var RepositoryConnectionStatus;
|
|
226
|
+
((RepositoryConnectionStatus2) => {
|
|
227
|
+
RepositoryConnectionStatus2["CONNECTED"] = "CONNECTED";
|
|
228
|
+
RepositoryConnectionStatus2["INITIALIZATION_FAILED"] = "INITIALIZATION_FAILED";
|
|
229
|
+
RepositoryConnectionStatus2["DISCONNECTED"] = "DISCONNECTED";
|
|
230
|
+
})(RepositoryConnectionStatus ||= {});
|
|
223
231
|
// packages/os-api/src/api/model/EntityDefinition.ts
|
|
224
232
|
class EntityDefinition {
|
|
225
233
|
id;
|
|
@@ -509,6 +517,9 @@ class ProjectService extends CrudServiceProxy3 {
|
|
|
509
517
|
findAllForApplicationSinglePage(applicationId, pageable) {
|
|
510
518
|
return this.serviceProxy.invoke("findAllForApplication", [applicationId, pageable]);
|
|
511
519
|
}
|
|
520
|
+
retryRepoInitialization(projectId) {
|
|
521
|
+
return this.serviceProxy.invoke("retryRepoInitialization", [projectId]);
|
|
522
|
+
}
|
|
512
523
|
syncIndex() {
|
|
513
524
|
return this.serviceProxy.invoke("syncIndex", []);
|
|
514
525
|
}
|
|
@@ -768,6 +779,7 @@ export {
|
|
|
768
779
|
TenantSelectionC3Type,
|
|
769
780
|
TenantIdDecorator,
|
|
770
781
|
SingleLoggerLevelsDescriptor,
|
|
782
|
+
RepositoryConnectionStatus,
|
|
771
783
|
QueryOptionsC3Type,
|
|
772
784
|
QueryDecorator,
|
|
773
785
|
ProjectType,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/os-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"ui-test": "vitest --ui --coverage.enabled=true --mode development"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@kinotic-ai/core": ">=1.
|
|
36
|
+
"@kinotic-ai/core": ">=1.7.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@kinotic-ai/idl": "1.0.9",
|
|
40
|
-
"@kinotic-ai/persistence": "1.
|
|
40
|
+
"@kinotic-ai/persistence": "1.4.0",
|
|
41
41
|
"rxjs": "^7.8.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@kinotic-ai/core": "1.
|
|
44
|
+
"@kinotic-ai/core": "1.7.0",
|
|
45
45
|
"@types/node": "^25.3.2",
|
|
46
46
|
"@vitest/coverage-v8": "^4.0.18",
|
|
47
47
|
"@vitest/runner": "^4.0.18",
|