No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [v1] @quasar/app 1.0.0-beta.25 released!

    Announcements
    4
    7
    444
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rstoenescu
      rstoenescu Admin last edited by rstoenescu

      App Extension API additions to allow out of the box support for AE persistent config.

      /**
         * Get the internal persistent config of this extension.
         * Returns empty object if it has none.
         *
         * @return {object} cfg
         */
        getPersistentConf () {
          return extensionJson.getInternal(this.extId)
        }
      
        /**
         * Set the internal persistent config of this extension.
         * If it already exists, it is overwritten.
         *
         * @param {object} cfg
         */
        setPersistentConf (cfg) {
          extensionJson.setInternal(this.extId, cfg || {})
        }
      
        /**
         * Deep merge into the internal persistent config of this extension.
         * If extension does not have any config already set, this is
         * essentially equivalent to setting it for the first time.
         *
         * @param {object} cfg
         */
        mergePersistentConf (cfg = {}) {
          const currentCfg = this.getPersistentConf()
          this.setPersistentConf(merge(currentCfg, cfg))
        }
      
      1 Reply Last reply Reply Quote 1
      • mesqueeb
        mesqueeb last edited by

        What is “internal persistent config”? 😄

        1 Reply Last reply Reply Quote 0
        • lucasfernog
          lucasfernog last edited by

          I guess its something like a database for your AE?

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            Lucas is right.

            1 Reply Last reply Reply Quote 0
            • mesqueeb
              mesqueeb last edited by

              @lucasfernog
              What’s AE? After Effects? 😄

              digiproduct 1 Reply Last reply Reply Quote 0
              • digiproduct
                digiproduct @mesqueeb last edited by

                @mesqueeb That was my first thought 😁

                It took a while before I realised it meant App Extensions

                1 Reply Last reply Reply Quote 0
                • mesqueeb
                  mesqueeb last edited by

                  ooooooh haha now I get it!!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post