Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

card-mod-mirror

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

card-mod-mirror

  • 0.2
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

Mirror mod (experimental)

This mod supports maintaining two lists – a Mirror list and a Mirrored list – that, well, mirror each other. This has sometimes been referred to in Decko circles as bidirectionality

By well-established convention, many card Sharks set up patterns where an explicit list (a card whose type is List or Pointer) is used by Searches.

For example, imagine you have two cardtypes: Beans and Colors. You'd like to be able to go to a Bean card and see all the Colors for that Bean, OR go to a Color and see all the Beans for that Color. If you use the List/Search pattern, then one of these is a List and the other is a Search. Say you decide to make it so the Bean has a List of colors. Then you will need to make it so that the Color cards have a Search for all the bean lists that refer to that color.

The problem is that only Lists are directly editable. (If you edit a search, then you're editing a query, not directly adding to or subtracting from the list).

This mod solves that problem by providing two list types that mirror each other. Edit one and those changes take effect on the other one.

FAQs

Package last updated on 23 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc