@appconda/nextjs 1.0.33 → 1.0.35

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 (159) hide show
  1. package/dist/decorators/Cache.js +1 -1
  2. package/dist/decorators/Invalidate.js +1 -1
  3. package/dist/{Cache → lib/Cache}/Adapters/Filesystem.js +3 -3
  4. package/dist/{Cache → lib/Cache}/Adapters/Memory.js +3 -3
  5. package/dist/{Cache → lib/Cache}/Adapters/None.js +3 -3
  6. package/dist/{Cache → lib/Cache}/Adapters/Sharding.js +3 -3
  7. package/dist/{Cache → lib/Cache}/index.d.ts +0 -1
  8. package/dist/{Cache → lib/Cache}/index.js +0 -1
  9. package/{types → dist/lib}/Services.d.ts +1 -1
  10. package/dist/lib/Services.js +13 -0
  11. package/dist/modules/waitlist/service.js +1 -1
  12. package/dist/services/node.js +16 -0
  13. package/package.json +2 -2
  14. package/publish.sh +1 -1
  15. package/src/decorators/Cache.ts +103 -0
  16. package/src/decorators/CacheKey.ts +9 -0
  17. package/src/decorators/Invalidate.ts +69 -0
  18. package/{types/Cache/Adapter.d.ts → src/lib/Cache/Adapter.ts} +3 -2
  19. package/src/lib/Cache/Adapters/Filesystem.ts +126 -0
  20. package/src/lib/Cache/Adapters/Memory.ts +58 -0
  21. package/src/lib/Cache/Adapters/None.ts +36 -0
  22. package/src/lib/Cache/Adapters/Sharding.ts +88 -0
  23. package/src/lib/Cache/Cache.ts +75 -0
  24. package/{types/Cache/index.d.ts → src/lib/Cache/index.ts} +1 -2
  25. package/src/lib/Services.ts +25 -0
  26. package/src/modules/waitlist/action.ts +2 -0
  27. package/src/modules/waitlist/service.ts +1 -1
  28. package/src/services/node.ts +2 -0
  29. package/dist/Cache/Adapters/Filesystem.d.ts +0 -16
  30. package/dist/Cache/Adapters/Memory.d.ts +0 -18
  31. package/dist/Cache/Adapters/None.d.ts +0 -12
  32. package/dist/Cache/Adapters/Redis.d.ts +0 -14
  33. package/dist/Cache/Adapters/Redis.js +0 -79
  34. package/dist/Services.d.ts +0 -7
  35. package/dist/Services.js +0 -29
  36. package/dist/services/waitlist.d.ts +0 -5
  37. package/dist/services/waitlist.js +0 -11
  38. package/types/Cache/Adapters/Redis.d.ts +0 -14
  39. package/types/Cache/Adapters/Sharding.d.ts +0 -17
  40. package/types/Cache/Cache.d.ts +0 -16
  41. package/types/actions/actionClient.d.ts +0 -4
  42. package/types/actions/index.d.ts +0 -1
  43. package/types/actions/nodes.d.ts +0 -4
  44. package/types/client.d.ts +0 -141
  45. package/types/decorators/Cache.d.ts +0 -1
  46. package/types/decorators/CacheKey.d.ts +0 -1
  47. package/types/decorators/Invalidate.d.ts +0 -1
  48. package/types/enums/api-service.d.ts +0 -13
  49. package/types/enums/api.d.ts +0 -5
  50. package/types/enums/auth-method.d.ts +0 -9
  51. package/types/enums/authentication-factor.d.ts +0 -6
  52. package/types/enums/authenticator-type.d.ts +0 -3
  53. package/types/enums/browser.d.ts +0 -16
  54. package/types/enums/compression.d.ts +0 -5
  55. package/types/enums/credit-card.d.ts +0 -18
  56. package/types/enums/database-usage-range.d.ts +0 -5
  57. package/types/enums/email-template-locale.d.ts +0 -133
  58. package/types/enums/email-template-type.d.ts +0 -9
  59. package/types/enums/entities/EntityLimitType.d.ts +0 -4
  60. package/types/enums/entities/PropertyAttributeName.d.ts +0 -27
  61. package/types/enums/entities/PropertyCondition.d.ts +0 -7
  62. package/types/enums/entities/PropertyType.d.ts +0 -12
  63. package/types/enums/entities/PropertyValueType.d.ts +0 -6
  64. package/types/enums/entities/RowAccess.d.ts +0 -2
  65. package/types/enums/entities/ViewFilterCondition.d.ts +0 -12
  66. package/types/enums/execution-method.d.ts +0 -8
  67. package/types/enums/flag.d.ts +0 -197
  68. package/types/enums/function-usage-range.d.ts +0 -5
  69. package/types/enums/image-format.d.ts +0 -7
  70. package/types/enums/image-gravity.d.ts +0 -11
  71. package/types/enums/index-type.d.ts +0 -5
  72. package/types/enums/messaging-provider-type.d.ts +0 -5
  73. package/types/enums/name.d.ts +0 -14
  74. package/types/enums/o-auth-provider copy.d.ts +0 -41
  75. package/types/enums/o-auth-provider.d.ts +0 -41
  76. package/types/enums/password-hash.d.ts +0 -13
  77. package/types/enums/platform-type.d.ts +0 -17
  78. package/types/enums/project-usage-range.d.ts +0 -4
  79. package/types/enums/region.d.ts +0 -4
  80. package/types/enums/relation-mutate.d.ts +0 -5
  81. package/types/enums/relationship-type.d.ts +0 -6
  82. package/types/enums/resource-type.d.ts +0 -4
  83. package/types/enums/runtime.d.ts +0 -48
  84. package/types/enums/s-m-t-p-secure.d.ts +0 -3
  85. package/types/enums/shared/ApplicationLayout.d.ts +0 -4
  86. package/types/enums/shared/Colors.d.ts +0 -24
  87. package/types/enums/shared/InputType.d.ts +0 -6
  88. package/types/enums/shared/Periodicity.d.ts +0 -7
  89. package/types/enums/shared/SvgIcon.d.ts +0 -37
  90. package/types/enums/shared/Theme.d.ts +0 -4
  91. package/types/enums/sms-template-locale.d.ts +0 -133
  92. package/types/enums/sms-template-type.d.ts +0 -6
  93. package/types/enums/smtp-encryption.d.ts +0 -5
  94. package/types/enums/storage-usage-range.d.ts +0 -5
  95. package/types/enums/subscriptions/PricingModel.d.ts +0 -11
  96. package/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  97. package/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  98. package/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  99. package/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  100. package/types/enums/tenants/TenantUserJoined.d.ts +0 -6
  101. package/types/enums/tenants/TenantUserStatus.d.ts +0 -6
  102. package/types/enums/tenants/TenantUserType.d.ts +0 -5
  103. package/types/enums/user-usage-range.d.ts +0 -5
  104. package/types/getAppcondaClient.d.ts +0 -2
  105. package/types/getSDKForCurrentUser.d.ts +0 -33
  106. package/types/id.d.ts +0 -20
  107. package/types/index.d.ts +0 -39
  108. package/types/inputFile.d.ts +0 -6
  109. package/types/lib/Registry/Registry.d.ts +0 -38
  110. package/types/lib/Registry/index.d.ts +0 -1
  111. package/types/models.d.ts +0 -3272
  112. package/types/permission.d.ts +0 -43
  113. package/types/query.d.ts +0 -194
  114. package/types/role.d.ts +0 -70
  115. package/types/service-client.d.ts +0 -7
  116. package/types/service.d.ts +0 -11
  117. package/types/services/account.d.ts +0 -530
  118. package/types/services/acl.d.ts +0 -28
  119. package/types/services/applets.d.ts +0 -9
  120. package/types/services/assistant.d.ts +0 -14
  121. package/types/services/avatars.d.ts +0 -115
  122. package/types/services/community.d.ts +0 -19
  123. package/types/services/configuration.d.ts +0 -5
  124. package/types/services/console.d.ts +0 -15
  125. package/types/services/databases.d.ts +0 -613
  126. package/types/services/functions.d.ts +0 -319
  127. package/types/services/graphql.d.ts +0 -25
  128. package/types/services/health.d.ts +0 -231
  129. package/types/services/locale.d.ts +0 -80
  130. package/types/services/messaging.d.ts +0 -685
  131. package/types/services/migrations.d.ts +0 -185
  132. package/types/services/node.d.ts +0 -5
  133. package/types/services/permissions.d.ts +0 -20
  134. package/types/services/pricing.d.ts +0 -15
  135. package/types/services/project.d.ts +0 -70
  136. package/types/services/projects.d.ts +0 -542
  137. package/types/services/proxy.d.ts +0 -59
  138. package/types/services/roles.d.ts +0 -19
  139. package/types/services/schema.d.ts +0 -17
  140. package/types/services/storage.d.ts +0 -189
  141. package/types/services/subscription-product.d.ts +0 -77
  142. package/types/services/subscription.d.ts +0 -15
  143. package/types/services/teams.d.ts +0 -167
  144. package/types/services/tenant-subscription.d.ts +0 -12
  145. package/types/services/tenant.d.ts +0 -32
  146. package/types/services/users.d.ts +0 -499
  147. package/types/services/vcs.d.ts +0 -108
  148. package/types/services/waitlist.d.ts +0 -5
  149. package/dist/{Cache → lib/Cache}/Adapter.d.ts +0 -0
  150. package/dist/{Cache → lib/Cache}/Adapter.js +0 -0
  151. package/{types → dist/lib}/Cache/Adapters/Filesystem.d.ts +1 -1
  152. package/{types → dist/lib}/Cache/Adapters/Memory.d.ts +1 -1
  153. package/{types → dist/lib}/Cache/Adapters/None.d.ts +1 -1
  154. package/dist/{Cache → lib/Cache}/Adapters/Sharding.d.ts +1 -1
  155. /package/dist/{Cache → lib/Cache}/Cache.d.ts +0 -0
  156. /package/dist/{Cache → lib/Cache}/Cache.js +0 -0
  157. /package/dist/{Cache → lib/Cache}/test.d.ts +0 -0
  158. /package/dist/{Cache → lib/Cache}/test.js +0 -0
  159. /package/{types/Cache/test.d.ts → src/lib/Cache/test.ts} +0 -0
