Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Implement CIP-0025 #27

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Commits on Dec 27, 2023

  1. Implement File and some datatypes for MIME types

    Currently, there is a separation between the image media type and other
    ones. The reason for that was due to the requirement of an image MIME
    type for the outer CIP-0025, while the one inside individual `File`s is
    allowed to be any of the MIME types (a smarter datatype management can
    probably address this).
    
    Also, the implemented `Image` datatype might be too excessive. An
    alternate solution could be utilizing the `elm/mimetype` package.
    keyan-m committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    d18f475 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5389bf4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b99040 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    618cf87 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    7c45d8e View commit details
    Browse the repository at this point in the history
  2. Reduce Supported Image MIME Types (For Now)

    Potentially adding an "other" variant in future.
    keyan-m committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    466d81c View commit details
    Browse the repository at this point in the history
  3. Allow for Arbitrary Fields in Files and Cip25

    I've modeled the arbitrary fields using `otherProps` accessors in both
    `File` and `Cip25`, with types of `Dict String Metadatum`. This could be
    somewhat restrictive as it only allows for `String` keys.
    keyan-m committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    c8f9313 View commit details
    Browse the repository at this point in the history
  4. Add JSON Encoder for Cip25

    keyan-m committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    9778ea0 View commit details
    Browse the repository at this point in the history
  5. Resolve Compile Errors

    keyan-m committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    7f34a6e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    681613c View commit details
    Browse the repository at this point in the history
  7. Add/Refine Comments

    keyan-m committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    f1c80d2 View commit details
    Browse the repository at this point in the history