<commit_before>{
  "meta": {
    "docsUrl": "https://v1.quasar.dev/quasar-plugins/notify"
  },

  "injection": "$q.notify",

  "quasarConfOptions": {
    "propName": "notify",
    "definition": {
      "color": {
        "extends": "color"
      },

      "textColor": {
        "extends": "color"
      },

      "message": {
        "type": "String",
        "desc": "The content of your message",
        "examples": [ "<NAME> pinged you" ]
      },

      "caption": {
        "type": "String",
        "desc": "The content of your optional caption",
        "examples": [ "5 minutes ago" ],
        "addedIn": "v1.5.5"
      },

      "html": {
        "type": "Boolean",
        "desc": "Render message as HTML; This can lead to XSS attacks, so make sure that you sanitize the message first"
      },

      "icon": {
        "extends": "icon"
      },

      "avatar": {
        "type": "String",
        "desc": "URL to an avatar/image; Suggestion: use statics folder",
        "examples": [
          "(statics folder) statics/img/something.png",
          "(relative path format) require('./my_img.jpg')",
          "(URL) https://some-site.net/some-img.gif"
        ]
      },

      "position": {
        "type": "String",
        "desc": "Window side/corner to stick to",
        "default": "bottom",
        "values": [
          "top-left", "top-right",
          "bottom-left", "bottom-right",
          "top", "bottom", "left", "right", "center"
        ],
        "examples": [ "top-right" ]
      },

      "group": {
        "type": "String",
        "desc": "Inform this is part of a specific group, regardless of its options; When a new notification is triggered with same group name, it replaces the old one and shows a badge with how many times the notification was triggered",
        "default": "(message + caption)",
        "examples": [ "my-group" ],
        "addedIn": "v1.9.0"
      },

      "badge": {
        "type": "Object",
        "desc": "Properties for the group badge",
        "definition": {
          "color": {
            "extends": "color",
            "desc": "Color name for the badge from the Quasar Color Palette"
          },
          "textColor": {
            "extends": "color",
            "desc": "Color name for the badge text from the Quasar Color Palette"
          },
          "style": {
            "type": [ "Array", "String", "Object" ],
            "desc": "Style definitions to be attributed to the badge",
            "examples": [
              "background-color: #ff0000",
              ":content-style=\"{ backgroundColor: '#ff0000' }\""
            ]
          },
          "class": {
            "type": [ "Array", "String", "Object" ],
            "desc": "Class definitions to be attributed to the badge",
            "examples": [
              "my-special-class",
              ":content-class=\"{ 'my-special-class': <condition> }\""
            ]
          }
        },
        "addedIn": "v1.9.0"
      },

      "classes": {
        "type": "String",
        "desc": "Add CSS class(es) to the notification for easier customization",
        "examples": [
          "my-notif-class"
        ]
      },

      "timeout": {
        "type": "Number",
        "desc": "Amount of time to display (in milliseconds)",
        "default": 5000,
        "examples": [ 2500 ]
      },

      "closeBtn": {
        "type": "String",
        "desc": "Convenient way to add a dismiss button with a specific label, without using the 'actions' convoluted prop",
        "examples": [ "Close me" ]
      },

      "multiLine": {
        "type": "Boolean",
        "desc": "Put notification into multi-line mode; If this prop isn't used and more than one 'action' is specified then notification goes into multi-line mode by default"
      }
    }
  },

  "methods": {
    "create": {
      "tsInjectionPoint": true,
      "desc": "Creates a notification; Same as calling $q.notify(...)",
      "params": {
        "opts": {
          "type": [ "Object", "String" ],
          "desc": "For syntax, check quasar.conf options parameters",
          "definition": {
            "color": {
              "extends": "color"
            },

            "textColor": {
              "extends": "color"
            },

            "message": {
              "type": "String",
              "desc": "The content of your message",
              "examples": [ "<NAME> pinged you" ],
              "required": true
            },

            "caption": {
              "type": "String",
              "desc": "The content of your optional caption",
              "examples": [ "5 minutes ago" ],
              "addedIn": "v1.5.5"
            },

            "html": {
              "type": "Boolean",
              "desc": "Render message as HTML; This can lead to XSS attacks, so make sure that you sanitize the message first"
            },

            "icon": {
              "extends": "icon"
            },

            "avatar": {
              "type": "String",
              "desc": "URL to an avatar/image; Suggestion: use statics folder",
              "examples": [
                "(statics folder) statics/img/something.png",
                "(relative path format) require('./my_img.jpg')",
                "(URL) https://some-site.net/some-img.gif"
              ]
            },

            "position": {
              "type": "String",
              "desc": "Window side/corner to stick to",
              "default": "bottom",
              "values": [
                "top-left", "top-right",
                "bottom-left", "bottom-right",
                "top", "bottom", "left", "right", "center"
              ],
              "examples": [ "top-right" ]
            },

            "group": {
              "type": "String",
              "desc": "Inform this is part of a specific group, regardless of its options; When a new notification is triggered with same group name, it replaces the old one and shows a badge with how many times the notification was triggered",
              "default": "(message + caption)",
              "examples": [ "my-group" ],
              "addedIn": "v1.9.0"
            },

            "badge": {
              "type": "Object",
              "desc": "Properties for the group badge",
              "definition": {
                "color": {
                  "extends": "color",
                  "desc": "Color name for the badge from the Quasar Color Palette"
                },<commit_msg>feat(Notify): update API definition type for "group" prop<commit_after>{
  "meta": {
    "docsUrl": "https://v1.quasar.dev/quasar-plugins/notify"
  },

  "injection": "$q.notify",

  "quasarConfOptions": {
    "propName": "notify",
    "definition": {
      "color": {
        "extends": "color"
      },

      "textColor": {
        "extends": "color"
      },

      "message": {
        "type": "String",
        "desc": "The content of your message",
        "examples": [ "<NAME> pinged you" ]
      },

      "caption": {
        "type": "String",
        "desc": "The content of your optional caption",
        "examples": [ "5 minutes ago" ],
        "addedIn": "v1.5.5"
      },

      "html": {
        "type": "Boolean",
        "desc": "Render message as HTML; This can lead to XSS attacks, so make sure that you sanitize the message first"
      },

      "icon": {
        "extends": "icon"
      },

      "avatar": {
        "type": "String",
        "desc": "URL to an avatar/image; Suggestion: use statics folder",
        "examples": [
          "(statics folder) statics/img/something.png",
          "(relative path format) require('./my_img.jpg')",
          "(URL) https://some-site.net/some-img.gif"
        ]
      },

      "position": {
        "type": "String",
        "desc": "Window side/corner to stick to",
        "default": "bottom",
        "values": [
          "top-left", "top-right",
          "bottom-left", "bottom-right",
          "top", "bottom", "left", "right", "center"
        ],
        "examples": [ "top-right" ]
      },

      "group": {
        "type": [ "String", "Number" ],
        "desc": "Inform this is part of a specific group, regardless of its options; When a new notification is triggered with same group name, it replaces the old one and shows a badge with how many times the notification was triggered",
        "default": "(message + caption)",
        "examples": [ "my-group" ],
        "addedIn": "v1.9.0"
      },

      "badge": {
        "type": "Object",
        "desc": "Properties for the group badge",
        "definition": {
          "color": {
            "extends": "color",
            "desc": "Color name for the badge from the Quasar Color Palette"
          },
          "textColor": {
            "extends": "color",
            "desc": "Color name for the badge text from the Quasar Color Palette"
          },
          "style": {
            "type": [ "Array", "String", "Object" ],
            "desc": "Style definitions to be attributed to the badge",
            "examples": [
              "background-color: #ff0000",
              ":content-style=\"{ backgroundColor: '#ff0000' }\""
            ]
          },
          "class": {
            "type": [ "Array", "String", "Object" ],
            "desc": "Class definitions to be attributed to the badge",
            "examples": [
              "my-special-class",
              ":content-class=\"{ 'my-special-class': <condition> }\""
            ]
          }
        },
        "addedIn": "v1.9.0"
      },

      "classes": {
        "type": "String",
        "desc": "Add CSS class(es) to the notification for easier customization",
        "examples": [
          "my-notif-class"
        ]
      },

      "timeout": {
        "type": "Number",
        "desc": "Amount of time to display (in milliseconds)",
        "default": 5000,
        "examples": [ 2500 ]
      },

      "closeBtn": {
        "type": "String",
        "desc": "Convenient way to add a dismiss button with a specific label, without using the 'actions' convoluted prop",
        "examples": [ "Close me" ]
      },

      "multiLine": {
        "type": "Boolean",
        "desc": "Put notification into multi-line mode; If this prop isn't used and more than one 'action' is specified then notification goes into multi-line mode by default"
      }
    }
  },

  "methods": {
    "create": {
      "tsInjectionPoint": true,
      "desc": "Creates a notification; Same as calling $q.notify(...)",
      "params": {
        "opts": {
          "type": [ "Object", "String" ],
          "desc": "For syntax, check quasar.conf options parameters",
          "definition": {
            "color": {
              "extends": "color"
            },

            "textColor": {
              "extends": "color"
            },

            "message": {
              "type": "String",
              "desc": "The content of your message",
              "examples": [ "<NAME> pinged you" ],
              "required": true
            },

            "caption": {
              "type": "String",
              "desc": "The content of your optional caption",
              "examples": [ "5 minutes ago" ],
              "addedIn": "v1.5.5"
            },

            "html": {
              "type": "Boolean",
              "desc": "Render message as HTML; This can lead to XSS attacks, so make sure that you sanitize the message first"
            },

            "icon": {
              "extends": "icon"
            },

            "avatar": {
              "type": "String",
              "desc": "URL to an avatar/image; Suggestion: use statics folder",
              "examples": [
                "(statics folder) statics/img/something.png",
                "(relative path format) require('./my_img.jpg')",
                "(URL) https://some-site.net/some-img.gif"
              ]
            },

            "position": {
              "type": "String",
              "desc": "Window side/corner to stick to",
              "default": "bottom",
              "values": [
                "top-left", "top-right",
                "bottom-left", "bottom-right",
                "top", "bottom", "left", "right", "center"
              ],
              "examples": [ "top-right" ]
            },

            "group": {
              "type": [ "String", "Number" ],
              "desc": "Inform this is part of a specific group, regardless of its options; When a new notification is triggered with same group name, it replaces the old one and shows a badge with how many times the notification was triggered",
              "default": "(message + caption)",
              "examples": [ "my-group" ],
              "addedIn": "v1.9.0"
            },

            "badge": {
              "type": "Object",
              "desc": "Properties for the group badge",
              "definition": {
                "color": {
                  "extends": "color",
                  "desc": "Color name for the badge from the Quasar Color Palette"
                },
{'fraction_non_alphanumeric': 0.15313455657492356, 'fraction_numerical': 0.005198776758409786, 'mean_word_length': 1.5608848864526232, 'pattern_counts': {'":': 256, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3714261', 'n_tokens_mistral': 3739, 'n_tokens_neox': 3560, 'n_words': 1081}