codex-team / codex-team/hawk.api.nodejs

Generate workspace abbreviation for invoice id

Open
#288 0 comments 0 reactions 0 assignees View on GitHub
Priority: 3
Dominant language
TypeScript
Stars
7
Forks
2
PR merge metrics
No merged PRs in 30d

Description

InvoiceId — строка вида `CDX 21-02 Startup`

CDX — сокращённое название воркспейса
генерируется из названия воркспейса (3-4 букв без гласных), капсом

смотреть [тут](https://github.com/codex-team/hawk.api.nodejs/blob/master/src/billing/cloudpayments.ts), функия generateInvoiceId

Contributor guide

No contributing guide indexed for this repository

Research direction

Open src/billing/cloudpayments.ts and locate generateInvoiceId. Check how the invoice ID currently forms the workspace prefix, then implement the stated uppercase three- or four-letter abbreviation without vowels. Done means an invoice ID follows the `CDX 21-02 Startup` format with the workspace abbreviation generated from its name.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
backend, payments
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.