@appconda/nextjs 1.0.13 → 1.0.15

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.
Files changed (125) hide show
  1. package/dist/cjs/sdk.js +74 -16
  2. package/dist/cjs/sdk.js.map +1 -1
  3. package/dist/esm/sdk.js +73 -17
  4. package/dist/esm/sdk.js.map +1 -1
  5. package/dist/iife/sdk.js +75 -18
  6. package/package.json +2 -1
  7. package/src/actions/actionClient.ts +42 -0
  8. package/src/actions/index.ts +1 -0
  9. package/src/actions/nodes.ts +12 -0
  10. package/src/index.ts +2 -0
  11. package/src/services/waitlist.ts +16 -0
  12. package/types/Cache/Adapter.d.ts +0 -10
  13. package/types/Cache/Adapters/Filesystem.d.ts +0 -16
  14. package/types/Cache/Adapters/Memory.d.ts +0 -18
  15. package/types/Cache/Adapters/None.d.ts +0 -12
  16. package/types/Cache/Adapters/Redis.d.ts +0 -14
  17. package/types/Cache/Adapters/Sharding.d.ts +0 -17
  18. package/types/Cache/Cache.d.ts +0 -16
  19. package/types/Cache/index.d.ts +0 -5
  20. package/types/Cache/test.d.ts +0 -0
  21. package/types/Services.d.ts +0 -6
  22. package/types/client.d.ts +0 -141
  23. package/types/decorators/Cache.d.ts +0 -1
  24. package/types/decorators/CacheKey.d.ts +0 -1
  25. package/types/decorators/Invalidate.d.ts +0 -1
  26. package/types/enums/api-service.d.ts +0 -13
  27. package/types/enums/api.d.ts +0 -5
  28. package/types/enums/auth-method.d.ts +0 -9
  29. package/types/enums/authentication-factor.d.ts +0 -6
  30. package/types/enums/authenticator-type.d.ts +0 -3
  31. package/types/enums/browser.d.ts +0 -16
  32. package/types/enums/compression.d.ts +0 -5
  33. package/types/enums/credit-card.d.ts +0 -18
  34. package/types/enums/database-usage-range.d.ts +0 -5
  35. package/types/enums/email-template-locale.d.ts +0 -133
  36. package/types/enums/email-template-type.d.ts +0 -9
  37. package/types/enums/entities/EntityLimitType.d.ts +0 -4
  38. package/types/enums/entities/PropertyAttributeName.d.ts +0 -27
  39. package/types/enums/entities/PropertyCondition.d.ts +0 -7
  40. package/types/enums/entities/PropertyType.d.ts +0 -12
  41. package/types/enums/entities/PropertyValueType.d.ts +0 -6
  42. package/types/enums/entities/RowAccess.d.ts +0 -2
  43. package/types/enums/entities/ViewFilterCondition.d.ts +0 -12
  44. package/types/enums/execution-method.d.ts +0 -8
  45. package/types/enums/flag.d.ts +0 -197
  46. package/types/enums/function-usage-range.d.ts +0 -5
  47. package/types/enums/image-format.d.ts +0 -7
  48. package/types/enums/image-gravity.d.ts +0 -11
  49. package/types/enums/index-type.d.ts +0 -5
  50. package/types/enums/messaging-provider-type.d.ts +0 -5
  51. package/types/enums/name.d.ts +0 -14
  52. package/types/enums/o-auth-provider copy.d.ts +0 -41
  53. package/types/enums/o-auth-provider.d.ts +0 -41
  54. package/types/enums/password-hash.d.ts +0 -13
  55. package/types/enums/platform-type.d.ts +0 -17
  56. package/types/enums/project-usage-range.d.ts +0 -4
  57. package/types/enums/region.d.ts +0 -4
  58. package/types/enums/relation-mutate.d.ts +0 -5
  59. package/types/enums/relationship-type.d.ts +0 -6
  60. package/types/enums/resource-type.d.ts +0 -4
  61. package/types/enums/runtime.d.ts +0 -48
  62. package/types/enums/s-m-t-p-secure.d.ts +0 -3
  63. package/types/enums/shared/ApplicationLayout.d.ts +0 -4
  64. package/types/enums/shared/Colors.d.ts +0 -24
  65. package/types/enums/shared/InputType.d.ts +0 -6
  66. package/types/enums/shared/Periodicity.d.ts +0 -7
  67. package/types/enums/shared/SvgIcon.d.ts +0 -37
  68. package/types/enums/shared/Theme.d.ts +0 -4
  69. package/types/enums/sms-template-locale.d.ts +0 -133
  70. package/types/enums/sms-template-type.d.ts +0 -6
  71. package/types/enums/smtp-encryption.d.ts +0 -5
  72. package/types/enums/storage-usage-range.d.ts +0 -5
  73. package/types/enums/subscriptions/PricingModel.d.ts +0 -11
  74. package/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  75. package/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  76. package/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  77. package/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  78. package/types/enums/tenants/TenantUserJoined.d.ts +0 -6
  79. package/types/enums/tenants/TenantUserStatus.d.ts +0 -6
  80. package/types/enums/tenants/TenantUserType.d.ts +0 -5
  81. package/types/enums/user-usage-range.d.ts +0 -5
  82. package/types/getAppcondaClient.d.ts +0 -2
  83. package/types/getSDKForCurrentUser.d.ts +0 -33
  84. package/types/id.d.ts +0 -20
  85. package/types/index.d.ts +0 -37
  86. package/types/inputFile.d.ts +0 -6
  87. package/types/lib/Registry/Registry.d.ts +0 -38
  88. package/types/lib/Registry/index.d.ts +0 -1
  89. package/types/models.d.ts +0 -3272
  90. package/types/permission.d.ts +0 -43
  91. package/types/query.d.ts +0 -194
  92. package/types/role.d.ts +0 -70
  93. package/types/service-client.d.ts +0 -7
  94. package/types/service.d.ts +0 -11
  95. package/types/services/account.d.ts +0 -530
  96. package/types/services/acl.d.ts +0 -28
  97. package/types/services/applets.d.ts +0 -9
  98. package/types/services/assistant.d.ts +0 -14
  99. package/types/services/avatars.d.ts +0 -115
  100. package/types/services/community.d.ts +0 -19
  101. package/types/services/configuration.d.ts +0 -5
  102. package/types/services/console.d.ts +0 -15
  103. package/types/services/databases.d.ts +0 -613
  104. package/types/services/functions.d.ts +0 -319
  105. package/types/services/graphql.d.ts +0 -25
  106. package/types/services/health.d.ts +0 -231
  107. package/types/services/locale.d.ts +0 -80
  108. package/types/services/messaging.d.ts +0 -685
  109. package/types/services/migrations.d.ts +0 -185
  110. package/types/services/node.d.ts +0 -5
  111. package/types/services/permissions.d.ts +0 -20
  112. package/types/services/pricing.d.ts +0 -15
  113. package/types/services/project.d.ts +0 -70
  114. package/types/services/projects.d.ts +0 -542
  115. package/types/services/proxy.d.ts +0 -59
  116. package/types/services/roles.d.ts +0 -19
  117. package/types/services/schema.d.ts +0 -17
  118. package/types/services/storage.d.ts +0 -189
  119. package/types/services/subscription-product.d.ts +0 -77
  120. package/types/services/subscription.d.ts +0 -15
  121. package/types/services/teams.d.ts +0 -167
  122. package/types/services/tenant-subscription.d.ts +0 -12
  123. package/types/services/tenant.d.ts +0 -32
  124. package/types/services/users.d.ts +0 -499
  125. package/types/services/vcs.d.ts +0 -108
