'use strict';
import { getUserId } from '../../../../meta/server/auth/users/current-user-id-provider.js';
import { getNewUuid } from '../../../../../fd-toolbox/uuids.js';
import { getNowUtc } from '../../../../../fd-toolbox/dates/date-time.js';

var __defProp=Object['defineProperty'],__name=(_0x432b74,_0x4e90e8)=>__defProp(_0x432b74,'name',{'value':_0x4e90e8,'configurable':!![]});async function fillBaseResourceProps(_0x8bcb21){const _0xde9e8b=await getUserId();return _0x8bcb21['id']=getNewUuid(),_0x8bcb21['createdDate']=getNowUtc(),_0x8bcb21['createdByUserId']=_0xde9e8b,_0x8bcb21['modifiedDate']=getNowUtc(),_0x8bcb21['modifiedByUserId']=_0xde9e8b,_0x8bcb21;}__name(fillBaseResourceProps,'fillBaseResourceProps');

export { fillBaseResourceProps };
