import { authRoleEntityType } from '@baseplate-dev/project-builder-lib';
export const AUTH_DEFAULT_ROLES = [
    {
        name: 'public',
        comment: 'All users (including unauthenticated and authenticated users)',
        builtIn: true,
    },
    {
        name: 'user',
        comment: 'All authenticated users',
        builtIn: true,
    },
    {
        name: 'system',
        comment: 'System processes without a user context, e.g. background jobs',
        builtIn: true,
    },
];
export function createDefaultAuthRoles() {
    return AUTH_DEFAULT_ROLES.map((role) => ({
        ...role,
        id: authRoleEntityType.generateNewId(),
    }));
}
//# sourceMappingURL=constants.js.map