/**
 * Built-in Actions
 *
 * All default action definitions. Registered automatically when
 * action-registry.ts is imported.
 *
 * Actions are split into separate modules:
 * - actions-node.ts — Selection and Node actions
 * - actions-viewport.ts — Viewport, History, and Layout actions
 */

import {
	BuiltInActionId,
	ActionCategory,
} from './settings-types';
import { registerAction } from './action-registry';
import { registerSelectionActions, registerNodeActions } from './actions-node';
import { registerViewportActions, registerHistoryActions } from './actions-viewport';

/**
 * Register all built-in actions.
 * Called automatically when action-registry is imported.
 */
export function registerBuiltInActions(): void {
	// None - do nothing
	registerAction({
		id: BuiltInActionId.None,
		label: 'None',
		description: 'Do nothing',
		category: ActionCategory.None,
		icon: 'ban',
		isBuiltIn: true,
		handler: () => {
			// Intentionally empty
		},
	});

	registerSelectionActions();
	registerNodeActions();
	registerViewportActions();
	registerHistoryActions();
}
