appbuild-oceanbase-console 1.13.1 → 1.13.2
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/cjs/sdk.js +36 -10
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +36 -11
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +36 -10
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
- package/types/sdk.d.ts +3 -0
- package/types/services/admin.d.ts +21 -0
- package/types/services/projects.d.ts +4 -1
package/dist/esm/sdk.js
CHANGED
|
@@ -17732,21 +17732,23 @@ class Projects {
|
|
|
17732
17732
|
name: rest[0],
|
|
17733
17733
|
teamId: rest[1],
|
|
17734
17734
|
region: rest[2],
|
|
17735
|
-
|
|
17736
|
-
|
|
17737
|
-
|
|
17738
|
-
|
|
17739
|
-
|
|
17740
|
-
|
|
17741
|
-
|
|
17742
|
-
|
|
17743
|
-
|
|
17735
|
+
poolTag: rest[3],
|
|
17736
|
+
description: rest[4],
|
|
17737
|
+
logo: rest[5],
|
|
17738
|
+
url: rest[6],
|
|
17739
|
+
legalName: rest[7],
|
|
17740
|
+
legalCountry: rest[8],
|
|
17741
|
+
legalState: rest[9],
|
|
17742
|
+
legalCity: rest[10],
|
|
17743
|
+
legalAddress: rest[11],
|
|
17744
|
+
legalTaxId: rest[12]
|
|
17744
17745
|
};
|
|
17745
17746
|
}
|
|
17746
17747
|
const projectId = params.projectId;
|
|
17747
17748
|
const name = params.name;
|
|
17748
17749
|
const teamId = params.teamId;
|
|
17749
17750
|
const region = params.region;
|
|
17751
|
+
const poolTag = params.poolTag;
|
|
17750
17752
|
const description = params.description;
|
|
17751
17753
|
const logo = params.logo;
|
|
17752
17754
|
const url = params.url;
|
|
@@ -17779,6 +17781,9 @@ class Projects {
|
|
|
17779
17781
|
if (typeof region !== 'undefined') {
|
|
17780
17782
|
payload['region'] = region;
|
|
17781
17783
|
}
|
|
17784
|
+
if (typeof poolTag !== 'undefined') {
|
|
17785
|
+
payload['poolTag'] = poolTag;
|
|
17786
|
+
}
|
|
17782
17787
|
if (typeof description !== 'undefined') {
|
|
17783
17788
|
payload['description'] = description;
|
|
17784
17789
|
}
|
|
@@ -19932,6 +19937,25 @@ class Projects {
|
|
|
19932
19937
|
}
|
|
19933
19938
|
}
|
|
19934
19939
|
|
|
19940
|
+
class Admin extends Service {
|
|
19941
|
+
constructor(client) {
|
|
19942
|
+
super(client);
|
|
19943
|
+
}
|
|
19944
|
+
/**
|
|
19945
|
+
* List all defined pool tags.
|
|
19946
|
+
*
|
|
19947
|
+
* @throws {AppwriteException}
|
|
19948
|
+
* @returns {Promise<{ tags: Array<{ $id: string, name: string, poolCount: number, pools: string[], createdAt: string }>, total: number }>}
|
|
19949
|
+
*/
|
|
19950
|
+
listTags() {
|
|
19951
|
+
const apiPath = '/admin/tags';
|
|
19952
|
+
const payload = {};
|
|
19953
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
19954
|
+
const apiHeaders = {};
|
|
19955
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
19956
|
+
}
|
|
19957
|
+
}
|
|
19958
|
+
|
|
19935
19959
|
class Proxy {
|
|
19936
19960
|
constructor(client) {
|
|
19937
19961
|
this.client = client;
|
|
@@ -30701,7 +30725,8 @@ function createConsoleSdk(client) {
|
|
|
30701
30725
|
sites: new Sites(client),
|
|
30702
30726
|
domains: new Domains(client),
|
|
30703
30727
|
storage: new Storage(client),
|
|
30704
|
-
realtime: new Realtime(client)
|
|
30728
|
+
realtime: new Realtime(client),
|
|
30729
|
+
admin: new Admin(client)
|
|
30705
30730
|
};
|
|
30706
30731
|
}
|
|
30707
30732
|
const clientConsole = new Client();
|
|
@@ -30795,5 +30820,5 @@ function createRealtimeSubscription(realtimeInstance, channels, callback) {
|
|
|
30795
30820
|
};
|
|
30796
30821
|
}
|
|
30797
30822
|
|
|
30798
|
-
export { Account, Activities, Adapter, Api, ApiService, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlan, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DeploymentDownloadType, DeploymentResourceType, DeploymentStatus, DomainPurchaseStatus, DomainTransferStatusEnum, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, FirebaseMigrationResource, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, IndexType, Locale, MessagePriority, MessageStatus, Messaging, MessagingProviderType, MigrationExecutionException, Migrations, NHostMigrationResource, Name, OAuthProvider, Operator, OrderBy, Organizations, Output, PasswordHash, Permission, Platform, PlatformType, Project, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, ResourceType, Role, RuleTrigger, RuleType, Runtime, Runtimes, SMTPSecure, SchemaMigration, Scopes, Sites, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, Teams, TemplateReferenceType, Theme, Timezone, Tokens, Type, UsageRange, UseCases, Users, VCSDeploymentType, VCSDetectionType, VCSReferenceType, Vcs, Webhooks, getApiEndpoint, realtime, sdk };
|
|
30823
|
+
export { Account, Activities, Adapter, Admin, Api, ApiService, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlan, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DeploymentDownloadType, DeploymentResourceType, DeploymentStatus, DomainPurchaseStatus, DomainTransferStatusEnum, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, FirebaseMigrationResource, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, IndexType, Locale, MessagePriority, MessageStatus, Messaging, MessagingProviderType, MigrationExecutionException, Migrations, NHostMigrationResource, Name, OAuthProvider, Operator, OrderBy, Organizations, Output, PasswordHash, Permission, Platform, PlatformType, Project, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, ResourceType, Role, RuleTrigger, RuleType, Runtime, Runtimes, SMTPSecure, SchemaMigration, Scopes, Sites, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, Teams, TemplateReferenceType, Theme, Timezone, Tokens, Type, UsageRange, UseCases, Users, VCSDeploymentType, VCSDetectionType, VCSReferenceType, Vcs, Webhooks, getApiEndpoint, realtime, sdk };
|
|
30799
30824
|
//# sourceMappingURL=sdk.js.map
|