Skip to content

Commit

Permalink
prepare information to new release
Browse files Browse the repository at this point in the history
  • Loading branch information
macielti committed Nov 28, 2023
1 parent 3d14c2a commit 0ca997c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ of [keepachangelog.com](http://keepachangelog.com/).

## [Unreleased]

## [24.49.47] - 2023-11-28

## Added

- Add schema model for `TelegramProducer` component.

## [24.48.47] - 2023-11-27

## Added
Expand Down Expand Up @@ -641,7 +647,9 @@ of [keepachangelog.com](http://keepachangelog.com/).

- Add `loose-schema` function.

[Unreleased]: https://github.com/macielti/common-clj/compare/v24.48.47...HEAD
[Unreleased]: https://github.com/macielti/common-clj/compare/v24.49.47...HEAD

[24.49.47]: https://github.com/macielti/common-clj/compare/v24.48.47...v24.49.47

[24.48.47]: https://github.com/macielti/common-clj/compare/v24.47.47...v24.48.47

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject net.clojars.macielti/common-clj "24.48.47"
(defproject net.clojars.macielti/common-clj "24.49.47"
:description "Just common Clojure code that I use across projects"
:url "https://github.com/macielti/common-clj"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
Expand Down
11 changes: 11 additions & 0 deletions src/common_clj/component/telegram/models/producer.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
(ns common-clj.component.telegram.models.producer
(:require [schema.core :as s])
(:import (clojure.lang Atom)))

(def env #{:test :prod})
(def Env (apply s/enum env))

(s/defschema TelegramProducer
{:token s/Str
:current-env Env
(s/optional-key :produced) Atom})

0 comments on commit 0ca997c

Please sign in to comment.