<commit_before># @sanity/data-aspects

Sanity plugin which controls how your data is presented.


## BIG FAT DISCLAIMER

This is alpha software. Nothing should be expected to work.

## TODO
[ ] When gql/gradient supports limit, offset and order, make sure DataAspectsResolver rolls the query cigar correctly.

## Usage

Ensure you have data-aspects as a plugin in you Sanity installation. Either:

The config file `config/@sanity/data-aspects.json` lets you control how your data is listed , e.g.:

```
{
  "hiddenTypes": [
    "secretTypeName"
  ],
  "typeOptions": {
    "article": {
      "displayName": "Article",
      "itemDisplayField": "name",
      "limit": 100,
      "offset": 0
    },
    "siteConfig": {
      "displayName": "Site configuration",
      "itemDisplayField": "title"
    }
  }
}
```

Refer to https://github.com/sanity-io/desk-tool/blob/master/src/schemaPaneResolver.js for an example on how the DataAspectsResolver can be used.

## License

MIT-licensed.
<commit_msg>Fix broken link<commit_after># @sanity/data-aspects

Sanity plugin which controls how your data is presented.


## BIG FAT DISCLAIMER

This is alpha software. Nothing should be expected to work.

## TODO
[ ] When gql/gradient supports limit, offset and order, make sure DataAspectsResolver rolls the query cigar correctly.

## Usage

Ensure you have data-aspects as a plugin in you Sanity installation. Either:

The config file `config/@sanity/data-aspects.json` lets you control how your data is listed , e.g.:

```
{
  "hiddenTypes": [
    "secretTypeName"
  ],
  "typeOptions": {
    "article": {
      "displayName": "Article",
      "itemDisplayField": "name",
      "limit": 100,
      "offset": 0
    },
    "siteConfig": {
      "displayName": "Site configuration",
      "itemDisplayField": "title"
    }
  }
}
```

Refer to https://github.com/sanity-io/desk-tool/blob/master/src/SchemaPaneResolver.js for an example on how the DataAspectsResolver can be used.

## License

MIT-licensed.

{'fraction_non_alphanumeric': 0.11646586345381527, 'fraction_numerical': 0.004016064257028112, 'mean_word_length': 3.4190687361419068, 'pattern_counts': {'":': 20, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3939564', 'n_tokens_mistral': 653, 'n_tokens_neox': 620, 'n_words': 200}