Giter VIP home page Giter VIP logo

Comments (11)

oed avatar oed commented on August 11, 2024 2

@michaelsena @simonovic86 I updated the original post once more to reflect the recent changes in the spec.

from cips.

oed avatar oed commented on August 11, 2024

@michaelsena Did an edit of your original outline adding a lot of details. ☝️

from cips.

michaelsena avatar michaelsena commented on August 11, 2024

@oed some thoughts:

  • It might be good to have an array of tags instead of just one, and I can imagine developers wanting to add their appName (or something similar) along with some other categorical information.
  • Might we want to include tags as an optional property of signed records? This would allow tags to be added after genesis, either adding a tag if it has none, or adding new tags for various reasons (such as additional applications wanting to add their app as a tag).
  • I think we need to include tags in DocState

from cips.

michaelsena avatar michaelsena commented on August 11, 2024

@oed I think we should make accessControl an optional meta property (alongside owners, schema, tags, etc) of a document included in the general Doctype specification (both genesis and signed). This would allow users to plug in a reference to some access control provider (either Ceramic document as described here), or some other mechanism.

Unsure if accessControl should be a string or an array of strings tho.

from cips.

oed avatar oed commented on August 11, 2024

@michaelsena accessControl seems to specific and unrelated to the functioning of the protocol in general. Maybe it could be introduced in tiles specifically instead? Want to try to keep the general parts of the protocol more minimal.

Making the update to tags 👍

from cips.

michaelsena avatar michaelsena commented on August 11, 2024

@oed I've also been thinking about how we might be able to include links to documents one level above the current document. Theoretically there could be many different documents that point to a given document, so this would likely need to be an array.

i.e. Doc A and Doc B both include links to Doc C. I'm a user and query Doc C, but want to traverse back up the directory. I'd need to know the documents that link to this one, in this case Doc A and Doc B.

Maybe this could be something like a paths property that contains an array of docIds that link to the current doc.

Thoughts?

from cips.

simonovic86 avatar simonovic86 commented on August 11, 2024

@oed @michaelsena I updated the original post with:

  • rename Next to DocNext

from cips.

simonovic86 avatar simonovic86 commented on August 11, 2024

@oed @michaelsena should we update the type of the schema to string|object? By using the object type can support nested schemas as well

from cips.

oed avatar oed commented on August 11, 2024

@simonovic86 My worry with doing that is that it will segregate how schemas are defined and also silo them. By enforcing it to live in another Ceramic document devs can easily make use of each others schemas.

from cips.

simonovic86 avatar simonovic86 commented on August 11, 2024

@oed good point, makes sense! that will enable versioning as well

from cips.

simonovic86 avatar simonovic86 commented on August 11, 2024

@oed @michaelsena updated DocMetadata with isUnique property. Also, added [index: string]: any; to allow arbitrary properties.

from cips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.