mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			749 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			749 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import Chart from '../../core';
 | 
						|
 | 
						|
export const name = 'activeUsers';
 | 
						|
 | 
						|
export const schema = {
 | 
						|
	'readWrite': { intersection: ['read', 'write'], range: 'small' },
 | 
						|
	'read': { uniqueIncrement: true, range: 'small' },
 | 
						|
	'write': { uniqueIncrement: true, range: 'small' },
 | 
						|
	'registeredWithinWeek': { uniqueIncrement: true, range: 'small' },
 | 
						|
	'registeredWithinMonth': { uniqueIncrement: true, range: 'small' },
 | 
						|
	'registeredWithinYear': { uniqueIncrement: true, range: 'small' },
 | 
						|
	'registeredOutsideWeek': { uniqueIncrement: true, range: 'small' },
 | 
						|
	'registeredOutsideMonth': { uniqueIncrement: true, range: 'small' },
 | 
						|
	'registeredOutsideYear': { uniqueIncrement: true, range: 'small' },
 | 
						|
} as const;
 | 
						|
 | 
						|
export const entity = Chart.schemaToEntity(name, schema);
 |