@@ -1,4 +0,0 @@
1
- export declare enum ProjectUsageRange {
2
- OneHour = "1h",
3
- OneDay = "1d"
4
- }
@@ -1,4 +0,0 @@
1
- export declare enum Region {
2
- Default = "default",
3
- Fra = "fra"
4
- }
@@ -1,5 +0,0 @@
1
- export declare enum RelationMutate {
2
- Cascade = "cascade",
3
- Restrict = "restrict",
4
- SetNull = "setNull"
5
- }
@@ -1,6 +0,0 @@
1
- export declare enum RelationshipType {
2
- OneToOne = "oneToOne",
3
- ManyToOne = "manyToOne",
4
- ManyToMany = "manyToMany",
5
- OneToMany = "oneToMany"
6
- }
@@ -1,4 +0,0 @@
1
- export declare enum ResourceType {
2
- Api = "api",
3
- Function = "function"
4
- }
@@ -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,39 +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 { Waitlist } from './services/waitlist';
15
- export type { Models, Payload, UploadProgress } from './client';
16
- export type { QueryTypes, QueryTypesList } from './query';
17
- export { Permission } from './permission';
18
- export { Role } from './role';
19
- export { ID } from './id';
20
- export { AuthenticatorType } from './enums/authenticator-type';
21
- export { AuthenticationFactor } from './enums/authentication-factor';
22
- export { OAuthProvider } from './enums/o-auth-provider';
23
- export { Browser } from './enums/browser';
24
- export { CreditCard } from './enums/credit-card';
25
- export { Flag } from './enums/flag';
26
- export { RelationshipType } from './enums/relationship-type';
27
- export { RelationMutate } from './enums/relation-mutate';
28
- export { IndexType } from './enums/index-type';
29
- export { Runtime } from './enums/runtime';
30
- export { ExecutionMethod } from './enums/execution-method';
31
- export { Name } from './enums/name';
32
- export { SmtpEncryption } from './enums/smtp-encryption';
33
- export { Compression } from './enums/compression';
34
- export { ImageGravity } from './enums/image-gravity';
35
- export { ImageFormat } from './enums/image-format';
36
- export { PasswordHash } from './enums/password-hash';
37
- export { MessagingProviderType } from './enums/messaging-provider-type';
38
- export { getSDKForCurrentUser } from './getSDKForCurrentUser';
39
- export * from './actions';
@@ -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';