Repository navigation
Expand file tree
/
Copy pathdata.js
More file actions
103 lines (101 loc) · 2.8 KB
/
Copy pathdata.js
File metadata and controls
103 lines (101 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// @ts-check
import { LandscapeSchema } from '@localfirstfm/landscape-schema'
export const data = LandscapeSchema.make({
Version: 1,
Id: 'triplit',
Name: 'Triplit',
Description: "The Typescript-first database that handles caching and syncing for your app automatically",
Website: 'https://triplit.dev',
Deployment: ['Self-hosted', 'Hosted'],
License: 'GPL3',
InitialReleaseDate: new Date('2023-07-27'),
MaturityLevel: 'Production-Ready',
AppTarget: {
Platform: {
data: ['Browser', 'Node', 'Deno', 'Bun', 'Cloudflare Workers', 'Hermes']
},
LanguageSDK: { data: ['Typescript'] },
FrameworkIntegrations: {
data: ['React', 'Vue', 'Svelte', 'Angular', 'React Native']
},
ClientBundleSize: { data: '~70kB (gzip) ' },
},
Networking: {
Protocol: {
data: ['WebSockets', 'HTTP']
},
Topology: { data: 'Client-Server' },
},
ServerSideData: {
PersistenceMechanism: { data: ['SQLite', 'Cloudflare Durable Object Storage', 'Custom'], comment: 'Pluggable with simple Key-Value interface' },
DataModelParadigm: { data: 'Relational' },
SchemaManagement: {
data: ['Derived types', 'Schema migrations', 'Validate schemas on write'],
}
},
ClientSideData: {
QueryAPI: { data: ['Async', 'Reactive queries'] },
LocalRefreshLatency: {
data: '~1ms',
},
DataModel: { data: 'Relational' },
PersistenceMechanism: { data: ['IndexedDB', 'SQLite', 'Custom'], 'comment': 'Adapter for k-v stores.' },
PersistenceFeatures: { data: 'Transactions' },
SchemaManagement: {
data: ['Derived types']
},
OfflineReads: {
data: 'Query Cache',
comment: 'Subscribed queries have full db support including novel queries'
},
'OptimisticUpdates': {
data: 'Yes'
},
OfflineWrites: {
data: 'Cached offline writes',
},
DataSize: {
data: 'limited by device capabilities'
},
},
SynchronizationStrategy: {
Authority: {
data: 'Centralized'
},
FullOrPartialReplication: { data: ['Partial Replication'] },
ConflictHandling: {
data: 'LWW at the attribute level'
},
WhereResolutionOccurs: { data: 'Server' },
WhatGetsSynced: {
data: {
ClientToServer: 'Minimal deltas',
ServerToClient: 'Normalized query results, depuded across subscriptions then minimal deltas for changes',
},
},
},
AuthIdentity: {
AuthenticationMethod: {
data: ['JWT Tokens']
},
AuthorizationPermissions: {
data: 'Custom mapping from token attributes to query filters'
}
},
DevelopmentWorkflowsDX: {
CLI: {
data: 'Yes',
},
TypeSupport: {
data: 'Yes',
},
DebuggingTools: {
data: [
'DevTools',
'Network Inspector',
'Data Inspector',
'Dashboard'
],
}
}
})