From 56ec3b1803ed91b5b39ec001ff99d147d44f5e6d Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 13 Jan 2022 00:33:59 +0100 Subject: refactor(sterni/mblog): add (sub)class for apple note messages * Upon creation of an apple-note object we can check if certain fields we are interested in are present and of the right type etc. These currently are: - UUID (for links later) - Subject (title) - Time - Text part with supported MIME type These are then put into their own shortcut fields in the apple-note subclass which allows for easier access and forces us to make sure they are present. * Split out everything note related into its own package. Using the new type, we can expose an interface which sort of makes sense. Change-Id: Ic9d67518354e61a3cc8388bb0e566fce661e90d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5072 Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/mblog/transformer.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/sterni/mblog/transformer.lisp') diff --git a/users/sterni/mblog/transformer.lisp b/users/sterni/mblog/transformer.lisp index 67f1ff0e1d79..31fcda028ade 100644 --- a/users/sterni/mblog/transformer.lisp +++ b/users/sterni/mblog/transformer.lisp @@ -1,4 +1,4 @@ -(in-package :mblog) +(in-package :note) (declaim (optimize (safety 3))) ;; Throw away these tags and all of their children -- cgit 1.4.1