@@ -1,48 +0,0 @@
1
- export declare enum Runtime {
2
- Node145 = "node-14.5",
3
- Node160 = "node-16.0",
4
- Node180 = "node-18.0",
5
- Node190 = "node-19.0",
6
- Node200 = "node-20.0",
7
- Node210 = "node-21.0",
8
- Php80 = "php-8.0",
9
- Php81 = "php-8.1",
10
- Php82 = "php-8.2",
11
- Php83 = "php-8.3",
12
- Ruby30 = "ruby-3.0",
13
- Ruby31 = "ruby-3.1",
14
- Ruby32 = "ruby-3.2",
15
- Ruby33 = "ruby-3.3",
16
- Python38 = "python-3.8",
17
- Python39 = "python-3.9",
18
- Python310 = "python-3.10",
19
- Python311 = "python-3.11",
20
- Python312 = "python-3.12",
21
- Pythonml311 = "python-ml-3.11",
22
- Deno140 = "deno-1.40",
23
- Dart215 = "dart-2.15",
24
- Dart216 = "dart-2.16",
25
- Dart217 = "dart-2.17",
26
- Dart218 = "dart-2.18",
27
- Dart30 = "dart-3.0",
28
- Dart31 = "dart-3.1",
29
- Dart33 = "dart-3.3",
30
- Dotnet31 = "dotnet-3.1",
31
- Dotnet60 = "dotnet-6.0",
32
- Dotnet70 = "dotnet-7.0",
33
- Java80 = "java-8.0",
34
- Java110 = "java-11.0",
35
- Java170 = "java-17.0",
36
- Java180 = "java-18.0",
37
- Java210 = "java-21.0",
38
- Swift55 = "swift-5.5",
39
- Swift58 = "swift-5.8",
40
- Swift59 = "swift-5.9",
41
- Kotlin16 = "kotlin-1.6",
42
- Kotlin18 = "kotlin-1.8",
43
- Kotlin19 = "kotlin-1.9",
44
- Cpp17 = "cpp-17",
45
- Cpp20 = "cpp-20",
46
- Bun10 = "bun-1.0",
47
- Go123 = "go-1.23"
48
- }
@@ -1,3 +0,0 @@
1
- export declare enum SMTPSecure {
2
- Tls = "tls"
3
- }
@@ -1,4 +0,0 @@
1
- export declare enum ApplicationLayout {
2
- SIDEBAR = 0,
3
- STACKED = 1
4
- }
@@ -1,24 +0,0 @@
1
- export declare enum Colors {
2
- UNDEFINED = 0,
3
- SLATE = 1,
4
- GRAY = 2,
5
- NEUTRAL = 3,
6
- STONE = 4,
7
- RED = 5,
8
- ORANGE = 6,
9
- AMBER = 7,
10
- YELLOW = 8,
11
- LIME = 9,
12
- GREEN = 10,
13
- EMERALD = 11,
14
- TEAL = 12,
15
- CYAN = 13,
16
- SKY = 14,
17
- BLUE = 15,
18
- INDIGO = 16,
19
- VIOLET = 17,
20
- PURPLE = 18,
21
- FUCHSIA = 19,
22
- PINK = 20,
23
- ROSE = 21
24
- }
@@ -1,6 +0,0 @@
1
- export declare enum InputType {
2
- TEXT = 0,
3
- NUMBER = 1,
4
- SELECT = 2,
5
- DECIMAL = 3
6
- }
@@ -1,7 +0,0 @@
1
- export declare enum Periodicity {
2
- ONCE = 0,
3
- MONTHLY = 1,
4
- BIMONTHLY = 2,
5
- QUARTERLY = 3,
6
- YEARLY = 4
7
- }
@@ -1,37 +0,0 @@
1
- export declare enum SvgIcon {
2
- ADMIN = 0,
3
- TENANTS = 1,
4
- USERS = 2,
5
- ROLES = 3,
6
- PRICING = 4,
7
- EMAILS = 5,
8
- NAVIGATION = 6,
9
- COMPONENTS = 7,
10
- MEMBERS = 8,
11
- PROFILE = 9,
12
- APP = 10,
13
- DASHBOARD = 11,
14
- SETTINGS = 12,
15
- SETUP = 13,
16
- LOGS = 14,
17
- EVENTS = 15,
18
- BLOG = 16,
19
- ENTITIES = 17,
20
- KEYS = 18,
21
- DOCS = 19,
22
- LINKS = 20,
23
- PROVIDERS = 21,
24
- CLIENTS = 22,
25
- CONTRACTS = 23,
26
- EMPLOYEES = 24,
27
- JOKES = 25,
28
- ANALYTICS = 26,
29
- AFFILIATES_AND_REFERRALS = 27,
30
- HELP_DESK = 28,
31
- ONBOARDING = 29,
32
- PAGES = 30,
33
- FEATURE_FLAGS = 31,
34
- PROMPT_BUILDER = 32,
35
- KNOWLEDGE_BASE = 33,
36
- WORKFLOWS = 34
37
- }
@@ -1,4 +0,0 @@
1
- export declare enum Theme {
2
- LIGHT = 0,
3
- DARK = 1
4
- }
@@ -1,133 +0,0 @@
1
- export declare enum SmsTemplateLocale {
2
- Af = "af",
3
- Arae = "ar-ae",
4
- Arbh = "ar-bh",
5
- Ardz = "ar-dz",
6
- Areg = "ar-eg",
7
- Ariq = "ar-iq",
8
- Arjo = "ar-jo",
9
- Arkw = "ar-kw",
10
- Arlb = "ar-lb",
11
- Arly = "ar-ly",
12
- Arma = "ar-ma",
13
- Arom = "ar-om",
14
- Arqa = "ar-qa",
15
- Arsa = "ar-sa",
16
- Arsy = "ar-sy",
17
- Artn = "ar-tn",
18
- Arye = "ar-ye",
19
- As = "as",
20
- Az = "az",
21
- Be = "be",
22
- Bg = "bg",
23
- Bh = "bh",
24
- Bn = "bn",
25
- Bs = "bs",
26
- Ca = "ca",
27
- Cs = "cs",
28
- Cy = "cy",
29
- Da = "da",
30
- De = "de",
31
- Deat = "de-at",
32
- Dech = "de-ch",
33
- Deli = "de-li",
34
- Delu = "de-lu",
35
- El = "el",
36
- En = "en",
37
- Enau = "en-au",
38
- Enbz = "en-bz",
39
- Enca = "en-ca",
40
- Engb = "en-gb",
41
- Enie = "en-ie",
42
- Enjm = "en-jm",
43
- Ennz = "en-nz",
44
- Entt = "en-tt",
45
- Enus = "en-us",
46
- Enza = "en-za",
47
- Eo = "eo",
48
- Es = "es",
49
- Esar = "es-ar",
50
- Esbo = "es-bo",
51
- Escl = "es-cl",
52
- Esco = "es-co",
53
- Escr = "es-cr",
54
- Esdo = "es-do",
55
- Esec = "es-ec",
56
- Esgt = "es-gt",
57
- Eshn = "es-hn",
58
- Esmx = "es-mx",
59
- Esni = "es-ni",
60
- Espa = "es-pa",
61
- Espe = "es-pe",
62
- Espr = "es-pr",
63
- Espy = "es-py",
64
- Essv = "es-sv",
65
- Esuy = "es-uy",
66
- Esve = "es-ve",
67
- Et = "et",
68
- Eu = "eu",
69
- Fa = "fa",
70
- Fi = "fi",
71
- Fo = "fo",
72
- Fr = "fr",
73
- Frbe = "fr-be",
74
- Frca = "fr-ca",
75
- Frch = "fr-ch",
76
- Frlu = "fr-lu",
77
- Ga = "ga",
78
- Gd = "gd",
79
- He = "he",
80
- Hi = "hi",
81
- Hr = "hr",
82
- Hu = "hu",
83
- Id = "id",
84
- Is = "is",
85
- It = "it",
86
- Itch = "it-ch",
87
- Ja = "ja",
88
- Ji = "ji",
89
- Ko = "ko",
90
- Ku = "ku",
91
- Lt = "lt",
92
- Lv = "lv",
93
- Mk = "mk",
94
- Ml = "ml",
95
- Ms = "ms",
96
- Mt = "mt",
97
- Nb = "nb",
98
- Ne = "ne",
99
- Nl = "nl",
100
- Nlbe = "nl-be",
101
- Nn = "nn",
102
- No = "no",
103
- Pa = "pa",
104
- Pl = "pl",
105
- Pt = "pt",
106
- Ptbr = "pt-br",
107
- Rm = "rm",
108
- Ro = "ro",
109
- Romd = "ro-md",
110
- Ru = "ru",
111
- Rumd = "ru-md",
112
- Sb = "sb",
113
- Sk = "sk",
114
- Sl = "sl",
115
- Sq = "sq",
116
- Sr = "sr",
117
- Sv = "sv",
118
- Svfi = "sv-fi",
119
- Th = "th",
120
- Tn = "tn",
121
- Tr = "tr",
122
- Ts = "ts",
123
- Ua = "ua",
124
- Ur = "ur",
125
- Ve = "ve",
126
- Vi = "vi",
127
- Xh = "xh",
128
- Zhcn = "zh-cn",
129
- Zhhk = "zh-hk",
130
- Zhsg = "zh-sg",
131
- Zhtw = "zh-tw",
132
- Zu = "zu"
133
- }
@@ -1,6 +0,0 @@
1
- export declare enum SmsTemplateType {
2
- Verification = "verification",
3
- Login = "login",
4
- Invitation = "invitation",
5
- Mfachallenge = "mfachallenge"
6
- }
@@ -1,5 +0,0 @@
1
- export declare enum SmtpEncryption {
2
- None = "none",
3
- Ssl = "ssl",
4
- Tls = "tls"
5
- }
@@ -1,5 +0,0 @@
1
- export declare enum StorageUsageRange {
2
- TwentyFourHours = "24h",
3
- ThirtyDays = "30d",
4
- NinetyDays = "90d"
5
- }
@@ -1,11 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum PricingModel {
3
- FLAT_RATE = 0,
4
- PER_SEAT = 1,
5
- USAGE_BASED = 2,
6
- FLAT_RATE_USAGE_BASED = 3,
7
- ONCE = 4,
8
- ALL = 5
9
- }
10
- export declare const ZPricingModel: z.ZodNativeEnum<typeof PricingModel>;
11
- export type TPricingModel = z.infer<typeof ZPricingModel>;
@@ -1,10 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum SubscriptionBillingPeriod {
3
- ONCE = 0,
4
- DAILY = 1,
5
- WEEKLY = 2,
6
- MONTHLY = 3,
7
- YEARLY = 4
8
- }
9
- export declare const ZSubscriptionBillingPeriod: z.ZodNativeEnum<typeof SubscriptionBillingPeriod>;
10
- export type TSubscriptionBillingPeriod = z.infer<typeof ZSubscriptionBillingPeriod>;
@@ -1,10 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum SubscriptionFeatureLimitType {
3
- NOT_INCLUDED = 0,
4
- INCLUDED = 1,
5
- MONTHLY = 2,
6
- MAX = 3,
7
- UNLIMITED = 4
8
- }
9
- export declare const ZSubscriptionFeatureLimitType: z.ZodNativeEnum<typeof SubscriptionFeatureLimitType>;
10
- export type TSubscriptionFeatureLimitType = z.infer<typeof ZSubscriptionFeatureLimitType>;
@@ -1,7 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum SubscriptionPriceType {
3
- ONE_TIME = 0,
4
- RECURRING = 1
5
- }
6
- export declare const ZSubscriptionPriceType: z.ZodNativeEnum<typeof SubscriptionPriceType>;
7
- export type TSubscriptionPriceType = z.infer<typeof ZSubscriptionPriceType>;
@@ -1,5 +0,0 @@
1
- export declare enum LinkedAccountStatus {
2
- PENDING = 0,
3
- LINKED = 1,
4
- REJECTED = 2
5
- }
@@ -1,6 +0,0 @@
1
- export declare enum TenantUserJoined {
2
- CREATOR = 0,
3
- JOINED_BY_INVITATION = 1,
4
- JOINED_BY_LINK = 2,
5
- JOINED_BY_PUBLIC_URL = 3
6
- }
@@ -1,6 +0,0 @@
1
- export declare enum TenantUserStatus {
2
- PENDING_INVITATION = 0,
3
- PENDING_ACCEPTANCE = 1,
4
- ACTIVE = 2,
5
- INACTIVE = 3
6
- }
@@ -1,5 +0,0 @@
1
- export declare enum TenantUserType {
2
- OWNER = 0,
3
- ADMIN = 1,
4
- MEMBER = 2
5
- }
@@ -1,5 +0,0 @@
1
- export declare enum UserUsageRange {
2
- TwentyFourHours = "24h",
3
- ThirtyDays = "30d",
4
- NinetyDays = "90d"
5
- }
@@ -1,2 +0,0 @@
1
- import { Client } from "./client";
2
- export declare function getAppcondaClient(): Promise<Client>;
@@ -1,33 +0,0 @@
1
- import { Account } from "./services/account";
2
- import { Community } from "./services/community";
3
- import { Configuration } from "./services/configuration";
4
- import { Databases } from "./services/databases";
5
- import { Pricing } from "./services/pricing";
6
- import { Projects } from "./services/projects";
7
- import { Roles } from "./services/roles";
8
- import { Schemas } from "./services/schema";
9
- import { Subscription } from "./services/subscription";
10
- import { Teams } from "./services/teams";
11
- import { Tenant } from "./services/tenant";
12
- import { TenantSubscription } from "./services/tenant-subscription";
13
- import { Users } from "./services/users";
14
- import { Node } from "./services/node";
15
- import { Permissions } from "./services/permissions";
16
- export declare function getSDKForCurrentUser(): Promise<{
17
- currentUser: import("./models").Models.User<import("./models").Models.Preferences>;
18
- accounts: Account;
19
- databases: Databases;
20
- projects: Projects;
21
- users: Users;
22
- teams: Teams;
23
- tenants: Tenant;
24
- roles: Roles;
25
- permissions: Permissions;
26
- schemas: Schemas;
27
- community: Community;
28
- tenantSubscriptions: TenantSubscription;
29
- subscription: Subscription;
30
- pricing: Pricing;
31
- configuration: Configuration;
32
- node: Node;
33
- }>;
package/types/id.d.ts DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * Helper class to generate ID strings for resources.
3
- */
4
- export declare class ID {
5
- #private;
6
- /**
7
- * Uses the provided ID as the ID for the resource.
8
- *
9
- * @param {string} id
10
- * @returns {string}
11
- */
12
- static custom(id: string): string;
13
- /**
14
- * Have Appconda generate a unique ID for you.
15
- *
16
- * @param {number} padding. Default is 7.
17
- * @returns {string}
18
- */
19
- static unique(padding?: number): string;
20
- }
package/types/index.d.ts DELETED
@@ -1,37 +0,0 @@
1
- export { Client, Query, AppcondaException } from './client';
2
- export { Account } from './services/account';
3
- export { Avatars } from './services/avatars';
4
- export { Databases } from './services/databases';
5
- export { Applets } from './services/applets';
6
- export { Functions } from './services/functions';
7
- export { Graphql } from './services/graphql';
8
- export { Health } from './services/health';
9
- export { Locale } from './services/locale';
10
- export { Messaging } from './services/messaging';
11
- export { Storage } from './services/storage';
12
- export { Teams } from './services/teams';
13
- export { Users } from './services/users';
14
- export type { Models, Payload, UploadProgress } from './client';
15
- export type { QueryTypes, QueryTypesList } from './query';
16
- export { Permission } from './permission';
17
- export { Role } from './role';
18
- export { ID } from './id';
19
- export { AuthenticatorType } from './enums/authenticator-type';
20
- export { AuthenticationFactor } from './enums/authentication-factor';
21
- export { OAuthProvider } from './enums/o-auth-provider';
22
- export { Browser } from './enums/browser';
23
- export { CreditCard } from './enums/credit-card';
24
- export { Flag } from './enums/flag';
25
- export { RelationshipType } from './enums/relationship-type';
26
- export { RelationMutate } from './enums/relation-mutate';
27
- export { IndexType } from './enums/index-type';
28
- export { Runtime } from './enums/runtime';
29
- export { ExecutionMethod } from './enums/execution-method';
30
- export { Name } from './enums/name';
31
- export { SmtpEncryption } from './enums/smtp-encryption';
32
- export { Compression } from './enums/compression';
33
- export { ImageGravity } from './enums/image-gravity';
34
- export { ImageFormat } from './enums/image-format';
35
- export { PasswordHash } from './enums/password-hash';
36
- export { MessagingProviderType } from './enums/messaging-provider-type';
37
- export { getSDKForCurrentUser } from './getSDKForCurrentUser';
@@ -1,6 +0,0 @@
1
- import type { BinaryLike } from "crypto";
2
- export declare class InputFile {
3
- static fromBuffer(parts: Blob | BinaryLike, name: string): File;
4
- static fromPath(path: string, name: string): File;
5
- static fromPlainText(content: string, name: string): File;
6
- }
@@ -1,38 +0,0 @@
1
- export declare class Registry {
2
- /**
3
- * List of all callbacks
4
- */
5
- protected callbacks: {
6
- [key: string]: () => any;
7
- };
8
- /**
9
- * List of all fresh resources
10
- */
11
- protected fresh: {
12
- [key: string]: boolean;
13
- };
14
- /**
15
- * List of all connections
16
- */
17
- protected registry: {
18
- [key: string]: {
19
- [key: string]: any;
20
- };
21
- };
22
- /**
23
- * Current context
24
- */
25
- protected _context: string;
26
- /**
27
- * Set a new connection callback
28
- */
29
- set(name: string, callback: () => any, fresh?: boolean): this;
30
- /**
31
- * If connection has been created returns it, otherwise create and then return it
32
- */
33
- get(name: string, fresh?: boolean): any;
34
- /**
35
- * Set the current context
36
- */
37
- context(name: string): this;
38
- }
@@ -1 +0,0 @@
1
- export * from './Registry';