zorko-io / zorko-designer

Designer for data visualizations
https://thirsty-bartik-31d492.netlify.com/
3 stars 2 forks source link

createChannelId.ts:2-4: Wrap in class based Id generators... #108

Open 0pdd opened 4 years ago

0pdd commented 4 years ago

The puzzle 105-ed67e6ac from #105 has to be resolved:

https://github.com/zorko-io/zorko-designer/blob/a46878669ad65d394365f4e458974024c9f5d817/src/packages/idGenderators/createChannelId.ts#L2-L4

The puzzle was created by nesterone on 03-Jan-20.

Estimate: 50 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be \"done\" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

nesterone commented 4 years ago

yet a few ideas:

presenter = new ChannelIdPresenter({specId, name }) presenter = new ChannelIdPresenter('12c/x') // parce internaly

presenter.toState() // '123/x'