Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0c38cda
feat: add bigint column type support and update dependencies
ArnabChatterjee20k Apr 1, 2026
272f2e9
feat: enhance bigint column support and improve input handling
ArnabChatterjee20k Apr 1, 2026
528c657
feat: extend bigint support in database table components
ArnabChatterjee20k Apr 1, 2026
501fdbb
updated bun lock
ArnabChatterjee20k Apr 1, 2026
a6eb30d
linting
ArnabChatterjee20k Apr 1, 2026
f484ce8
feat: implement bigint support across various components and enhance …
ArnabChatterjee20k Apr 9, 2026
d5689d4
linting
ArnabChatterjee20k Apr 9, 2026
2934777
Merge remote-tracking branch 'origin/main' into big-int
ArnabChatterjee20k Apr 9, 2026
9374df0
updated
ArnabChatterjee20k Apr 9, 2026
2d0defe
updated the type
ArnabChatterjee20k Apr 9, 2026
f2e92d1
Merge remote-tracking branch 'origin/main' into big-int
ArnabChatterjee20k May 7, 2026
46858fb
fix: update @appwrite.io/console dependency version and optimize bigi…
ArnabChatterjee20k May 7, 2026
ec7e8f2
linting
ArnabChatterjee20k May 7, 2026
33a77b4
linting
ArnabChatterjee20k May 7, 2026
fb0138e
fix: update proxy rule status handling and improve variable ID genera…
ArnabChatterjee20k May 7, 2026
6dac6d0
updated
ArnabChatterjee20k May 7, 2026
2456ac7
Merge pull request #3030 from appwrite/diagnostic-fixes
abnegate May 7, 2026
6a06817
updated proxy status
ArnabChatterjee20k May 7, 2026
03ba899
Merge remote-tracking branch 'origin' into big-int
ArnabChatterjee20k May 8, 2026
e608d82
updated
ArnabChatterjee20k May 8, 2026
30c1ca9
updated
ArnabChatterjee20k May 8, 2026
91d3463
updated
ArnabChatterjee20k May 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@ai-sdk/svelte": "^1.1.24",
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@8f00f95",
"@appwrite.io/console": "^12.2.0",
"@appwrite.io/pink-icons": "0.25.0",
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@bfe7ce3",
"@appwrite.io/pink-legacy": "^1.0.3",
Expand Down
19 changes: 0 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sdk-for-console
Submodule sdk-for-console added at dcfff2
3 changes: 1 addition & 2 deletions src/lib/components/domains/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ export function isProxyRuleVerified(status: ProxyRuleStatusValue): boolean {
}

export function normalizeProxyRuleStatus(status: ProxyRuleStatusValue): ProxyRuleStatusValue {
if (status === ProxyRuleStatus.Created) {
if (status === 'created') {
return ProxyRuleStatus.Unverified;
}

return status;
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/domains/viewLogsModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
try {
selectedProxyRule = await sdk
.forProject(page.params.region, page.params.project)
.proxy.updateRuleVerification({ ruleId: selectedProxyRule.$id });
.proxy.updateRuleStatus({ ruleId: selectedProxyRule.$id });

await invalidate(Dependencies.DOMAINS);
show = false;
Expand Down
4 changes: 4 additions & 0 deletions src/lib/helpers/faker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ function generateSingleValue(field: Field): string | number | boolean | NestedNu
return faker.number.int({ min, max });
}

case 'bigint': {
return faker.number.bigInt().toString();
}

case 'double': {
const floatAttr = field as Models.ColumnFloat;
const min = isWithinSafeRange(floatAttr.min) ? floatAttr.min : 0;
Expand Down
1 change: 1 addition & 0 deletions src/lib/helpers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const columnTypes = [
'text',
'mediumtext',
'longtext',
'bigint',
'integer',
'double',
'boolean',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/stores/auth-methods.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { writable } from 'svelte/store';
import { type Models, MethodId } from '@appwrite.io/console';
import { type Models, AuthMethod as MethodId } from '@appwrite.io/console';

export type AuthMethod = {
label: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { addNotification } from '$lib/stores/notifications';
import { oAuthProviders } from '$lib/stores/oauth-providers';
import { sdk } from '$lib/stores/sdk';
import { MethodId, type Models } from '@appwrite.io/console';
import { AuthMethod as MethodId, type Models } from '@appwrite.io/console';
import { base } from '$app/paths';
import {
Avatar,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ async function updateProjectOAuth({
clientSecret: getSecret('clientSecret'),
wellKnownURL: getDetail('wellKnownURL'),
authorizationURL: getDetail('authorizationURL'),
tokenUrl: getDetail('tokenUrl'),
userInfoUrl: getDetail('userInfoUrl'),
tokenURL: getDetail('tokenUrl'),
userInfoURL: getDetail('userInfoUrl'),
enabled
});
case OAuthProvider.Okta:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type Columns =
| Models.ColumnEmail
| Models.ColumnEnum
| Models.ColumnFloat
| Models.ColumnBigint
| Models.ColumnInteger
| Models.ColumnIp
| Models.ColumnString
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
import { hash } from '$lib/helpers/string';
import { preferences } from '$lib/stores/preferences';
import { buildFieldUrl } from '$database/(entity)/helpers/navigation';
import { isRelationship } from '$database/table-[table]/rows/store';
import { isRelationship, buildPayload } from '$database/table-[table]/rows/store';
import { chunks } from '$lib/helpers/array';
import { Submit, trackEvent } from '$lib/actions/analytics';
import {
Expand Down Expand Up @@ -357,7 +357,7 @@
databaseId: page.params.database,
tableId: page.params.table,
rowId: row.$id,
data: row
data: buildPayload(columns, row)
})
)
);
Expand All @@ -369,7 +369,7 @@
await tablesSDK.createRows({
databaseId: page.params.database,
tableId: page.params.table,
rows
rows: rows.map((row) => buildPayload(columns, row))
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,15 @@
) {
const stringColumn = column as Models.ColumnString;
return { display: `Size: ${stringColumn.size}` };
} else if (column.type === 'integer' || column.type === 'double') {
const numbersColumn = column as Models.ColumnInteger | Models.ColumnFloat;
} else if (
column.type === 'bigint' ||
column.type === 'integer' ||
column.type === 'double'
) {
const numbersColumn = column as
| Models.ColumnBigint
| Models.ColumnInteger
| Models.ColumnFloat;
const { min, max } = numbersColumn;

const isMinBigInt = typeof min === 'bigint';
Expand Down
Loading
Loading