@atproto/ozone 0.1.99 → 0.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/db/migrations/20250404T201720309Z-subject-status-sort-idxs.d.ts +4 -0
- package/dist/db/migrations/20250404T201720309Z-subject-status-sort-idxs.d.ts.map +1 -0
- package/dist/db/migrations/20250404T201720309Z-subject-status-sort-idxs.js +17 -0
- package/dist/db/migrations/20250404T201720309Z-subject-status-sort-idxs.js.map +1 -0
- package/dist/db/migrations/index.d.ts +1 -0
- package/dist/db/migrations/index.d.ts.map +1 -1
- package/dist/db/migrations/index.js +2 -1
- package/dist/db/migrations/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +2 -2
- package/dist/lexicon/lexicons.js +1 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/db/migrations/20250404T201720309Z-subject-status-sort-idxs.ts +18 -0
- package/src/db/migrations/index.ts +1 -0
- package/src/lexicon/lexicons.ts +1 -1
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsers.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"20250404T201720309Z-subject-status-sort-idxs.d.ts","sourceRoot":"","sources":["../../../src/db/migrations/20250404T201720309Z-subject-status-sort-idxs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAO,MAAM,QAAQ,CAAA;AAEpC,wBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAQ3D;AAED,wBAAsB,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAK7D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.up = up;
|
|
4
|
+
exports.down = down;
|
|
5
|
+
const kysely_1 = require("kysely");
|
|
6
|
+
async function up(db) {
|
|
7
|
+
const ref = db.dynamic.ref;
|
|
8
|
+
await (0, kysely_1.sql) `CREATE INDEX moderation_subject_status_sort_idx ON ${ref('moderation_subject_status')} (${ref('lastReportedAt')} DESC NULLS LAST, ${ref('id')} DESC NULLS LAST);`.execute(db);
|
|
9
|
+
await (0, kysely_1.sql) `CREATE INDEX moderation_subject_status_unreviewed_sort_idx ON ${ref('moderation_subject_status')} (${ref('lastReportedAt')} DESC NULLS LAST, ${ref('id')} DESC NULLS LAST) WHERE ${ref('reviewState')} = 'tools.ozone.moderation.defs#reviewNone';`.execute(db);
|
|
10
|
+
}
|
|
11
|
+
async function down(db) {
|
|
12
|
+
await db.schema.dropIndex('moderation_subject_status_sort_idx').execute();
|
|
13
|
+
await db.schema
|
|
14
|
+
.dropIndex('moderation_subject_status_unreviewed_sort_idx')
|
|
15
|
+
.execute();
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=20250404T201720309Z-subject-status-sort-idxs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"20250404T201720309Z-subject-status-sort-idxs.js","sourceRoot":"","sources":["../../../src/db/migrations/20250404T201720309Z-subject-status-sort-idxs.ts"],"names":[],"mappings":";;AAEA,gBAQC;AAED,oBAKC;AAjBD,mCAAoC;AAE7B,KAAK,UAAU,EAAE,CAAC,EAAmB;IAC1C,MAAM,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAA;IAC1B,MAAM,IAAA,YAAG,EAAA,sDAAsD,GAAG,CAAC,2BAA2B,CAAC,KAAK,GAAG,CAAC,gBAAgB,CAAC,qBAAqB,GAAG,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CACjL,EAAE,CACH,CAAA;IACD,MAAM,IAAA,YAAG,EAAA,iEAAiE,GAAG,CAAC,2BAA2B,CAAC,KAAK,GAAG,CAAC,gBAAgB,CAAC,qBAAqB,GAAG,CAAC,IAAI,CAAC,2BAA2B,GAAG,CAAC,aAAa,CAAC,8CAA8C,CAAC,OAAO,CACnQ,EAAE,CACH,CAAA;AACH,CAAC;AAEM,KAAK,UAAU,IAAI,CAAC,EAAmB;IAC5C,MAAM,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,oCAAoC,CAAC,CAAC,OAAO,EAAE,CAAA;IACzE,MAAM,EAAE,CAAC,MAAM;SACZ,SAAS,CAAC,+CAA+C,CAAC;SAC1D,OAAO,EAAE,CAAA;AACd,CAAC"}
|
|
@@ -18,4 +18,5 @@ export * as _20250204T003647759Z from './20250204T003647759Z-add-subject-priorit
|
|
|
18
18
|
export * as _20250211T003647759Z from './20250211T003647759Z-add-reporter-stats-index';
|
|
19
19
|
export * as _20250211T132135150Z from './20250211T132135150Z-moderation-event-message-partial-idx';
|
|
20
20
|
export * as _20250221T132135150Z from './20250221T132135150Z-member-details';
|
|
21
|
+
export * as _20250404T201720309Z from './20250404T201720309Z-subject-status-sort-idxs';
|
|
21
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/db/migrations/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,oBAAoB,MAAM,4BAA4B,CAAA;AAClE,OAAO,KAAK,oBAAoB,MAAM,8CAA8C,CAAA;AACpF,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAA;AAC7E,OAAO,KAAK,oBAAoB,MAAM,6DAA6D,CAAA;AACnG,OAAO,KAAK,oBAAoB,MAAM,sCAAsC,CAAA;AAC5E,OAAO,KAAK,oBAAoB,MAAM,sCAAsC,CAAA;AAC5E,OAAO,KAA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AAM,6CAA6C,CAAA;AACnF,OAAO,KAAK,oBAAoB,MAAM,yDAAyD,CAAA;AAC/F,OAAO,KAAK,oBAAoB,MAAM,4BAA4B,CAAA;AAClE,OAAO,KAAK,oBAAoB,MAAM,+BAA+B,CAAA;AACrE,OAAO,KAAK,oBAAoB,MAAM,4DAA4D,CAAA;AAClG,OAAO,KAAK,oBAAoB,MAAM,gDAAgD,CAAA;AACtF,OAAO,KAAK,oBAAoB,MAAM,kDAAkD,CAAA;AACxF,OAAO,KAAK,oBAAoB,MAAM,gDAAgD,CAAA;AACtF,OAAO,KAAK,oBAAoB,MAAM,4DAA4D,CAAA;AAClG,OAAO,KAAK,oBAAoB,MAAM,sCAAsC,CAAA;AAC5E,OAAO,KAAK,oBAAoB,MAAM,gDAAgD,CAAA"}
|
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports._20250221T132135150Z = exports._20250211T132135150Z = exports._20250211T003647759Z = exports._20250204T003647759Z = exports._20241220T144630860Z = exports._20241026T205730722Z = exports._20241018T205730722Z = exports._20241008T205730722Z = exports._20241001T205730722Z = exports._20240904T205730722Z = exports._20240903T205730722Z = exports._20240814T003647759Z = exports._20240430T211332580Z = exports._20240506T225055595Z = exports._20240408T192432676Z = exports._20240228T003647759Z = exports._20240208T213404429Z = exports._20240201T051104136Z = exports._20240116T085607200Z = exports._20231219T205730722Z = void 0;
|
|
29
|
+
exports._20250404T201720309Z = exports._20250221T132135150Z = exports._20250211T132135150Z = exports._20250211T003647759Z = exports._20250204T003647759Z = exports._20241220T144630860Z = exports._20241026T205730722Z = exports._20241018T205730722Z = exports._20241008T205730722Z = exports._20241001T205730722Z = exports._20240904T205730722Z = exports._20240903T205730722Z = exports._20240814T003647759Z = exports._20240430T211332580Z = exports._20240506T225055595Z = exports._20240408T192432676Z = exports._20240228T003647759Z = exports._20240208T213404429Z = exports._20240201T051104136Z = exports._20240116T085607200Z = exports._20231219T205730722Z = void 0;
|
|
30
30
|
exports._20231219T205730722Z = __importStar(require("./20231219T205730722Z-init"));
|
|
31
31
|
exports._20240116T085607200Z = __importStar(require("./20240116T085607200Z-communication-template"));
|
|
32
32
|
exports._20240201T051104136Z = __importStar(require("./20240201T051104136Z-mod-event-blobs"));
|
|
@@ -47,4 +47,5 @@ exports._20250204T003647759Z = __importStar(require("./20250204T003647759Z-add-s
|
|
|
47
47
|
exports._20250211T003647759Z = __importStar(require("./20250211T003647759Z-add-reporter-stats-index"));
|
|
48
48
|
exports._20250211T132135150Z = __importStar(require("./20250211T132135150Z-moderation-event-message-partial-idx"));
|
|
49
49
|
exports._20250221T132135150Z = __importStar(require("./20250221T132135150Z-member-details"));
|
|
50
|
+
exports._20250404T201720309Z = __importStar(require("./20250404T201720309Z-subject-status-sort-idxs"));
|
|
50
51
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/db/migrations/index.ts"],"names":[],"mappings":";AAAA,oGAAoG;AACpG,gGAAgG;AAChG,+FAA+F;;;;;;;;;;;;;;;;;;;;;;;;;;AAE/F,mFAAkE;AAClE,qGAAoF;AACpF,8FAA6E;AAC7E,oHAAmG;AACnG,6FAA4E;AAC5E,6FAA4E;AAC5E,8FAA6E;AAC7E,qFAAoE;AACpE,qGAAoF;AACpF,gGAA+E;AAC/E,oGAAmF;AACnF,gHAA+F;AAC/F,mFAAkE;AAClE,sFAAqE;AACrE,mHAAkG;AAClG,uGAAsF;AACtF,yGAAwF;AACxF,uGAAsF;AACtF,mHAAkG;AAClG,6FAA4E"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/db/migrations/index.ts"],"names":[],"mappings":";AAAA,oGAAoG;AACpG,gGAAgG;AAChG,+FAA+F;;;;;;;;;;;;;;;;;;;;;;;;;;AAE/F,mFAAkE;AAClE,qGAAoF;AACpF,8FAA6E;AAC7E,oHAAmG;AACnG,6FAA4E;AAC5E,6FAA4E;AAC5E,8FAA6E;AAC7E,qFAAoE;AACpE,qGAAoF;AACpF,gGAA+E;AAC/E,oGAAmF;AACnF,gHAA+F;AAC/F,mFAAkE;AAClE,sFAAqE;AACrE,mHAAkG;AAClG,uGAAsF;AACtF,yGAAwF;AACxF,uGAAsF;AACtF,mHAAkG;AAClG,6FAA4E;AAC5E,uGAAsF"}
|
|
@@ -9355,7 +9355,7 @@ export declare const schemaDict: {
|
|
|
9355
9355
|
readonly type: "array";
|
|
9356
9356
|
readonly items: {
|
|
9357
9357
|
readonly type: "ref";
|
|
9358
|
-
readonly ref: "lex:app.bsky.actor.defs#
|
|
9358
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
9359
9359
|
};
|
|
9360
9360
|
};
|
|
9361
9361
|
};
|
|
@@ -23257,7 +23257,7 @@ export declare const schemas: ({
|
|
|
23257
23257
|
readonly type: "array";
|
|
23258
23258
|
readonly items: {
|
|
23259
23259
|
readonly type: "ref";
|
|
23260
|
-
readonly ref: "lex:app.bsky.actor.defs#
|
|
23260
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
23261
23261
|
};
|
|
23262
23262
|
};
|
|
23263
23263
|
};
|